X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=iptables.spec;h=5479d0dbf9fd57567436f42ee5521658f16b55f7;hb=d1aa80376d2564a6e93ae090b2f9275196c35d47;hp=5c33d23de789c4622eab41729fc5e582ef1e5954;hpb=50656577ff7a65fc04b221380672ddaf22c577d4;p=iptables.git diff --git a/iptables.spec b/iptables.spec index 5c33d23..5479d0d 100644 --- a/iptables.spec +++ b/iptables.spec @@ -1,18 +1,13 @@ -# -# $Id$ -# -%define url $URL$ - %define name iptables -%define version 1.4.7 -%define taglevel 4 +%define version 1.4.10 +%define taglevel 2 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} 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,11 @@ 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 +mv -f /etc/rc.d/init.d/iptables.rpmsave /etc/rc.d/init.d/iptables +mv -f /etc/sysconfig/iptables-config.rpmnew /etc/sysconfig/iptables-config +service iptables restart %postun -p /sbin/ldconfig @@ -181,6 +182,18 @@ 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