# openssh, http://www.openssh.org name=openssh version=5.0 release=1 source=(ftp://ftp.stacken.kth.se/pub/OpenBSD/OpenSSH/portable/$name-${version}p$release.tar.gz sshd.pam sshd.service) build() { cd $name-${version}p$release ./configure \ --prefix=/usr \ --sysconfdir=/etc/ssh \ --localstatedir=/var \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --with-md5-passwords \ --with-tcp-wrappers \ --with-pam \ --with-privsep-user=nobody \ --with-privsep-path=/var/empty \ --with-xauth=/usr/bin/xauth \ --enable-shadow make make DESTDIR=$PKG install install -D -m0644 ../sshd.pam $PKG/etc/pam.d/sshd install -D -m0755 ../sshd.service $PKG/etc/rc.d/services/sshd.service rmdir $PKG/var/empty rmdir $PKG/var }