pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/mdoclint



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue May 16 13:27:39 UTC 2017

Modified Files:
        pkgsrc/textproc/mdoclint: Makefile
        pkgsrc/textproc/mdoclint/files: mdoclint mdoclint.1

Log Message:
Remove -H, it was only needed for mdoc2html when we were still using groff.

>From Ingo Schwarze.

Mention Ingo in man page.
Bump version.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 pkgsrc/textproc/mdoclint/Makefile
cvs rdiff -u -r1.71 -r1.72 pkgsrc/textproc/mdoclint/files/mdoclint
cvs rdiff -u -r1.17 -r1.18 pkgsrc/textproc/mdoclint/files/mdoclint.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/mdoclint/Makefile
diff -u pkgsrc/textproc/mdoclint/Makefile:1.62 pkgsrc/textproc/mdoclint/Makefile:1.63
--- pkgsrc/textproc/mdoclint/Makefile:1.62      Mon May 15 09:33:03 2017
+++ pkgsrc/textproc/mdoclint/Makefile   Tue May 16 13:27:39 2017
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.62 2017/05/15 09:33:03 wiz Exp $
+# $NetBSD: Makefile,v 1.63 2017/05/16 13:27:39 wiz Exp $
 
-DISTNAME=      mdoclint-1.51
+DISTNAME=      mdoclint-1.52
 CATEGORIES=    textproc
 MASTER_SITES=  # none
 DISTFILES=     # none

Index: pkgsrc/textproc/mdoclint/files/mdoclint
diff -u pkgsrc/textproc/mdoclint/files/mdoclint:1.71 pkgsrc/textproc/mdoclint/files/mdoclint:1.72
--- pkgsrc/textproc/mdoclint/files/mdoclint:1.71        Mon May 15 09:33:03 2017
+++ pkgsrc/textproc/mdoclint/files/mdoclint     Tue May 16 13:27:39 2017
@@ -1,7 +1,7 @@
 #!@PERL5@
 #
 # $OpenBSD: mdoclint,v 1.48 2016/01/24 20:10:48 schwarze Exp $
-# $NetBSD: mdoclint,v 1.71 2017/05/15 09:33:03 wiz Exp $
+# $NetBSD: mdoclint,v 1.72 2017/05/16 13:27:39 wiz Exp $
 #
 # Copyright (c) 2001-2017 Thomas Klausner
 # All rights reserved.
@@ -42,7 +42,7 @@ use constant {
 };
 
 use vars qw(
-       $opt_D $opt_d $opt_e $opt_F $opt_f $opt_H $opt_h $opt_l
+       $opt_D $opt_d $opt_e $opt_F $opt_f $opt_h $opt_l
        $opt_m $opt_n $opt_o $opt_p $opt_r $opt_S $opt_v $opt_w
        $opt_X $opt_x
 );
@@ -64,7 +64,6 @@ usage:        mdoclint [-$options] file ...
        -e      warn about unsorted errors (for functions)
        -F      fix whitespace problems (asks before overwriting)
        -f      warn about possible incorrect .Fn syntax
-       -H      warn about characters that produce problems in HTML output
        -h      display this help text
        -l      warn about unknown libraries
        -m      warn about man pages that are not in mdoc(7) format
@@ -247,7 +246,7 @@ sub handle_options
        $opt_h and usage();
 
        # default to all warnings if no flag is set
