2006-02-23 16:26:10 +01:00
|
|
|
# Description: Secure SHell server and client tools
|
|
|
|
# URL: http://www.openssh.org/
|
2007-01-23 18:25:18 +01:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2010-04-16 09:25:55 +02:00
|
|
|
# Depends on: openssl zlib tcp_wrappers
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=openssh
|
2011-01-24 16:58:23 +01:00
|
|
|
version=5.7p1
|
2010-04-16 11:01:39 +02:00
|
|
|
release=1
|
2008-04-03 20:12:23 +02:00
|
|
|
source=(ftp://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 \
|
2007-10-21 14:10:25 +02:00
|
|
|
--libexecdir=/usr/lib/ssh \
|
|
|
|
--sysconfdir=/etc/ssh \
|
|
|
|
--with-mantype=man \
|
|
|
|
--mandir=/usr/man \
|
|
|
|
--with-tcp-wrappers \
|
|
|
|
--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
|
2006-02-23 16:26:10 +01:00
|
|
|
rm -rf $PKG/usr/share $PKG/var
|
|
|
|
}
|