summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openssh/.footprint39
-rw-r--r--openssh/.sha256sum2
-rw-r--r--openssh/Pkgfile33
3 files changed, 45 insertions, 29 deletions
diff --git a/openssh/.footprint b/openssh/.footprint
index 8548114..f7ed1e9 100644
--- a/openssh/.footprint
+++ b/openssh/.footprint
@@ -20,24 +20,25 @@ drwxr-xr-x root/root usr/lib/ssh/
-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.bz2
+-rw-r--r-- root/root usr/share/man/man1/sftp.1.bz2
+lrwxrwxrwx root/root usr/share/man/man1/slogin.1.bz2 -> ssh.1.bz2
+-rw-r--r-- root/root usr/share/man/man1/ssh-add.1.bz2
+-rw-r--r-- root/root usr/share/man/man1/ssh-agent.1.bz2
+-rw-r--r-- root/root usr/share/man/man1/ssh-keygen.1.bz2
+-rw-r--r-- root/root usr/share/man/man1/ssh-keyscan.1.bz2
+-rw-r--r-- root/root usr/share/man/man1/ssh.1.bz2
+drwxr-xr-x root/root usr/share/man/man5/
+-rw-r--r-- root/root usr/share/man/man5/moduli.5.bz2
+-rw-r--r-- root/root usr/share/man/man5/ssh_config.5.bz2
+-rw-r--r-- root/root usr/share/man/man5/sshd_config.5.bz2
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/sftp-server.8.bz2
+-rw-r--r-- root/root usr/share/man/man8/ssh-keysign.8.bz2
+-rw-r--r-- root/root usr/share/man/man8/ssh-pkcs11-helper.8.bz2
+-rw-r--r-- root/root usr/share/man/man8/sshd.8.bz2
diff --git a/openssh/.sha256sum b/openssh/.sha256sum
new file mode 100644
index 0000000..3beeb8b
--- /dev/null
+++ b/openssh/.sha256sum
@@ -0,0 +1,2 @@
+538af53b2b8162c21a293bb004ae2bdb141abd250f61b4cea55244749f3c6c2b openssh-5.6p1.tar.gz
+fa12ae1d94016001169d3a18c0f91498e43fa5a31d51cbc6bd3c3ce30f961e43 sshd
diff --git a/openssh/Pkgfile b/openssh/Pkgfile
index 7c069d3..7683009 100644
--- a/openssh/Pkgfile
+++ b/openssh/Pkgfile
@@ -1,19 +1,32 @@
-description="Secure SHell server and client tools"
-packager=""
-maintainer="CRUX System Team, core-ports at crux dot nu"
+description="Secure SHell server and client tools."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.openssh.org/"
depends=(openssl zlib tcp_wrappers)
name=openssh
version=5.6p1
release=1
-source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-5.6p1.tar.gz sshd)
+source=(
+ ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$name-$version.tar.gz
+ sshd
+)
build ()
{
- cd $name-$version;
- ./configure --prefix=/usr --libexecdir=/usr/lib/ssh --sysconfdir=/etc/ssh --with-mantype=man --mandir=/usr/man --with-tcp-wrappers --with-md5-passwords --with-privsep-user=nobody --with-privsep-path=/var/empty --with-xauth=/usr/bin/xauth;
- make;
- make DESTDIR=$PKG install;
- install -D -m 755 $SRC/sshd $PKG/etc/rc.d/sshd;
- rm -rf $PKG/usr/share $PKG/var
+ cd $name-$version;
+ ./configure \
+ --prefix=$prefix \
+ --libexecdir=$libdir/ssh \
+ --sysconfdir=$sysconfdir/ssh \
+ --with-mantype=man \
+ --mandir=$mandir \
+ --with-tcp-wrappers \
+ --with-md5-passwords \
+ --with-privsep-user=nobody \
+ --with-privsep-path=/var/empty \
+ --with-xauth=/usr/bin/xauth;
+ make;
+ make DESTDIR=$PKG install;
+ install -D -m 755 $SRC/sshd $PKG/etc/rc.d/sshd;
+ rm -rf $PKG/var
}