SHA256
1
0
forked from pool/arping2

Accepting request 823634 from home:elimat:branches:network:utilities

- Update to version 2.21 
  * Use more modern pcap API calls, when available
  * Add payload data to mac ping
  * chdir(/) after chroot()
  * Misc minor cleanup
- Run spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/823634
OBS-URL: https://build.opensuse.org/package/show/network:utilities/arping2?expand=0&rev=30
This commit is contained in:
Jan Engelhardt 2020-08-01 15:38:54 +00:00 committed by Git OBS Bridge
parent 89b6d53d9e
commit 0ab2486f82
6 changed files with 43 additions and 37 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:34e108923cb601ebdc954062d3ff0bdd44d6eff087895af48994398f08025785
size 179007

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEmQeGmIok9S8cLof2OaSe6kYKAWkFAl1ZM8AACgkQOaSe6kYK
AWm/tw//aPtF2TyUntDhuA3rHpeELU6EKuN3tddOKbAHiRLzGZNDmc9h4xTy9eRi
ooRp1rdyKKdkEqTxr6HO9PTGWQD1TvwsVJh7Is4LNQAJPTOAxHsG8eXz2RBYkyKx
BNE5D0h4Hg0MTLfbdhyUdcBbYIib0pftvmsa161JQPtz++nvHQVLD+E/9g0uqkmM
Bfznycm5pkXir0m2ADrpPtiRc9X75pRS+rrMc6Onqvg2mR3n1qo7s/LeYQpUXRyQ
0JK043wP53/TtjvlbXTchlwRNM1XFpSAXIarrtqOel7DOgizDXxqFFUj5lto0/R+
6uEFnFSa0GWupU9h1fi3UML219gQ0umU5+LdJelcg/G4d07FKAfaBFZ9KJ0OdlMx
q/zq7h9SjImxxztFZsxdikhaLlLxxS9yopgrh3acqTTdzdJdrjEMk34ESnGUiNj8
jQ8b0P08IYwrt++Te75/t0Znp5+7Uis0mZyMwl9pEr3Et/imqS60zjF2t3qOFNut
Y+fzpXlhz1uKDMVM9oNBxEkLxHxoccKB/Q3liNwfNh8oyJYwrD5Dl5SlQ9lQCF1g
iamhmKDSreTx/2B66LyWs38u7u/ySJbTQyW9lxkDOdB/zH6v9mrR2MlfqImKOGlG
AMFHQa7g9A+v2VDFvNSHwz4BS8Z6TDjmmklYFfmx32QxmdGXriI=
=5zuC
-----END PGP SIGNATURE-----

3
arping-2.21.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2b6566d838c5b68d6929620057dff63cf0ec9d40b04a2d842818cb94d7e209b0
size 181039

16
arping-2.21.tar.gz.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEmQeGmIok9S8cLof2OaSe6kYKAWkFAl5k//gACgkQOaSe6kYK
AWnqsg//WfUTsppHKLXxnFhnj4VO3b5hc5cXsZ+JqZK048ne7SqrPlJ6a2hj9/PX
I7FpXwsBCoQVuVPwCLtbKXsHWKvHMftV59+qwePYmafsd0MXI7b/eevHkYDHYN+D
8y6kA/EZlSSH9MJthf9OtjRXdMR0d9A7UjDoJriH1s8bQ08kGd7bSzzNCiA3hrai
EmQskG7k4E9a1fHAIbjN0UukMKG0j+c7hR5ehOXAvqZd5qhbJVfrUXt38IJxxkzg
aMNFI7hbiKB51ySyjNZF2rFxzDf3L7R6GMnFqAnXpHCyyq1+WWgsbmwyk/q4C0/M
Sm+40vkqa1zkJUBzF+zrPEgCDLTQLbiiEDvxpcNkmIOSQZOifSzWnZNUTCCHF7vf
CVMCKyw4yZTqHjRjOprelyU8Xbp3dj8j6U/B5F1s7HHVrQH9Uc5Yeeet79koguWH
XhOm0qc1KiQtTjmcsFpGiGFM0dnZWxRNIY9MynzwUI5OxPGcR39IJeHhx7YVdIZg
acTf1xVhxyg6LUBSbSvCl2+c3po7AxjlnvPV9WJewU4rBCNfDz4etWNULAPTv1km
mCKqLCfNk8fmWTtd+f6xIGOUIKgObyzfLb19iWTCXE9K71j+HbBFZb5JW++YZBDl
L2Tr8uJ+KxViUiE9YRa7jvT6PiTiOu6ZeNEQYSKbSRK29sm62EM=
=7It6
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Jul 30 21:02:18 UTC 2020 - Matthias Eliasson <elimat@opensuse.org>
- Update to version 2.21
* Use more modern pcap API calls, when available
* Add payload data to mac ping
* chdir(/) after chroot()
* Misc minor cleanup
- Run spec-cleaner
-------------------------------------------------------------------
Wed Aug 21 20:23:50 UTC 2019 - Benoît Monin <benoit.monin@gmx.fr>

View File

@ -1,7 +1,7 @@
#
# spec file for package arping2
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,19 +17,16 @@
Name: arping2
Version: 2.20
Version: 2.21
Release: 0
Summary: Layer-2 Ethernet pinger
License: GPL-2.0-or-later
Group: Productivity/Networking/Diagnostic
Url: http://www.habets.pp.se/synscan/programs.php?prog=arping
URL: http://www.habets.pp.se/synscan/programs.php?prog=arping
#Git-Clone: git://github.com/ThomasHabets/arping
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
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
Patch1: arping-setgroups.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libnet-devel
BuildRequires: libpcap-devel
@ -39,24 +36,23 @@ Arping is a util to find out it a specific IP address on the LAN is
unrouted networks and with ICMP-blocking hosts.
%prep
%setup -n arping-%version
%patch -P 1 -p1
%setup -q -n arping-%{version}
%patch1 -p1
%build
%configure
make %{?_smp_mflags}
%make_build
%install
b="%buildroot";
b="%{buildroot}";
%make_install
# Avoid collision with iputils's inferior arping.
mv "$b/%_sbindir"/{arping,%name};
mv "$b/%_mandir/man8"/{arping.8,%name.8};
mv "$b/%{_sbindir}"/{arping,%{name}};
mv "$b/%{_mandir}/man8"/{arping.8,%{name}.8};
%files
%defattr(-,root,root)
%_sbindir/arping2
%_mandir/man8/arping2.8*
%{_sbindir}/arping2
%{_mandir}/man8/arping2.8%{?ext_man}
%doc README
%changelog