summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/openssh-server/.md5sum2
-rwxr-xr-xextra/openssh-server/Pkgfile7
2 files changed, 6 insertions, 3 deletions
diff --git a/extra/openssh-server/.md5sum b/extra/openssh-server/.md5sum
index d4cd86ece..bcc9f4a21 100644
--- a/extra/openssh-server/.md5sum
+++ b/extra/openssh-server/.md5sum
@@ -1,2 +1,2 @@
-88633408f4cb1eb11ec7e2ec58b519eb openssh-5.5p1.tar.gz
+e6ee52e47c768bf0ec42a232b5d18fb0 openssh-5.6p1.tar.gz
23ed262e5382897d3ac764a7367c5bf2 service-01.patch
diff --git a/extra/openssh-server/Pkgfile b/extra/openssh-server/Pkgfile
index fae8b059f..ac0859702 100755
--- a/extra/openssh-server/Pkgfile
+++ b/extra/openssh-server/Pkgfile
@@ -5,20 +5,22 @@
# Depends on: openssh
name=openssh-server
-version=5.5p1
+version=5.6p1
release=1
source=(ftp://ftp.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
cd openssh-$version
- sed -i "s:-lcrypto:/usr/lib/libcrypto.a -ldl:g" configure
+# 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 \
@@ -27,6 +29,7 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-debug
+
make DESTDIR=$PKG install
cd ../$scripts-$scriptsversion
patch -Np1 -i ../service-01.patch