-       unless ($opt_D or $opt_d or $opt_e or $opt_f or $opt_H or $opt_l
+       unless ($opt_D or $opt_d or $opt_e or $opt_f or $opt_l
                or $opt_m or $opt_n or $opt_o or $opt_p or $opt_r
                or $opt_S or $opt_X or $opt_x) {
                $opt_D = $opt_d = $opt_f = $opt_m =
@@ -443,18 +442,6 @@ sub process_line
        if (/^\.Fn.*,.+/o) {
                $s->warning("possible .Fn misuse: `$_'") if $opt_f;
        }
-       if (OPENBSD) {
-               if (/^(?:[<>])/o or /[^\\][<>]/o) {
-                       $s->warning("use \*(Lt \*(Gt (or .Aq) ",
-                           "instead of < >: `$_'") if $opt_H;
-               }
-       }
-       if (NETBSD) {
-               if (/^(?:[<>&])/o or /[^\\][<>&]/o) {
-                       $s->warning("use \*[Lt] \*[Gt] (or .Aq) \*[Am] ",
-                           "instead of < > &: `$_'") if $opt_H;
-               }
-       }
 
        if (/\b(Free|Net|DragonFly|Open)BSD\b/o
            and not /\b(?:www|ftp)\.(?:Free|Net|DragonFly|Open)BSD\.org\b/o

Index: pkgsrc/textproc/mdoclint/files/mdoclint.1
diff -u pkgsrc/textproc/mdoclint/files/mdoclint.1:1.17 pkgsrc/textproc/mdoclint/files/mdoclint.1:1.18
--- pkgsrc/textproc/mdoclint/files/mdoclint.1:1.17      Sun May 14 18:04:23 2017
+++ pkgsrc/textproc/mdoclint/files/mdoclint.1   Tue May 16 13:27:39 2017
@@ -1,5 +1,5 @@
 .\"    $OpenBSD: mdoclint.1,v 1.7 2009/04/13 19:06:38 jmc Exp $
-.\" $NetBSD: mdoclint.1,v 1.17 2017/05/14 18:04:23 wiz Exp $
+.\" $NetBSD: mdoclint.1,v 1.18 2017/05/16 13:27:39 wiz Exp $
 .\"
 .\" Copyright (c) 2001-2013 Thomas Klausner
 .\" All rights reserved.
@@ -25,7 +25,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd May 14, 2017
+.Dd May 15, 2017
 .Dt MDOCLINT 1
 .Os
 .Sh NAME
@@ -33,7 +33,7 @@
 .Nd man page verifier
 .Sh SYNOPSIS
 .Nm
-.Op Fl DdeFfHhlmnoprSvwXx
+.Op Fl DdeFfhlmnoprSvwXx
 .Ar
 .Sh DESCRIPTION
 .Nm
@@ -43,7 +43,7 @@ errors that occur when writing man pages
 If no flags are given,
 .Fl DdeflmnoprSXx
 is assumed (that is, everything except
-.Fl FHhvw ) .
+.Fl Fhvw ) .
 .Pp
 The options are as follows:
 .Bl -tag -width xxxx -compact
@@ -60,21 +60,6 @@ Warn about possible .Fn abuse; its argum
 .Sq \&"
 separately, not together and separated by commas.
 Those will be automatically added by mdoc.
-.It Fl H
-Show warnings for characters that might generate problems in
-HTML output:
-.Sq \*[Lt] ,
-.Sq \*[Gt] ,
-and
-.Sq \*[Am] .
-Replace a pair of angle quotes with the .Aq macro.
-Otherwise, the replacements are
-.Dq \e*[Lt] ,
-.Dq \e*[Gt] ,
-and
-.Dq \e*[Am] .
-This option is off by default,
-as these characters no longer pose any problems.
 .It Fl h
 Display usage.
 .It Fl l
@@ -140,9 +125,11 @@ and
 .Xr mdoc.samples 7
 .Sh AUTHORS
 .An Thomas Klausner
-.Aq wiz%netbsd.org@localhost
+.Aq Mt wiz%NetBSD.org@localhost
 .An Marc Espie
-.Aq espie%openbsd.org@localhost
+.Aq Mt espie%OpenBSD.org@localhost
+.An Ingo Schwarze
+.Aq Mt schwarze%usta.de@localhost
 .Sh BUGS
 The
 .Fl o



Home | Main Index | Thread Index | Old Index