30 lines
798 B
Plaintext
30 lines
798 B
Plaintext
|
# 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
|
||
|
}
|