# Description: Secure SHell server and client tools # URL: http://www.openssh.org/ # Maintainer: CRUX System Team, core-ports at crux dot nu # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # Depends on: openssl zlib tcp_wrappers name=openssh version=6.1p1 release=1 source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$name-$version.tar.gz sshd) build() { cd $name-$version ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ --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 \ --with-zlib="$CLFS/usr" \ --with-ssl-dir="$CLFS/usr" \ --with-libs="$LIBS -L$CLFS/usr/lib" make AR="$AR" RANLIB="$RANLIB" AS="$AS" LD="$CC" make DESTDIR=$PKG STRIP_OPT="-s --strip-program=$STRIP" AR="$AR" RANLIB="$RANLIB" AS="$AS" install install -D -m 755 $SRC/sshd $PKG/etc/rc.d/sshd rm -rf $PKG/usr/share $PKG/var }