CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
openssh: updated to 7.7p1
[crossrootfs.git] / openssh / Pkgfile
CommitLineData
fe2701c6
VM
1# Description: Secure SHell server and client tools
2# URL: http://www.openssh.org/
3# Maintainer: CRUX System Team, core-ports at crux dot nu
4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
ccd13886 5# Depends on: openssl zlib
fe2701c6
VM
6
7name=openssh
6034e875 8version=7.7p1
abbf5f0f 9release=1
ccd13886 10source=(http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$name-$version.tar.gz sshd)
fe2701c6
VM
11
12build() {
13 cd $name-$version
14 ./configure --build=$CHOST \
15 --host=$CTARGET \
16 --prefix=/usr \
17 --libexecdir=/usr/lib/ssh \
18 --sysconfdir=/etc/ssh \
19 --with-mantype=man \
fe9faeda 20 --mandir=/usr/share/man \
fe2701c6
VM
21 --with-md5-passwords \
22 --with-privsep-user=nobody \
23 --with-privsep-path=/var/empty \
24 --with-xauth=/usr/bin/xauth \
25 --with-zlib="$CLFS/usr" \
26 --with-ssl-dir="$CLFS/usr" \
cda466e7 27 --with-libs="$LIBS -L$CLFS/usr/lib"
fe2701c6
VM
28
29 make AR="$AR" RANLIB="$RANLIB" AS="$AS" LD="$CC"
30 make DESTDIR=$PKG STRIP_OPT="-s --strip-program=$STRIP" AR="$AR" RANLIB="$RANLIB" AS="$AS" install
31 install -D -m 755 $SRC/sshd $PKG/etc/rc.d/sshd
fe9faeda 32 rm -rf $PKG/var
fe2701c6 33}