diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2009-01-23 09:39:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-23 09:39:26 +0000 |
commit | a00ab73eeae6fc2bc48ee1b7e0adddb33146f44f (patch) | |
tree | a997366f0abbc6e8d4e9b7ce5389d34ad7d7074d /extra/dropbear | |
parent | 3774b7135fff9e0aa564152319e41cd1ada28d45 (diff) | |
download | aports-a00ab73eeae6fc2bc48ee1b7e0adddb33146f44f.tar.bz2 aports-a00ab73eeae6fc2bc48ee1b7e0adddb33146f44f.tar.xz |
extra/dropbear: fix symlinks
Diffstat (limited to 'extra/dropbear')
-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 |