xbps/lib
Juan RP 571d96fa92 libxbps: make sure to remove pkg metadata file on upgrades with skip-obsoletes.
This fixes the following case:

 - A-1.0_1 is installed and owns bin/foo.
 - A-1.1_1 is in the transaction and depends on B-1.0_1 that owns bin/foo.
 - B-1.0_1 is in the transaction and replaces A<1.1_1.
 - A-1.1_1 in the transaction now has "skip-obsoletes".
 - A is updated to 1.1_1, its metadata file (<pkgname>-files.plist) wasn't removed.

Added two new test cases to verify moving files from/to a dependency.
2015-01-27 17:53:37 +01:00
..
compat
external
fetch libfetch: misc cleanups due to nbcompat removal. 2014-12-28 03:34:36 +01:00
portableproplib lib/portableproplib/prop_array.c: comment out another debug printf. 2014-11-13 15:22:58 +01:00
archive.c xbps-query(8: added --cat=FILE mode support. 2014-11-17 15:45:46 +01:00
cb_util.c
download.c Remove xdelta support: it never worked and wasn't fully implemented. 2014-10-24 11:04:51 +02:00
initend.c xbps_end: don't bother releasing everything; pkgdb is enough. 2015-01-14 18:43:17 +01:00
Makefile libfetch: misc cleanups due to nbcompat removal. 2014-12-28 03:34:36 +01:00
package_config_files.c lib/package_config_files.c: resource leak (CID 62682) 2014-10-05 09:13:03 +02:00
package_configure.c xbps-reconfigure(8): new option -i, --ignore to ignore pkgs with -a, --all. 2014-12-09 13:10:48 +01:00
package_conflicts.c libxbps: fixed replaces/replace_vpkg test case. 2014-09-14 12:50:17 +02:00
package_find_obsoletes.c
package_fulldeptree.c Introduce xbps_{pkgdb,rpool}_get_pkg_fulldeptree(). 2014-11-20 09:23:51 +01:00
package_msg.c lib/package_msg.c: fix a heap overflow (noticed by @Gottox). 2014-09-16 09:13:32 +02:00
package_orphans.c libxbps: detection of orphaned packages is now 66% faster. 2015-01-10 05:43:35 +01:00
package_register.c Remove empty self replaced pkg arrays from pkgdb. 2014-09-14 18:16:43 +02:00
package_remove.c lib/package_remove.c: simplify link relative check. 2014-10-25 10:32:58 +02:00
package_script.c Replaced config/system {repo,preserve,virtualpkg}.d with a single directory. 2014-11-06 09:58:04 +01:00
package_state.c
package_unpack.c libxbps: make sure to remove pkg metadata file on upgrades with skip-obsoletes. 2015-01-27 17:53:37 +01:00
pkgdb_conversion.c pkgdb: switch to zplists by default. 2014-10-17 10:11:56 +02:00
pkgdb.c xbps_pkgdb_release: don't bother releasing everything. 2015-01-14 17:34:00 +01:00
plist_fetch.c libfetch: fix races in the cache connection code. 2014-12-23 10:52:54 +01:00
plist_find.c libxbps: improve debug messages again. 2015-01-21 11:39:45 +01:00
plist_match.c libxbps: the provides obj now expects exact pkgver strings. 2015-01-10 07:26:23 +01:00
plist_remove.c
plist.c lib/plist.c: CID 62704 (argument cannot be negative) 2014-10-05 13:22:28 +02:00
proplib_wrapper.c Introduce xbps_array_add_first() to insert obj at the head of array. 2014-11-13 15:18:21 +01:00
pubkey2fp.c lib/pubkey2fp.c: fix CID 62724 correctly. 2014-10-07 09:34:14 +02:00
repo_pkgdeps.c libxbps: improve debug messages again. 2015-01-21 11:39:45 +01:00
repo_sync.c xbps_repo_sync: fix regression introduced in 87ca42f3. 2014-10-24 11:16:24 +02:00
repo.c xbps_repo_close: only unlock the file lock if repo was opened as such. 2015-01-11 09:11:38 +01:00
rpool.c xbps_repo_close: only unlock the file lock if repo was opened as such. 2015-01-11 09:11:38 +01:00
transaction_commit.c xbps_pkgdb_update: added 3rd bool arg "update", not update in memory pkgdb. 2015-01-10 19:42:09 +01:00
transaction_dictionary.c xbps_transaction_prepare: check for unresolved shlibs a bit early. 2014-11-13 11:39:20 +01:00
transaction_ops.c Replaced config/system {repo,preserve,virtualpkg}.d with a single directory. 2014-11-06 09:58:04 +01:00
transaction_package_replace.c Introduce xbps_array_add_first() to insert obj at the head of array. 2014-11-13 15:18:21 +01:00
transaction_revdeps.c transaction_revdeps.c: remove dead code. 2015-01-14 21:00:37 +01:00
transaction_shlibs.c xbps_transaction_shlibs: take into account shlibs from pkgs in the transaction. 2015-01-18 12:44:26 +01:00
transaction_store.c libxbps: improve debug messages again. 2015-01-21 11:39:45 +01:00
util_hash.c Introduce xbps_mmap_file() and use it in strategic points. 2014-09-27 13:00:34 +02:00
util.c xbps_binpkg_{arch,pkgver}: return a buffer of matched string instead. 2014-11-19 11:56:16 +01:00
verifysig.c lib/verifysig.c: resource leak (CID 62727) 2014-10-05 07:27:13 +02:00