diff options
author | tnn <tnn> | 2015-10-05 13:12:12 +0000 |
---|---|---|
committer | tnn <tnn> | 2015-10-05 13:12:12 +0000 |
commit | 37bf7684fe49e4b0e2bc49528746d1a7425b786a (patch) | |
tree | 7a3d202481761c014055074efc09d20c7ea015ba /pkgtools | |
parent | f341114a10603d9ae979d80932905a07c6f2c12b (diff) | |
download | pkgsrc-37bf7684fe49e4b0e2bc49528746d1a7425b786a.tar.gz |
fix regexps for patch names: '+' and '_' are allowed characters
Fixes false checksum mismatch errors from lintpkgsrc -m.
Bump version to lintpkgsrc-4.90.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/lintpkgsrc/Makefile | 4 | ||||
-rwxr-xr-x | pkgtools/lintpkgsrc/files/lintpkgsrc.pl | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/pkgtools/lintpkgsrc/Makefile b/pkgtools/lintpkgsrc/Makefile index 321625287e8..1f7e5fdb33c 100644 --- a/pkgtools/lintpkgsrc/Makefile +++ b/pkgtools/lintpkgsrc/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.21 2015/07/01 19:57:31 tron Exp $ +# $NetBSD: Makefile,v 1.22 2015/10/05 13:12:12 tnn Exp $ -PKGNAME= lintpkgsrc-4.89 +PKGNAME= lintpkgsrc-4.90 CATEGORIES= pkgtools MAINTAINER= pkgsrc-users@NetBSD.org diff --git a/pkgtools/lintpkgsrc/files/lintpkgsrc.pl b/pkgtools/lintpkgsrc/files/lintpkgsrc.pl index 2c9015e463f..54013a7d751 100755 --- a/pkgtools/lintpkgsrc/files/lintpkgsrc.pl +++ b/pkgtools/lintpkgsrc/files/lintpkgsrc.pl @@ -1,6 +1,6 @@ #! @PERL@ -# $NetBSD: lintpkgsrc.pl,v 1.6 2015/07/01 19:57:31 tron Exp $ +# $NetBSD: lintpkgsrc.pl,v 1.7 2015/10/05 13:12:12 tnn Exp $ # Written by David Brownlee <abs@netbsd.org>. # @@ -154,7 +154,7 @@ sub main() { if (m/^(\w+) ?\(([^\)]+)\) = (\S+)/) { my($dn); - if ($2 =~ /^patch-[a-z0-9]+$/) + if ($2 =~ /^patch-[\w._+\-]+$/) { next; } $dn = $2; # Strip leading ./ which sometimes gets added @@ -1596,7 +1596,7 @@ sub scan_pkgsrc_distfiles_vs_distinfo($$$$) { $dt = $1; $dn = $2; $ds = $3; - if ( $dn =~ /^patch-[\w.\-]+$/ ) { + if ( $dn =~ /^patch-[\w._+\-]+$/ ) { next; } |