Updated pkglint to 3.56:

- COMMENTs should start with a capital letter.
This commit is contained in:
martti 2003-07-14 15:36:27 +00:00
parent f08db1a64f
commit f10364f6cb
2 changed files with 6 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.161 2003/06/15 22:19:46 abs Exp $
# $NetBSD: Makefile,v 1.162 2003/07/14 15:36:27 martti Exp $
#
DISTNAME= pkglint-3.55
DISTNAME= pkglint-3.56
WRKSRC= ${WRKDIR}
CATEGORIES= pkgtools devel
MASTER_SITES= # empty

View file

@ -11,7 +11,7 @@
# Freely redistributable. Absolutely no warranty.
#
# From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp
# $NetBSD: pkglint.pl,v 1.88 2003/05/27 17:14:52 wiz Exp $
# $NetBSD: pkglint.pl,v 1.89 2003/07/14 15:36:29 martti Exp $
#
# This version contains lots of changes necessary for NetBSD packages
# done by Hubert Feyrer <hubertf@netbsd.org>,
@ -1243,6 +1243,9 @@ EOF
if ($tmp2 =~ /^(a|an) /i) {
&perror("WARN: COMMENT should not begin with '$1 '.");
}
if ($tmp2 =~ /^[a-z]/) {
&perror("WARN: COMMENT should start with a capital letter.");
}
if (length($tmp2) > 70) {
&perror("WARN: COMMENT should not be longer than 70 characters.");
}