wok-current rev 22724

updated firehol (3.1.4 -> 3.1.6)
author Hans-G?nter Theisgen
date Thu Jan 23 08:56:30 2020 +0100 (2020-01-23)
parents 78494a055861
children 7dbcd0a901ae
files firehol/receipt
line diff
     1.1 --- a/firehol/receipt	Wed Jan 22 17:42:31 2020 +0100
     1.2 +++ b/firehol/receipt	Thu Jan 23 08:56:30 2020 +0100
     1.3 @@ -1,24 +1,27 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="firehol"
     1.7 -VERSION="3.1.4"
     1.8 +VERSION="3.1.6"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="A firewall for humans..."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://firehol.org/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16 -WEB_SITE="http://firehol.org/"
    1.17  WGET_URL="https://github.com/firehol/firehol/releases/download/v$VERSION/$TARBALL"
    1.18 +
    1.19 +BUILD_DEPENDS="curl iprange iproute2 ipset"
    1.20 +DEPENDS="$BUILD_DEPENDS bash"
    1.21 +
    1.22  CONFIG_FILES="/etc/firehol"
    1.23  
    1.24 -BUILD_DEPENDS="iproute2 iprange ipset curl"
    1.25 -DEPENDS="$BUILD_DEPENDS bash"
    1.26 -
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	./configure --prefix=/usr \
    1.31 -		--sysconfdir=/etc \
    1.32 +	./configure			\
    1.33 +		--prefix=/usr		\
    1.34 +		--sysconfdir=/etc	\
    1.35  		$CONFIGURE_ARGS &&
    1.36  	make &&
    1.37  	make DESTDIR=$DESTDIR install
    1.38 @@ -27,11 +30,14 @@
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42 -	mkdir -p $fs/usr/share $fs/usr/sbin
    1.43 -	cp -a $install/etc $fs
    1.44 -	for i in $(ls $install/usr/sbin); do
    1.45 +	mkdir -p $fs/usr/share
    1.46 +	mkdir -p $fs/usr/sbin
    1.47 +
    1.48 +	cp -a $install/etc			$fs
    1.49 +	for i in $(ls $install/usr/sbin)
    1.50 +	  do
    1.51  		ln -s /usr/libexec/firehol/$VERSION/$i $fs/usr/sbin
    1.52 -	done
    1.53 -	cp -a $install/usr/libexec $fs/usr
    1.54 -	cp -a $install/usr/share/update-ipsets $fs/usr/share
    1.55 +	  done
    1.56 +	cp -a $install/usr/libexec		$fs/usr
    1.57 +	cp -a $install/usr/share/update-ipsets	$fs/usr/share
    1.58  }