sslh: initial import
This commit is contained in:
parent
a577a9feb7
commit
67ba08e23a
9
sslh/.footprint
Normal file
9
sslh/.footprint
Normal file
@ -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
|
2
sslh/.md5sum
Normal file
2
sslh/.md5sum
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
b2e0a207df885d7be57713449edae815 sslh-1.6i.tar.gz
|
||||||
|
94ee471e8a0a24ca64ef5b439f6697c3 sslh.rc
|
17
sslh/Pkgfile
Normal file
17
sslh/Pkgfile
Normal file
@ -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
|
||||||
|
}
|
23
sslh/sslh.rc
Executable file
23
sslh/sslh.rc
Executable file
@ -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
|
Loading…
Reference in New Issue
Block a user