wok-next view sslh/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 642c924029f7 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="sslh"
4 VERSION="1.19c"
5 CATEGORY="network"
6 SHORT_DESC="Accept HTTPS SSH OpenVPN Tinc & XMPP connections on the same port"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.rutschle.net/tech/sslh/README.html"
11 TARBALL="$PACKAGE-v$VERSION.tar.gz"
12 WGET_URL="http://www.rutschle.net/tech/sslh/$TARBALL"
14 BUILD_DEPENDS="libconfig-dev pcre-dev libwrap-dev libcap-dev perl"
16 compile_rules() {
17 export CFLAGS="$CFLAGS -std=gnu99"
18 make ENABLE_REGEX=1 USELIBCONFIG=1 USELIBPCRE=1 USELIBWRAP=1 USELIBCAP=1 &&
19 make install || return 1
21 install sslh-select -p $install/usr/sbin/sslh-select
22 mv $install/usr/sbin/sslh $install/usr/sbin/sslh-fork
23 ln -s sslh-fork $install/usr/sbin/sslh
25 install -Dm644 $stuff/sslh.conf $install/etc/sslh/sslh.conf
26 cp -r scripts/fail2ban/ $install/etc/sslh/
28 cook_pick_docs README.md basic.cfg example.cfg
29 }
31 genpkg_rules() {
32 copy @std
33 DEPENDS="libcap libconfig libpcreposix libwrap"
34 TAGS="ssh vpn tunnel"
35 }