New patch, adding the missing build-dependency xtables-version.h. Also set TC_CONFIG_XT=n in Config.
libxtables is not required, unless plugins that link to it are used. Currently, none of these plugins are installed/installable in PTXdist. Fixes: 333123a94302 ("iproute2: update version and minor improvements") Signed-off-by: Clemens Gruber <clemens.gru...@pqgruber.com> --- .../0001-add-xtables-version.h.patch | 22 ++++++++++++++++++++++ patches/iproute2-4.8.0/series | 1 + rules/iproute2.make | 2 +- 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 patches/iproute2-4.8.0/0001-add-xtables-version.h.patch create mode 100644 patches/iproute2-4.8.0/series diff --git a/patches/iproute2-4.8.0/0001-add-xtables-version.h.patch b/patches/iproute2-4.8.0/0001-add-xtables-version.h.patch new file mode 100644 index 0000000..fe9ba7a --- /dev/null +++ b/patches/iproute2-4.8.0/0001-add-xtables-version.h.patch @@ -0,0 +1,22 @@ +From 4d90bfff717bd7be913832c7eaefd5b5f7408012 Mon Sep 17 00:00:00 2001 +From: Clemens Gruber <clemens.gru...@pqgruber.com> +Date: Mon, 17 Oct 2016 17:06:20 +0200 +Subject: [PATCH] add xtables-version.h + +Signed-off-by: Clemens Gruber <clemens.gru...@pqgruber.com> +--- + include/xtables-version.h | 2 ++ + 1 file changed, 2 insertions(+) + create mode 100644 include/xtables-version.h + +diff --git a/include/xtables-version.h b/include/xtables-version.h +new file mode 100644 +index 000000000000..905e5fe070e7 +--- /dev/null ++++ b/include/xtables-version.h +@@ -0,0 +1,2 @@ ++#define XTABLES_VERSION "libxtables.so.11" ++#define XTABLES_VERSION_CODE 11 +-- +2.10.0 + diff --git a/patches/iproute2-4.8.0/series b/patches/iproute2-4.8.0/series new file mode 100644 index 0000000..b705ae7 --- /dev/null +++ b/patches/iproute2-4.8.0/series @@ -0,0 +1 @@ +0001-add-xtables-version.h.patch diff --git a/rules/iproute2.make b/rules/iproute2.make index 77acaf3..674894c 100644 --- a/rules/iproute2.make +++ b/rules/iproute2.make @@ -38,7 +38,7 @@ $(STATEDIR)/iproute2.prepare: @$(call world/prepare, IPROUTE2) # overwrite options we don't want, or may be misdetected @echo 'TC_CONFIG_ATM:=n' >> $(IPROUTE2_DIR)/Config - @echo 'TC_CONFIG_XT:=y' >> $(IPROUTE2_DIR)/Config + @echo 'TC_CONFIG_XT:=n' >> $(IPROUTE2_DIR)/Config @echo 'IPT_LIB_DIR:=/usr/lib' >> $(IPROUTE2_DIR)/Config @echo 'TC_CONFIG_ELF:=n' >> $(IPROUTE2_DIR)/Config ifndef PTXCONF_GLOBAL_SELINUX -- 2.10.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de