diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-05-17 11:29:47 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-05-17 11:29:47 +0200 |
commit | fb58e7c30ea39307d7f0d01c5b3ba1fe56d61513 (patch) | |
tree | 6d804778d954ece0b3cc27e2b49b23aa9bc714d9 /base/openssh/Pkgfile | |
parent | 07d29ad7ccafab8346b2ff6faab0cc355688d228 (diff) | |
download | nutyx-extra-fb58e7c30ea39307d7f0d01c5b3ba1fe56d61513.tar.gz nutyx-extra-fb58e7c30ea39307d7f0d01c5b3ba1fe56d61513.tar.bz2 nutyx-extra-fb58e7c30ea39307d7f0d01c5b3ba1fe56d61513.tar.xz nutyx-extra-fb58e7c30ea39307d7f0d01c5b3ba1fe56d61513.zip |
maj openssh#5.5p1-2, séparation client et service
Diffstat (limited to 'base/openssh/Pkgfile')
-rwxr-xr-x | base/openssh/Pkgfile | 37 |
1 files changed, 16 insertions, 21 deletions
diff --git a/base/openssh/Pkgfile b/base/openssh/Pkgfile index 14c65cfbe..10e1a6125 100755 --- a/base/openssh/Pkgfile +++ b/base/openssh/Pkgfile @@ -5,32 +5,27 @@ name=openssh version=5.5p1 -release=1 -source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$name-$version.tar.gz\ - sshd\ -) +release=2 +source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$name-$version.tar.gz) build() { - source /etc/blfs-bootscripts - wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2 - tar xvf $scripts-$scriptsversion.tar.bz2 cd $name-$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 ./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 \ - --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 \ + --without-sshd \ + --disable-debug make DESTDIR=$PKG install - cd ../$scripts-$scriptsversion - make DESTDIR=$PKG install-sshd - rm $PKG/etc/rc.d/init.d/sshd - install -m755 ../sshd $PKG/etc/rc.d/init.d/ - echo "PermitRootLogin no" >> $PKG/etc/ssh/sshd_config + 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 } |