Group :: Monitoramento
RPM: arp-scan
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# since 1.9 no more releaeses (tarballs) and corresponding tags,
# so we use snapshots. See NEWS and configure.ac for versions.
%def_enable snapshot
%def_enable check
Name: arp-scan
Version: 1.10.0
Release: alt1
Summary: Scanning and fingerprinting tool
License: GPLv3+
Group: Monitoring
Url: http://www.nta-monitor.com/tools-resources/security-tools/arp-scan
%if_disabled snapshot
Source: http://www.nta-monitor.com/files/arp-scan/%name-%version.tar.gz
%else
Vcs: https://github.com/royhills/arp-scan.git
Source: %name-%version.tar
%endif
# File generated by get-oui as replacements of older file
# shipped with arp-scan:
Source2: ieee-oui.txt
Requires(pre): /sbin/setcap
BuildRequires: libpcap-devel >= 1.0 perl-libwww perl-Text-CSV
%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
%build
cp -a %_sourcedir/ieee-oui.txt .
%autoreconf
%configure
%make_build
%install
%makeinstall_std
%check
%make check
%post
/sbin/setcap ap_net_raw+p %_bindir/%name 2>/dev/null ||:
%files
%dir %_sysconfdir/%name
%config(noreplace) %_sysconfdir/%name/mac-vendor.txt
%_bindir/arp-fingerprint
%_bindir/%name
%_bindir/get-oui
%_bindir/get-iab
%dir %_datadir/%name
%_datadir/%name/ieee-oui.txt
%_man1dir/*
%_man5dir/*
%doc NEWS README*
%changelog
…
Todas as alterações você pod ver aqui
# so we use snapshots. See NEWS and configure.ac for versions.
%def_enable snapshot
%def_enable check
Name: arp-scan
Version: 1.10.0
Release: alt1
Summary: Scanning and fingerprinting tool
License: GPLv3+
Group: Monitoring
Url: http://www.nta-monitor.com/tools-resources/security-tools/arp-scan
%if_disabled snapshot
Source: http://www.nta-monitor.com/files/arp-scan/%name-%version.tar.gz
%else
Vcs: https://github.com/royhills/arp-scan.git
Source: %name-%version.tar
%endif
# File generated by get-oui as replacements of older file
# shipped with arp-scan:
Source2: ieee-oui.txt
Requires(pre): /sbin/setcap
BuildRequires: libpcap-devel >= 1.0 perl-libwww perl-Text-CSV
%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
%build
cp -a %_sourcedir/ieee-oui.txt .
%autoreconf
%configure
%make_build
%install
%makeinstall_std
%check
%make check
%post
/sbin/setcap ap_net_raw+p %_bindir/%name 2>/dev/null ||:
%files
%dir %_sysconfdir/%name
%config(noreplace) %_sysconfdir/%name/mac-vendor.txt
%_bindir/arp-fingerprint
%_bindir/%name
%_bindir/get-oui
%_bindir/get-iab
%dir %_datadir/%name
%_datadir/%name/ieee-oui.txt
%_man1dir/*
%_man5dir/*
%doc NEWS README*
%changelog
…
Todas as alterações você pod ver aqui