forked from ports/contrib
22 lines
535 B
Plaintext
22 lines
535 B
Plaintext
# 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: libconfig
|
|
|
|
name=sslh
|
|
version=1.20
|
|
release=1
|
|
source=(http://www.rutschle.net/tech/$name/$name-v${version}.tar.gz sslh.rc)
|
|
|
|
build () {
|
|
|
|
install -D -m 0755 $name.rc $PKG/etc/rc.d/$name
|
|
|
|
cd $name-v${version}
|
|
|
|
make -j1
|
|
|
|
install -D -m 0644 $name.8.gz $PKG/usr/share/man8/$name.8.gz
|
|
install -D -m 0755 $name-select $PKG/usr/sbin/$name
|
|
}
|