summaryrefslogtreecommitdiffstats
path: root/openssh/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'openssh/Pkgfile')
-rwxr-xr-xopenssh/Pkgfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/openssh/Pkgfile b/openssh/Pkgfile
new file mode 100755
index 000000000..1b530be24
--- /dev/null
+++ b/openssh/Pkgfile
@@ -0,0 +1,30 @@
+# Description: Outils client et serveur de shell sécurisé
+# URL: http://www.openssh.org/
+# Maintainer: NuTyX coreteam
+# Packager: thierryn1 at hispeed dot ch
+
+name=openssh
+version=5.9p1
+release=1
+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
+ ./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
+ make DESTDIR=$PKG install
+
+ rm -r $PKG/var
+ # Suppression des services et leurs man
+ rm $PKG/etc/ssh/sshd_config
+ rm -r $PKG/usr/sbin
+ rm -r $PKG/usr/share/man/man8
+ rm -r $PKG/usr/lib
+}