diff --git a/arping-2.13.tar.xz b/arping-2.13.tar.xz deleted file mode 100644 index bfb97de..0000000 --- a/arping-2.13.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fee6b118b9fb733c20dd5928eb020312fa5ba50a9da59da83ba3dd4e3220cec5 -size 117132 diff --git a/arping-2.14.tar.gz b/arping-2.14.tar.gz new file mode 100644 index 0000000..ba58a60 --- /dev/null +++ b/arping-2.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6cb8f29b3581c2a6c927ae2c4315a6b2d8b3ce688d52aee728e6857148be6f20 +size 147908 diff --git a/arping-setgroups.diff b/arping-setgroups.diff new file mode 100644 index 0000000..6ed7431 --- /dev/null +++ b/arping-setgroups.diff @@ -0,0 +1,24 @@ +From f6dc7cca6246cc61571a652fae0ea73171fc8d7b Mon Sep 17 00:00:00 2001 +From: Jan Engelhardt +Date: Mon, 11 Aug 2014 03:14:41 +0200 +Subject: [PATCH] src: avoid relying on implicitly-defined setgroups + +--- + src/arping.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/arping.c b/src/arping.c +index d0f501d..ee9ccb4 100644 +--- a/src/arping.c ++++ b/src/arping.c +@@ -87,6 +87,7 @@ + + #if HAVE_PWD_H + #include ++#include + #endif + + #if HAVE_SYS_CAPABILITY_H +-- +2.0.0 + diff --git a/arping2.changes b/arping2.changes index 0c7cee4..11b434c 100644 --- a/arping2.changes +++ b/arping2.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon Aug 11 01:10:59 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 2.14 +* Drop privileges, where possible. +* Added ability to send unsolicited replies, instead of requests + (-P option). +* Quit after N replies, with -C +* Beeping (-a) now works in quiet (-q) and cisco (-D) mode. +* Cisco mode (-D) now works when pinging MACs. +* Work around libnet interface autodetection bug. +* Added -W, like -w but in seconds. +- Add arping-setgroups.diff to fix use of implicitly-declared + function + ------------------------------------------------------------------- Sun Dec 30 05:42:51 UTC 2012 - jengelh@inai.de diff --git a/arping2.spec b/arping2.spec index b888732..a47ce88 100644 --- a/arping2.spec +++ b/arping2.spec @@ -1,7 +1,7 @@ # # spec file for package arping2 # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,25 +17,23 @@ Name: arping2 -Version: 2.13 +Version: 2.14 Release: 0 Summary: Layer-2 Ethernet pinger License: GPL-2.0+ Group: Productivity/Networking/Diagnostic Url: http://www.habets.pp.se/synscan/programs.php?prog=arping -#Freecode-URL: http://freecode.com/projects/arping/ #Git-Clone: git://github.com/ThomasHabets/arping -Source: arping-%version.tar.xz +Source: http://www.habets.pp.se/synscan/files/arping-2.14.tar.gz +Patch1: arping-setgroups.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} <= 1130 BuildRequires: libnet -BuildRequires: libpcap-devel %else BuildRequires: libnet-devel -BuildRequires: libpcap-devel %endif -BuildRequires: xz +BuildRequires: libpcap-devel %description Arping is a util to find out it a specific IP address on the LAN is @@ -44,6 +42,7 @@ unrouted networks and with ICMP-blocking hosts. %prep %setup -n arping-%version +%patch -P 1 -p1 %build %configure