aboutsummaryrefslogtreecommitdiffstats
path: root/main/dropbear
diff options
context:
space:
mode:
authorMichael Zhou <zhoumichaely@gmail.com>2011-07-14 06:50:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-14 07:40:25 +0000
commit1fba2a7f9b9a08661c54b107291bda0a223182f0 (patch)
treedbd68b6b0247e98529ddbf362b781f8dd2d0dc81 /main/dropbear
parenta5c6e8bdcb51c633548bc09900fde177cdbfe025 (diff)
downloadaports-1fba2a7f9b9a08661c54b107291bda0a223182f0.tar.bz2
aports-1fba2a7f9b9a08661c54b107291bda0a223182f0.tar.xz
main/dropbear: Upgrade to 0.53.1
Diffstat (limited to 'main/dropbear')
-rw-r--r--main/dropbear/APKBUILD17
-rw-r--r--main/dropbear/dropbear-0.53.1-static_build_fix.patch26
2 files changed, 38 insertions, 5 deletions
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 <clandmeter at gmail>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
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 <plagnioj@jcrosoft.com>
+---
+ 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@