[Pkg-privacy-commits] [onioncat] 250/340: New patch: 0002-Don-t-use-hyphen-as-minus-sign-in-manpage

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 13:04:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian
in repository onioncat.

commit 0fd160724dbf23dad74c6935d16c3422233bcb7f
Author: intrigeri <intrigeri at boum.org>
Date:   Wed Aug 17 23:50:08 2011 +0200

    New patch: 0002-Don-t-use-hyphen-as-minus-sign-in-manpage
---
 ...Don-t-use-hyphen-as-minus-sign-in-manpage.patch | 72 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 73 insertions(+)

diff --git a/debian/patches/0002-Don-t-use-hyphen-as-minus-sign-in-manpage.patch b/debian/patches/0002-Don-t-use-hyphen-as-minus-sign-in-manpage.patch
new file mode 100644
index 0000000..de8f5e5
--- /dev/null
+++ b/debian/patches/0002-Don-t-use-hyphen-as-minus-sign-in-manpage.patch
@@ -0,0 +1,72 @@
+From: intrigeri <intrigeri at boum.org>
+Date: Wed, 17 Aug 2011 23:48:35 +0200
+Subject: Don't use hyphen as minus sign in manpage.
+
+Detected by Lintian:
+
+N:    This manual page seems to contain a hyphen where a minus sign was
+N:    intended. By default, "-" chars are interpreted as hyphens (U+2010) by
+N:    groff, not as minus signs (U+002D). Since options to programs use minus
+N:    signs (U+002D), this means for example in UTF-8 locales that you cannot
+N:    cut and paste options, nor search for them easily. The Debian groff
+N:    package currently forces "-" to be interpreted as a minus sign due to
+N:    the number of manual pages with this problem, but this is a
+N:    Debian-specific modification and hopefully eventually can be removed.
+N:
+N:    "-" must be escaped ("\-") to be interpreted as minus. If you really
+N:    intend a hyphen (normally you don't), write it as "\(hy" to emphasise
+N:    that fact. See groff(7) and especially groff_char(7) for details, and
+N:    also the thread starting with
+N:    http://lists.debian.org/debian-devel/2003/debian-devel-200303/msg01481.html
+---
+ man/ocat.1 |   12 ++++++------
+ 1 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/man/ocat.1 b/man/ocat.1
+index 371d532..7dec1b3 100644
+--- a/man/ocat.1
++++ b/man/ocat.1
+@@ -21,16 +21,16 @@ ocat \- OnionCat creates a transparent IPv6 layer on top of Tor's hidden service
+ gcat \- GarliCat is like OnionCat but it works with I2P instead of Tor.
+ .SH SYNOPSIS
+ .B ocat
+--i \fIonion_id                      (1st form)\fP
++\-i \fIonion_id                      (1st form)\fP
+ .br
+ .B ocat
+--o \fIIPv6_address                  (2nd form)\fP
++\-o \fIIPv6_address                  (2nd form)\fP
+ .br
+ .B ocat
+ [\fIOPTION\fP] \fIonion_id                (3rd form)\fP
+ .br
+ .B ocat
+--R [\fIOPTION\fP]\fI                      (4th form)\fP
++\-R [\fIOPTION\fP]\fI                      (4th form)\fP
+ .br
+ .B gcat
+ [\fIOPTION\fP] \fIi2p_id                  (5th form)\fP
+@@ -68,11 +68,11 @@ forwarding is to build a IPv4-through-IPv6 tunnel through OnionCat.
+ \fB\-a\fP
+ OnionCat creates a log file at $HOME/.ocat/connect_log. All incoming connects are
+ logged to that file. $HOME is determined from the user under which OnionCat runs
+-(see option -u).
++(see option \-u).
+ .TP
+ \fB\-b\fP
+ Run OnionCat in background. This is default. OnionCat will detach from a running
+-shell and close standard IO if no log file is given with option -L.
++shell and close standard IO if no log file is given with option \-L.
+ .TP
+ \fB\-B\fP
+ Run OnionCat in foreground. OnionCat will log to stderr by default.
+@@ -87,7 +87,7 @@ in production environments.
+ \fB\-d\fP \fIn\fP
+ Set debug level to \fIn\fP. Default = 7 which is maximum. Debug output will
+ only be created if OnionCat was compiled with option DEBUG (i.e. configure was
+-run with option --enable-debug).
++run with option \-\-enable\-debug).
+ .TP
+ \fB\-f\fP \fIconfig file\fP
+ Read initial configuration from \fIconfig file\fP. 
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index e4cc268..dacf701 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Fix-spelling-typos-in-manpage.patch
+0002-Don-t-use-hyphen-as-minus-sign-in-manpage.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onioncat.git



More information about the Pkg-privacy-commits mailing list