diff --git a/.cvsignore b/.cvsignore index e69de29..6726da3 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +arp-scan-1.6.tar.gz diff --git a/arp-scan.spec b/arp-scan.spec new file mode 100644 index 0000000..52d05ff --- /dev/null +++ b/arp-scan.spec @@ -0,0 +1,54 @@ +Name: arp-scan +Version: 1.6 +Release: 1%{?dist} +Summary: Scanning and fingerprinting tool + +Group: Applications/Internet +License: GPL +URL: http://www.nta-monitor.com/tools/arp-scan/ +Source0: http://www.nta-monitor.com/tools/arp-scan/download/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libpcap-devel +Requires: perl(LWP::Simple) + + +%description +arp-scan is a command-line tool that uses the ARP protocol to discover and +fingerprint IP hosts on the local network. + +%prep +%setup -q + + +%build +#install to sbindir +%configure --bindir=%{_sbindir} +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +#fix permissions for -debuginfo package +chmod 0644 $RPM_BUILD_DIR/%{name}-%{version}/mt19937ar.c + +#fix permissions for files in sbindir +chmod 0755 $RPM_BUILD_ROOT%{_sbindir}/* + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README TODO +%{_sbindir}/* +%{_datadir}/arp-scan +%{_mandir}/man?/* + + +%changelog +* Sun May 06 2007 Sindre Pedersen Bjørdal - 1.6-1 +- Initial build diff --git a/sources b/sources index e69de29..7a355db 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +eb24303c6eb4d77c3abf23511efce642 arp-scan-1.6.tar.gz