Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > by-pkgid > 32acb8691317130cf0d1ed6ed97e8951 > files > 3

arptables-0.0.3-5mdv2008.0.src.rpm

Summary:	Userspace control program for the arptables network filter
Name:		arptables
Version:	0.0.3
Release:	%mkrel 5
Group:		System/Kernel and hardware
License:	GPL
URL:		http://ebtables.sourceforge.net/
Source0:	http://prdownloads.sourceforge.net/ebtables/%{name}-v%{version}-2.tar.bz2
Patch0:		arptables-no_linux_config.h.diff
BuildRequires:  kernel-source
Requires:	kernel >= 2.6.0
BuildRoot:	%{_tmppath}/%{name}-v%{version}-root

%description
The arptables utility controls the arpfilter network packet
filtering code in the Linux kernel. You do not need this program
for normal network firewalling. If you need to manually control
which arp requests and/or replies this machine accepts and sends,
you should install this package.

%prep

%setup -q -n %{name}-v%{version}-2
%patch0 -p1

%build

%make COPT_FLAGS="%{optflags}" KERNEL_DIR=/usr/src/2.6.*

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

install -d %{buildroot}/sbin
install -d %{buildroot}%{_mandir}/man8

install -m755 arptables %{buildroot}/sbin/
install -m644 arptables.8 %{buildroot}%{_mandir}/man8/

%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files
%defattr(-,root,root,0755)
#%doc ChangeLog INSTALL THANKS
%attr(0755,root,root) /sbin/arptables
%attr(0644,root,root) %{_mandir}/man8/arptables.8*


%changelog
* Sun Sep 09 2007 Oden Eriksson <oeriksson@mandriva.com> 0.0.3-5mdv2008.0
+ Revision: 83892
- try to fix build (try #1)
- rebuild


* Fri Dec 22 2006 Oden Eriksson <oeriksson@mandriva.com> 0.0.3-4mdv2007.0
+ Revision: 101555
- Import arptables

* Fri Dec 22 2006 Oden Eriksson <oeriksson@mandriva.com> 0.0.3-4
- pre x-mas rebuild :)

* Sun Jan 08 2006 Oden Eriksson <oeriksson@mandriva.com> 0.0.3-3mdk
- rebuild

* Fri Dec 24 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.0.3-2mdk
- x-mas rebuild :)