diff --git a/arp-scan-1.9.7.tar.gz b/arp-scan-1.9.7.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..946c147fecf4d213b26d7cb313d01654433ca5df Binary files /dev/null and b/arp-scan-1.9.7.tar.gz differ diff --git a/arp-scan.spec b/arp-scan.spec new file mode 100644 index 0000000000000000000000000000000000000000..13f8fa3d2a899dc73d48a10beafee7ab8089589f --- /dev/null +++ b/arp-scan.spec @@ -0,0 +1,45 @@ +Name: arp-scan +Version: 1.9.7 +Release: 1 +Summary: Scanning and fingerprinting tool +License: GPLv2+ +URL: https://github.com/royhills/arp-scan +Source0: %{name}-%{version}.tar.gz +BuildRequires: libpcap-devel +BuildRequires: gcc +BuildRequires: perl-generators +BuildRequires: automake autoconf +BuildRequires: make +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 +autoreconf --install +%configure --bindir=%{_sbindir} +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +chmod 0644 $RPM_BUILD_DIR/%{name}-%{version}/mt19937ar.c +chmod 0755 $RPM_BUILD_ROOT%{_sbindir}/* + + +%files +%doc AUTHORS ChangeLog COPYING README TODO +%{_sbindir}/* +%{_datadir}/arp-scan +%{_mandir}/man?/* + + +%changelog +* Tue Sep 14 2021 lijingwei - 1.9.7-1 +- Initial package. \ No newline at end of file