Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id D4AA27A20B for ; Tue, 16 May 2017 13:27:41 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 47A7985583; Tue, 16 May 2017 13:27:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C9E528557C for ; Tue, 16 May 2017 13:27:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id XTftVF2QwdJT for ; Tue, 16 May 2017 13:27:40 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 0DEFA84DEF for ; Tue, 16 May 2017 13:27:40 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 0988DFBE4; Tue, 16 May 2017 13:27:40 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1494941260239940" MIME-Version: 1.0 Date: Tue, 16 May 2017 13:27:40 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/textproc/mdoclint To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20170516132740.0988DFBE4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1494941260239940 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1494941260239940 Content-Disposition: inline Content-Length: 4591 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 +.Aq Mt wiz@NetBSD.org .An Marc Espie -.Aq espie@openbsd.org +.Aq Mt espie@OpenBSD.org +.An Ingo Schwarze +.Aq Mt schwarze@usta.de .Sh BUGS The .Fl o --_----------=_1494941260239940--