# $Id$ # Authority: dag %{?dtag: %{expand: %%define %dtag 1}} %{!?dtag:%define _with_libpcapdevel 1} %{?fc7:%define _with_libpcapdevel 1} %{?el5:%define _with_libpcapdevel 1} %{?fc6:%define _with_libpcapdevel 1} Summary: ARP reply daemon Name: arpd Version: 0.2 Release: 5 License: OpenSource Group: Applications/Internet URL: http://www.honeyd.org/tools.php Source: http://www.citi.umich.edu/u/provos/honeyd/arpd-%{version}.tar.gz Patch: arpd-0.2-gcc4.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: libdnet-devel, libevent-devel, libpcap Provides: farpd = %{version}-%{release} %{?_with_libpcapdevel:BuildRequires:libpcap-devel} %description arpd replies to any ARP request for an IP address matching the specified destination net with the hardware MAC address of the specified interface, but only after determining if another host already claims it. %prep %setup -n %{name} %patch0 -p1 %{__perl} -pi.orig -e 's|/lib/|/%{_lib}/|g' configure %build %configure %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} install DESTDIR="%{buildroot}" %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc LICENSE %doc %{_mandir}/man8/arpd.8* %{_sbindir}/arpd %changelog * Sun Mar 25 2007 Dag Wieers - 0.2-5 - Rebuild against libevent-1.1a on EL5. * Wed Mar 07 2007 Dag Wieers - 0.2-4 - Rebuild against libevent-1.3b. * Tue Feb 20 2007 Dag Wieers - 0.2-3 - Rebuild against libevent-1.3a. * Sat Sep 03 2005 Dag Wieers - 0.2-2 - Fixed a problem with gcc4. (Francisco Monserrat) * Thu Jan 20 2005 Dag Wieers - 0.2-1 - Fixed a problem with newer gcc. * Wed Oct 22 2003 Dag Wieers - 0.2-0 - Initial package. (using DAR)