wok-next diff 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 diff
     1.1 --- a/sslh/receipt	Sat Jul 07 16:28:22 2018 +0300
     1.2 +++ b/sslh/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -1,26 +1,35 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="sslh"
     1.7 -VERSION="1.17"
     1.8 +VERSION="1.19c"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Accept HTTPS SSH OpenVPN Tinc & XMPP connections on the same port"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -WEB_SITE="http://www.rutschle.net/tech/sslh.shtml"
    1.14 +WEB_SITE="http://www.rutschle.net/tech/sslh/README.html"
    1.15  
    1.16  TARBALL="$PACKAGE-v$VERSION.tar.gz"
    1.17 -WGET_URL="http://www.rutschle.net/tech/$TARBALL"
    1.18 +WGET_URL="http://www.rutschle.net/tech/sslh/$TARBALL"
    1.19  
    1.20 -BUILD_DEPENDS="libwrap-dev libwrap libconfig-dev"
    1.21 +BUILD_DEPENDS="libconfig-dev pcre-dev libwrap-dev libcap-dev perl"
    1.22  
    1.23  compile_rules() {
    1.24 -	make || return 1
    1.25 -	install -Dm755 sslh-fork   $install/usr/sbin/sslh-fork
    1.26 -	install -Dm755 sslh-select $install/usr/sbin/sslh-select
    1.27 +	export CFLAGS="$CFLAGS -std=gnu99"
    1.28 +	make ENABLE_REGEX=1 USELIBCONFIG=1 USELIBPCRE=1 USELIBWRAP=1 USELIBCAP=1 &&
    1.29 +	make install || return 1
    1.30 +
    1.31 +	install sslh-select -p $install/usr/sbin/sslh-select
    1.32 +	mv $install/usr/sbin/sslh $install/usr/sbin/sslh-fork
    1.33 +	ln -s sslh-fork $install/usr/sbin/sslh
    1.34 +
    1.35 +	install -Dm644 $stuff/sslh.conf $install/etc/sslh/sslh.conf
    1.36 +	cp -r scripts/fail2ban/ $install/etc/sslh/
    1.37 +
    1.38 +	cook_pick_docs README.md basic.cfg example.cfg
    1.39  }
    1.40  
    1.41  genpkg_rules() {
    1.42  	copy @std
    1.43 -	DEPENDS="libwrap libconfig"
    1.44 +	DEPENDS="libcap libconfig libpcreposix libwrap"
    1.45  	TAGS="ssh vpn tunnel"
    1.46  }