-rwxr-xr-x root/root usr/lib/ssh/sftp-server
-rws--x--x root/root usr/lib/ssh/ssh-keysign
-rwxr-xr-x root/root usr/lib/ssh/ssh-pkcs11-helper
-drwxr-xr-x root/root usr/man/
-drwxr-xr-x root/root usr/man/man1/
--rw-r--r-- root/root usr/man/man1/scp.1.gz
--rw-r--r-- root/root usr/man/man1/sftp.1.gz
-lrwxrwxrwx root/root usr/man/man1/slogin.1.gz -> ssh.1.gz
--rw-r--r-- root/root usr/man/man1/ssh-add.1.gz
--rw-r--r-- root/root usr/man/man1/ssh-agent.1.gz
--rw-r--r-- root/root usr/man/man1/ssh-keygen.1.gz
--rw-r--r-- root/root usr/man/man1/ssh-keyscan.1.gz
--rw-r--r-- root/root usr/man/man1/ssh.1.gz
-drwxr-xr-x root/root usr/man/man5/
--rw-r--r-- root/root usr/man/man5/moduli.5.gz
--rw-r--r-- root/root usr/man/man5/ssh_config.5.gz
--rw-r--r-- root/root usr/man/man5/sshd_config.5.gz
-drwxr-xr-x root/root usr/man/man8/
--rw-r--r-- root/root usr/man/man8/sftp-server.8.gz
--rw-r--r-- root/root usr/man/man8/ssh-keysign.8.gz
--rw-r--r-- root/root usr/man/man8/ssh-pkcs11-helper.8.gz
--rw-r--r-- root/root usr/man/man8/sshd.8.gz
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/sshd
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/scp.1.gz
+-rw-r--r-- root/root usr/share/man/man1/sftp.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/slogin.1.gz -> ssh.1.gz
+-rw-r--r-- root/root usr/share/man/man1/ssh-add.1.gz
+-rw-r--r-- root/root usr/share/man/man1/ssh-agent.1.gz
+-rw-r--r-- root/root usr/share/man/man1/ssh-keygen.1.gz
+-rw-r--r-- root/root usr/share/man/man1/ssh-keyscan.1.gz
+-rw-r--r-- root/root usr/share/man/man1/ssh.1.gz
+drwxr-xr-x root/root usr/share/man/man5/
+-rw-r--r-- root/root usr/share/man/man5/moduli.5.gz
+-rw-r--r-- root/root usr/share/man/man5/ssh_config.5.gz
+-rw-r--r-- root/root usr/share/man/man5/sshd_config.5.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/sftp-server.8.gz
+-rw-r--r-- root/root usr/share/man/man8/ssh-keysign.8.gz
+-rw-r--r-- root/root usr/share/man/man8/ssh-pkcs11-helper.8.gz
+-rw-r--r-- root/root usr/share/man/man8/sshd.8.gz
# Depends on: openssl zlib tcp_wrappers
name=openssh
-version=6.6p1
+version=7.1p1
release=1
source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$name-$version.tar.gz sshd)
--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 \
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
}