CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
make: fixed build and updated release
[crossrootfs.git] / openssh / Pkgfile
index 69f0d42953dfdd20c7e8ec92ad6f9373fdea2a34..e6859cda05d0921afd28ef77d99c01f92c1798b8 100644 (file)
@@ -2,12 +2,12 @@
 # URL: http://www.openssh.org/
 # Maintainer: CRUX System Team, core-ports at crux dot nu
 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
-# Depends on: openssl zlib tcp_wrappers
+# Depends on: openssl zlib
 
 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,8 +17,7 @@ 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 \
@@ -30,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
 }