diff options
author | davidovski <david@davidovski.xyz> | 2021-12-23 15:43:35 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2021-12-23 15:43:35 +0000 |
commit | 3af7df2b3b06e516947f7979f7c7f3c25d94bbb9 (patch) | |
tree | 8730b9110bad0d6ccb78ccbf3cfa18365b705d9d /repo/core/openssh.xibuild | |
parent | f7d75caed1c9627523aa72f1a04f1b9af34bfcde (diff) |
added openssh
Diffstat (limited to 'repo/core/openssh.xibuild')
-rw-r--r-- | repo/core/openssh.xibuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/repo/core/openssh.xibuild b/repo/core/openssh.xibuild new file mode 100644 index 0000000..18886c5 --- /dev/null +++ b/repo/core/openssh.xibuild @@ -0,0 +1,27 @@ +#!/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 + + install -v -m755 contrib/ssh-copy-id /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 + +} |