Summary: ARP Ping Name: arping Version: 2.08 Release: %mkrel 1 License: GPLv2+ Group: Networking/Other URL: http://www.habets.pp.se/synscan/programs.php Source0: ftp://ftp.habets.pp.se/pub/synscan/%{name}-%{version}.tar.gz Patch0: arping-mdv_conf.diff BuildRequires: libnet1.1.2-devel BuildRequires: libpcap-devel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description Arping is a util to find out it a specific IP address on the LAN is 'taken' and what MAC address owns it. Sure, you *could* just use 'ping' to find out if it's taken and even if the computer blocks ping (and everything else) you still get an entry in your ARP cache. But what if you aren't on a routable net? Or the host blocks ping (all ICMP even)? Then you're screwed. Or you use arping. %prep %setup -q %patch0 -p0 %build make RPM_OPT_FLAGS="%{optflags}" LDFLAGS2="-Wl,--as-needed -Wl,--no-undefined" %install rm -rf %{buildroot} install -d %{buildroot}%{_sbindir} install -d %{buildroot}%{_mandir}/man8 install -m0755 %{name} %{buildroot}%{_sbindir}/%{name} install -m0755 %{name}.8 %{buildroot}%{_mandir}/man8/ %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README arping-scan-net.sh %attr(0755,root,root) %{_sbindir}/* %attr(0644,root,root) %{_mandir}/man8/%{name}.8* %changelog * Fri Aug 15 2008 Oden Eriksson <oeriksson@mandriva.com> 2.08-1mdv2009.0 + Revision: 272263 - 2.08 - use the new LDFLAGS * Fri Aug 08 2008 Frederik Himpe <fhimpe@mandriva.org> 2.07-1mdv2009.0 + Revision: 269496 - Update to new version 2.07 - Fix license * Thu Jun 19 2008 Thierry Vignaud <tvignaud@mandriva.com> 2.06-2mdv2009.0 + Revision: 226171 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Fri Sep 14 2007 Oden Eriksson <oeriksson@mandriva.com> 2.06-1mdv2008.0 + Revision: 85629 - Import arping * Fri Sep 14 2007 Oden Eriksson <oeriksson@mandriva.com> 2.06-1mdv2008.0 - initial mandriva package