Group :: Rede/Outros
RPM: arping2
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define origname arping
%define libnet_ver 2
Name: arping2
Version: 2.08
Release: alt0.M40.1
Summary: Layer2 Ethernet pinger
License: GPL
Group: Networking/Other
Url: http://www.habets.pp.se/synscan/programs.php?prog=arping
Source: ftp://ftp.habets.pp.se/pub/synscan/arping-%version.tar.gz
Packager: Michael Shigorin <mike at altlinux.org>
# Automatically added by buildreq on Wed Oct 08 2008
BuildRequires: libnet%{libnet_ver}-devel libpcap-devel
%description
Arping is an utility to find out whether 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.
Which might not yield realistic result as well.
%prep
%setup -n %origname-%version
%build
%if "%{libnet_ver}" == "2"
make arping2
%else
make linux
%endif
%install
install -pD -m755 arping %buildroot%_sbindir/%name
%files
%doc LICENSE README arping-scan-net.sh
%_sbindir/%name
%changelog
…
Todas as alterações você pod ver aqui
%define libnet_ver 2
Name: arping2
Version: 2.08
Release: alt0.M40.1
Summary: Layer2 Ethernet pinger
License: GPL
Group: Networking/Other
Url: http://www.habets.pp.se/synscan/programs.php?prog=arping
Source: ftp://ftp.habets.pp.se/pub/synscan/arping-%version.tar.gz
Packager: Michael Shigorin <mike at altlinux.org>
# Automatically added by buildreq on Wed Oct 08 2008
BuildRequires: libnet%{libnet_ver}-devel libpcap-devel
%description
Arping is an utility to find out whether 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.
Which might not yield realistic result as well.
%prep
%setup -n %origname-%version
%build
%if "%{libnet_ver}" == "2"
make arping2
%else
make linux
%endif
%install
install -pD -m755 arping %buildroot%_sbindir/%name
%files
%doc LICENSE README arping-scan-net.sh
%_sbindir/%name
%changelog
…
Todas as alterações você pod ver aqui