From 0ab2486f82bed9e81d3c383cf111191456651a52d7d6bf8849f73ced3c597e9d Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 1 Aug 2020 15:38:54 +0000 Subject: [PATCH 1/3] 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 --- arping-2.20.tar.gz | 3 --- arping-2.20.tar.gz.asc | 16 ---------------- arping-2.21.tar.gz | 3 +++ arping-2.21.tar.gz.asc | 16 ++++++++++++++++ arping2.changes | 10 ++++++++++ arping2.spec | 32 ++++++++++++++------------------ 6 files changed, 43 insertions(+), 37 deletions(-) delete mode 100644 arping-2.20.tar.gz delete mode 100644 arping-2.20.tar.gz.asc create mode 100644 arping-2.21.tar.gz create mode 100644 arping-2.21.tar.gz.asc diff --git a/arping-2.20.tar.gz b/arping-2.20.tar.gz deleted file mode 100644 index 3b80d40..0000000 --- a/arping-2.20.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:34e108923cb601ebdc954062d3ff0bdd44d6eff087895af48994398f08025785 -size 179007 diff --git a/arping-2.20.tar.gz.asc b/arping-2.20.tar.gz.asc deleted file mode 100644 index 7d0ed5e..0000000 --- a/arping-2.20.tar.gz.asc +++ /dev/null @@ -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----- diff --git a/arping-2.21.tar.gz b/arping-2.21.tar.gz new file mode 100644 index 0000000..c41ccf8 --- /dev/null +++ b/arping-2.21.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b6566d838c5b68d6929620057dff63cf0ec9d40b04a2d842818cb94d7e209b0 +size 181039 diff --git a/arping-2.21.tar.gz.asc b/arping-2.21.tar.gz.asc new file mode 100644 index 0000000..5a2a5b2 --- /dev/null +++ b/arping-2.21.tar.gz.asc @@ -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----- diff --git a/arping2.changes b/arping2.changes index a97b08e..1f1618c 100644 --- a/arping2.changes +++ b/arping2.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Jul 30 21:02:18 UTC 2020 - Matthias Eliasson + +- 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 diff --git a/arping2.spec b/arping2.spec index f1338d5..fecbedd 100644 --- a/arping2.spec +++ b/arping2.spec @@ -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 From 5f8dfd3ac3c3ab865ad1b58f316042648b1daac6eed1618f48a521a602816d4e Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 1 Aug 2020 16:07:44 +0000 Subject: [PATCH 2/3] undo styling massacre OBS-URL: https://build.opensuse.org/package/show/network:utilities/arping2?expand=0&rev=31 --- arping2.spec | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/arping2.spec b/arping2.spec index fecbedd..f46b4cc 100644 --- a/arping2.spec +++ b/arping2.spec @@ -23,9 +23,9 @@ Summary: Layer-2 Ethernet pinger License: GPL-2.0-or-later 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 BuildRequires: libnet-devel BuildRequires: libpcap-devel @@ -36,23 +36,22 @@ 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 -q -n arping-%{version} -%patch1 -p1 +%autosetup -n arping-%version -p1 %build %configure %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" "$b/%_sbindir/%name" +mv "$b/%_mandir/man8/arping.8" "$b/%_mandir/man8/arping2.8" %files -%{_sbindir}/arping2 -%{_mandir}/man8/arping2.8%{?ext_man} +%_sbindir/arping2 +%_mandir/man8/arping2.8* %doc README %changelog From db70e9bc25d348f82f5d76cf80c534c3512b63217feacabff34b12399a6a69be Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 1 Aug 2020 16:08:22 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/network:utilities/arping2?expand=0&rev=32 --- arping2.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/arping2.spec b/arping2.spec index f46b4cc..3599979 100644 --- a/arping2.spec +++ b/arping2.spec @@ -21,6 +21,7 @@ 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 #Git-Clone: git://github.com/ThomasHabets/arping Source0: http://www.habets.pp.se/synscan/files/arping-%version.tar.gz