pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Update pkgtools/pkg_chk to 1.85:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/10a03fcd7b87
branches:  trunk
changeset: 527938:10a03fcd7b87
user:      abs <abs%pkgsrc.org@localhost>
date:      Mon Apr 16 18:42:21 2007 +0000

description:
Update pkgtools/pkg_chk to 1.85:
    Add a missing FAIL= to the start of pkg_install(), the absence
    of which would cause a package which had been "previously
    installed" to pick up the last value of FAIL (and sometimes be
    incorrectly marked as failed). Thanks to Martin Weber for the
    diagnosis.

diffstat:

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

diffs (45 lines):

diff -r c48b81e4c94b -r 10a03fcd7b87 doc/CHANGES-2007
--- a/doc/CHANGES-2007  Mon Apr 16 18:27:49 2007 +0000
+++ b/doc/CHANGES-2007  Mon Apr 16 18:42:21 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2007,v 1.852 2007/04/16 16:12:19 ghen Exp $
+$NetBSD: CHANGES-2007,v 1.853 2007/04/16 18:42:48 abs Exp $
 
 Changes to the packages collection and infrastructure in 2007:
 
@@ -1656,3 +1656,4 @@
        Updated sysutils/bacula-gnome-console to 2.0.3 [ghen 2007-04-16]
        Updated sysutils/bacula-tray-monitor to 2.0.3 [ghen 2007-04-16]
        Updated sysutils/bacula-wx-console to 2.0.3 [ghen 2007-04-16]
+       Updated pkgtools/pkg_chk to 1.85 [abs 2007-04-16]
diff -r c48b81e4c94b -r 10a03fcd7b87 pkgtools/pkg_chk/Makefile
--- a/pkgtools/pkg_chk/Makefile Mon Apr 16 18:27:49 2007 +0000
+++ b/pkgtools/pkg_chk/Makefile Mon Apr 16 18:42:21 2007 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.47 2007/04/15 21:34:49 abs Exp $
+# $NetBSD: Makefile,v 1.48 2007/04/16 18:42:21 abs Exp $
 
-DISTNAME=      pkg_chk-1.84
+DISTNAME=      pkg_chk-1.85
 CATEGORIES=    pkgtools
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r c48b81e4c94b -r 10a03fcd7b87 pkgtools/pkg_chk/files/pkg_chk.sh
--- a/pkgtools/pkg_chk/files/pkg_chk.sh Mon Apr 16 18:27:49 2007 +0000
+++ b/pkgtools/pkg_chk/files/pkg_chk.sh Mon Apr 16 18:42:21 2007 +0000
@@ -1,6 +1,6 @@
 #!@SH@ -e
 #
-# $Id: pkg_chk.sh,v 1.45 2007/04/15 21:34:49 abs Exp $
+# $Id: pkg_chk.sh,v 1.46 2007/04/16 18:42:21 abs Exp $
 #
 # TODO: Make -g check dependencies and tsort
 # TODO: Variation of -g which only lists top level packages
@@ -484,6 +484,7 @@
     PKGDIR=$2
     INSTALL=$3
 
+    FAIL=
     if [ -d $PKG_DBDIR/$PKGNAME ];then
        msg "$PKGNAME installed in previous stage"
     elif [ -n "$opt_b" ] && is_binary_available $PKGNAME; then



Home | Main Index | Thread Index | Old Index