Blob Blame History Raw
Name:           arptools
Version:        1.0.2
Release:        1%{?dist}
Summary:        Collection of libnet and libpcap based ARP utilities

Group:          Applications/Internet
License:        GPLv2+
URL:            http://www.burghardt.pl/wiki/software/arp
Source0:        http://www.burghardt.pl/files/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  libnet-devel
BuildRequires:  libpcap-devel

%description
ARP Tools is collection of libnet and libpcap based ARP utilities. It
currently contains ARP Discover (arpdiscover), an Ethernet scanner based on
ARP protocol; ARP Flood (arpflood), an ARP request flooder; and ARP Poison
(arppoison), for poisoning switches' MAC address tables.

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{_sbindir}/arpdiscover
%{_sbindir}/arpflood
%{_sbindir}/arppoison


%changelog
* Sun Feb 22 2009 Jakub Hrozek <jhrozek@redhat.com> 1.0.2-1
- initial packaging