From ebc66b0362c524e15cce4414311a648f2bee44a8 Mon Sep 17 00:00:00 2001 From: Alexander Zhirov Date: Thu, 14 Mar 2024 18:58:40 +0300 Subject: [PATCH] added sftp-server package --- packages/s/sftp-server/Pkgfile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 packages/s/sftp-server/Pkgfile 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 +}