diff options
author | wiz <wiz@pkgsrc.org> | 2001-02-22 14:47:32 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-02-22 14:47:32 +0000 |
commit | c5893428ed2404fe696d04a55cf29b685d484354 (patch) | |
tree | 61722c6c16efb78a89899a37aa302d375e5fbe83 | |
parent | fb014af0afdeb63c0943052896b1505bf7b795de (diff) | |
download | pkgsrc-c5893428ed2404fe696d04a55cf29b685d484354.tar.gz |
Add length check for COMMENT. Bump to 2.38.
-rw-r--r-- | pkgtools/pkglint/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index 9bf6efdd10f..2852d2ef1c0 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.79 2001/02/17 17:51:29 wiz Exp $ +# $NetBSD: Makefile,v 1.80 2001/02/22 14:47:32 wiz Exp $ # -DISTNAME= pkglint-2.37 +DISTNAME= pkglint-2.38 CATEGORIES= pkgtools devel MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 96def7e1c0b..2cedcc82310 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -12,7 +12,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.39 2001/02/16 13:06:19 wiz Exp $ +# $NetBSD: pkglint.pl,v 1.40 2001/02/22 14:47:33 wiz Exp $ # # This version contains some changes necessary for NetBSD packages # done by Hubert Feyrer <hubertf@netbsd.org> and @@ -1148,6 +1148,9 @@ EOF if ($tmp2 =~ /^(a|an) /i) { &perror("WARN: COMMENT should not begin with '$1 '."); } + if (length($tmp2) > 70) { + &perror("WARN: COMMENT should not be longer than 70 characters."); + } &checkearlier($tmp, @varnames); $tmp = "\n" . $tmp; |