summaryrefslogtreecommitdiff
path: root/system/openssh/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'system/openssh/APKBUILD')
-rw-r--r--system/openssh/APKBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/system/openssh/APKBUILD b/system/openssh/APKBUILD
index 1239de8b8..38d947585 100644
--- a/system/openssh/APKBUILD
+++ b/system/openssh/APKBUILD
@@ -4,7 +4,7 @@
pkgname=openssh
pkgver=7.9_p1
_myver=${pkgver%_*}${pkgver#*_}
-pkgrel=3
+pkgrel=4
pkgdesc="Port of OpenBSD's free SSH release"
url="https://www.openssh.com/portable.html"
arch="all"
@@ -54,7 +54,6 @@ source="https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$pkgname-$_myver.ta
builddir="$srcdir"/$pkgname-$_myver
build() {
- cd "$builddir"
export LD="$CC"
LIBS="-lutmps -lskarnet" ./configure --build=$CBUILD \
--host=$CHOST \
@@ -78,7 +77,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/var/empty
install -D -m755 "$srcdir"/sshd.initd \
@@ -91,7 +89,7 @@ package() {
keygen() {
pkgdesc="Helper program for generating SSH keys"
- depends=
+ depends=""
install -d "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/ssh-keygen \
"$subpkgdir"/usr/bin/
@@ -136,7 +134,7 @@ sftp() {
server() {
pkgdesc="OpenSSH server"
- depends="openssh-keygen"
+ depends="openssh-client openssh-keygen"
replaces="openssh-server-common"
cd "$builddir"
install -d "$subpkgdir"/usr/sbin