From 46e4b3c61657bbcc998891a4490847794cbca765 Mon Sep 17 00:00:00 2001 From: piernov Date: Wed, 7 Sep 2011 16:26:52 +0200 Subject: openssh-server 5.9p1-1 màj port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extra/openssh-server/.md5sum.i686 | 2 +- extra/openssh-server/.md5sum.x86_64 | 2 +- extra/openssh-server/Pkgfile | 33 +++++++++++++++++---------------- 3 files changed, 19 insertions(+), 18 deletions(-) (limited to 'extra') diff --git a/extra/openssh-server/.md5sum.i686 b/extra/openssh-server/.md5sum.i686 index 987d6aaab..0b68fb033 100644 --- a/extra/openssh-server/.md5sum.i686 +++ b/extra/openssh-server/.md5sum.i686 @@ -1,2 +1,2 @@ -86f5e1c23b4c4845f23b9b7b493fb53d openssh-5.8p1.tar.gz +afe17eee7e98d3b8550cc349834a85d0 openssh-5.9p1.tar.gz 23ed262e5382897d3ac764a7367c5bf2 service-01.patch diff --git a/extra/openssh-server/.md5sum.x86_64 b/extra/openssh-server/.md5sum.x86_64 index 987d6aaab..0b68fb033 100644 --- a/extra/openssh-server/.md5sum.x86_64 +++ b/extra/openssh-server/.md5sum.x86_64 @@ -1,2 +1,2 @@ -86f5e1c23b4c4845f23b9b7b493fb53d openssh-5.8p1.tar.gz +afe17eee7e98d3b8550cc349834a85d0 openssh-5.9p1.tar.gz 23ed262e5382897d3ac764a7367c5bf2 service-01.patch diff --git a/extra/openssh-server/Pkgfile b/extra/openssh-server/Pkgfile index 258535163..d9f3b02f3 100755 --- a/extra/openssh-server/Pkgfile +++ b/extra/openssh-server/Pkgfile @@ -6,36 +6,37 @@ # Run on: openssh name=openssh-server -version=5.8p1 +version=5.9p1 release=1 -source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$version.tar.gz\ +source=(http://ftp2.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$version.tar.gz\ http://nutyx.meticul.eu/files/patchs/$name/service-01.patch) build() { unset MAKEFLAGS source /etc/blfs-bootscripts - wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2 - tar xvf $scripts-$scriptsversion.tar.bz2 + wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2 + tar xvf $scripts-$scriptsversion.tar.bz2 cd openssh-$version -# sed -i "s:-lcrypto:/usr/lib/libcrypto.a -ldl:g" configure - sed -i "s/lkrb5 -ldes/lkrb5/" configure - install -v -m700 -d $PKG/var/lib/sshd - chown -v 0:2 $PKG/var/lib/sshd +# sed -i "s:-lcrypto:/usr/lib/libcrypto.a -ldl:g" configure + sed -i "s/lkrb5 -ldes/lkrb5/" configure + install -v -m700 -d $PKG/var/lib/sshd + chown -v 0:2 $PKG/var/lib/sshd ./configure --prefix=/usr \ - --sysconfdir=/etc/ssh \ - --libexecdir=/usr/lib/openssh \ - --with-tcp-wrappers --with-md5-passwords \ - --with-privsep-path=/var/lib/sshd \ + --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 \ - --disable-debug + --infodir=/usr/share/info make DESTDIR=$PKG install - cd ../$scripts-$scriptsversion - patch -Np1 -i ../service-01.patch + + cd ../$scripts-$scriptsversion + patch -Np1 -i ../service-01.patch make DESTDIR=$PKG install-sshd echo "PermitRootLogin no" >> $PKG/etc/ssh/sshd_config + # Suppression du client et ses man rm $PKG/etc/ssh/{ssh_config,moduli} rm -r $PKG/usr/bin -- cgit v1.2.3-70-g09d2