core/openssh/Pkgfile

28 lines
759 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
2006-02-23 16:26:10 +01:00
# Depends on: openssl, zlib
name=openssh
2007-09-05 17:22:26 +02:00
version=4.7p1
2006-02-23 16:26:10 +01:00
release=1
source=(ftp://openbsd.informatik.uni-erlangen.de/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 \
2006-09-28 15:07:43 +02:00
--mandir=/usr/man \
2006-02-23 16:26:10 +01:00
--with-tcp-wrappers \
--with-md5-passwords \
--with-privsep-user=nobody \
2007-02-20 20:21:58 +01:00
--with-privsep-path=/var/empty \
--with-xauth=/usr/bin/xauth
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
install -D -m 755 ../sshd $PKG/etc/rc.d/sshd
rm -rf $PKG/usr/share $PKG/var
}