summaryrefslogtreecommitdiffstats
path: root/openssh/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'openssh/Pkgfile')
-rw-r--r--openssh/Pkgfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/openssh/Pkgfile b/openssh/Pkgfile
new file mode 100644
index 0000000..7c069d3
--- /dev/null
+++ b/openssh/Pkgfile
@@ -0,0 +1,19 @@
+description="Secure SHell server and client tools"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+url="http://www.openssh.org/"
+depends=(openssl zlib tcp_wrappers)
+
+name=openssh
+version=5.6p1
+release=1
+source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-5.6p1.tar.gz sshd)
+build ()
+{
+ cd $name-$version;
+ ./configure --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;
+ make;
+ make DESTDIR=$PKG install;
+ install -D -m 755 $SRC/sshd $PKG/etc/rc.d/sshd;
+ rm -rf $PKG/usr/share $PKG/var
+}