From 4bb32b41a9d2ba0db7f16d00d889065a86fcec3a073fd96c71e2d4db17ba9858 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 25 Dec 2012 23:52:20 +0000 Subject: [PATCH] iptables-1.4.17 OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iptables?expand=0&rev=67 --- ...resolve-link-failure-for-ip6t_NETMAP.patch | 42 ++++++++++++++++++ iptables-1.4.16.3.tar.bz2 | 3 -- iptables-1.4.16.3.tar.bz2.sig | Bin 543 -> 0 bytes iptables-1.4.17.tar.bz2 | 3 ++ iptables-1.4.17.tar.bz2.sig | Bin 0 -> 543 bytes iptables.changes | 7 +++ iptables.spec | 5 ++- 7 files changed, 55 insertions(+), 5 deletions(-) create mode 100644 0001-build-resolve-link-failure-for-ip6t_NETMAP.patch delete mode 100644 iptables-1.4.16.3.tar.bz2 delete mode 100644 iptables-1.4.16.3.tar.bz2.sig create mode 100644 iptables-1.4.17.tar.bz2 create mode 100644 iptables-1.4.17.tar.bz2.sig diff --git a/0001-build-resolve-link-failure-for-ip6t_NETMAP.patch b/0001-build-resolve-link-failure-for-ip6t_NETMAP.patch new file mode 100644 index 0000000..a824a62 --- /dev/null +++ b/0001-build-resolve-link-failure-for-ip6t_NETMAP.patch @@ -0,0 +1,42 @@ +From 070e9ad8fe6380be3fe19924cd50619e540382d0 Mon Sep 17 00:00:00 2001 +From: Jan Engelhardt +Date: Sun, 2 Dec 2012 19:09:38 +0100 +Subject: [PATCH] build: resolve link failure for ip6t_NETMAP + +Link stage of libip6t_NETMAP failed since recently. + + CCLD libip6t_NETMAP.so +/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: +cannot find -lip6tc + +libip6t_NETMAP.c uses the "ipv6_prefix_length" function from +libip6tc.so; "-lip6tc" is used in the Makefile, but, the directory to +it is not specified. + +Why does the link succeed for some people? Because +/usr/lib(64)/libip6tc.so satisfies -lip6tc, but not all environments, +especially those without iptables development files, have that file, +hence this link error can happen. + +Signed-off-by: Jan Engelhardt +--- + extensions/GNUmakefile.in | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/extensions/GNUmakefile.in b/extensions/GNUmakefile.in +index e71e3ff..68e0b9b 100644 +--- a/extensions/GNUmakefile.in ++++ b/extensions/GNUmakefile.in +@@ -101,7 +101,8 @@ libxt_state.so: libxt_conntrack.so + ln -fs $< $@ + + # Need the LIBADDs in iptables/Makefile.am too for libxtables_la_LIBADD +-ip6t_NETMAP_LIBADD = -lip6tc ++ip6t_NETMAP_LIBADD = -L${top_builddir}/libiptc/.libs \ ++ -L${top_builddir}/libiptc -lip6tc + xt_RATEEST_LIBADD = -lm + xt_statistic_LIBADD = -lm + +-- +1.7.10.4 + diff --git a/iptables-1.4.16.3.tar.bz2 b/iptables-1.4.16.3.tar.bz2 deleted file mode 100644 index 09df979..0000000 --- a/iptables-1.4.16.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:643ccf34099d53d5b839e1d889c05627745a51ec122648e76a9fcec3a8a9ec79 -size 536872 diff --git a/iptables-1.4.16.3.tar.bz2.sig b/iptables-1.4.16.3.tar.bz2.sig deleted file mode 100644 index 1ea44bab68e514868574bff0b2cd848149caac4ae91748844727f62ec639338b..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 543 zcmV+)0^t3L0vrSY0RjL91p-ii!v+8f2@s?aABnqPSj-|~5C27EEa@xI71<=u-KQWT zOj*|os~ESG0vqx~^^Jd-x}-!yF>jjA9xg^9-Pl^YqB}-bPKUT<>QB}GZPd$$Odt`! z$zrpkC?B@j&jwxeXibMg*!Jb4kU|E#9nfjTeM=XXcytVk*uo%^Gfvsd_&miOPar;^ znpQBhY3;Yjzuy@@^;zYZ?zNj#2171fXNrAttyLGU?qWpO9i|;01jiG2ALXxJ+VceW z5}6EfO(UH0AuoAG`ds0-UfZ%dVY=6=Ut~Q__(E&WD$t0`*&`q#67Zu|GMDNG4cUBs zC)sRHRSSw%H)J5NY2ytzk&u-M`9Amc;T_| h?VrT4oVdCWa(Os)*K?A{{U{1u7J$b;5T)Mge$Oqg1f2i? diff --git a/iptables-1.4.17.tar.bz2 b/iptables-1.4.17.tar.bz2 new file mode 100644 index 0000000..f323a8b --- /dev/null +++ b/iptables-1.4.17.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:51e7a769469383b6ad308a6a19cdd2bd813cf4593e21a156a543a1cd70554925 +size 541137 diff --git a/iptables-1.4.17.tar.bz2.sig b/iptables-1.4.17.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..8b295150db9b443c135913d32090b57971aada868e5e93c220d9ee79e393dccf GIT binary patch literal 543 zcmV+)0^t3L0vrSY0RjL91p-jnp)>#r2@s?aABnqPSj>4&5C3V09|&m!K!uUoXx`F{ zwn`0q^#IJfY>JF#u{bc~jY|vz6MdYEF83f9`>u~9w4eg=Ufn}yzXm{jH>) z4S>LaMFJ=9YXnEF{qA_4lUX)4SgH4s=*<1@%H^|HWTkuT6W8UD;vhaaq;xKbER~GD z3ZM`N8`j#1v;SXTFoCxqI0d8KjvT>mwb=1!GJz07L>%$~ncr}rgQy?KjrPQe)5EXy^&rU!h zPBFz?+^RtfKwY7uIV)3Q0ZyiD>DYxH!5~zzP>eO03kJ-k10UMbp$bPuHmYMcvQ*@i z90_rS^RLAvWus&w#$s~