2010-01-29 22:38:12 +01:00
|
|
|
# Description: accept both HTTPS and SSH connections on the same port
|
2020-07-12 09:14:55 +00:00
|
|
|
# URL: https://www.rutschle.net/tech/sslh.shtml
|
2010-01-29 22:38:12 +01:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2017-06-22 00:33:32 +02:00
|
|
|
# Depends on: libconfig
|
2010-01-29 22:38:12 +01:00
|
|
|
|
|
|
|
name=sslh
|
2020-08-01 09:34:28 +00:00
|
|
|
version=1.21c
|
2010-01-29 22:38:12 +01:00
|
|
|
release=1
|
2020-07-12 09:14:55 +00:00
|
|
|
source=(https://github.com/yrutschle/sslh/archive/v$version/$name-$version.tar.gz
|
|
|
|
sslh.rc)
|
2010-01-29 22:38:12 +01:00
|
|
|
|
|
|
|
build () {
|
2017-06-22 00:33:32 +02:00
|
|
|
|
2010-01-29 22:38:12 +01:00
|
|
|
install -D -m 0755 $name.rc $PKG/etc/rc.d/$name
|
2017-06-22 00:33:32 +02:00
|
|
|
|
2020-07-12 09:14:55 +00:00
|
|
|
cd $name-$version
|
2017-06-22 00:33:32 +02:00
|
|
|
|
|
|
|
make -j1
|
|
|
|
|
2019-09-21 00:52:33 +02:00
|
|
|
install -D -m 0644 $name.8.gz $PKG/usr/share/man8/$name.8.gz
|
2011-07-15 21:14:12 +02:00
|
|
|
install -D -m 0755 $name-select $PKG/usr/sbin/$name
|
2010-01-29 22:38:12 +01:00
|
|
|
}
|