[packages/arping] - updated to 2.23
qboosh
qboosh at pld-linux.org
Sat Dec 23 17:34:44 CET 2023
commit 4ac1d33a316839e8b5b097e80c93394f2fb3e098
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Dec 23 17:02:49 2023 +0100
- updated to 2.23
arping-nolibs.patch | 12 +++++++-----
arping.spec | 9 +++++----
2 files changed, 12 insertions(+), 9 deletions(-)
---
diff --git a/arping.spec b/arping.spec
index f01ba6c..62ab993 100644
--- a/arping.spec
+++ b/arping.spec
@@ -1,19 +1,20 @@
Summary: ARPing - ping an address by ARP packets
Summary(pl.UTF-8): ARPing - pingowanie adresów pakietami ARP
Name: arping
-Version: 2.21
+Version: 2.23
Release: 1
License: GPL v2
Group: Networking/Admin
-Source0: http://www.habets.pp.se/synscan/files/%{name}-%{version}.tar.gz
-# Source0-md5: 14ba0be312cb37a01954e83c23d6fc02
+Source0: https://www.habets.pp.se/synscan/files/%{name}-%{version}.tar.gz
+# Source0-md5: 538a27fcce5262331419518c032598da
Patch0: %{name}-nolibs.patch
-URL: http://www.habets.pp.se/synscan/programs.php?prog=arping
+URL: https://www.habets.pp.se/synscan/programs_arping.html
BuildRequires: autoconf >= 2.61
BuildRequires: automake
BuildRequires: libcap-devel
BuildRequires: libnet-devel > 1.1
BuildRequires: libpcap-devel
+BuildRequires: libseccomp-devel
Requires: bc
Obsoletes: iputils-arping
Conflicts: iputils <= 1:ss021109-2
diff --git a/arping-nolibs.patch b/arping-nolibs.patch
index 6c9c014..01a915d 100644
--- a/arping-nolibs.patch
+++ b/arping-nolibs.patch
@@ -1,13 +1,15 @@
---- arping-2.14/configure.ac.orig 2014-06-29 12:05:51.000000000 +0200
-+++ arping-2.14/configure.ac 2014-07-04 20:21:49.765587884 +0200
-@@ -17,8 +17,8 @@
+--- arping-2.23/configure.ac.orig 2023-12-23 15:50:50.457952760 +0100
++++ arping-2.23/configure.ac 2023-12-23 16:52:39.041194975 +0100
+@@ -22,9 +22,9 @@ AC_PROG_MAKE_SET
+ CPPFLAGS="$CPPFLAGS -D_DEFAULT_SOURCE=1"
# Checks for libraries.
- AC_CHECK_LIB([m], [sqrt])
+-AC_CHECK_LIB([m], [sqrt])
-AC_CHECK_LIB([socket], [socket])
-AC_CHECK_LIB([nsl], [gethostbyname])
++AC_SEARCH_LIBS([sqrt], [m])
+AC_SEARCH_LIBS([socket], [socket])
+AC_SEARCH_LIBS([gethostbyname], [nsl])
AC_CHECK_LIB([cap], [cap_init])
+ AC_CHECK_LIB([seccomp], [seccomp_init])
AC_CHECK_LIB([rt], [clock_gettime])
- AC_CHECK_LIB([net], [libnet_name_resolve],
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/arping.git/commitdiff/4ac1d33a316839e8b5b097e80c93394f2fb3e098
More information about the pld-cvs-commit
mailing list