summaryrefslogtreecommitdiffstats
path: root/openssh-server/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'openssh-server/Pkgfile')
-rwxr-xr-xopenssh-server/Pkgfile20
1 files changed, 10 insertions, 10 deletions
diff --git a/openssh-server/Pkgfile b/openssh-server/Pkgfile
index 0615f6b9e..5b1f0fc9a 100755
--- a/openssh-server/Pkgfile
+++ b/openssh-server/Pkgfile
@@ -6,27 +6,28 @@
# Run on: openssh
name=openssh-server
-version=5.9p1
-release=2
-source=(http://ftp2.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$version.tar.gz\
- http://nutyx.meticul.eu/files/patchs/$name/service-01.patch)
+version=6.0p1
+release=1
+source=(http://ftp2.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$version.tar.gz
+ http://nutyx.meticul.eu/files/patchs/$name/service-sekong-01.patch)
build() {
unset MAKEFLAGS
source /etc/blfs-bootscripts
-# wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
- wget http://nutyx.meticul.eu/files/patchs/aaabasicfs/blfs-bootscripts-$scriptsversion.tar.bz2
+ wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
+# wget http://nutyx.meticul.eu/files/patchs/aaabasicfs/blfs-bootscripts-$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
+# 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-tcp-wrappers \
+ --with-md5-passwords \
--with-privsep-path=/var/lib/sshd \
--mandir=/usr/share/man \
--infodir=/usr/share/info
@@ -34,7 +35,7 @@ build() {
make DESTDIR=$PKG install
cd ../$scripts-$scriptsversion
- patch -Np1 -i ../service-01.patch
+ patch -Np1 -i ../service-sekong-01.patch
make DESTDIR=$PKG install-sshd
echo "PermitRootLogin no" >> $PKG/etc/ssh/sshd_config
@@ -43,4 +44,3 @@ build() {
rm -r $PKG/usr/bin
rm -r $PKG/usr/share/man/man{1,5}
}
-