Skip to contentSkip to conversation

tinylogin: use the upstream git repository

PATCH In review Christopher Larson 1 participant 2 messages Sep 9, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tinylogin: use the upstream git repository

---
 .../tinylogin/tinylogin-1.4/avoid_static.patch     |   33 -
 .../tinylogin/tinylogin-1.4/cvs-20040608.patch     |  823 --------------------
 meta/recipes-core/tinylogin/tinylogin_1.4.bb       |   10 +-
 3 files changed, 5 insertions(+), 861 deletions(-)
 delete mode 100644 meta/recipes-core/tinylogin/tinylogin-1.4/avoid_static.patch
 delete mode 100644 meta/recipes-core/tinylogin/tinylogin-1.4/cvs-20040608.patch
meta/recipes-core/tinylogin/tinylogin-1.4/avoid_static.patch deleted +0 -33
deleted file mode 100644
index 8a06af0..0000000
@@ -1,33 +0,0 @@
-tinylogin: Do not link statically when building debug
-
-For some reason if DODEBUG was enabled (to prevent stripping) the binary was
-also statically linked.  This patch prevents that behavior.
-
-Upstream-Status: Inappropriate [no upstream]
-
-Signed-off-by: Mark Hatle <[email protected]>
-
-diff -ur tinylogin-1.4.orig/Makefile tinylogin-1.4/Makefile
---- tinylogin-1.4.orig/Makefile	2011-06-18 11:00:23.073927349 -0500
-+++ tinylogin-1.4/Makefile	2011-06-18 11:03:26.394849372 -0500
-@@ -123,20 +123,6 @@
-     LDFLAGS += -s -Wl,-warn-common 
-     STRIP    = $(STRIPTOOL) --remove-section=.note --remove-section=.comment $(PROG)
- endif
--ifeq ($(strip $(DODEBUG)),true)
--    LDFLAGS += --static
--    #
--    #use '-ffunction-sections -fdata-sections' and '--gc-sections' (if they 
--    # work) to try and strip out any unused junk.  Doesn't do much for me, 
--    # but you may want to give it a shot...
--    #
--    #ifeq ($(shell $(CC) -ffunction-sections -fdata-sections -S \
--    #	-o /dev/null -xc /dev/null 2>/dev/null && $(LD) \
--    #			--gc-sections -v >/dev/null && echo 1),1)
--    #	CFLAGS += -ffunction-sections -fdata-sections
--    #	LDFLAGS += --gc-sections
--    #endif
--endif
- ifeq ($(strip $(DOSTATIC)),true)
-     LDFLAGS += --static
-     #
meta/recipes-core/tinylogin/tinylogin-1.4/cvs-20040608.patch deleted +0 -823

823 lines not on this page · raw message

meta/recipes-core/tinylogin/tinylogin_1.4.bb +5 -5
index bad918c..14cf10c 100644
@@ -7,16 +7,16 @@ and groups on an embedded system."
 HOMEPAGE = "http://tinylogin.busybox.net/"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM="file://LICENSE;md5=f1060fa3a366f098b5b1d8c2077ba269"
-PR = "r7"
+PR = "r8"
 
-SRC_URI = "http://www.angstrom-distribution.org/unstable/sources/tinylogin-${PV}.tar.bz2 \
-	file://cvs-20040608.patch \
+SRCREV = "cb1af5efe2c07b0e0bae5ddd700c1df2fcd470e9"
+SRC_URI = "git://busybox.net/tinylogin.git \
 	file://add-system.patch \
 	file://adduser-empty_pwd.patch \
 	file://remove-index.patch \
 	file://use_O2_option.patch \
-	file://passwd_rotate_check.patch \
-	file://avoid_static.patch"
+	file://passwd_rotate_check.patch"
+S = "${WORKDIR}/git"
 
 SRC_URI[md5sum] = "44da0ff2b727455669890b24305e351d"
 SRC_URI[sha256sum] = "5e542e4b7825305a3678bf73136c392feb0d44b8bbf926e8eda5453eea7ddd6b"
Signature · 1 line
1.7.4.1
#1 lore raw

meta/recipes-core/tinylogin/tinylogin_1.4.bb and groups on an embedded system." · line 13

Quoted 4 lines · Christopher Larson
meta/recipes-core/tinylogin/tinylogin_1.4.bb +2 -2
-SRC_URI = "http://www.angstrom-distribution.org/unstable/sources/tinylogin-${PV}.tar.bz2 \
-       file://cvs-20040608.patch \
+SRCREV = "cb1af5efe2c07b0e0bae5ddd700c1df2fcd470e9"
+SRC_URI = "git://busybox.net/tinylogin.git \

I should have described the purpose in the commit, but this is so we are going from an upstream location, rather than using the angstrom source mirror as upstream, which seemed not ideal :)

Signature · 5 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics