summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_chk
diff options
context:
space:
mode:
authorabs <abs>2006-01-03 19:00:09 +0000
committerabs <abs>2006-01-03 19:00:09 +0000
commit5c9639de83ae09696dc41492736842ff5af8ab15 (patch)
tree108c1549dd75c225a5eb303eee0bedc4411fe0ab /pkgtools/pkg_chk
parentb549f36b501925897cad2915d45266e48bd18815 (diff)
downloadpkgsrc-5c9639de83ae09696dc41492736842ff5af8ab15.tar.gz
update pkg_chk to 1.64
- Allow -U of filenames on the commandline
Diffstat (limited to 'pkgtools/pkg_chk')
-rw-r--r--pkgtools/pkg_chk/Makefile4
-rwxr-xr-xpkgtools/pkg_chk/files/pkg_chk.sh7
2 files changed, 6 insertions, 5 deletions
diff --git a/pkgtools/pkg_chk/Makefile b/pkgtools/pkg_chk/Makefile
index 4ffd6a1acf4..4181298a026 100644
--- a/pkgtools/pkg_chk/Makefile
+++ b/pkgtools/pkg_chk/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2005/12/13 15:26:05 dillo Exp $
+# $NetBSD: Makefile,v 1.23 2006/01/03 19:00:09 abs Exp $
-DISTNAME= pkg_chk-1.63.1
+DISTNAME= pkg_chk-1.64
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/pkg_chk/files/pkg_chk.sh b/pkgtools/pkg_chk/files/pkg_chk.sh
index 84657cdb683..d6afe01a501 100755
--- a/pkgtools/pkg_chk/files/pkg_chk.sh
+++ b/pkgtools/pkg_chk/files/pkg_chk.sh
@@ -1,6 +1,6 @@
#!@SH@ -e
#
-# $Id: pkg_chk.sh,v 1.23 2005/12/13 15:26:05 dillo Exp $
+# $Id: pkg_chk.sh,v 1.24 2006/01/03 19:00:09 abs Exp $
#
# TODO: Make -g check dependencies and tsort
# TODO: Variation of -g which only lists top level packages
@@ -347,7 +347,8 @@ pkgdirs_from_conf()
for (tag in tmp) { taglist[tmp[tag]] = 1; }
split(unsetlist, tmp, ",");
- for (tag in tmp) { skip[tmp[tag]] = 1; delete taglist[tmp[tag]] }
+ for (tag in tmp) { skip[tmp[tag]] = 1; nofile[tmp[tag]] = 1 ;
+ delete taglist[tmp[tag]] }
taglist["*"] = "*"
}
@@ -355,7 +356,7 @@ pkgdirs_from_conf()
split(expr,ary,/\+/);
r = 1;
for (i in ary) {
- if (ary[i] ~ /^\//) {
+ if (ary[i] ~ /^\// && ! nofile[ary[i]]) {
if (getline d < ary[i] == -1)
{ r = 0; break ;}
}