core/openssh/Pkgfile

30 lines
970 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Secure SHell server and client tools
# URL: http://www.openssh.org/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: openssl zlib
2006-02-23 16:26:10 +01:00
name=openssh
2017-10-05 01:34:02 +02:00
version=7.6p1
release=1
2016-05-16 17:32:52 +02:00
source=(http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$name-$version.tar.gz sshd)
2006-02-23 16:26:10 +01:00
build() {
cd $name-$version
./configure --prefix=/usr \
--libexecdir=/usr/lib/ssh \
--sysconfdir=/etc/ssh \
--with-mantype=man \
--mandir=/usr/share/man \
--with-md5-passwords \
--with-privsep-user=nobody \
--with-privsep-path=/var/empty \
--with-xauth=/usr/bin/xauth
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
2009-10-02 13:37:21 +02:00
install -D -m 755 $SRC/sshd $PKG/etc/rc.d/sshd
rm -r $PKG/var
install -D -m 755 contrib/ssh-copy-id $PKG/usr/bin/ssh-copy-id
install -D -m 644 contrib/ssh-copy-id.1 $PKG/usr/share/man/man1/ssh-copy-id.1
2006-02-23 16:26:10 +01:00
}