summaryrefslogtreecommitdiff
path: root/repo/util/openssh.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 01:23:51 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 01:23:51 +0000
commitcb447620084a20be80d116c81c2e9ec110be7118 (patch)
tree9fc0d714abbb5c6326b60616a5fd27ec9f984895 /repo/util/openssh.xibuild
parent153011e9129c6055ef21c48caf65a23e74a91418 (diff)
restructured repo system
Diffstat (limited to 'repo/util/openssh.xibuild')
-rw-r--r--repo/util/openssh.xibuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/repo/util/openssh.xibuild b/repo/util/openssh.xibuild
new file mode 100644
index 0000000..3ed91ef
--- /dev/null
+++ b/repo/util/openssh.xibuild
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+DEPS=(glibc krb5 openssl libedit ldns libxcrypt zlib pam)
+
+SOURCE=https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.8p1.tar.gz
+DESC="Premier connectivity tool for remote login with the SSH protocol"
+
+build () {
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc/ssh \
+ --with-md5-passwords \
+ --with-privsep-path=/var/lib/sshd \
+ --with-default-path=/usr/bin \
+ --with-superuser-path=/usr/sbin:/usr/bin \
+ --with-pid-dir=/run
+ make
+ make DESTDIR=$PKG_DEST install
+}
+
+
+package () {
+ install -v -m755 contrib/ssh-copy-id $PKG_DEST/usr/bin
+
+ install -v -m644 contrib/ssh-copy-id.1 \
+ $PKG_DEST/usr/share/man/man1
+ install -v -m755 -d $PKG_DEST/usr/share/doc/openssh-8.8p1
+ install -v -m644 INSTALL LICENCE OVERVIEW README* \
+ $PKG_DEST/usr/share/doc/openssh-8.8p1
+
+}