NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/44026: netpgp: escape some hyphens used as minus signs



>Number:         44026
>Category:       bin
>Synopsis:       netpgp: escape some hyphens used as minus signs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 02 15:45:00 +0000 2010
>Originator:     Peter Pentchev
>Release:        
>Organization:
>Environment:
>Description:

Thanks for writing and maintaing netpgp!

In the process of packaging it for Debian, a Debian development tool
came up with a warning about lots of hyphens used as minus signs.
Turns out that some versions of groff, when rendering manual pages,
will turn a "-" character into a long hyphen, making the manual page
output unsuitable for e.g. copying and pasting onto a shell command line.
The attached patch escapes some of the hyphens just to make sure that
they are not mangled.

Of course, it would be perfectly understandable if the NetBSD community
decides that this is only a problem for OS's that use the weird versions
of groff (for the record, Debian's groff is patched to not do that, but
other systems are not), in which case this will remain a local patch to
the Debian port of netpgp.

>How-To-Repeat:

>Fix:
Apply the patch found at:
http://devel.ringlet.net/security/netpgp/patches/02-manpage-hyphen-minus.patch

Thanks for your time, and keep up the great work!



Home | Main Index | Thread Index | Old Index