X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=iptables.spec;h=cc10d1fc41a39c7615869e1446dc5bacf57a273e;hb=2c0de495e57d2fc8f87d6217d1fc5454cb7861b1;hp=c7100a3a23eadd9e4b6fb62ec77d56427f8f7f33;hpb=ca43507d57a4b5b0734758581d039c284f193c6a;p=iptables.git diff --git a/iptables.spec b/iptables.spec index c7100a3..cc10d1f 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 1 +%define version 1.4.10 +%define taglevel 5 %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} @@ -24,13 +19,13 @@ 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 BuildRequires: kernel-headers Conflicts: kernel < 2.4.20 Requires(post): chkconfig +Requires(post): initscripts Requires(preun): chkconfig %description @@ -122,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 +[ "$PL_BOOTCD" = "1" ] || service iptables restart %postun -p /sbin/ldconfig @@ -142,8 +140,8 @@ fi %defattr(-,root,root) %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 +%config %attr(0600,root,root) /etc/sysconfig/iptables-config +%config %attr(0600,root,root) /etc/sysconfig/iptables /sbin/iptables* /bin/iptables-xml %{_mandir}/man8/iptables* @@ -182,6 +180,41 @@ fi %{_libdir}/pkgconfig/xtables.pc %changelog +* Tue Aug 09 2011 Sapan Bhatia - iptables-1.4.10-5 +- Adding a recently abused (=received experimental traffic from planetlab) node to a global iptables blacklist. I will be +- implementing this mechanism more formally +- using +- iptables in the coming days. Unfortunately, because of the complexity of the recipient network we are unable to +- determine a comprehensive set of the slices responsible in this case, so I am adding this temporary hack for now. + +* Thu Mar 24 2011 S.Çağlar Onur - iptables-1.4.10-4 +- Don't start iptables service on build time + +* Wed Feb 23 2011 S.Çağlar Onur - iptables-1.4.10-3 +- Remove ugly hack for config files + +* 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 + * Wed Mar 24 2010 Thomas Woerner 1.4.7-2 - added default values for IPTABLES_STATUS_VERBOSE and IPTABLES_STATUS_LINENUMBERS in init script