# HG changeset patch # User Hans-G?nter Theisgen # Date 1647016747 -3600 # Node ID 5c32fbe35985c5c7bc3452e0e6fb699c9736dd0b # Parent 518bb01fa67ceb1eb865b778acadc4b9aaab9271 updated ipset and ipset-dev (7.6 -> 7.15) diff -r 518bb01fa67c -r 5c32fbe35985 ipset-dev/receipt --- a/ipset-dev/receipt Fri Mar 11 17:25:23 2022 +0100 +++ b/ipset-dev/receipt Fri Mar 11 17:39:07 2022 +0100 @@ -1,12 +1,12 @@ # SliTaz package receipt. PACKAGE="ipset-dev" -VERSION="7.6" +VERSION="7.15" CATEGORY="development" SHORT_DESC="High speed match for an entry against a set of firewall rules - development files." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" -WEB_SITE="http://ipset.netfilter.org/" +WEB_SITE="https://ipset.netfilter.org/" DEPENDS="ipset pkg-config" WANTED="ipset" @@ -14,9 +14,7 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - - cp -a $install/usr/lib/*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr + cook_copy_folders include + cook_copy_folders pkgconfig + cook_copy_files *.*a } diff -r 518bb01fa67c -r 5c32fbe35985 ipset/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ipset/description.txt Fri Mar 11 17:39:07 2022 +0100 @@ -0,0 +1,16 @@ +IP sets are a framework inside the Linux kernel, which can be administered +by the ipset utility. Depending on the type, an IP set may store IP addresses, +networks, (TCP/UDP) port numbers, MAC addresses, interface names or +combinations of them in a way, which ensures lightning speed when matching +an entry against a set. + +If you want to + +* store multiple IP addresses or port numbers and match against the + collection by iptables at one swoop; +* dynamically update iptables rules against IP addresses or ports without + performance penalty; +* express complex IP address and ports based rulesets with one single + iptables rule and benefit from the speed of IP sets + +then ipset may be the proper tool for you. diff -r 518bb01fa67c -r 5c32fbe35985 ipset/receipt --- a/ipset/receipt Fri Mar 11 17:25:23 2022 +0100 +++ b/ipset/receipt Fri Mar 11 17:39:07 2022 +0100 @@ -1,18 +1,18 @@ # SliTaz package receipt. PACKAGE="ipset" -VERSION="7.6" +VERSION="7.15" CATEGORY="security" SHORT_DESC="High speed match for an entry against a set of firewall rules." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" -WEB_SITE="http://ipset.netfilter.org/" +WEB_SITE="https://ipset.netfilter.org/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="${WEB_SITE}$TARBALL" DEPENDS="libmnl" -BUILD_DEPENDS="libltdl libmnl-dev linux-module-headers pkg-config" +BUILD_DEPENDS="linux-module-headers libltdl libmnl-dev pkg-config" # What is the latest version available today? current_version() @@ -25,21 +25,18 @@ compile_rules() { KVERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2)-slitaz - sed -i "s/uname -r/echo $KVERSION/" \ - configure + sed -i "s|uname -r|echo $KVERSION|" configure ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && - make -j 1 && - make DESTDIR=$DESTDIR install + make && + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/sbin $fs/usr + cook_copy_folders sbin + cook_copy_files *.so* }