summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-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.