summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorabs <abs>2001-05-30 16:44:46 +0000
committerabs <abs>2001-05-30 16:44:46 +0000
commit9501e249f1885483110068ed4dccffd6ef4afbbf (patch)
tree6cb1b085d3524f830602f7e81c89ca518f2d0cc4 /pkgtools
parentcba1d07f215c3faf6df4d5d173e919a079f480a6 (diff)
downloadpkgsrc-9501e249f1885483110068ed4dccffd6ef4afbbf.tar.gz
Update pkglint to 2.55
Fix lintpkgsrc to correctly parse packages containing '+', from PR 12996 by Wolfgang Rupprecht
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/Makefile4
-rwxr-xr-xpkgtools/pkglint/files/lintpkgsrc.pl6
2 files changed, 6 insertions, 4 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index dc693320e33..6784559d09d 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.96 2001/05/21 13:27:14 abs Exp $
+# $NetBSD: Makefile,v 1.97 2001/05/30 16:44:46 abs Exp $
#
-DISTNAME= pkglint-2.54
+DISTNAME= pkglint-2.55
CATEGORIES= pkgtools devel
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/pkglint/files/lintpkgsrc.pl b/pkgtools/pkglint/files/lintpkgsrc.pl
index 0aa49894fdd..0ad84104793 100755
--- a/pkgtools/pkglint/files/lintpkgsrc.pl
+++ b/pkgtools/pkglint/files/lintpkgsrc.pl
@@ -1,6 +1,6 @@
#!@PREFIX@/bin/perl
-# $NetBSD: lintpkgsrc.pl,v 1.50 2001/05/21 13:27:14 abs Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.51 2001/05/30 16:44:46 abs Exp $
# Written by David Brownlee <abs@netbsd.org>.
#
@@ -501,7 +501,9 @@ sub glob2regex
{ $regex .= '.*'; }
elsif ($_ eq '?')
{ $regex .= '.'; }
- elsif ($_ eq '\\')
+ elsif ($_ eq '+')
+ { $regex .= '.'; }
+ elsif ($_ eq '\\+')
{ $regex .= $_ . shift @chars; }
elsif ($_ eq '.' || $_ eq '|' )
{ $regex .= quotemeta; }