X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=iptables.spec;h=d7c022b3db8c8441283a884ae0e70271653c283b;hb=8db75c6086db1e90729b9bf096ee8ea2167794e2;hp=8d567721ef95e1cdca82f0156561899098abe159;hpb=2fe23b5ac60ca2aaa269f7972010b158ece92811;p=iptables.git diff --git a/iptables.spec b/iptables.spec index 8d56772..d7c022b 100644 --- a/iptables.spec +++ b/iptables.spec @@ -1,10 +1,5 @@ -# -# $Id$ -# -%define url $URL$ - %define name iptables -%define version 1.4.7 +%define version 1.4.10 %define taglevel 2 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} @@ -12,7 +7,7 @@ Vendor: PlanetLab Packager: PlanetLab Central Distribution: PlanetLab %{plrelease} -URL: %(echo %{url} | cut -d ' ' -f 2) +URL: %{SCMURL} Summary: Tools for managing Linux kernel packet filtering capabilities Name: %{name} @@ -30,6 +25,7 @@ BuildRequires: libselinux-devel BuildRequires: kernel-headers Conflicts: kernel < 2.4.20 Requires(post): chkconfig +Requires(post): initscripts Requires(preun): chkconfig %description @@ -121,6 +117,9 @@ rm -rf %{buildroot} %post /sbin/ldconfig /sbin/chkconfig --add iptables +DEFAULT_IFACE=$(ip route show default | awk '/default/ {print $5}' +sed -i -e "s;__eth;$DEFAULT_IFACE;g" /etc/sysconfig/iptables +service iptables restart %postun -p /sbin/ldconfig @@ -181,6 +180,25 @@ fi %{_libdir}/pkgconfig/xtables.pc %changelog +* Thu Jan 27 2011 S.Çağlar Onur - iptables-1.4.10-2 +- Fix the patch + +* Wed Jan 26 2011 S.Çağlar Onur - iptables-1.4.10-1 +- Fix incorrect sha1sum + +* Sun Jan 23 2011 Thierry Parmentelat - iptables-1.4.9-1 +- add requires initscripts in deps + +* Wed May 12 2010 S.Çağlar Onur - iptables-1.4.7-5 +- Restart iptables service after package upgrades + +* Mon May 10 2010 S.Çağlar Onur - iptables-1.4.7-4 +- Restore iIPTABLES_MODULES list + +* 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