wok-next annotate 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 |
rev | line source |
---|---|
al@20879 | 1 # SliTaz package receipt v2. |
pascal@5207 | 2 |
pascal@5207 | 3 PACKAGE="sslh" |
al@20880 | 4 VERSION="1.19c" |
pascal@5207 | 5 CATEGORY="network" |
al@20879 | 6 SHORT_DESC="Accept HTTPS SSH OpenVPN Tinc & XMPP connections on the same port" |
pascal@5207 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15593 | 8 LICENSE="GPL2" |
al@20880 | 9 WEB_SITE="http://www.rutschle.net/tech/sslh/README.html" |
al@20879 | 10 |
pascal@18054 | 11 TARBALL="$PACKAGE-v$VERSION.tar.gz" |
al@20880 | 12 WGET_URL="http://www.rutschle.net/tech/sslh/$TARBALL" |
pascal@15593 | 13 |
al@20880 | 14 BUILD_DEPENDS="libconfig-dev pcre-dev libwrap-dev libcap-dev perl" |
pascal@5207 | 15 |
al@20879 | 16 compile_rules() { |
al@20880 | 17 export CFLAGS="$CFLAGS -std=gnu99" |
al@20880 | 18 make ENABLE_REGEX=1 USELIBCONFIG=1 USELIBPCRE=1 USELIBWRAP=1 USELIBCAP=1 && |
al@20880 | 19 make install || return 1 |
al@20880 | 20 |
al@20880 | 21 install sslh-select -p $install/usr/sbin/sslh-select |
al@20880 | 22 mv $install/usr/sbin/sslh $install/usr/sbin/sslh-fork |
al@20880 | 23 ln -s sslh-fork $install/usr/sbin/sslh |
al@20880 | 24 |
al@20880 | 25 install -Dm644 $stuff/sslh.conf $install/etc/sslh/sslh.conf |
al@20880 | 26 cp -r scripts/fail2ban/ $install/etc/sslh/ |
al@20880 | 27 |
al@20880 | 28 cook_pick_docs README.md basic.cfg example.cfg |
pascal@5207 | 29 } |
pascal@5207 | 30 |
al@20879 | 31 genpkg_rules() { |
al@20879 | 32 copy @std |
al@20880 | 33 DEPENDS="libcap libconfig libpcreposix libwrap" |
al@20879 | 34 TAGS="ssh vpn tunnel" |
pascal@5207 | 35 } |