summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpetere <petere@0070b5ef-2f16-0410-befa-9a02bd1d6ddb>2011-11-27 19:25:56 +0000
committerpetere <petere@0070b5ef-2f16-0410-befa-9a02bd1d6ddb>2011-11-27 19:25:56 +0000
commit7b8d3ce8aa8f35f15972bf6d8885177ada23d83c (patch)
tree11624c2dd8b52f7f620c135b0c9db227ea8c4585
parente532e0999d2e51421a2981ae40dd2b55cc417a34 (diff)
downloadntp-7b8d3ce8aa8f35f15972bf6d8885177ada23d83c.tar.gz
Add sntp-manpage.patch to fix some errors in sntp man page pointed out
by lintian git-svn-id: svn://svn.debian.org/pkg-ntp/ntp/trunk@340 0070b5ef-2f16-0410-befa-9a02bd1d6ddb
-rw-r--r--debian/changelog4
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/sntp-manpage.patch26
3 files changed, 30 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 2356245..ff28ced 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,8 +8,10 @@ ntp (1:4.2.6.p3+dfsg-2) UNRELEASED; urgency=low
#627403)
* Add -Wl,--as-needed to LDFLAGS, which drops the dependency of ntpdate
on libcap2
+ * Add sntp-manpage.patch to fix some errors in sntp man page pointed out
+ by lintian
- -- Peter Eisentraut <petere@debian.org> Sun, 27 Nov 2011 21:08:37 +0200
+ -- Peter Eisentraut <petere@debian.org> Sun, 27 Nov 2011 21:24:54 +0200
ntp (1:4.2.6.p3+dfsg-1) unstable; urgency=low
diff --git a/debian/patches/series b/debian/patches/series
index c51774f..8fe5cf8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@ openssl-disable-check.patch
libedit.patch
autotools.patch
format-security.patch
+sntp-manpage.patch
diff --git a/debian/patches/sntp-manpage.patch b/debian/patches/sntp-manpage.patch
new file mode 100644
index 0000000..e4fb727
--- /dev/null
+++ b/debian/patches/sntp-manpage.patch
@@ -0,0 +1,26 @@
+Description: Fix errors in sntp man page
+ W: ntp: manpage-has-errors-from-man usr/share/man/man1/sntp.1.gz 44: warning: macro `1996-10-15' not defined
+ I: ntp: hyphen-used-as-minus-sign usr/share/man/man1/sntp.1.gz:133
+Author: Peter Eisentraut <petere@debian.org>
+
+--- a/sntp/sntp.1
++++ b/sntp/sntp.1
+@@ -40,8 +40,7 @@ and the
+ .B "'+4.567 +/- 0.089 secs'"
+ indicates the local clock is 4.567 seconds behind the correct time
+ (so 4.567 seconds must be added to the local clock to get it to be correct),
+-and the time of
+-'1996-10-15 20:17:25.123'
++and the time of '1996-10-15 20:17:25.123'
+ is believed to be correct to within
+ +/- 0.089
+ seconds.
+@@ -130,7 +129,7 @@ This option takes an integer number as i
+ .sp
+ This option enables authentication using the key specified in this option's argument.
+ The argument of this option is the keyid, a number specified in the keyfile as this
+-key's identifier. See the keyfile option (-k) for more details.
++key's identifier. See the keyfile option (\-k) for more details.
+ .TP
+ .BR \-k " \fIfile-name\fP, " \--keyfile "=" \fIfile-name\fP
+ Specify a keyfile. SNTP will look in this file for the key specified with \-a.