X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=iptables.spec;h=a95e434d4a52c6113186a894a58ea345cd1e2a0a;hb=1de46c7fd99374e60f9b9207e1cfbb1ae76a35da;hp=b3397961f1d6946b1b7e0921d6be295775c3a6e7;hpb=647662b8129ce77aa887bce8fa5869e614bd417e;p=iptables.git diff --git a/iptables.spec b/iptables.spec index b339796..a95e434 100644 --- a/iptables.spec +++ b/iptables.spec @@ -1,14 +1,29 @@ -Name: iptables +# +# $Id$ +# +%define url $URL$ + +%define name iptables +%define version 1.4.7 +%define taglevel 3 + +%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} + +Vendor: PlanetLab +Packager: PlanetLab Central +Distribution: PlanetLab %{plrelease} +URL: %(echo %{url} | cut -d ' ' -f 2) + Summary: Tools for managing Linux kernel packet filtering capabilities -Version: 1.4.7 -Release: 2%{?dist} +Name: %{name} +Version: %{version} +Release: %{release} Source: http://www.netfilter.org/projects/iptables/files/%{name}-%{version}.tar.bz2 Source1: iptables.init Source2: iptables-config Source3: planetlab-config Patch1: copy-xid.patch Group: System Environment/Base -URL: http://www.netfilter.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root License: GPLv2 BuildRequires: libselinux-devel @@ -96,6 +111,7 @@ sed -e 's;iptables;ip6tables;g' -e 's;IPTABLES;IP6TABLES;g' < %{SOURCE1} > ip6ta install -c -m 755 ip6tables.init %{buildroot}/etc/rc.d/init.d/ip6tables install -d -m 755 %{buildroot}/etc/sysconfig install -c -m 755 %{SOURCE2} %{buildroot}/etc/sysconfig/iptables-config +install -c -m 755 %{SOURCE3} %{buildroot}/etc/sysconfig/iptables sed -e 's;iptables;ip6tables;g' -e 's;IPTABLES;IP6TABLES;g' < %{SOURCE2} > ip6tables-config install -c -m 755 ip6tables-config %{buildroot}/etc/sysconfig/ip6tables-config @@ -126,6 +142,7 @@ fi %doc COPYING INSTALL INCOMPATIBILITIES %attr(0755,root,root) /etc/rc.d/init.d/iptables %config(noreplace) %attr(0600,root,root) /etc/sysconfig/iptables-config +%config(noreplace) %attr(0600,root,root) /etc/sysconfig/iptables /sbin/iptables* /bin/iptables-xml %{_mandir}/man8/iptables* @@ -164,6 +181,13 @@ fi %{_libdir}/pkgconfig/xtables.pc %changelog +* Mon May 03 2010 S.Çağlar Onur - iptables-1.4.7-3 +- drop backward compatibility with older iptables versions as new kernels only support v2 +- remove unused modules from iptables-config file + +* Wed Apr 14 2010 Thierry Parmentelat - iptables-1.4.7-2 +- fixed specfile for duplicate URL + * Wed Mar 24 2010 Thomas Woerner 1.4.7-2 - added default values for IPTABLES_STATUS_VERBOSE and IPTABLES_STATUS_LINENUMBERS in init script