diff --git a/0001-Fix-ping-man-page-syntax-error.patch b/0001-Fix-ping-man-page-syntax-error.patch new file mode 100644 index 0000000..16b0e27 --- /dev/null +++ b/0001-Fix-ping-man-page-syntax-error.patch @@ -0,0 +1,40 @@ +From e8c9d6d7aebd16b0617f00d128cbcd24c9a1094d Mon Sep 17 00:00:00 2001 +From: Nicolai Dagestad +Date: Mon, 18 Nov 2024 16:27:36 +0100 +Subject: [PATCH] Fix ping man page syntax error + +Missing tag caused broken formating (markup '.SH "EXIT STATUS"' +was displayed as text). Also convert space to tabs (consistency). + +Fixes: 6fc68b1 ("ping: Allow to disable with environment variable") +Closes: https://github.com/iputils/iputils/pull/568 +Reviewed-by: Petr Vorel +Signed-off-by: Nicolai Dagestad +[ pvorel: commit message ] +Signed-off-by: Petr Vorel +[ Upstream status: +https://github.com/iputils/iputils/commit/e8c9d6d7aebd16b0617f00d128cbcd24c9a1094d ] +--- + doc/ping.xml | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/doc/ping.xml b/doc/ping.xml +index 3efa07c..b1ad335 100644 +--- a/doc/ping.xml ++++ b/doc/ping.xml +@@ -790,9 +790,9 @@ xml:id="man.ping"> + + ENVIRONMENT + +- IPUTILS_PING_PTR_LOOKUP environment +- variable set to 0 disable reverse DNS resolution (PTR lookup) by default. +- It will be overrided by or option. ++ IPUTILS_PING_PTR_LOOKUP environment ++ variable set to 0 disable reverse DNS resolution (PTR lookup) by default. ++ It will be overrided by or option. + + + +-- +2.47.1 + diff --git a/iputils.changes b/iputils.changes index 68ddafe..ceb35a9 100644 --- a/iputils.changes +++ b/iputils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 2 17:33:13 UTC 2025 - Petr Vorel + +- Backport ping man page fix + 0001-Fix-ping-man-page-syntax-error.patch + ------------------------------------------------------------------- Thu Sep 5 10:47:27 UTC 2024 - Petr Vorel diff --git a/iputils.spec b/iputils.spec index d14ab31..ee2257a 100644 --- a/iputils.spec +++ b/iputils.spec @@ -1,7 +1,7 @@ # # spec file for package iputils # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,7 @@ License: BSD-3-Clause AND GPL-2.0-or-later Group: Productivity/Networking/Other URL: https://github.com/iputils/iputils Source0: https://github.com/iputils/iputils/releases/download/%{version}/iputils-%{version}.tar.xz +Patch0: 0001-Fix-ping-man-page-syntax-error.patch BuildRequires: docbook5-xsl-stylesheets BuildRequires: docbook_5 BuildRequires: iproute2