diff options
author | Clemens Gruber <clemens.gruber@pqgruber.com> | 2016-10-17 17:39:57 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-10-18 09:43:05 +0200 |
commit | 761426aa7c6978ec6da0729ef2f4da7d730bd69b (patch) | |
tree | 82f5a65d24e5768492279ebd67058f5291f38b4d | |
parent | 8e7ad6a5ad0a540c7603ba49a19e7ee95c6842f3 (diff) | |
download | ptxdist-761426aa7c6978ec6da0729ef2f4da7d730bd69b.tar.gz ptxdist-761426aa7c6978ec6da0729ef2f4da7d730bd69b.tar.xz |
iproute2: add patch to avoid iptables dependency
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.gruber@pqgruber.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | patches/iproute2-4.8.0/0001-add-xtables-version.h.patch | 22 | ||||
-rw-r--r-- | patches/iproute2-4.8.0/series | 1 | ||||
-rw-r--r-- | rules/iproute2.make | 2 |
3 files changed, 24 insertions, 1 deletions
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 000000000..fe9ba7ac0 --- /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.gruber@pqgruber.com> +Date: Mon, 17 Oct 2016 17:06:20 +0200 +Subject: [PATCH] add xtables-version.h + +Signed-off-by: Clemens Gruber <clemens.gruber@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 000000000..b705ae7cf --- /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 77acaf3b9..674894c40 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 |