---- 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.24/configure.ac.orig 2024-05-05 21:42:00.539234006 +0200
++++ arping-2.24/configure.ac 2024-05-05 21:47:33.224098364 +0200
+@@ -37,8 +37,8 @@ CHECK_COMPILER_OPTION([-std=c99])
# Checks for libraries.
AC_CHECK_LIB([m], [sqrt])
+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],
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.24
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: b4d49d2805fc7db1e7c981325b105be2
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
cp -p extra/arping-scan-net.sh \
$RPM_BUILD_ROOT%{_sbindir}/arping-scan-net.sh
+# interfaces not accessible in binary package
+%{__rm} $RPM_BUILD_ROOT%{_includedir}/arping.h
+
%clean
rm -rf $RPM_BUILD_ROOT