Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37815815
en ru br
ALT Linux repos
S:2.23-alt1
5.0: 2.08-alt1
4.1: 2.08-alt0.M41.1
4.0: 2.08-alt0.M40.1

Group :: Networking/Other
RPM: arping2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define origname arping
%define libnet_ver 2

Name: arping2
Version: 2.08
Release: alt0.M41.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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin