From b7f2dc18cd928669d6f050368e434966ffdb0957acabaf023bc8aee8f6ace58b Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Sun, 7 Mar 2010 09:56:32 +0000 Subject: [PATCH] Accepting request 34217 from security:netfilter Copy from security:netfilter/iptables based on submit request 34217 from user coolo OBS-URL: https://build.opensuse.org/request/show/34217 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iptables?expand=0&rev=20 --- iptables-1.4.6+git9.tar.bz2 | 3 --- iptables-1.4.7.tar.bz2 | 3 +++ iptables-batch.patch | 14 +++++++------- iptables.changes | 10 ++++++++++ iptables.spec | 20 +++++++++++--------- 5 files changed, 31 insertions(+), 19 deletions(-) delete mode 100644 iptables-1.4.6+git9.tar.bz2 create mode 100644 iptables-1.4.7.tar.bz2 diff --git a/iptables-1.4.6+git9.tar.bz2 b/iptables-1.4.6+git9.tar.bz2 deleted file mode 100644 index 5eba996..0000000 --- a/iptables-1.4.6+git9.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5fe2361b111d5a8a3b98510a1b913d0dc49b07e4ef6f1a724df136e3e91e88d3 -size 216442 diff --git a/iptables-1.4.7.tar.bz2 b/iptables-1.4.7.tar.bz2 new file mode 100644 index 0000000..d9b7315 --- /dev/null +++ b/iptables-1.4.7.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f61f389cabdde79e26ca78c336db1b6373b67f80f7cfcb3e9d9ff520b325452 +size 462420 diff --git a/iptables-batch.patch b/iptables-batch.patch index 1213114..94cd51a 100644 --- a/iptables-batch.patch +++ b/iptables-batch.patch @@ -3,18 +3,18 @@ iptables-batch.c | 468 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 478 insertions(+), 2 deletions(-) -Index: Makefile.am +Index: iptables-1.4.7/Makefile.am =================================================================== ---- Makefile.am.orig -+++ Makefile.am +--- iptables-1.4.7.orig/Makefile.am ++++ iptables-1.4.7/Makefile.am @@ -54,6 +54,14 @@ endif ip6tables_multi_LDFLAGS = -rdynamic ip6tables_multi_LDADD = libiptc/libip6tc.la extensions/libext6.a libxtables.la -lm -+iptables_batch_SOURCES = iptables-batch.c iptables.c xtables.c xshared.c ++iptables_batch_SOURCES = iptables-batch.c iptables.c xshared.c +iptables_batch_LDFLAGS = ${iptables_multi_LDFLAGS} +iptables_batch_LDADD = ${iptables_multi_LDADD} -+ip6tables_batch_SOURCES = iptables-batch.c ip6tables.c xtables.c xshared.c ++ip6tables_batch_SOURCES = iptables-batch.c ip6tables.c xshared.c +ip6tables_batch_CFLAGS = ${AM_CFLAGS} -DIP6T +ip6tables_batch_LDFLAGS = ${ip6tables_multi_LDFLAGS} +ip6tables_batch_LDADD = ${ip6tables_multi_LDADD} @@ -37,10 +37,10 @@ Index: Makefile.am v6_sbin_links = ip6tables ip6tables-restore ip6tables-save endif -Index: iptables-batch.c +Index: iptables-1.4.7/iptables-batch.c =================================================================== --- /dev/null -+++ iptables-batch.c ++++ iptables-1.4.7/iptables-batch.c @@ -0,0 +1,468 @@ +/* + * Author: Ludwig Nussel diff --git a/iptables.changes b/iptables.changes index 07876c2..bec470c 100644 --- a/iptables.changes +++ b/iptables.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Mar 1 15:43:30 UTC 2010 - jengelh@medozas.de + +- update to new upstream release 1.4.7 + * libipq is built as a shared library + * removal of some restrictions on interface names + * documentation updates +- rebase and fix linking of iptables-batch +- fix libdir->libexecdir + ------------------------------------------------------------------- Mon Feb 22 13:09:03 UTC 2010 - jengelh@medozas.de diff --git a/iptables.spec b/iptables.spec index cce55dc..4951349 100644 --- a/iptables.spec +++ b/iptables.spec @@ -1,5 +1,5 @@ # -# spec file for package iptables (Version 1.4.6+git9) +# spec file for package iptables (Version 1.4.7) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -21,14 +21,17 @@ Name: iptables License: GPLv2+ Group: Productivity/Networking/Security -Version: 1.4.6+git9 +Version: 1.4.7 Release: 1 Summary: IP Packet Filter Administration -Source0: %{name}-%{version}.tar.bz2 + +#Git-Web: http://git.netfilter.org/ +#Git-Clone: git://git.netfilter.org/iptables +Source: http://netfilter.org/projects/iptables/files/iptables-1.4.7.tar.bz2 Patch0: %{name}-batch.patch Url: http://netfilter.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: linux-kernel-headers sgmltool +BuildRequires: sgmltool %description Iptables is used to set up, maintain, and inspect the tables of IP @@ -59,7 +62,7 @@ Authors: %prep %setup -q -%patch0 +%patch -P 0 -p1 %build if [ ! -e configure ]; then @@ -68,8 +71,7 @@ fi # bnc#561793 - do not include unclean module in iptables manpage rm -rf extensions/libipt_unclean.man %configure \ - --enable-libipq \ - --libexecdir=%{_libdir} + --enable-libipq make %{?_smp_mflags} %install @@ -93,8 +95,8 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/iptables* %{_sbindir}/iptables* %{_sbindir}/ip6tables* -%dir %{_libdir}/xtables -%{_libdir}/xtables/* +%dir %{_libexecdir}/xtables +%{_libexecdir}/xtables/* %{_libdir}/*.so.* %files devel