2011-08-04 11:53:42 +02:00
|
|
|
#
|
|
|
|
# spec file for package arping2
|
|
|
|
#
|
2021-07-10 10:47:03 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
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.
|
|
|
|
|
2019-08-22 07:43:47 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-08-04 11:53:42 +02:00
|
|
|
#
|
2012-07-01 23:27:22 +02:00
|
|
|
|
|
|
|
|
2011-08-04 11:53:42 +02:00
|
|
|
Name: arping2
|
2021-07-10 10:47:03 +02:00
|
|
|
Version: 2.22
|
2012-02-27 06:00:00 +01:00
|
|
|
Release: 0
|
2011-08-04 11:53:42 +02:00
|
|
|
Summary: Layer-2 Ethernet pinger
|
2019-08-22 07:43:47 +02:00
|
|
|
License: GPL-2.0-or-later
|
2020-08-01 18:08:22 +02:00
|
|
|
Group: Productivity/Networking/Diagnostic
|
2020-08-01 17:38:54 +02:00
|
|
|
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
|
2021-07-10 10:47:03 +02:00
|
|
|
Source: http://www.habets.pp.se/synscan/files/arping-%version.tar.gz
|
|
|
|
Source2: http://www.habets.pp.se/synscan/files/arping-%version.tar.gz.asc
|
|
|
|
Source3: %name.keyring
|
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
|
2021-07-10 10:47:03 +02:00
|
|
|
%autosetup -n arping-%version
|
2011-07-19 23:56:12 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2020-08-01 17:38:54 +02:00
|
|
|
%make_build
|
2011-07-19 23:56:12 +02:00
|
|
|
|
|
|
|
%install
|
2020-08-01 18:07:44 +02:00
|
|
|
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.
|
2020-08-01 18:07:44 +02:00
|
|
|
mv "$b/%_sbindir/arping" "$b/%_sbindir/%name"
|
|
|
|
mv "$b/%_mandir/man8/arping.8" "$b/%_mandir/man8/arping2.8"
|
2011-07-19 23:56:12 +02:00
|
|
|
|
|
|
|
%files
|
2020-08-01 18:07:44 +02:00
|
|
|
%_sbindir/arping2
|
|
|
|
%_mandir/man8/arping2.8*
|
2011-07-19 23:56:12 +02:00
|
|
|
%doc README
|
|
|
|
|
|
|
|
%changelog
|