[packages/arping] - updated to 2.24
qboosh
qboosh at pld-linux.org
Sun May 5 23:44:32 CEST 2024
commit f27335a8665d7f711e08cfdbe2c81ac1ef263f41
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun May 5 21:52:13 2024 +0200
- updated to 2.24
arping-nolibs.patch | 10 ++++------
arping.spec | 7 +++++--
2 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/arping.spec b/arping.spec
index 62ab993..1c4a0c9 100644
--- a/arping.spec
+++ b/arping.spec
@@ -1,12 +1,12 @@
Summary: ARPing - ping an address by ARP packets
Summary(pl.UTF-8): ARPing - pingowanie adresów pakietami ARP
Name: arping
-Version: 2.23
+Version: 2.24
Release: 1
License: GPL v2
Group: Networking/Admin
Source0: https://www.habets.pp.se/synscan/files/%{name}-%{version}.tar.gz
-# Source0-md5: 538a27fcce5262331419518c032598da
+# Source0-md5: b4d49d2805fc7db1e7c981325b105be2
Patch0: %{name}-nolibs.patch
URL: https://www.habets.pp.se/synscan/programs_arping.html
BuildRequires: autoconf >= 2.61
@@ -48,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT
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
diff --git a/arping-nolibs.patch b/arping-nolibs.patch
index 01a915d..55e96b1 100644
--- a/arping-nolibs.patch
+++ b/arping-nolibs.patch
@@ -1,13 +1,11 @@
---- 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"
+--- 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_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])
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/arping.git/commitdiff/f27335a8665d7f711e08cfdbe2c81ac1ef263f41
More information about the pld-cvs-commit
mailing list