2011-08-04 11:53:42 +02:00
|
|
|
#
|
|
|
|
# spec file for package arping2
|
|
|
|
#
|
2016-12-09 14:20:49 +01:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-08-04 11:53:42 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
2012-07-01 23:27:22 +02:00
|
|
|
|
|
|
|
|
2011-08-04 11:53:42 +02:00
|
|
|
Name: arping2
|
2016-12-09 14:18:21 +01:00
|
|
|
Version: 2.17
|
2012-02-27 06:00:00 +01:00
|
|
|
Release: 0
|
2011-08-04 11:53:42 +02:00
|
|
|
Summary: Layer-2 Ethernet pinger
|
2012-02-27 06:00:00 +01:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Networking/Diagnostic
|
|
|
|
Url: http://www.habets.pp.se/synscan/programs.php?prog=arping
|
2011-07-19 23:56:12 +02:00
|
|
|
|
|
|
|
#Git-Clone: git://github.com/ThomasHabets/arping
|
2016-02-04 18:36:32 +01:00
|
|
|
Source0: http://www.habets.pp.se/synscan/files/arping-%version.tar.gz
|
|
|
|
Source1: http://www.habets.pp.se/synscan/files/arping-%version.tar.gz.asc
|
|
|
|
Source2: %name.keyring
|
2014-08-11 03:16:48 +02:00
|
|
|
Patch1: arping-setgroups.diff
|
2011-08-04 11:53:42 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-02-27 06:00:00 +01:00
|
|
|
BuildRequires: libnet-devel
|
2014-08-11 03:16:48 +02:00
|
|
|
BuildRequires: libpcap-devel
|
2011-07-19 23:56:12 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Arping is a util to find out it a specific IP address on the LAN is
|
|
|
|
"taken" and what MAC address owns it. It is designed to work on
|
|
|
|
unrouted networks and with ICMP-blocking hosts.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n arping-%version
|
2014-08-11 03:16:48 +02:00
|
|
|
%patch -P 1 -p1
|
2011-07-19 23:56:12 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
b="%buildroot";
|
2015-01-11 17:42:03 +01:00
|
|
|
%make_install
|
2011-07-19 23:56:12 +02:00
|
|
|
# Avoid collision with iputils's inferior arping.
|
|
|
|
mv "$b/%_sbindir"/{arping,%name};
|
|
|
|
mv "$b/%_mandir/man8"/{arping.8,%name.8};
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2012-07-01 23:27:22 +02:00
|
|
|
%_sbindir/arping2
|
|
|
|
%_mandir/man8/arping2.8*
|
2011-07-19 23:56:12 +02:00
|
|
|
%doc README
|
|
|
|
|
|
|
|
%changelog
|