wok rev 24672

updated ipset and ipset-dev (7.6 -> 7.15)
author Hans-G?nter Theisgen
date Fri Mar 11 17:39:07 2022 +0100 (2022-03-11)
parents 518bb01fa67c
children ecd613707114
files ipset-dev/receipt ipset/description.txt ipset/receipt
line diff
     1.1 --- a/ipset-dev/receipt	Fri Mar 11 17:25:23 2022 +0100
     1.2 +++ b/ipset-dev/receipt	Fri Mar 11 17:39:07 2022 +0100
     1.3 @@ -1,12 +1,12 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ipset-dev"
     1.7 -VERSION="7.6"
     1.8 +VERSION="7.15"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="High speed match for an entry against a set of firewall rules - development files."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -WEB_SITE="http://ipset.netfilter.org/"
    1.14 +WEB_SITE="https://ipset.netfilter.org/"
    1.15  
    1.16  DEPENDS="ipset pkg-config"
    1.17  WANTED="ipset"
    1.18 @@ -14,9 +14,7 @@
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22 -	mkdir -p $fs/usr/lib
    1.23 -
    1.24 -	cp -a $install/usr/lib/*a		$fs/usr/lib
    1.25 -	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.26 -	cp -a $install/usr/include		$fs/usr
    1.27 +	cook_copy_folders	include
    1.28 +	cook_copy_folders	pkgconfig
    1.29 +	cook_copy_files		*.*a
    1.30  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/ipset/description.txt	Fri Mar 11 17:39:07 2022 +0100
     2.3 @@ -0,0 +1,16 @@
     2.4 +IP sets are a framework inside the Linux kernel, which can be administered
     2.5 +by the ipset utility. Depending on the type, an IP set may store IP addresses,
     2.6 +networks, (TCP/UDP) port numbers, MAC addresses, interface names or
     2.7 +combinations of them in a way, which ensures lightning speed when matching
     2.8 +an entry against a set.
     2.9 +
    2.10 +If you want to
    2.11 +
    2.12 +* store multiple IP addresses or port numbers and match against the
    2.13 +  collection by iptables at one swoop;
    2.14 +* dynamically update iptables rules against IP addresses or ports without
    2.15 +  performance penalty;
    2.16 +* express complex IP address and ports based rulesets with one single
    2.17 +  iptables rule and benefit from the speed of IP sets 
    2.18 +
    2.19 +then ipset may be the proper tool for you.
     3.1 --- a/ipset/receipt	Fri Mar 11 17:25:23 2022 +0100
     3.2 +++ b/ipset/receipt	Fri Mar 11 17:39:07 2022 +0100
     3.3 @@ -1,18 +1,18 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="ipset"
     3.7 -VERSION="7.6"
     3.8 +VERSION="7.15"
     3.9  CATEGORY="security"
    3.10  SHORT_DESC="High speed match for an entry against a set of firewall rules."
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
    3.12  LICENSE="GPL2"
    3.13 -WEB_SITE="http://ipset.netfilter.org/"
    3.14 +WEB_SITE="https://ipset.netfilter.org/"
    3.15  
    3.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.17  WGET_URL="${WEB_SITE}$TARBALL"
    3.18  
    3.19  DEPENDS="libmnl"
    3.20 -BUILD_DEPENDS="libltdl libmnl-dev linux-module-headers pkg-config"
    3.21 +BUILD_DEPENDS="linux-module-headers libltdl libmnl-dev pkg-config"
    3.22  
    3.23  # What is the latest version available today?
    3.24  current_version()
    3.25 @@ -25,21 +25,18 @@
    3.26  compile_rules()
    3.27  {
    3.28  	KVERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2)-slitaz
    3.29 -	sed -i "s/uname -r/echo $KVERSION/" \
    3.30 -		configure
    3.31 +	sed -i "s|uname -r|echo $KVERSION|"	configure
    3.32  
    3.33  	./configure		\
    3.34  		--prefix=/usr	\
    3.35  		$CONFIGURE_ARGS &&
    3.36 -	make -j 1 &&
    3.37 -	make DESTDIR=$DESTDIR install
    3.38 +	make &&
    3.39 +	make install DESTDIR=$DESTDIR
    3.40  }
    3.41  
    3.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.43  genpkg_rules()
    3.44  {
    3.45 -	mkdir -p $fs/usr/lib
    3.46 -
    3.47 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    3.48 -	cp -a $install/usr/sbin		$fs/usr
    3.49 +	cook_copy_folders	sbin
    3.50 +	cook_copy_files		*.so*
    3.51  }