SPECS: iptables.spec - build selinux related modules; package all ...

zbyniu zbyniu at pld-linux.org
Fri Apr 6 13:07:55 CEST 2007


Author: zbyniu                       Date: Fri Apr  6 11:07:55 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- build selinux related modules; package all built modules

---- Files affected:
SPECS:
   iptables.spec (1.216 -> 1.217) 

---- Diffs:

================================================================
Index: SPECS/iptables.spec
diff -u SPECS/iptables.spec:1.216 SPECS/iptables.spec:1.217
--- SPECS/iptables.spec:1.216	Fri Apr  6 11:52:50 2007
+++ SPECS/iptables.spec	Fri Apr  6 13:07:49 2007
@@ -61,7 +61,7 @@
 %endif
 %if %{with dist_kernel} && %{_netfilter_snap} != 0
 BuildRequires:	kernel-headers(netfilter) >= %{_netfilter_snap}
-BuildRequires:	kernel-source
+#BuildRequires:	kernel-source
 Requires:	kernel(netfilter) >= %{_netfilter_snap}
 %endif
 #BuildRequires:	linux-libc-headers >= %{llh_version}
@@ -169,6 +169,7 @@
 	COPT_FLAGS="%{rpmcflags} -D%{!?debug:N}DEBUG" \
 	KERNEL_DIR="%{_kernelsrcdir}" \
 	LIBDIR="%{_libdir}" \
+	DO_SELINUX=1 \
 	LDLIBS="-ldl"
 
 %if %{with doc}
@@ -189,20 +190,7 @@
 	MANDIR=%{_mandir} \
 	LIBDIR=%{_libdir}
 
-for lib in libip6t_IMQ.so libip6t_NFLOG.so libip6t_REJECT.so \
-	libip6t_ROUTE.so libip6t_ah.so libip6t_esp.so \
-	libip6t_frag.so libip6t_hashlimit.so libip6t_ipv6header.so \
-	libip6t_length.so libip6t_policy.so libip6t_rt.so \
-	libip6t_sctp.so libipt_CLUSTERIP.so libipt_IMQ.so \
-	libipt_IPMARK.so libipt_IPV4OPTSSTRIP.so libipt_NFLOG.so \
-	libipt_ROUTE.so libipt_SET.so libipt_connbytes.so \
-	libipt_dccp.so libipt_ipp2p.so libipt_ipv4options.so \
-	libipt_layer7.so libipt_quota.so libipt_recent.so \
-	libipt_set.so libipt_statistic.so \
-	libipt_time.so libipt_u32.so                                                                                                                                               
-do                                                                                                                                                                                 
-	cp -a extensions/${lib} $RPM_BUILD_ROOT%{_libdir}/iptables
-done
+install extensions/*so $RPM_BUILD_ROOT%{_libdir}/iptables
 
 echo ".so iptables.8" > $RPM_BUILD_ROOT%{_mandir}/man8/%{name6}.8
 
@@ -254,6 +242,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.217  2007/04/06 11:07:49  zbyniu
+- build selinux related modules; package all built modules
+
 Revision 1.216  2007/04/06 09:52:50  shadzik
 - fix build (mguevara please test if packages build after your changes)
 - rel 3
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/iptables.spec?r1=1.216&r2=1.217&f=u



More information about the pld-cvs-commit mailing list