aboutsummaryrefslogtreecommitdiffstats
path: root/main/openssh/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/openssh/APKBUILD')
-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