Source: iputils
Severity: normal
Tags: patch

The package iputils build depends on the package sp which is obsolete
and will be removed from Debian.  The fix is simple, please replace sp
with the newer package opensp and replace the command nsgmls with
onsgmls.  Patch attached.

diff -Nru iputils-20150815/debian/changelog iputils-20150815/debian/changelog
--- iputils-20150815/debian/changelog	2016-03-01 09:47:28.000000000 -0500
+++ iputils-20150815/debian/changelog	2016-09-08 00:19:52.000000000 -0400
@@ -1,3 +1,10 @@
+iputils (3:20150815-3) unstable; urgency=medium
+
+  * NMU
+  * Change dependency on sp to opensp.
+
+ -- Neil Roeth <n...@debian.org>  Thu, 08 Sep 2016 00:19:52 -0400
+
 iputils (3:20150815-2) unstable; urgency=medium
 
   * Import upstream's fix to support systems with only one of IPv4 or
diff -Nru iputils-20150815/debian/control iputils-20150815/debian/control
--- iputils-20150815/debian/control	2016-03-01 09:47:28.000000000 -0500
+++ iputils-20150815/debian/control	2016-09-08 00:19:52.000000000 -0400
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Noah Meyerhans <no...@debian.org>
 Standards-Version: 3.9.7
-Build-Depends: debhelper (>= 7), sp, sgmlspl, docbook, libcap-dev, libgnutls-openssl-dev, bash (>= 3)
+Build-Depends: debhelper (>= 7), opensp, sgmlspl, docbook, libcap-dev, libgnutls-openssl-dev, bash (>= 3)
 Vcs-Git: https://anonscm.debian.org/git/collab-maint/iputils.git
 Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/iputils.git
 
diff -Nru iputils-20150815/debian/patches/replace-sp-with-opensp.patch iputils-20150815/debian/patches/replace-sp-with-opensp.patch
--- iputils-20150815/debian/patches/replace-sp-with-opensp.patch	1969-12-31 19:00:00.000000000 -0500
+++ iputils-20150815/debian/patches/replace-sp-with-opensp.patch	2016-09-08 00:19:52.000000000 -0400
@@ -0,0 +1,17 @@
+Description: Replace sp package with opensp in build dependencies.
+Author: Neil Roeth <n...@debian.org>
+Origin: other
+Last-Update: 2016-09-07
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/doc/Makefile
++++ b/doc/Makefile
+@@ -44,7 +44,7 @@
+ $(MANFILES): index.db
+ 	@set -e; \
+ 	$(SETUP_TMPDIR); \
+-	nsgmls ../$< | sgmlspl ../docbook2man-spec.pl "$(BUILD_DATE)"; \
++	onsgmls ../$< | sgmlspl ../docbook2man-spec.pl "$(BUILD_DATE)"; \
+ 	mv $@ ..; \
+ 	$(CLEAN_TMPDIR)
+ 
diff -Nru iputils-20150815/debian/patches/series iputils-20150815/debian/patches/series
--- iputils-20150815/debian/patches/series	2016-03-01 09:47:28.000000000 -0500
+++ iputils-20150815/debian/patches/series	2016-09-08 00:19:52.000000000 -0400
@@ -2,3 +2,4 @@
 upstream-make-requires-bash.patch
 reproducible_timestamps_in_generated_files.patch
 bug816227-upstream.patch
+replace-sp-with-opensp.patch

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- 
Neil Roeth

Reply via email to