X-Git-Url: http://gitweb/?a=blobdiff_plain;f=openssh%2FPkgfile;h=b17a16fadd93fd48ba76f16d30f76ab54c6c8537;hb=15fb53b5ab66b81fd3529c14f9180bd86a366400;hp=070f0fbe40208aabc40ccbf01e8ee62fb54b256f;hpb=fe2701c68940a0cf74a46c87863e8f33bf60c7aa;p=crossrootfs.git

diff --git a/openssh/Pkgfile b/openssh/Pkgfile
index 070f0fb..b17a16f 100644
--- a/openssh/Pkgfile
+++ b/openssh/Pkgfile
@@ -5,9 +5,9 @@
 # Depends on: openssl zlib tcp_wrappers
 
 name=openssh
-version=5.8p1
+version=7.7p1
 release=1
-source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$name-$version.tar.gz sshd)
+source=(http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$name-$version.tar.gz sshd)
 
 build() {
   cd $name-$version
@@ -17,19 +17,17 @@ build() {
               --libexecdir=/usr/lib/ssh \
               --sysconfdir=/etc/ssh \
               --with-mantype=man \
-              --mandir=/usr/man \
-              --with-tcp-wrappers \
+              --mandir=/usr/share/man \
               --with-md5-passwords \
               --with-privsep-user=nobody \
               --with-privsep-path=/var/empty \
               --with-xauth=/usr/bin/xauth \
               --with-zlib="$CLFS/usr" \
               --with-ssl-dir="$CLFS/usr" \
-              --with-libs="$LIBS -L$CLFS/usr/lib" \
-              --with-cflags="$CFLAGS -I$CLFS/usr/include" 
+              --with-libs="$LIBS -L$CLFS/usr/lib"
 
   make AR="$AR" RANLIB="$RANLIB" AS="$AS" LD="$CC"
   make DESTDIR=$PKG STRIP_OPT="-s --strip-program=$STRIP" AR="$AR" RANLIB="$RANLIB" AS="$AS" install
   install -D -m 755 $SRC/sshd $PKG/etc/rc.d/sshd
-  rm -rf $PKG/usr/share $PKG/var
+  rm -rf $PKG/var
 }