summaryrefslogtreecommitdiffstats
path: root/base/openssh/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/openssh/Pkgfile')
-rwxr-xr-xbase/openssh/Pkgfile21
1 files changed, 10 insertions, 11 deletions
diff --git a/base/openssh/Pkgfile b/base/openssh/Pkgfile
index 3afabbee5..1b530be24 100755
--- a/base/openssh/Pkgfile
+++ b/base/openssh/Pkgfile
@@ -4,24 +4,23 @@
# Packager: thierryn1 at hispeed dot ch
name=openssh
-version=5.8p1
+version=5.9p1
release=1
-source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$name-$version.tar.gz)
+source=(http://ftp2.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/$name-$version.tar.gz)
build() {
unset MAKEFLAGS
cd $name-$version
- sed -i "s/lkrb5 -ldes/lkrb5/" configure
+ sed -i "s/lkrb5 -ldes/lkrb5/" configure
./configure --prefix=/usr \
- --sysconfdir=/etc/ssh \
- --libexecdir=/usr/lib/openssh \
- --with-tcp-wrappers --with-md5-passwords \
- --with-privsep-path=/var/lib/sshd \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --without-sshd \
- --disable-debug
+ --sysconfdir=/etc/ssh \
+ --libexecdir=/usr/lib/openssh \
+ --with-tcp-wrappers --with-md5-passwords \
+ --with-privsep-path=/var/lib/sshd \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
make DESTDIR=$PKG install
+
rm -r $PKG/var
# Suppression des services et leurs man
rm $PKG/etc/ssh/sshd_config