summaryrefslogtreecommitdiffstats
path: root/openssh/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 16:54:45 +0100
committerLukc <lukc@upyum.com>2010-12-12 16:54:45 +0100
commita8bbd4c5eb12707ddba0ef41833cb9176b8ca9c5 (patch)
treec7d3c048dd935eac75c0c566bf040aeea63cf5af /openssh/Pkgfile
parent7f4be8bea23ce696bd417cee2552bd5a3679dd01 (diff)
downloadbase-a8bbd4c5eb12707ddba0ef41833cb9176b8ca9c5.tar.gz
base-a8bbd4c5eb12707ddba0ef41833cb9176b8ca9c5.tar.bz2
base-a8bbd4c5eb12707ddba0ef41833cb9176b8ca9c5.tar.xz
base-a8bbd4c5eb12707ddba0ef41833cb9176b8ca9c5.zip
Recette de OpenSSH mise à jour.
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
}