summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2003-07-14 15:36:27 +0000
committermartti <martti@pkgsrc.org>2003-07-14 15:36:27 +0000
commitf10364f6cb9d0819f393aa3f0601d0d8b9f79818 (patch)
tree6c9fe8bb1948bd95a3244b54f8fd9d86fb0ebe13 /pkgtools
parentf08db1a64fcfc1a9bcb59227105ad937fd216457 (diff)
downloadpkgsrc-f10364f6cb9d0819f393aa3f0601d0d8b9f79818.tar.gz
Updated pkglint to 3.56:
- COMMENTs should start with a capital letter.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/Makefile4
-rw-r--r--pkgtools/pkglint/files/pkglint.pl5
2 files changed, 6 insertions, 3 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index 6604ad6d6d7..6c11750e3e5 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -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
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 2eb064d72d7..e63da83aab8 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -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.");
}