X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ipfw.spec;h=212efb7d0ab2c84ce2cc3f0ac312f3ae20b008bf;hb=5ad9fec40da13c449d50def12f9cea6e24b6a708;hp=0bdb88ea7b6ba2051ac3aa62305333bbcfa2b9e2;hpb=768724c277eda3db607e356dc32945cd37ec43fc;p=ipfw.git diff --git a/ipfw.spec b/ipfw.spec index 0bdb88e..212efb7 100644 --- a/ipfw.spec +++ b/ipfw.spec @@ -17,7 +17,7 @@ %define name ipfw %define version 0.9 -%define taglevel 2 +%define taglevel 7 %define release %{kernel_version}.%{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} %define kernel_id_arch %{kernel_version}-%{kernel_release}-%{kernel_arch} @@ -47,20 +47,19 @@ ipfw is the Linux port of the FreeBSD ipfw and dummynet packages %build # clean the rpm build directory - rm -rf $RPM_BUILD_ROOT # with the new build, we use the kernel-devel rpm for building %define kernelpath /usr/src/kernels/%{kernel_id_arch} %__make KERNELPATH=%kernelpath clean -%__make KERNELPATH=%kernelpath +%__make KERNELPATH=%kernelpath IPFW_PLANETLAB=1 %install install -D -m 755 dummynet/ipfw_mod.ko $RPM_BUILD_ROOT/lib/modules/%{kernel_id}/net/netfilter/ipfw_mod.ko install -D -m 755 ipfw/ipfw $RPM_BUILD_ROOT/sbin/ipfw -install -D -m 755 ipfw-cleanup $RPM_BUILD_ROOT/usr/bin/ipfw-cleanup -install -D -m 755 ipfw.cron $RPM_BUILD_ROOT/%{_sysconfdir}/cron.d/ipfw.cron +install -D -m 755 planetlab/ipfw-cleanup $RPM_BUILD_ROOT/usr/bin/ipfw-cleanup +install -D -m 755 planetlab/ipfw.cron $RPM_BUILD_ROOT/%{_sysconfdir}/cron.d/ipfw.cron %clean rm -rf $RPM_BUILD_ROOT @@ -74,11 +73,32 @@ rm -rf $RPM_BUILD_ROOT /usr/bin/ipfw-cleanup %{_sysconfdir}/cron.d/ipfw.cron +%postun +# unload the module if present +LOADED=`cat /proc/modules | grep ^ipfw_mod`; if [ -n "$LOADED" ] ; then rmmod ipfw_mod; fi + %changelog +* Sun Nov 29 2009 Thierry Parmentelat - ipfw-0.9-7 +- added missing qsort.c - tag 0.9-6 was broken + +* Thu Nov 26 2009 Thierry Parmentelat - ipfw-0.9-6 +- root: removed goto into the main ipfw switch, enabled slice_id matching +- slice: completely move netconfig checks into the backend + +* Mon Nov 09 2009 Thierry Parmentelat - ipfw-0.9-5 +- additional features on matching packets, including uid match + +* Mon Sep 07 2009 Thierry Parmentelat - ipfw-0.9-4 +- on behalf of Marta Carbone, more options and features + +* Thu Jul 23 2009 Thierry Parmentelat - ipfw-0.9-3 +- fixed memory usage issue + * Wed Jul 15 2009 Thierry Parmentelat - ipfw-0.9-2 - patch for building on x86_64 * Thu Jun 25 2009 Marta Carbone - post installation removed for deployment, moved manpages to the slice package + * Fri Apr 17 2009 Marta Carbone - Initial release