diff --git a/sslh/.footprint b/sslh/.footprint new file mode 100644 index 000000000..5bfcf6b83 --- /dev/null +++ b/sslh/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/rc.d/ +-rwxr-xr-x root/root etc/rc.d/sslh +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man8/ +-rw-r--r-- root/root usr/man/man8/sslh.8.gz +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/sslh diff --git a/sslh/.md5sum b/sslh/.md5sum new file mode 100644 index 000000000..bb8083112 --- /dev/null +++ b/sslh/.md5sum @@ -0,0 +1,2 @@ +b2e0a207df885d7be57713449edae815 sslh-1.6i.tar.gz +94ee471e8a0a24ca64ef5b439f6697c3 sslh.rc diff --git a/sslh/Pkgfile b/sslh/Pkgfile new file mode 100644 index 000000000..902dfe012 --- /dev/null +++ b/sslh/Pkgfile @@ -0,0 +1,17 @@ +# Description: accept both HTTPS and SSH connections on the same port +# URL: http://www.rutschle.net/tech/sslh.shtml +# Maintainer: Thomas Penteker, tek at serverop dot de +# Depends on: + +name=sslh +version=1.6 +release=1 +source=(http://www.rutschle.net/tech/$name-${version}i.tar.gz sslh.rc) + +build () { + install -D -m 0755 $name.rc $PKG/etc/rc.d/$name + cd $name-${version}i + make + install -D -m 0644 $name.8.gz $PKG/usr/man/man8/$name.8.gz + install -D -m 0755 $name $PKG/usr/sbin/$name +} diff --git a/sslh/sslh.rc b/sslh/sslh.rc new file mode 100755 index 000000000..d951d0f19 --- /dev/null +++ b/sslh/sslh.rc @@ -0,0 +1,23 @@ +#!/bin/sh +# +# /etc/rc.d/sslh: start/stop sslh daemon +# + +case $1 in +start) + /usr/sbin/sslh + ;; +stop) + killall -q /usr/sbin/sslh + ;; +restart) + $0 stop + sleep 2 + $0 start + ;; +*) + echo "usage: $0 [start|stop|restart]" + ;; +esac + +# End of file