xtables-addons: update to 3.19
authorRosen Penev <rosenp@gmail.com>
Sun, 3 Apr 2022 02:43:09 +0000 (19:43 -0700)
committerRosen Penev <rosenp@gmail.com>
Tue, 5 Apr 2022 14:34:36 +0000 (07:34 -0700)
Fixes compilation with kernel 5.15.

Fixed changed binary name.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/xtables-addons/Makefile
net/xtables-addons/patches/001-fix-kernel-version-detection.patch

index c5e2c3f8a3f0123cf7740562b516ad80071f3bb9..78908270312eb263d8b4d4a4d5cf6d1b5ca6c73f 100644 (file)
@@ -9,9 +9,9 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=xtables-addons
-PKG_VERSION:=3.13
-PKG_RELEASE:=4
-PKG_HASH:=893c0c4ea09759cda1ab7e68f1281d125e59270f7b59e446204ce686c6a76d65
+PKG_VERSION:=3.19
+PKG_RELEASE:=$(AUTORELEASE)
+PKG_HASH:=5e36ea027ab15a84d9af1f3f8e84a78b80a617093657f08089bd44657722f661
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://inai.de/files/xtables-addons/
@@ -162,7 +162,7 @@ define Package/iptgeoip/install
                $(1)/usr/lib/xtables-addons/
        $(INSTALL_DIR) $(1)/usr/bin
        $(CP) \
-               $(PKG_INSTALL_DIR)/usr/bin/xt_geoip_fetch \
+               $(PKG_INSTALL_DIR)/usr/bin/xt_geoip_query \
                $(1)/usr/bin/
        $(INSTALL_DIR) $(1)/usr/share/xt_geoip
        touch $(1)/usr/share/xt_geoip/.keep
index 775ccf657cb22afca4ef99d9ba6fa5dee34d71fa..624fa4d9bfd866dd0601d2e0d45a7eb98cb4ff88 100644 (file)
@@ -1,8 +1,8 @@
 --- a/configure.ac
 +++ b/configure.ac
-@@ -44,7 +44,7 @@ regular_CFLAGS="-Wall -Waggregate-return
+@@ -42,7 +42,7 @@ regular_CFLAGS="-Wall -Waggregate-return
  
- if test -n "$kbuilddir"; then
+ AS_IF([test -n "$kbuilddir"], [
        AC_MSG_CHECKING([kernel version that we will build against])
 -      krel="$(make -sC "$kbuilddir" M=$PWD kernelrelease | $AWK -v 'FS=[[^0-9.]]' '{print $1; exit}')"
 +      krel="$(make -sC "$kbuilddir" M=$PWD kernelversion | $AWK -v 'FS=[[^0-9.]]' '{print $1; exit}')"