Subject: CVS commit: pkgsrc/pkgtools/pkg_install/files
To: None <pkgsrc-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: pkgsrc-changes
Date: 08/09/2007 23:18:31
Module Name: pkgsrc
Committed By: joerg
Date: Thu Aug 9 23:18:31 UTC 2007
Modified Files:
pkgsrc/pkgtools/pkg_install/files/add: perform.c
pkgsrc/pkgtools/pkg_install/files/info: perform.c
pkgsrc/pkgtools/pkg_install/files/lib: automatic.c lib.h pkgdb.c
Log Message:
Change interface of is_automatic_installed and
mark_as_automatic_installed to take a package name and not a full path.
Add assertions to test for this.
Drop a few islinktodir checks.
Change pkg_info to use iterate_pkg_db instead of scanning the directory
by hand. As a side effect don't try to check for the pkgdb dir first,
let pkgdb_dump and iterate_pkg_db handle that.
Make pkgdb_dump return failure if it can't open the package db.
To generate a diff of this commit:
cvs rdiff -r1.52 -r1.53 pkgsrc/pkgtools/pkg_install/files/add/perform.c
cvs rdiff -r1.35 -r1.36 pkgsrc/pkgtools/pkg_install/files/info/perform.c
cvs rdiff -r1.2 -r1.3 pkgsrc/pkgtools/pkg_install/files/lib/automatic.c
cvs rdiff -r1.31 -r1.32 pkgsrc/pkgtools/pkg_install/files/lib/lib.h
cvs rdiff -r1.25 -r1.26 pkgsrc/pkgtools/pkg_install/files/lib/pkgdb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.