[packages/echoping] Rel 12

arekm arekm at pld-linux.org
Mon Nov 24 19:38:09 CET 2025


commit 10d13f2efbc5e22d5a276612a3d43f46f9013ac7
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Nov 24 19:38:04 2025 +0100

    Rel 12

 build.patch   | 11 +++++++++++
 echoping.spec |  5 ++++-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/echoping.spec b/echoping.spec
index b49fcbb..ce088a8 100644
--- a/echoping.spec
+++ b/echoping.spec
@@ -2,7 +2,7 @@ Summary:	Non-suid ping
 Summary(pl.UTF-8):	ping bez suida
 Name:		echoping
 Version:	6.0.2
-Release:	11
+Release:	12
 License:	GPL v2
 Group:		Networking/Admin
 Source0:	http://dl.sourceforge.net/echoping/%{name}-%{version}.tar.gz
@@ -10,6 +10,7 @@ Source0:	http://dl.sourceforge.net/echoping/%{name}-%{version}.tar.gz
 Patch0:		echoping-no-versioned-modules.patch
 Patch1:		echoping-so.patch
 Patch2:		gcc10.patch
+Patch3:		build.patch
 URL:		http://echoping.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -49,6 +50,7 @@ Pliki nagłówkowe echoping library.
 %patch -P0 -p1
 %patch -P1 -p1
 %patch -P2 -p1
+%patch -P3 -p1
 
 %build
 %{__libtoolize}
@@ -72,6 +74,7 @@ for d in dns ldap postgresql random whois ; do
 	cd -
 done
 %configure \
+	CFLAGS="-DLDAP_DEPRECATED=1 %{rpmcflags} -std=gnu17" \
 	--with-ssl \
 	--without-gnutls \
 	--disable-static
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..dbe9649
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,11 @@
+--- echoping-6.0.2/echoping.h~	2025-11-24 19:32:40.000000000 +0100
++++ echoping-6.0.2/echoping.h	2025-11-24 19:33:02.035647267 +0100
+@@ -147,6 +147,8 @@ typedef void (*terminate_f) ();
+ extern terminate_f plugin_terminate;
+ #endif
+ 
++char *to_upper(char *);
++
+ #endif
+ 
+ extern struct timeval null_timeval;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/echoping.git/commitdiff/10d13f2efbc5e22d5a276612a3d43f46f9013ac7




More information about the pld-cvs-commit mailing list