Mon Mar 2 10:24:54 2009 UTC ()
Recognize 2009 in Dd.


(wiz)
diff -r1.2 -r1.3 pkgsrc/textproc/mdoclint/Makefile
diff -r1.1.1.1 -r1.2 pkgsrc/textproc/mdoclint/files/mdoclint

cvs diff -r1.2 -r1.3 pkgsrc/textproc/mdoclint/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/mdoclint/Attic/Makefile 2009/03/02 09:39:53 1.2
+++ pkgsrc/textproc/mdoclint/Attic/Makefile 2009/03/02 10:24:54 1.3
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.2 2009/03/02 09:39:53 wiz Exp $ 1# $NetBSD: Makefile,v 1.3 2009/03/02 10:24:54 wiz Exp $
2 2
3DISTNAME= mdoclint-1.0 3DISTNAME= mdoclint-1.1
4CATEGORIES= textproc 4CATEGORIES= textproc
5MASTER_SITES= # none 5MASTER_SITES= # none
6DISTFILES= # none 6DISTFILES= # none
7 7
8MAINTAINER= wiz@NetBSD.org 8MAINTAINER= wiz@NetBSD.org
9#HOMEPAGE= # 9#HOMEPAGE= #
10COMMENT= Tool for verifying man pages 10COMMENT= Tool for verifying man pages
11 11
12PKG_DESTDIR_SUPPORT= user-destdir 12PKG_DESTDIR_SUPPORT= user-destdir
13INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 13INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
14 14
15CONFLICTS= mdocml-[0-9]* 15CONFLICTS= mdocml-[0-9]*
16 16

cvs diff -r1.1.1.1 -r1.2 pkgsrc/textproc/mdoclint/files/Attic/mdoclint (expand / switch to unified diff)

--- pkgsrc/textproc/mdoclint/files/Attic/mdoclint 2009/03/01 21:25:39 1.1.1.1
+++ pkgsrc/textproc/mdoclint/files/Attic/mdoclint 2009/03/02 10:24:54 1.2
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1#!@PERL5@ 1#!@PERL5@
2# 2#
3# $OpenBSD: mdoclint,v 1.13 2008/12/31 10:55:11 espie Exp $ 3# $OpenBSD: mdoclint,v 1.13 2008/12/31 10:55:11 espie Exp $
4# $NetBSD: mdoclint,v 1.1.1.1 2009/03/01 21:25:39 wiz Exp $ 4# $NetBSD: mdoclint,v 1.2 2009/03/02 10:24:54 wiz Exp $
5# 5#
6# Copyright (c) 2001-2009 Thomas Klausner 6# Copyright (c) 2001-2009 Thomas Klausner
7# All rights reserved. 7# All rights reserved.
8# 8#
9# Redistribution and use in source and binary forms, with or without 9# Redistribution and use in source and binary forms, with or without
10# modification, are permitted provided that the following conditions 10# modification, are permitted provided that the following conditions
11# are met: 11# are met:
12# 1. Redistributions of source code must retain the above copyright 12# 1. Redistributions of source code must retain the above copyright
13# notice, this list of conditions and the following disclaimer. 13# notice, this list of conditions and the following disclaimer.
14# 2. Redistributions in binary form must reproduce the above copyright 14# 2. Redistributions in binary form must reproduce the above copyright
15# notice, this list of conditions and the following disclaimer in the 15# notice, this list of conditions and the following disclaimer in the
16# documentation and/or other materials provided with the distribution. 16# documentation and/or other materials provided with the distribution.
17# 17#
@@ -147,27 +147,27 @@ my $valid_date_re; @@ -147,27 +147,27 @@ my $valid_date_re;
147 $arches_re = qr{(?:$a)}o; 147 $arches_re = qr{(?:$a)}o;
148 if (OPENBSD) { 148 if (OPENBSD) {
149 $sections_re = qr{(?:3p|[1-9])}o; 149 $sections_re = qr{(?:3p|[1-9])}o;
150 $esections_re = qr{(?:3p|[0-9])}o; 150 $esections_re = qr{(?:3p|[0-9])}o;
151 } 151 }
152 if (NETBSD) { 152 if (NETBSD) {
153 $sections_re = qr{[1-9]}o; 153 $sections_re = qr{[1-9]}o;
154 $esections_re = qr{[0-9]}o; 154 $esections_re = qr{[0-9]}o;
155 } 155 }
156 if (OPENBSD) { 156 if (OPENBSD) {
157 $valid_date_re = qr{\$Mdocdate\b}; 157 $valid_date_re = qr{\$Mdocdate\b};
158 } 158 }
159 if (NETBSD) { 159 if (NETBSD) {
160 $valid_date_re = qr{(?:January|February|March|April|May|June|July|August|September|October|November|December)\s*[1-9][0-9]*,\s*(?:198[0-9]|199[0-9]|200[012345678])$}o; 160 $valid_date_re = qr{(?:January|February|March|April|May|June|July|August|September|October|November|December)\s*[1-9][0-9]*,\s*(?:198[0-9]|199[0-9]|200[0-9])$}o;
161 } 161 }
162} 162}
163 163
164sub debug 164sub debug
165{ 165{
166 my $self = shift; 166 my $self = shift;
167 print STDOUT "debug: $self->{fn}:$self->{ln}: @_\n" if $opt_v; 167 print STDOUT "debug: $self->{fn}:$self->{ln}: @_\n" if $opt_v;
168} 168}
169 169
170sub warning 170sub warning
171{ 171{
172 my $self = shift; 172 my $self = shift;
173 print STDOUT "$self->{fn}:$self->{current_section_header}:$self->{ln}: ", join('', @_), "\n"; 173 print STDOUT "$self->{fn}:$self->{current_section_header}:$self->{ln}: ", join('', @_), "\n";