Hello community,

here is the log from the commit of package arping2 for openSUSE:Factory checked 
in at 2014-08-11 10:07:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/arping2 (Old)
 and      /work/SRC/openSUSE:Factory/.arping2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "arping2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/arping2/arping2.changes  2013-01-07 
15:38:09.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.arping2.new/arping2.changes     2014-08-11 
10:08:26.000000000 +0200
@@ -1,0 +2,15 @@
+Mon Aug 11 01:10:59 UTC 2014 - [email protected]
+
+- 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 <N>
+* 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
+
+-------------------------------------------------------------------

Old:
----
  arping-2.13.tar.xz

New:
----
  arping-2.14.tar.gz
  arping-setgroups.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ arping2.spec ++++++
--- /var/tmp/diff_new_pack.KAUwnw/_old  2014-08-11 10:08:27.000000000 +0200
+++ /var/tmp/diff_new_pack.KAUwnw/_new  2014-08-11 10:08:27.000000000 +0200
@@ -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 @@
 
 %prep
 %setup -n arping-%version
+%patch -P 1 -p1
 
 %build
 %configure

++++++ arping-setgroups.diff ++++++
>From f6dc7cca6246cc61571a652fae0ea73171fc8d7b Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <[email protected]>
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 <pwd.h>
+#include <grp.h>
 #endif
 
 #if HAVE_SYS_CAPABILITY_H
-- 
2.0.0

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to