summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-05-26 18:09:23 +0000
committerwiz <wiz@pkgsrc.org>2013-05-26 18:09:23 +0000
commit32435ef9f12a8da1978cb2123bb4c4a27d62d8a9 (patch)
tree27fd4106c3c08c5786e6ab0d0c299beacd5132b2
parentbd482791432be7fac5fa9382d4d2f124bb8996ce (diff)
downloadpkgsrc-32435ef9f12a8da1978cb2123bb4c4a27d62d8a9.tar.gz
rillig clarified:
"u" means "use at runtime", i.e. the variable may not be available during preprocessing. "t" wasn't used at all (my error -- wiz) Bump version.
-rw-r--r--pkgtools/pkglint/Makefile4
-rw-r--r--pkgtools/pkglint/files/pkglint.pl5
2 files changed, 4 insertions, 5 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index 531b4c78d50..a939269e6bb 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.429 2013/05/06 02:53:24 obache Exp $
+# $NetBSD: Makefile,v 1.430 2013/05/26 18:09:23 wiz Exp $
# Note: if you update the version number, please have a look at the
# changes between the CVS tag "pkglint_current" and HEAD.
# After updating, please re-set the CVS tag to HEAD.
-DISTNAME= pkglint-4.129
+DISTNAME= pkglint-4.130
CATEGORIES= pkgtools
MASTER_SITES= # none
DISTFILES= # none
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index da9a6eb4365..92dbc553442 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.855 2013/05/06 02:53:25 obache Exp $
+# $NetBSD: pkglint.pl,v 1.856 2013/05/26 18:09:24 wiz Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -3707,8 +3707,7 @@ sub checkline_mk_shellcmd($$) {
sub expand_permission($) {
my ($perm) = @_;
- # wiz 20120826: IIUC, "u" is the permission for the variable to be used at all here; no need to expand it
- my %fullperm = ( "a" => "append", "d" => "default", "p" => "preprocess", "s" => "set", "t" => "runtime", "?" => "unknown", "u" => "" );
+ my %fullperm = ( "a" => "append", "d" => "default", "p" => "preprocess", "s" => "set", "u" => "runtime", "?" => "unknown" );
my $result = join(", ", map { $fullperm{$_} } split //, $perm);
$result =~ s/, $//g;