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.79: default PKG_DBDIR



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88f0dffdd8c7
branches:  trunk
changeset: 517387:88f0dffdd8c7
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Aug 10 08:54:44 2006 +0000

description:
update pkg_chk to 1.79: default PKG_DBDIR

diffstat:

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

diffs (71 lines):

diff -r 3a87fc58911b -r 88f0dffdd8c7 doc/CHANGES-2006
--- a/doc/CHANGES-2006  Thu Aug 10 05:57:44 2006 +0000
+++ b/doc/CHANGES-2006  Thu Aug 10 08:54:44 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2006,v 1.989 2006/08/10 05:57:44 taca Exp $
+$NetBSD: CHANGES-2006,v 1.990 2006/08/10 08:56:21 abs Exp $
 
 Changes to the packages collection and infrastructure in 2006:
 
@@ -3892,3 +3892,4 @@
        Removed print/teTeX-bin [minskim 2006-08-10]
        Removed print/teTeX-sharesrc [minskim 2006-08-10]
        Updated lang/php5 to 5.1.4nb3 [taca 2006-08-10]
+       Updated pkgtools/pkg_chk to 1.79 [abs 2006-08-10]
diff -r 3a87fc58911b -r 88f0dffdd8c7 pkgtools/pkg_chk/Makefile
--- a/pkgtools/pkg_chk/Makefile Thu Aug 10 05:57:44 2006 +0000
+++ b/pkgtools/pkg_chk/Makefile Thu Aug 10 08:54:44 2006 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.41 2006/08/06 12:21:09 cube Exp $
+# $NetBSD: Makefile,v 1.42 2006/08/10 08:54:44 abs Exp $
 
-DISTNAME=      pkg_chk-1.78
+DISTNAME=      pkg_chk-1.79
 CATEGORIES=    pkgtools
 MASTER_SITES=  # empty
 DISTFILES=     # empty
@@ -40,6 +40,7 @@
          -e 's#@SORT@#${SORT}#g' \
          -e 's#@TSORT@#${TSORT}#g' \
          -e 's#@PREFIX@#${PREFIX}#g' \
+         -e 's#@PKG_DBDIR@#${PKG_DBDIR}#g' \
          ${FILESDIR}/pkg_chk.sh >${WRKSRC}/pkg_chk.sh
 
 do-install:
diff -r 3a87fc58911b -r 88f0dffdd8c7 pkgtools/pkg_chk/files/pkg_chk.sh
--- a/pkgtools/pkg_chk/files/pkg_chk.sh Thu Aug 10 05:57:44 2006 +0000
+++ b/pkgtools/pkg_chk/files/pkg_chk.sh Thu Aug 10 08:54:44 2006 +0000
@@ -1,6 +1,6 @@
 #!@SH@ -e
 #
-# $Id: pkg_chk.sh,v 1.39 2006/08/06 12:21:09 cube Exp $
+# $Id: pkg_chk.sh,v 1.40 2006/08/10 08:54:44 abs Exp $
 #
 # TODO: Make -g check dependencies and tsort
 # TODO: Variation of -g which only lists top level packages
@@ -544,7 +544,7 @@
     echo 'Usage: pkg_chk [opts]
        -a      Add all missing packages (implies -c)
        -B      Check the "Build version" of packages
-       -b      Install binary packages
+       -b      Use binary packages
        -C conf Use pkgchk.conf file 'conf'
        -D tags Comma separated list of additional pkgchk.conf tags to set
        -f      Perform a 'make fetch' for all required packages
@@ -558,7 +558,7 @@
        -P dir  Set PACKAGES dir (overrides any other setting)
        -q      Do not display actions or take any action; only list packages
        -r      Recursively remove mismatches (use with care) (implies -i)
-       -s      Install packages by building from source
+       -s      Use source for building packages
        -U tags Comma separated list of pkgchk.conf tags to unset
        -u      Update all mismatched packages (implies -i)
        -v      Verbose
@@ -656,6 +656,7 @@
 test -n "$SED"        || SED="@SED@"
 test -n "$SORT"              || SORT="@SORT@"
 test -n "$TSORT"      || TSORT="@TSORT@"
+test -n "$PKG_DBDIR"  || PKG_DBDIR="@PKG_DBDIR@"
 
 if [ ! -f $MAKECONF ] ; then
     if [ -f @PREFIX@/etc/mk.conf ] ; then



Home | Main Index | Thread Index | Old Index