-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 There is no iptables-devel package. I have made a patch for the specfile to build the -devel package. Please include.
Thanks, Rocco - --- iptables.spec 2003-09-09 02:39:05.000000000 -0500 +++ iptables2.spec 2003-09-22 17:58:35.000000000 -0500 @@ -1,7 +1,7 @@ Name: iptables Summary: Tools for managing Linux kernel packet filtering capabilities Version: 1.2.8 - -Release: 2mdk +Release: 3mdk Source: http://www.netfilter.org/files/%{name}-%{version}.tar.bz2 Source1: iptables.init @@ -33,6 +33,14 @@ Install this only if you are using the 2.4 kernels!! +%package devel +Summary: Libraries and headers for developing iptables extensions +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +Libraries and headers for developing iptables extensions + %package ipv6 Summary: IPv6 support for iptables Group: System/Kernel and hardware @@ -73,6 +81,12 @@ rm -rf $RPM_BUILD_ROOT # Dunno why this happens. -- Geoff %makeinstall_std BINDIR=/sbin MANDIR=%{_mandir} LIBDIR=/lib COPT_FLAGS="$RPM_ _FLAGS -DNETLINK_NFLOG=4" install-experimental +mkdir -p $RPM_BUILD_ROOT%{_includedir}/iptables +mkdir -p $RPM_BUILD_ROOT%{_libdir} +mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3 +cp -a include/* $RPM_BUILD_ROOT%{_includedir}/iptables +install -c -D -m644 lib*/lib*.a $RPM_BUILD_ROOT%{_libdir} +install -c -D -m644 libipq/*.3 $RPM_BUILD_ROOT%{_mandir}/man3 install -c -D -m755 %{SOURCE1} %buildroot%{_initrddir}/iptables install -c -D -m755 %{SOURCE2} %buildroot%{_initrddir}/ip6tables install -c -D -m644 %{SOURCE3} iptables.sample @@ -114,7 +128,16 @@ /lib/iptables/libip6t* %doc INSTALL KNOWN_BUGS ip6tables.sample +%files devel +%defattr(644,root,root,755) +%{_libdir}/lib*.a +%{_includedir}/iptables +%{_mandir}/man3/* + %changelog +* Mon Sep 22 2003 Rocco Stanzione <[EMAIL PROTECTED]> 1.2.8-3mdk +- added devel package + * Tue Aug 26 2003 Juan Quintela <[EMAIL PROTECTED]> 1.2.8-2mdk - added imq support. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/b4AtSCmJfrlriowRAmWpAJwMDbhLlbmm1aHiToREL6VscOFEJgCgwQ8C 3KdtZwEGJnpVD8aGSl0Gqk4= =1wMM -----END PGP SIGNATURE-----
