]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
Xtables-addons 3.19 v3.19
authorJan Engelhardt <jengelh@inai.de>
Tue, 1 Feb 2022 17:24:03 +0000 (18:24 +0100)
committerJan Engelhardt <jengelh@inai.de>
Tue, 1 Feb 2022 17:24:03 +0000 (18:24 +0100)
configure.ac
doc/changelog.txt

index 9705d750750ee5575790c644fd909902915b4294..44148d2cf349ca3e1eeb401c0c6702519e127ed1 100644 (file)
@@ -1,4 +1,4 @@
-AC_INIT([xtables-addons], [3.18])
+AC_INIT([xtables-addons], [3.19])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_MACRO_DIR([m4])
@@ -20,9 +20,7 @@ AS_HELP_STRING([--without-kbuild],
 #
 # check for --without-kbuild
 #
-if [[ "$kbuilddir" == no ]]; then
-       kbuilddir="";
-fi
+AS_IF([test "$kbuilddir" = no], [kbuilddir=""])
 
 AC_CHECK_HEADERS([linux/netfilter/x_tables.h], [],
        [AC_MSG_ERROR([You need to have linux/netfilter/x_tables.h, see INSTALL file for details])])
@@ -42,7 +40,7 @@ regular_CFLAGS="-Wall -Waggregate-return -Wmissing-declarations \
        -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \
        -Winline -pipe";
 
-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}')"
        save_IFS="$IFS"
@@ -53,21 +51,29 @@ if test -n "$kbuilddir"; then
        kminor="$(($3+0))"
        kmicro="$(($4+0))"
        kstable="$(($5+0))"
-       if test -z "$kmajor" -o -z "$kminor" -o -z "$kmicro"; then
+       m4_define([yon], [AS_IF([test -t 1], [echo -en "\033\0133\063\063m"])])
+       m4_define([yoff], [AS_IF([test -t 1], [echo -en "\033\0133\060m"])])
+       AS_IF([test -z "$kmajor" -o -z "$kminor" -o -z "$kmicro"], [
+               yon
                echo "WARNING: Version detection did not succeed. Continue at own luck.";
-       else
+               yoff
+       ], [
                echo "$kmajor.$kminor.$kmicro.$kstable in $kbuilddir";
-               if test "$kmajor" -gt 5 -o "$kmajor" -eq 5 -a "$kminor" -gt 11; then
+               if test "$kmajor" -gt 5 -o "$kmajor" -eq 5 -a "$kminor" -gt 16; then
+                       yon
                        echo "WARNING: That kernel version is not officially supported yet. Continue at own luck.";
+                       yoff
                elif test "$kmajor" -eq 5 -a "$kminor" -ge 0; then
                        :
                elif test "$kmajor" -eq 4 -a "$kminor" -ge 16; then
                        :
                else
+                       yon
                        echo "WARNING: That kernel version is not officially supported.";
+                       yoff
                fi;
-       fi;
-fi;
+       ])
+])
 
 AC_SUBST([regular_CPPFLAGS])
 AC_SUBST([regular_CFLAGS])
index 5b26ee5edd31e222cce669b9f8f5b0b3115d3884..ad17abccdcf90a0cadeb487292c7f0f97a1d4b92 100644 (file)
@@ -1,3 +1,12 @@
+v3.19 (2022-02-01)
+==================
+- bumped minimum supported kernel version from 4.15 to 4.16
+- xt_condition: make mutex per-net
+- xt_ipp2p: add IPv6 support
+- xt_ECHO, xt_TARPIT: do not build IPv6 parts if kernel has
+  IPv6 build-time disabled
+
+
 v3.18 (2021-03-11)
 ==================
 - xt_pknock: fix a build failure on ARM 32-bit