pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Update pkg_install to 20030914. Changes from version ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c7b9d52d980f
branches:  trunk
changeset: 461313:c7b9d52d980f
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Sep 14 04:58:30 2003 +0000

description:
Update pkg_install to 20030914.  Changes from version 20030913 are
ensuring that recursive pkg_delete'ing works by using the correct
pkg_dbdir to find packages.  This fixes recursive deleting if the
-K flag is passed to pkg_delete(1), and the named dbdir differs from
the default dbdir (/var/db/pkg).

diffstat:

 doc/CHANGES                                 |  3 ++-
 pkgtools/pkg_install/files/delete/perform.c |  7 ++++---
 pkgtools/pkg_install/files/lib/version.h    |  4 ++--
 3 files changed, 8 insertions(+), 6 deletions(-)

diffs (59 lines):

diff -r f74772491d91 -r c7b9d52d980f doc/CHANGES
--- a/doc/CHANGES       Sun Sep 14 01:47:51 2003 +0000
+++ b/doc/CHANGES       Sun Sep 14 04:58:30 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.3364 2003/09/13 23:03:19 jlam Exp $
+$NetBSD: CHANGES,v 1.3365 2003/09/14 04:58:30 jlam Exp $
 
 Changes to the packages collection and infrastructure in 2003:
 
@@ -3678,3 +3678,4 @@
        Updated gtkhtml to 1.1.10 [tron 2003-09-13]
        Updated fetchmailconf to 6.2.4nb1 [tron 2003-09-13]
        Updated cyrus-imap21 to 2.1.15 [jlam 2003-09-13]
+       Updated pkg_install to 20030914 [jlam 2003-09-14]
diff -r f74772491d91 -r c7b9d52d980f pkgtools/pkg_install/files/delete/perform.c
--- a/pkgtools/pkg_install/files/delete/perform.c       Sun Sep 14 01:47:51 2003 +0000
+++ b/pkgtools/pkg_install/files/delete/perform.c       Sun Sep 14 04:58:30 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: perform.c,v 1.6 2003/09/09 13:34:19 jlam Exp $ */
+/*     $NetBSD: perform.c,v 1.7 2003/09/14 04:58:32 jlam Exp $ */
 
 #if HAVE_CONFIG_H
 #include "config.h"
@@ -11,7 +11,7 @@
 #if 0
 static const char *rcsid = "from FreeBSD Id: perform.c,v 1.15 1997/10/13 15:03:52 jkh Exp";
 #else
-__RCSID("$NetBSD: perform.c,v 1.6 2003/09/09 13:34:19 jlam Exp $");
+__RCSID("$NetBSD: perform.c,v 1.7 2003/09/14 04:58:32 jlam Exp $");
 #endif
 #endif
 
@@ -321,7 +321,8 @@
                if (Fake)
                        rv = 0;
                else
-                       rv = vsystem("%s %s %s %s %s %s %s %s %s", ProgramPath,
+                       rv = vsystem("%s -K %s %s %s %s %s %s %s %s %s", ProgramPath,
+                           _pkgdb_getPKGDB_DIR(),
                            Prefix ? "-p" : "",
                            Prefix ? Prefix : "",
                            Verbose ? "-v" : "",
diff -r f74772491d91 -r c7b9d52d980f pkgtools/pkg_install/files/lib/version.h
--- a/pkgtools/pkg_install/files/lib/version.h  Sun Sep 14 01:47:51 2003 +0000
+++ b/pkgtools/pkg_install/files/lib/version.h  Sun Sep 14 04:58:30 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: version.h,v 1.14 2003/09/13 09:24:22 jlam Exp $        */
+/*     $NetBSD: version.h,v 1.15 2003/09/14 04:58:32 jlam Exp $        */
 
 /*
  * Copyright (c) 2001 Thomas Klausner.  All rights reserved.
@@ -33,6 +33,6 @@
 #ifndef _INST_LIB_VERSION_H_
 #define _INST_LIB_VERSION_H_
 
-#define PKGTOOLS_VERSION "20030913"
+#define PKGTOOLS_VERSION "20030914"
 
 #endif /* _INST_LIB_VERSION_H_ */



Home | Main Index | Thread Index | Old Index