Author: zbyniu                       Date: Thu May 22 09:41:17 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.5.4.1, now builds with iptables-1.4.1
- depend on _kernel_ver_str (kernel modules)
- needs tests and cleanups

---- Files affected:
SPECS:
   xtables-addons.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/xtables-addons.spec
diff -u SPECS/xtables-addons.spec:1.4 SPECS/xtables-addons.spec:1.5
--- SPECS/xtables-addons.spec:1.4       Thu Apr 10 01:51:45 2008
+++ SPECS/xtables-addons.spec   Thu May 22 11:41:12 2008
@@ -1,16 +1,14 @@
 # $Revision$, $Date$
 #
 # TODO
-# - kernel modules package
+# - kernel modules package (or not, 2 packages with mutual R?)
+# - descriptions
 #
 # Conditional build:
 %bcond_without dist_kernel     # without distribution kernel
 %bcond_without kernel
 %bcond_without userspace
 #
-%define                netfilter_snap          20070806
-%define                llh_version             7:2.6.22.1
-#
 %define                rel 0.1
 Summary:       Extensible packet filtering system && extensible NAT system
 Summary(pl.UTF-8):     System filtrowania pakietów oraz system translacji 
adresów (NAT)
@@ -19,19 +17,19 @@
 Summary(uk.UTF-8):     Утиліти для керування пакетними фільтрами ядра Linux
 Summary(zh_CN.UTF-8):  Linux内核包过滤管理工具
 Name:          xtables-addons
-Version:       1.5.4
-Release:       %{rel}
+Version:       1.5.4.1
+Release:       [EMAIL PROTECTED]
 License:       GPL
 Group:         Networking/Daemons
 Source0:       
http://dev.computergmbh.de/files/xtables/%{name}-%{version}.tar.bz2
-# Source0-md5: ab41fe6418286a95726418cd8df9fded
+# Source0-md5: f78352e9021986347cd347edc82c40c2
 Patch0:                %{name}-libs.patch
-BuildRequires: xtables-devel >= 1.5.2
-%if %{with dist_kernel} && %{netfilter_snap} != 0
-#BuildRequires:        kernel%{_alt_kernel}-headers(netfilter) >= 
%{netfilter_snap}
-%endif
-BuildConflicts:        kernel-headers < 2.3.0
-Provides:      firewall-userspace-tool
+#BuildRequires:        xtables-devel >= 1.5.2
+BuildRequires: iptables-devel >= 1.4.1
+%{?with_dist_kernel:BuildRequires:     kernel%{_alt_kernel}-module-build >= 
3:2.6.25}
+BuildRequires: rpmbuild(macros) >= 1.379
+%{?with_dist_kernel:%requires_releq_kernel}
+Requires(post,postun): /sbin/depmod
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -91,10 +89,25 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%depmod %{_kernel_ver}
+
+%postun
+%depmod %{_kernel_ver}
+
 %files
 %defattr(644,root,root,755)
 %if %{with userspace}
-%attr(755,root,root) %{_libdir}/xtables/*.so
+%attr(755,root,root) %{_libdir}/xtables/libxt_CHAOS.so
+%attr(755,root,root) %{_libdir}/xtables/libxt_DELUDE.so
+%attr(755,root,root) %{_libdir}/xtables/libxt_IPMARK.so
+%attr(755,root,root) %{_libdir}/xtables/libxt_LOGMARK.so
+%attr(755,root,root) %{_libdir}/xtables/libxt_TARPIT.so
+%attr(755,root,root) %{_libdir}/xtables/libxt_TEE.so
+%attr(755,root,root) %{_libdir}/xtables/libxt_condition.so
+%attr(755,root,root) %{_libdir}/xtables/libxt_geoip.so
+%attr(755,root,root) %{_libdir}/xtables/libxt_ipp2p.so
+%attr(755,root,root) %{_libdir}/xtables/libxt_portscan.so
 %endif
 %if %{with kernel}
 /lib/modules/%{_kernel_ver}/kernel/net/netfilter/*
@@ -106,6 +119,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2008-05-22 09:41:12  zbyniu
+- up to 1.5.4.1, now builds with iptables-1.4.1
+- depend on _kernel_ver_str (kernel modules)
+- needs tests and cleanups
+
 Revision 1.4  2008-04-09 23:51:45  zbyniu
 - up to 1.5.4
 - patch to make possible only userspace modules build/install
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xtables-addons.spec?r1=1.4&r2=1.5&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to