CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
grep: updated to 3.1
[crossrootfs.git] / openssh / Pkgfile
index 070f0fbe40208aabc40ccbf01e8ee62fb54b256f..b20779f8c3940131833bd9de94cf1320a457ee5c 100644 (file)
@@ -5,9 +5,9 @@
 # Depends on: openssl zlib tcp_wrappers
 
 name=openssh
-version=5.8p1
+version=7.4p1
 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
 }