CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
openssh: updated to 7.1p1 and updated mandir
[crossrootfs.git] / openssh / Pkgfile
index 93cb72ceae0dfff359202dfc54a78ed2db9f7732..201ae8f0cc689ff73ee828214da6803775377d67 100644 (file)
@@ -5,21 +5,19 @@
 # Depends on: openssl zlib tcp_wrappers
 
 name=openssh
-version=5.8p2
+version=7.1p1
 release=1
 source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$name-$version.tar.gz sshd)
 
 build() {
   cd $name-$version
-  sed -i 's/p1/p2/' version.h
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
               --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 \
@@ -31,5 +29,5 @@ build() {
   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
 }