pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc update pkg_chk to 1.64



details:   https://anonhg.NetBSD.org/pkgsrc/rev/92ecd622a138
branches:  trunk
changeset: 505472:92ecd622a138
user:      abs <abs%pkgsrc.org@localhost>
date:      Tue Jan 03 19:00:09 2006 +0000

description:
update pkg_chk to 1.64
- Allow -U of filenames on the commandline

diffstat:

 doc/CHANGES                       |  3 ++-
 pkgtools/pkg_chk/Makefile         |  4 ++--
 pkgtools/pkg_chk/files/pkg_chk.sh |  7 ++++---
 3 files changed, 8 insertions(+), 6 deletions(-)

diffs (56 lines):

diff -r 26506977b474 -r 92ecd622a138 doc/CHANGES
--- a/doc/CHANGES       Tue Jan 03 18:58:58 2006 +0000
+++ b/doc/CHANGES       Tue Jan 03 19:00:09 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.12342 2006/01/03 18:39:27 wiz Exp $
+$NetBSD: CHANGES,v 1.12343 2006/01/03 19:00:52 abs Exp $
 
 Changes to the packages collection and infrastructure in 2006:
 
@@ -80,3 +80,4 @@
        Updated mail/p5-MIME-tools to 5.419 [wiz 2006-01-03]
        Updated misc/p5-Locale-Maketext-Lexicon to 0.53 [wiz 2006-01-03]
        Updated textproc/p5-XML-LibXSLT to 1.57 [wiz 2006-01-03]
+       Updated pkgtools/pkg_chk to 1.64 [abs 2006-01-03]
diff -r 26506977b474 -r 92ecd622a138 pkgtools/pkg_chk/Makefile
--- a/pkgtools/pkg_chk/Makefile Tue Jan 03 18:58:58 2006 +0000
+++ b/pkgtools/pkg_chk/Makefile Tue Jan 03 19:00:09 2006 +0000
@@ -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 -r 26506977b474 -r 92ecd622a138 pkgtools/pkg_chk/files/pkg_chk.sh
--- a/pkgtools/pkg_chk/files/pkg_chk.sh Tue Jan 03 18:58:58 2006 +0000
+++ b/pkgtools/pkg_chk/files/pkg_chk.sh Tue Jan 03 19:00:09 2006 +0000
@@ -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 @@
        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 @@
        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 ;}
                }



Home | Main Index | Thread Index | Old Index