diff options
author | Valery Kartel <valery.kartel@gmail.com> | 2016-02-08 14:25:59 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-02-15 10:17:35 +0000 |
commit | 7f00c15878265d146be084435d3509c2cf44ebfe (patch) | |
tree | 9caf785b5998eee8c3621f2d3834b6f576b2dac4 /main/dropbear/APKBUILD | |
parent | e0378bdd54756829f03cf2d802dd4dacffa47604 (diff) | |
download | aports-7f00c15878265d146be084435d3509c2cf44ebfe.tar.bz2 aports-7f00c15878265d146be084435d3509c2cf44ebfe.tar.xz |
main/dropbear: add ssh command in -ssh subpackage
Diffstat (limited to 'main/dropbear/APKBUILD')
-rw-r--r-- | main/dropbear/APKBUILD | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/main/dropbear/APKBUILD b/main/dropbear/APKBUILD index 2829344d7e..f0bc5b8325 100644 --- a/main/dropbear/APKBUILD +++ b/main/dropbear/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=dropbear pkgver=2015.71 -pkgrel=0 +pkgrel=1 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,7 @@ license="MIT" depends="" depends_dev="" makedepends="zlib-dev linux-headers" -subpackages="$pkgname-doc $pkgname-scp:_scp" +subpackages="$pkgname-doc $pkgname-scp:_scp $pkgname-ssh:_ssh" source="http://matt.ucc.asn.au/dropbear/releases/${pkgname}-${pkgver}.tar.bz2 dropbear.initd dropbear.confd @@ -19,7 +19,7 @@ source="http://matt.ucc.asn.au/dropbear/releases/${pkgname}-${pkgver}.tar.bz2 dropbear-options_sftp-server_path.patch" _builddir="$srcdir"/$pkgname-$pkgver -_progs="dropbear dbclient dropbearkey dropbearconvert scp" +_progs="dropbear dbclient dropbearkey dropbearconvert scp ssh" prepare() { cd "$_builddir" @@ -69,6 +69,14 @@ _scp() { mv "$pkgdir"/usr/bin/scp "$subpkgdir"/usr/bin/ } +_ssh() { + pkgdesc="Dropbear ssh command" + depends="dropbear !openssh-client" + arch="noarch" + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/ssh "$subpkgdir"/usr/bin/ +} + md5sums="2ccc0a2f3e37ca221db12c5af6a88137 dropbear-2015.71.tar.bz2 4299b86af9f2903f19477538e22ece30 dropbear.initd af73c487e2be37d65d0e8bf80489357e dropbear.confd |