summaryrefslogtreecommitdiff
path: root/repo/util/openssh.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/util/openssh.xibuild')
-rw-r--r--repo/util/openssh.xibuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/repo/util/openssh.xibuild b/repo/util/openssh.xibuild
index c60a2ed..1430347 100644
--- a/repo/util/openssh.xibuild
+++ b/repo/util/openssh.xibuild
@@ -1,12 +1,14 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="musl krb5 openssl libedit ldns libxcrypt zlib pam"
+DEPS="musl krb5 openssl libedit ldns libxcrypt zlib pam argp-standalone"
PKG_VER=8.8p1
SOURCE=https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$PKG_VER.tar.gz
DESC="Premier connectivity tool for remote login with the SSH protocol"
+ADDITIONAL="sshd.initd sshd.confd"
+
build () {
./configure --prefix=/usr \
--sysconfdir=/etc/ssh \
@@ -21,12 +23,14 @@ build () {
package () {
make DESTDIR=$PKG_DEST install
- install -m755 contrib/ssh-copy-id $PKG_DEST/usr/bin
+ install -Dm755 contrib/ssh-copy-id $PKG_DEST/usr/bin
- install -m644 contrib/ssh-copy-id.1 \
+ install -Dm644 contrib/ssh-copy-id.1 \
$PKG_DEST/usr/share/man/man1
- install -m755 -d $PKG_DEST/usr/share/doc/openssh-$PKG_VER
- install -m644 INSTALL LICENCE OVERVIEW README* \
+ install -Dm755 -d $PKG_DEST/usr/share/doc/openssh-$PKG_VER
+ install -Dm644 INSTALL LICENCE OVERVIEW README* \
$PKG_DEST/usr/share/doc/openssh-$PKG_VER
+ install -Dm755 sshd.initd $PKG_DEST/etc/init.d/sshd
+ install -Dm755 sshd.confd $PKG_DEST/etc/conf.d/sshd
}