Commit | Line | Data |
---|---|---|
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 | |
5 | # Depends on: openssl zlib tcp_wrappers | |
6 | ||
7 | name=openssh | |
eb45ca97 | 8 | version=6.6p1 |
abbf5f0f | 9 | release=1 |
fe2701c6 VM |
10 | source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$name-$version.tar.gz sshd) |
11 | ||
12 | build() { | |
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 \ | |
20 | --mandir=/usr/man \ | |
21 | --with-tcp-wrappers \ | |
22 | --with-md5-passwords \ | |
23 | --with-privsep-user=nobody \ | |
24 | --with-privsep-path=/var/empty \ | |
25 | --with-xauth=/usr/bin/xauth \ | |
26 | --with-zlib="$CLFS/usr" \ | |
27 | --with-ssl-dir="$CLFS/usr" \ | |
cda466e7 | 28 | --with-libs="$LIBS -L$CLFS/usr/lib" |
fe2701c6 VM |
29 | |
30 | make AR="$AR" RANLIB="$RANLIB" AS="$AS" LD="$CC" | |
31 | make DESTDIR=$PKG STRIP_OPT="-s --strip-program=$STRIP" AR="$AR" RANLIB="$RANLIB" AS="$AS" install | |
32 | install -D -m 755 $SRC/sshd $PKG/etc/rc.d/sshd | |
33 | rm -rf $PKG/usr/share $PKG/var | |
34 | } |