2006-02-23 15:26:10 +00:00
|
|
|
# Description: Secure SHell server and client tools
|
|
|
|
# URL: http://www.openssh.org/
|
2007-01-23 17:25:18 +00:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2014-10-12 17:13:48 +02:00
|
|
|
# Depends on: openssl zlib
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=openssh
|
2019-10-09 13:54:33 +02:00
|
|
|
version=8.1p1
|
2019-04-21 13:35:50 +02:00
|
|
|
release=1
|
2019-01-14 15:10:57 +01:00
|
|
|
source=(http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$name-$version.tar.gz
|
2019-04-21 13:35:50 +02:00
|
|
|
sshd)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2019-01-14 15:10:57 +01:00
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
./configure --prefix=/usr \
|
2007-10-21 14:10:25 +02:00
|
|
|
--libexecdir=/usr/lib/ssh \
|
|
|
|
--sysconfdir=/etc/ssh \
|
|
|
|
--with-mantype=man \
|
2015-07-25 21:37:04 +02:00
|
|
|
--mandir=/usr/share/man \
|
2007-10-21 14:10:25 +02:00
|
|
|
--with-md5-passwords \
|
|
|
|
--with-privsep-user=nobody \
|
|
|
|
--with-privsep-path=/var/empty \
|
|
|
|
--with-xauth=/usr/bin/xauth
|
2006-02-23 15:26:10 +00: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
|
2015-07-25 21:37:04 +02:00
|
|
|
rm -r $PKG/var
|
2017-08-08 14:29:58 -05:00
|
|
|
|
|
|
|
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 15:26:10 +00:00
|
|
|
}
|