# # $Id$ # # TODO: # restart crond # modprobe ipfw_mod.ko (depmod ?) # %define url $URL: http://onelab1.iet.unipi.it/svn/trunk/ipfw-slice.spec $ # Marta Carbone # 2009 - Universita` di Pisa # License is BSD. %define name ipfw-slice %define version 0.9 %define taglevel 5 %define release %{kernel_version}.%{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} %define kernel_id_arch %{kernel_version}-%{kernel_release}-%{kernel_arch} %define kernel_id %{kernel_version}-%{kernel_release} Summary: ipfw and dummynet for Linux Name: %{name} Version: %{version} Release: %{release} License: BSD Group: System Environment/Kernel Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Vendor: unipi Packager: PlanetLab Distribution: PlanetLab %{plrelease} URL: %(echo %{url} | cut -d ' ' -f 2) %description the frontent part of the ipfw planetlab package %prep %setup %build rm -rf $RPM_BUILD_ROOT %install install -D -m 755 slice/netconfig $RPM_BUILD_ROOT/sbin/netconfig install -D -m 755 slice/ipfw.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8/ipfw.8.gz %clean rm -rf $RPM_BUILD_ROOT # here there is a list of the final installation directories %files %defattr(-,root,root) /sbin/netconfig %{_mandir}/man8/ipfw.8* %changelog * 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 - Initial release