package/iptables: bump to version 1.8.9
commit: https://git.buildroot.net/buildroot/commit/?id=ef2af4b67f3403fc0feaca8a07d1733f17c6b316
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next
Drop patches (already in version)
https://netfilter.org/projects/iptables/files/changes-iptables-1.8.9.txt
Signed-off-by Fabrice Fontaine <[email protected]>
Signed-off-by Peter Korsgaard <[email protected]>
--- ...fix-build-for-missing-ETH_ALEN-definition.patch | 69 --------- .../0002-treewide-use-uint-instead-of-u_int.patch | 167 --------------------- package/iptables/0003-netfilter-add-nf_log.h.patch | 38 ----- package/iptables/iptables.hash | 2 +- package/iptables/iptables.mk | 4 +- 5 files changed, 3 insertions(+), 277 deletions(-)
package/iptables/0001-Revert-fix-build-for-missing-ETH_ALEN-definition.patch deleted +0 -69
@@ -1,69 +0,0 @@ -From 0e7cf0ad306cdf95dc3c28d15a254532206a888e Mon Sep 17 00:00:00 2001 -Message-Id: <0e7cf0ad306cdf95dc3c28d15a254532206a888e.1656908815.git.baruch@tkos.co.il> -From: Phil Sutter <[email protected]> -Date: Wed, 18 May 2022 16:04:09 +0200 -Subject: [PATCH] Revert "fix build for missing ETH_ALEN definition" -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -This reverts commit c5d9a723b5159a28f547b577711787295a14fd84 as it broke -compiling against musl libc. Might be a bug in the latter, but for the -time being try to please both by avoiding the include and instead -defining ETH_ALEN if unset. - -While being at it, move netinet/ether.h include up. - -Fixes: 1bdb5535f561a ("libxtables: Extend MAC address printing/parsing support") -Signed-off-by: Phil Sutter <[email protected]> -Reviewed-by: Maciej Żenczykowski <[email protected]> -Signed-off-by: Baruch Siach <[email protected]> ---- -Upstream status: commit 0e7cf0ad306cdf95dc3c28d15a254532206a888e - - libxtables/xtables.c | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -diff --git a/libxtables/xtables.c b/libxtables/xtables.c -index 96fd783a066c..0638f9271c60 100644 ---- a/libxtables/xtables.c -+++ b/libxtables/xtables.c -@@ -28,6 +28,7 @@ - #include <stdlib.h> - #include <string.h> - #include <unistd.h> -+#include <netinet/ether.h> - #include <sys/socket.h> - #include <sys/stat.h> - #include <sys/statfs.h> -@@ -45,7 +46,6 @@ - - #include <xtables.h> - #include <limits.h> /* INT_MAX in ip_tables.h/ip6_tables.h */ --#include <linux/if_ether.h> /* ETH_ALEN */ - #include <linux/netfilter_ipv4/ip_tables.h> - #include <linux/netfilter_ipv6/ip6_tables.h> - #include <libiptc/libxtc.h> -@@ -72,6 +72,10 @@ - #define PROC_SYS_MODPROBE "/proc/sys/kernel/modprobe" - #endif - -+#ifndef ETH_ALEN -+#define ETH_ALEN 6 -+#endif -+ - /* we need this for ip6?tables-restore. ip6?tables-restore.c sets line to the - * current line of the input file, in order to give a more precise error - * message. ip6?tables itself doesn't need this, so it is initialized to the -@@ -2245,8 +2249,6 @@ void xtables_print_num(uint64_t number, unsigned int format) - printf(FMT("%4lluT ","%lluT "), (unsigned long long)number); - } - --#include <netinet/ether.h> -- - static const unsigned char mac_type_unicast[ETH_ALEN] = {}; - static const unsigned char msk_type_unicast[ETH_ALEN] = {1}; - static const unsigned char mac_type_multicast[ETH_ALEN] = {1}; --- -2.35.1 -
package/iptables/0002-treewide-use-uint-instead-of-u_int.patch deleted +0 -167
167 lines not on this page · raw message
package/iptables/0003-netfilter-add-nf_log.h.patch deleted +0 -38
@@ -1,38 +0,0 @@ -From 15ea3fa147dea25d8cae3c2ac417142f2e0f029e Mon Sep 17 00:00:00 2001 -From: Markus Mayer <[email protected]> -To: Netfilter Mailing List <[email protected]> -Date: Thu, 16 Jun 2022 15:29:58 -0700 -Subject: [PATCH] netfilter: add nf_log.h - -Since libxt_NFLOG is now using the UAPI version of nf_log.h, it should -be bundled alongside the other netfilter kernel headers. - -This copy of nf_log.h was taken from Linux 5.18. - -Signed-off-by: Markus Mayer <[email protected]> -Upstream: https://git.netfilter.org/iptables/commit/?id=9ea7e6aa638d0dfa14613f6f97e6dc06c857e609 ---- -diff --git a/include/linux/netfilter/nf_log.h b/include/linux/netfilter/nf_log.h -new file mode 100644 -index 000000000000..2ae00932d3d2 ---- /dev/null -+++ b/include/linux/netfilter/nf_log.h -@@ -0,0 +1,15 @@ -+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -+#ifndef _NETFILTER_NF_LOG_H -+#define _NETFILTER_NF_LOG_H -+ -+#define NF_LOG_TCPSEQ 0x01 /* Log TCP sequence numbers */ -+#define NF_LOG_TCPOPT 0x02 /* Log TCP options */ -+#define NF_LOG_IPOPT 0x04 /* Log IP options */ -+#define NF_LOG_UID 0x08 /* Log UID owning local socket */ -+#define NF_LOG_NFLOG 0x10 /* Unsupported, don't reuse */ -+#define NF_LOG_MACDECODE 0x20 /* Decode MAC header */ -+#define NF_LOG_MASK 0x2f -+ -+#define NF_LOG_PREFIXLEN 128 -+ -+#endif /* _NETFILTER_NF_LOG_H */ --- -2.25.1 -
package/iptables/iptables.hash +1 -1
@@ -1,4 +1,4 @@ # From https://netfilter.org/projects/iptables/downloads.html -sha256 71c75889dc710676631553eb1511da0177bbaaf1b551265b912d236c3f51859f iptables-1.8.8.tar.bz2 +sha256 ef6639a43be8325a4f8ea68123ffac236cb696e8c78501b64e8106afb008c87f iptables-1.8.9.tar.xz # Locally calculated sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
package/iptables/iptables.mk +2 -2
@@ -4,8 +4,8 @@ # ################################################################################ -IPTABLES_VERSION = 1.8.8 -IPTABLES_SOURCE = iptables-$(IPTABLES_VERSION).tar.bz2 +IPTABLES_VERSION = 1.8.9 +IPTABLES_SOURCE = iptables-$(IPTABLES_VERSION).tar.xz IPTABLES_SITE = https://netfilter.org/projects/iptables/files IPTABLES_INSTALL_STAGING = YES IPTABLES_DEPENDENCIES = host-pkgconf
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot