diff --git a/packages/s/sftp-server/Pkgfile b/packages/s/sftp-server/Pkgfile new file mode 100644 index 0000000..df20b96 --- /dev/null +++ b/packages/s/sftp-server/Pkgfile @@ -0,0 +1,29 @@ +# Description: Secure SHell server and client tools +# URL: https://www.openssh.org/ +# Maintainer: Alexander Zhirov +# Depends on: linux-pam openssl zlib + +name=sftp-server +version=9.7p1 +release=1 +source=(http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$version.tar.gz) + +build() { + cd openssh-$version + + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/ssh \ + --sysconfdir=/etc/ssh \ + --with-mantype=man \ + --mandir=/usr/share/man \ + --with-pid-dir=/run \ + --with-privsep-user=nobody \ + --with-privsep-path=/var/empty \ + --with-xauth=/usr/bin/xauth + + make + make DESTDIR=$SRC/installed install + install -dm00755 $PKG/usr/lib/ssh + install -m00755 $SRC/installed/usr/lib/ssh/sftp-server $PKG/usr/lib/ssh +}