diff options
author | Alexander Dahl <ada@thorsis.com> | 2022-01-14 14:01:49 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2022-01-21 10:14:37 +0100 |
commit | ec876750da47b6939e77d66fd36b267773716222 (patch) | |
tree | e8e26430ea9d168ae0f24f3f2de55e5c6e4bca28 | |
parent | 127f72aa8ae45bc4bd6eaae09508488621f50e8d (diff) | |
download | ptxdist-ec876750da47b6939e77d66fd36b267773716222.tar.gz ptxdist-ec876750da47b6939e77d66fd36b267773716222.tar.xz |
nftables: version bump 0.8.3 -> 1.0.1
Patch is part of upstream since 0.8.4 and can be removed here.
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Message-Id: <20220114130149.9053-1-ada@thorsis.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | patches/nftables-0.8.3/0001-configure-don-t-enable-xtables-when-without-xtables-.patch | 32 | ||||
l--------- | patches/nftables-0.8.3/autogen.sh | 1 | ||||
-rw-r--r-- | patches/nftables-0.8.3/series | 4 | ||||
-rw-r--r-- | rules/nftables.make | 10 |
4 files changed, 6 insertions, 41 deletions
diff --git a/patches/nftables-0.8.3/0001-configure-don-t-enable-xtables-when-without-xtables-.patch b/patches/nftables-0.8.3/0001-configure-don-t-enable-xtables-when-without-xtables-.patch deleted file mode 100644 index 2b5ff1bf5..000000000 --- a/patches/nftables-0.8.3/0001-configure-don-t-enable-xtables-when-without-xtables-.patch +++ /dev/null @@ -1,32 +0,0 @@ -From: Florian Westphal <fw@strlen.de> -Date: Wed, 4 Apr 2018 13:53:28 +0200 -Subject: [PATCH] configure: don't enable xtables when --without-xtables is - passed - -AC_ARG_WITH runs this when EITHER --with-foo or --without-foo is given, -so use 'withval'. - -After this patch: -./configure -> xtables off -./configure --with-xtables -> xtables on -./configure --without-xtables -> xtables off (was on). - -Reported-by: Alexander Dahl <ada@thorsis.com> -Signed-off-by: Florian Westphal <fw@strlen.de> ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 2d0b1b939a18..74e721cd4691 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -99,7 +99,7 @@ AM_CONDITIONAL([BUILD_CLI], [test "x$with_cli" != xno]) - - AC_ARG_WITH([xtables], [AS_HELP_STRING([--with-xtables], - [Use libxtables for iptables interaction)])], -- [with_libxtables=yes], [with_libxtables=no]) -+ [with_libxtables=$withval], [with_libxtables=no]) - AS_IF([test "x$with_libxtables" != xno], [ - PKG_CHECK_MODULES([XTABLES], [xtables >= 1.6.1]) - AC_DEFINE([HAVE_LIBXTABLES], [1], [0]) diff --git a/patches/nftables-0.8.3/autogen.sh b/patches/nftables-0.8.3/autogen.sh deleted file mode 120000 index 9f8a4cb7d..000000000 --- a/patches/nftables-0.8.3/autogen.sh +++ /dev/null @@ -1 +0,0 @@ -../autogen.sh
\ No newline at end of file diff --git a/patches/nftables-0.8.3/series b/patches/nftables-0.8.3/series deleted file mode 100644 index d4fe1dc34..000000000 --- a/patches/nftables-0.8.3/series +++ /dev/null @@ -1,4 +0,0 @@ -# generated by git-ptx-patches -#tag:base --start-number 1 -0001-configure-don-t-enable-xtables-when-without-xtables-.patch -# 12321dad8667c00b553d2c9b76ee6dd3 - git-ptx-patches magic diff --git a/rules/nftables.make b/rules/nftables.make index 542071d2c..aaf170e37 100644 --- a/rules/nftables.make +++ b/rules/nftables.make @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_NFTABLES) += nftables # # Paths and names # -NFTABLES_VERSION := 0.8.3 -NFTABLES_MD5 := a604501c10a302fa417410b16f293d2c +NFTABLES_VERSION := 1.0.1 +NFTABLES_MD5 := e3cf7011ee1e8e123c962446262de7cc NFTABLES := nftables-$(NFTABLES_VERSION) NFTABLES_SUFFIX := tar.bz2 NFTABLES_URL := http://ftp.netfilter.org/pub/nftables/$(NFTABLES).$(NFTABLES_SUFFIX) @@ -36,10 +36,11 @@ NFTABLES_CONF_OPT := \ $(CROSS_AUTOCONF_USR) \ --$(call ptx/endis, PTXCONF_NFTABLES_DEBUG)-debug \ --disable-man-doc \ - --disable-pdf-doc \ + --disable-python \ --$(call ptx/wwo, PTXCONF_NFTABLES_MGMP)-mini-gmp \ --without-cli \ - --without-xtables + --without-xtables \ + --without-json # ---------------------------------------------------------------------------- # Target-Install @@ -56,6 +57,7 @@ $(STATEDIR)/nftables.targetinstall: @$(call install_copy, nftables, 0, 0, 0755, -, /usr/sbin/nft) @$(call install_alternative, nftables, 0, 0, 0755, /etc/nftables.conf) + @$(call install_lib, nftables, 0, 0, 0644, libnftables) ifdef PTXCONF_NFTABLES_STARTSCRIPT @$(call install_alternative, nftables, 0, 0, 0755, /etc/init.d/nftables) |