SPECS (LINUX_2_6_22): iptables.spec - connlimit, time and u32 in o...

zbyniu zbyniu at pld-linux.org
Wed Apr 9 20:10:56 CEST 2008


Author: zbyniu                       Date: Wed Apr  9 18:10:56 2008 GMT
Module: SPECS                         Tag: LINUX_2_6_22
---- Log message:
- connlimit, time and u32 in older versions in our 2.6.22

---- Files affected:
SPECS:
   iptables.spec (1.244 -> 1.244.2.1) 

---- Diffs:

================================================================
Index: SPECS/iptables.spec
diff -u SPECS/iptables.spec:1.244 SPECS/iptables.spec:1.244.2.1
--- SPECS/iptables.spec:1.244	Sat Mar  8 00:15:13 2008
+++ SPECS/iptables.spec	Wed Apr  9 20:10:51 2008
@@ -12,7 +12,7 @@
 %define		llh_version		7:2.6.22.1
 %define		name6			ip6tables
 #
-%define		rel 5
+%define		rel 6
 Summary:	Extensible packet filtering system && extensible NAT system
 Summary(pl.UTF-8):	System filtrowania pakietów oraz system translacji adresów (NAT)
 Summary(pt_BR.UTF-8):	Ferramenta para controlar a filtragem de pacotes no kernel-2.6.x
@@ -185,6 +185,10 @@
 install lib*.a $RPM_BUILD_ROOT%{_libdir}
 install lib*/lib*.a $RPM_BUILD_ROOT%{_libdir}
 install libipq/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
+# with kernel 2.6.22 we use old libipt_ modules
+rm -f $RPM_BUILD_ROOT%{_libdir}/iptables/libxt_connlimit.so
+rm -f $RPM_BUILD_ROOT%{_libdir}/iptables/libxt_time.so
+rm -f $RPM_BUILD_ROOT%{_libdir}/iptables/libxt_u32.so
 
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name6}
@@ -280,7 +284,6 @@
 %attr(755,root,root) %{_libdir}/iptables/libxt_CLASSIFY.so
 %attr(755,root,root) %{_libdir}/iptables/libxt_comment.so
 %attr(755,root,root) %{_libdir}/iptables/libxt_connbytes.so
-%attr(755,root,root) %{_libdir}/iptables/libxt_connlimit.so
 %attr(755,root,root) %{_libdir}/iptables/libxt_connmark.so
 %attr(755,root,root) %{_libdir}/iptables/libxt_CONNMARK.so
 %attr(755,root,root) %{_libdir}/iptables/libxt_CONNSECMARK.so
@@ -311,9 +314,7 @@
 %attr(755,root,root) %{_libdir}/iptables/libxt_tcpmss.so
 %attr(755,root,root) %{_libdir}/iptables/libxt_TCPMSS.so
 %attr(755,root,root) %{_libdir}/iptables/libxt_tcp.so
-%attr(755,root,root) %{_libdir}/iptables/libxt_time.so
 %attr(755,root,root) %{_libdir}/iptables/libxt_TRACE.so
-%attr(755,root,root) %{_libdir}/iptables/libxt_u32.so
 %attr(755,root,root) %{_libdir}/iptables/libxt_udp.so
 %else
 %attr(755,root,root) %{_libdir}/iptables/*.so
@@ -340,6 +341,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.244.2.1  2008-04-09 18:10:51  zbyniu
+- connlimit, time and u32 in older versions in our 2.6.22
+
 Revision 1.244  2008-03-07 23:15:13  kosmo
 - added batch and packaged processing programs (ip*tables-batch)
 - rel 5
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/iptables.spec?r1=1.244&r2=1.244.2.1&f=u



More information about the pld-cvs-commit mailing list