From 1fba2a7f9b9a08661c54b107291bda0a223182f0 Mon Sep 17 00:00:00 2001 From: Michael Zhou Date: Thu, 14 Jul 2011 06:50:15 +0000 Subject: main/dropbear: Upgrade to 0.53.1 --- main/dropbear/APKBUILD | 17 +++++++++----- .../dropbear-0.53.1-static_build_fix.patch | 26 ++++++++++++++++++++++ 2 files changed, 38 insertions(+), 5 deletions(-) create mode 100644 main/dropbear/dropbear-0.53.1-static_build_fix.patch diff --git a/main/dropbear/APKBUILD b/main/dropbear/APKBUILD index 308b3d2d8a..e083d6ecac 100644 --- a/main/dropbear/APKBUILD +++ b/main/dropbear/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Carlo Landmeter # Maintainer: Natanael Copa pkgname=dropbear -pkgver=0.52 -pkgrel=4 +pkgver=0.53.1 +pkgrel=0 pkgdesc="small SSH 2 client/server designed for small memory environments" url="http://matt.ucc.asn.au/dropbear/dropbear.html" arch="all" @@ -11,7 +11,13 @@ depends= makedepends="zlib-dev" source="http://matt.ucc.asn.au/dropbear/releases/${pkgname}-${pkgver}.tar.bz2 dropbear.initd -dropbear.confd" +dropbear.confd +dropbear-0.53.1-static_build_fix.patch" + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + patch -p1 -i "$srcdir"/dropbear-0.53.1-static_build_fix.patch +} build() { cd "$srcdir/$pkgname-$pkgver" @@ -34,6 +40,7 @@ build() { install -D -m644 "$srcdir"/dropbear.confd "$pkgdir"/etc/conf.d/dropbear || return 1 } -md5sums="a1fc7adf601bca53330a792a9c873439 dropbear-0.52.tar.bz2 +md5sums="0284ea239083f04c8b874e08e1aca243 dropbear-0.53.1.tar.bz2 d181e2234f34ae5b1e45f8ebf5f14e07 dropbear.initd -af73c487e2be37d65d0e8bf80489357e dropbear.confd" +af73c487e2be37d65d0e8bf80489357e dropbear.confd +d33de2027d5dc851762b65b276f1ac83 dropbear-0.53.1-static_build_fix.patch" diff --git a/main/dropbear/dropbear-0.53.1-static_build_fix.patch b/main/dropbear/dropbear-0.53.1-static_build_fix.patch new file mode 100644 index 0000000000..0e0a91a27e --- /dev/null +++ b/main/dropbear/dropbear-0.53.1-static_build_fix.patch @@ -0,0 +1,26 @@ +dropbear: fix static build + +the -lcrypt is missing during the link + +svr-authpasswd.o: In function `svr_auth_password': +svr-authpasswd.c:(.text+0xfc): undefined reference to `crypt' +collect2: ld returned 1 exit status + +Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD +--- + Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: b/Makefile.in +=================================================================== +--- a/Makefile.in ++++ b/Makefile.in +@@ -77,7 +77,7 @@ STRIP=@STRIP@ + INSTALL=@INSTALL@ + CPPFLAGS=@CPPFLAGS@ + CFLAGS+=-I. -I$(srcdir) $(CPPFLAGS) @CFLAGS@ +-LIBS+=@LIBS@ ++LIBS+=@CRYPTLIB@ @LIBS@ + LDFLAGS=@LDFLAGS@ + + EXEEXT=@EXEEXT@ -- cgit v1.2.3