aboutsummaryrefslogtreecommitdiffstats
path: root/main/openssh
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2015-09-09 09:30:08 +0000
committerEivind Uggedal <eivind@uggedal.com>2015-09-09 09:31:06 +0000
commitd40d5db31aa3b6d16a3e1231e1b94e9720043c16 (patch)
treee2dcbc50e84817c2c86f8d9cb0d7ff414f0ea745 /main/openssh
parentc7b03259d6c22a427d1934760fba4c611ef7656b (diff)
downloadaports-d40d5db31aa3b6d16a3e1231e1b94e9720043c16.tar.bz2
aports-d40d5db31aa3b6d16a3e1231e1b94e9720043c16.tar.xz
main/openssh: openssh-sftp-server subpackage
Diffstat (limited to 'main/openssh')
-rw-r--r--main/openssh/APKBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/main/openssh/APKBUILD b/main/openssh/APKBUILD
index 9c464cc4d8..d67a6193bc 100644
--- a/main/openssh/APKBUILD
+++ b/main/openssh/APKBUILD
@@ -2,15 +2,16 @@
pkgname=openssh
pkgver=6.9_p1
_myver=${pkgver%_*}${pkgver#*_}
-pkgrel=2
+pkgrel=3
pkgdesc="Port of OpenBSD's free SSH release"
url="http://www.openssh.org/portable.html"
arch="all"
license="as-is"
options="suid"
-depends="openssh-client"
+depends="openssh-client openssh-sftp-server"
makedepends="openssl-dev zlib-dev"
-subpackages="$pkgname-doc $pkgname-client $pkgname-keysign"
+subpackages="$pkgname-doc $pkgname-client $pkgname-keysign
+ $pkgname-sftp-server:sftp"
source="ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$pkgname-$_myver.tar.gz
CVE-2015-5600.patch
CVE-2015-6563.patch
@@ -110,6 +111,13 @@ keysign() {
"$subpkgdir"/usr/lib/ssh/ || return 1
}
+sftp() {
+ pkgdesc="ssh sftp server module"
+ install -d "$subpkgdir"/usr/lib/ssh || return 1
+ mv "$pkgdir"/usr/lib/ssh/sftp-server \
+ "$subpkgdir"/usr/lib/ssh/ || return 1
+}
+
md5sums="0b161c44fc31fbc6b76a6f8ae639f16f openssh-6.9p1.tar.gz
f3e17e9514d246d415fb6388609bc0f8 CVE-2015-5600.patch
ae3ac6c890f3172327118f3b793e7f05 CVE-2015-6563.patch