diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/dropbear/APKBUILD | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/extra/dropbear/APKBUILD b/extra/dropbear/APKBUILD index 6398e50ef2..ca4af482cf 100644 --- a/extra/dropbear/APKBUILD +++ b/extra/dropbear/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Carlo Landmeter <clandmeter at gmail> pkgname=dropbear pkgver=0.52 -pkgrel=0 +pkgrel=1 pkgdesc="small SSH 2 client/server designed for small memory environments" url="http://matt.ucc.asn.au/dropbear/dropbear.html" license='MIT' @@ -18,16 +18,18 @@ build() { --disable-lastlog progs="dbclient dropbearkey dropbearconvert scp" make PROGRAMS="dropbear ${progs}" MULTI=1 || return 1 - install -Dm755 "$srcdir/$pkgname-$pkgver"/dropbearmulti "$pkgdir"/usr/bin/dropbearmulti + install -Dm755 "$srcdir/$pkgname-$pkgver"/dropbearmulti "$pkgdir"/usr/bin/dropbearmulti || return 1 + cd "$pkgdir/usr/bin" || return 1 for i in ${progs}; do msg "linking ${i##*/}" - ln -s "$srcdir/$pkgname-$pkgver"/dropbearmulti "$pkgdir"/usr/bin/"$i" + ln -s dropbearmulti $i || return 1 done - msg "linking dropbear" - mkdir -p "$pkgdir"/usr/sbin - ln -s "$srcdir/$pkgname-$pkgver"/dropbearmulti "$pkgdir"/usr/sbin/dropbear - install -D -m755 "$srcdir"/dropbear.initd "$pkgdir"/etc/init.d/dropbear - install -D -m644 "$srcdir"/dropbear.confd "$pkgdir"/etc/conf.d/dropbear + msg "linking dropbear" + mkdir -p "$pkgdir"/usr/sbin || return 1 + cd "$pkgdir/usr/sbin" || return 1 + ln -s ../bin/dropbearmulti dropbear || return 1 + install -D -m755 "$srcdir"/dropbear.initd "$pkgdir"/etc/init.d/dropbear || return 1 + install -D -m644 "$srcdir"/dropbear.confd "$pkgdir"/etc/conf.d/dropbear || return 1 } md5sums="a1fc7adf601bca53330a792a9c873439 dropbear-0.52.tar.bz2 |