Package: autofs
Severity: wishlist
Version: 5.1.2-2
Tags: patch

thanks

This fixes the warning but the manpage heading now looks pretty ugly
thanks to the infelicitous line-
break

Perhaps removing the @@initdir@@@/ part of the line would be ok?


Signed-off-by: mci156 <vincent.mcint...@csiro.au>
---
 debian/patches/fix-whatis.patch | 18 ++++++++++++++++++
 debian/patches/series           |  1 +
 2 files changed, 19 insertions(+)
 create mode 100644 debian/patches/fix-whatis.patch

diff --git a/debian/patches/fix-whatis.patch b/debian/patches/fix-whatis.patch
new file mode 100644
index 0000000..386015d
--- /dev/null
+++ b/debian/patches/fix-whatis.patch
@@ -0,0 +1,18 @@
+Author: Vincent McIntyre <vincent.mcint...@csiro.au>
+Forwarded: no
+Description: Reinstate - separator in NAME section, to satisfy lintian
+
+Upstream presumably dropped reference to the init script
+because the page now describes both that and the systemd
+.service file.
+Index: autofs-5.1.2/man/autofs.8.in
+===================================================================
+--- autofs-5.1.2.orig/man/autofs.8.in
++++ autofs-5.1.2/man/autofs.8.in
+@@ -1,5 +1,6 @@
+ .TH AUTOFS 8 "9 Sep 1997"
+ .SH NAME
++@@initdir@@/autofs, autofs.service \-
+ Service control for the automounter
+ .SH SYNOPSIS
+ If a SysV init script system is being used:
diff --git a/debian/patches/series b/debian/patches/series
index 91208ef..6f6cf7a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+fix-whatis.patch
 11default_automaster_location.patch
 12disable_default_auto_master.patch
 15auto_net_nfs4.patch
-- 
2.1.4

Reply via email to