New package: sslh-1.17

This commit is contained in:
pulux 2015-07-20 09:12:23 +02:00 committed by Juan RP
parent 716c8c6358
commit 240ba787a1
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec sslh -f -u nobody -F /etc/sslh.cfg

28
srcpkgs/sslh/template Normal file
View file

@ -0,0 +1,28 @@
# Template file for 'sslh'
pkgname=sslh
version=1.17
revision=1
build_style=gnu-makefile
makedepends="libconfig-devel libcap-devel perl"
short_desc="Applicative Protocol Multiplexer"
maintainer="Markus Berger <pulux@pf4sh.de>"
license="GPL-2"
homepage="http://www.rutschle.net/tech/sslh"
distfiles="https://github.com/yrutschle/sslh/archive/v${version}.tar.gz"
checksum=b557c3bf75289d203353c25d92e34549a22f64510c48f7748c1c027748d51ad1
pre_build() {
sed -i 's|^MAN=sslh.8.gz|MAN=sslh.8|g' Makefile
sed -i 's|sbin|bin|g' Makefile
sed -i 's|sslh.pod \| gzip -9 - > $(MAN)|sslh.pod > $(MAN)|g' Makefile
}
post_install() {
vman sslh.8
vsv sslh
for f in *.cfg; do
vdoc ${f}
done
vdoc README.md
}