summaryrefslogtreecommitdiffstats
path: root/openssh/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'openssh/Pkgfile')
-rw-r--r--openssh/Pkgfile33
1 files changed, 23 insertions, 10 deletions
diff --git a/openssh/Pkgfile b/openssh/Pkgfile
index 7c069d3..7683009 100644
--- a/openssh/Pkgfile
+++ b/openssh/Pkgfile
@@ -1,19 +1,32 @@
-description="Secure SHell server and client tools"
-packager=""
-maintainer="CRUX System Team, core-ports at crux dot nu"
+description="Secure SHell server and client tools."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
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)
+source=(
+ ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$name-$version.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
+ cd $name-$version;
+ ./configure \
+ --prefix=$prefix \
+ --libexecdir=$libdir/ssh \
+ --sysconfdir=$sysconfdir/ssh \
+ --with-mantype=man \
+ --mandir=$mandir \
+ --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/var
}