From 0e146f10516ba0229bfc66b12bd54aef4477a6b6 Mon Sep 17 00:00:00 2001 From: Thomas Woerner Date: Fri, 5 Mar 2010 14:01:22 +0000 Subject: [PATCH] - new version 1.4.7 with support for all new features of 2.6.33 (rhbz#570767) - libip4tc: Add static qualifier to dump_entry() - libipq: build as shared library - recent: reorder cases in code (cosmetic cleanup) - several man page and documentation fixes - policy: fix error message showing wrong option - includes: header updates - Lift restrictions on interface names - fixed licensea and moved iptables-xml into base package according to review --- .cvsignore | 1 + iptables.spec | 28 +++++++++++++++++++--------- sources | 1 + 3 files changed, 21 insertions(+), 9 deletions(-) diff --git a/.cvsignore b/.cvsignore index 0959b00..43ab821 100644 --- a/.cvsignore +++ b/.cvsignore @@ -8,3 +8,4 @@ iptables-1.4.3.2.tar.bz2 iptables-1.4.4.tar.bz2 iptables-1.4.5.tar.bz2 iptables-1.4.6.tar.bz2 +iptables-1.4.7.tar.bz2 diff --git a/iptables.spec b/iptables.spec index e59ddf1..693bda5 100644 --- a/iptables.spec +++ b/iptables.spec @@ -1,7 +1,7 @@ Name: iptables Summary: Tools for managing Linux kernel packet filtering capabilities -Version: 1.4.6 -Release: 2%{?dist} +Version: 1.4.7 +Release: 1%{?dist} Source: http://www.netfilter.org/projects/iptables/files/%{name}-%{version}.tar.bz2 Source1: iptables.init Source2: iptables-config @@ -9,7 +9,7 @@ Patch5: iptables-1.4.5-cloexec.patch Group: System Environment/Base URL: http://www.netfilter.org/ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) -License: GPL+ +License: GPLv2 BuildRequires: libselinux-devel BuildRequires: kernel-headers Conflicts: kernel < 2.4.20 @@ -81,13 +81,10 @@ install -m 644 include/libipulog/*.h %{buildroot}%{_includedir}/libipulog/ # create symlinks for devel so libs install -d -m 755 %{buildroot}%{_libdir} -for i in %{buildroot}/%{_lib}/libip*tc.so %{buildroot}/%{_lib}/libxtables.so; do +for i in %{buildroot}/%{_lib}/*.so; do ln -s ../../%{_lib}/${i##*/} %{buildroot}%{_libdir}/${i##*/} done -# move static libipq to %{_libdir} -mv %{buildroot}/%{_lib}/libipq.a %{buildroot}/%{_libdir}/ - # move pkgconfig to %{_libdir} mv %{buildroot}/%{_lib}/pkgconfig %{buildroot}/%{_libdir}/ @@ -129,11 +126,13 @@ fi %attr(0755,root,root) /etc/rc.d/init.d/iptables %config(noreplace) %attr(0600,root,root) /etc/sysconfig/iptables-config /sbin/iptables* +/bin/iptables-xml %{_mandir}/man8/iptables* %dir /%{_lib}/xtables /%{_lib}/xtables/libipt* /%{_lib}/xtables/libxt* /%{_lib}/libip*tc.so.* +/%{_lib}/libipq.so.* /%{_lib}/libxtables.so.* %files ipv6 @@ -141,7 +140,6 @@ fi %attr(0755,root,root) /etc/rc.d/init.d/ip6tables %config(noreplace) %attr(0600,root,root) /etc/sysconfig/ip6tables-config /sbin/ip6tables* -/bin/iptables-xml %{_mandir}/man8/ip6tables* /%{_lib}/xtables/libip6t* @@ -154,16 +152,28 @@ fi %{_includedir}/libiptc/*.h %dir %{_includedir}/libipulog %{_includedir}/libipulog/*.h -%{_libdir}/libipq.a %{_mandir}/man3/* /%{_lib}/libip*tc.so +/%{_lib}/libipq.so /%{_lib}/libxtables.so %{_libdir}/libip*tc.so +%{_libdir}/libipq.so %{_libdir}/libxtables.so %{_libdir}/pkgconfig/libiptc.pc %{_libdir}/pkgconfig/xtables.pc %changelog +* Fri Mar 5 2010 Thomas Woerner 1.4.7-1 +- new version 1.4.7 with support for all new features of 2.6.33 (rhbz#570767) + - libip4tc: Add static qualifier to dump_entry() + - libipq: build as shared library + - recent: reorder cases in code (cosmetic cleanup) + - several man page and documentation fixes + - policy: fix error message showing wrong option + - includes: header updates + - Lift restrictions on interface names +- fixed licensea and moved iptables-xml into base package according to review + * Wed Jan 27 2010 Thomas Woerner 1.4.6-2 - moved libip*tc and libxtables libs to /lib[64], added symlinks for .so libs to /usr/lib[64] for compatibility (rhbz#558796) diff --git a/sources b/sources index 8c314bd..7314b04 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ c67cf30e281a924def6426be0973df56 iptables-1.4.6.tar.bz2 +645941dd1f9e0ec1f74c61918d70d52f iptables-1.4.7.tar.bz2