xbps/lib
Juan RP b672e1a7f2
Improved "xbps auto-updating itself" behaviour.
Always check if there's a new xbps package version available
while *installing* or *updating* in any form.

This fixes the following scenario:

- xbps-0.53_10 is currently installed
- xbps-0.54_1 is available in repo
- xbps-install --update netbsd-wtf || xbps-install new-pkg || xbps-install --update

As expected any of the following scenarios in last cmd will use *this*
transaction to autoupdate xbps and its reverse dependencies.

Another transaction will be necessary to install or update the other unrelated
packages.

Added a new test case to verify this case and improve the other test
cases with more extensive checks.
2019-06-17 12:02:02 +02:00
..
compat lib/compat/vasprintf.c: make this build and fix sign-compare warnings. 2013-02-02 01:31:20 +01:00
external lib/external/fexec.c: run child with 022 umask 2019-06-14 21:09:15 +02:00
fetch lib/fetch: fix happy eyeballs without any usable addresses and catch more errors 2019-06-15 19:19:40 +02:00
portableproplib Sync with portableproplib-0.6.8. 2019-06-04 21:43:52 +02:00
archive.c xbps-create(1): timestamps of metadata files are now set to epoch. 2015-09-03 11:12:49 +02:00
cb_util.c Remove the config.h kludge and override vasprintf detection via HAVE_VASPRINTF. 2014-01-20 18:50:33 +01:00
conf.c lib/conf.c: ignore glob errors 2019-05-22 15:05:45 +02:00
download.c libxbps: use xbps_strlc{at,py} everywhere. 2016-04-17 20:17:37 +02:00
initend.c lib: move conf parsing to lib/conf.c and refactor to not rely on getcwd/chdir 2019-05-22 13:22:10 +02:00
log.c lib: move conf parsing to lib/conf.c and refactor to not rely on getcwd/chdir 2019-05-22 13:22:10 +02:00
Makefile Bump XBPS_API_VERSION and libxbps major soname. 2019-06-14 09:54:51 +02:00
package_alternatives.c xbps_alternatives_register: fix a memleak. 2019-06-11 19:53:19 +02:00
package_config_files.c package_config_files.c: fix a shadowed variable declaration. 2019-04-22 14:51:13 +02:00
package_configure.c lib/package_configure.c: fix memleak 2016-09-25 21:27:46 +02:00
package_find_obsoletes.c lib/package_find_obsoletes: fix comment 2019-04-14 11:52:32 +02:00
package_fulldeptree.c lib/package_fulldeptree.c: simplify. 2019-06-17 05:38:36 +02: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 fulldeptree: return a proper error if deps can't be resolved. 2019-06-15 18:04:20 +02:00
package_register.c Remove empty self replaced pkg arrays from pkgdb. 2014-09-14 18:16:43 +02:00
package_remove.c libxbps: remove dangling symlinks properly. 2019-06-07 20:13:24 +02:00
package_script.c actually use HAVE_FDATASYNC 2016-02-08 15:09:43 +01:00
package_state.c Get rid of libfetch and proplib external dependencies. 2013-06-20 10:26:12 +02:00
package_unpack.c libxbps: added support for multiple compression formats in repodata. 2019-06-17 07:14:24 +02:00
pkgdb_conversion.c Introduce xbps_plist_{array,dictionary}_from_file(). 2015-05-28 10:15:05 +02:00
pkgdb.c xbps_pkgdb_lock(): check if rootfs is writable. 2019-06-13 17:41:01 +02:00
plist_fetch.c libxbps: added support for multiple compression formats in repodata. 2019-06-17 07:14:24 +02:00
plist_find.c Fix 29765271e correctly. 2016-03-24 10:23:20 +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 Add xbps_remove_{pkgname,string}_from_array() to the API. 2014-09-13 18:13:25 +02:00
plist.c xbps_array_foreach_cb_multi: fix incorrect array counter. 2019-04-19 22:57:42 +02:00
proplib_wrapper.c Introduce xbps_plist_{array,dictionary}_from_file(). 2015-05-28 10:15:05 +02:00
pubkey2fp.c upgrade to openssl 1.1.x. 2019-01-24 14:57:50 -05:00
repo_pkgdeps.c Add the ability to ignore packages 2019-04-19 23:07:59 +02:00
repo_sync.c lib/repo_sync.c: set umask before creating repo cache directories 2019-06-14 21:08:55 +02:00
repo.c libxbps: added support for multiple compression formats in repodata. 2019-06-17 07:14:24 +02:00
rpool.c lib/repo: add xbps_repo_remove and use it in xbps_rpool_foreach 2019-06-15 21:11:07 +02:00
transaction_commit.c libxbps: initialize locale correctly to handle UTF-8 filenames with musl. 2015-12-11 09:59:16 +01:00
transaction_conflicts.c Fix namespace violation 2018-09-25 22:11:30 -04:00
transaction_dictionary.c fix indention 2019-04-14 12:37:24 +02:00
transaction_ops.c Improved "xbps auto-updating itself" behaviour. 2019-06-17 12:02:02 +02:00
transaction_package_replace.c libxbps: extend the fix for #116 even more for the expected case. 2015-10-19 18:19:24 +02:00
transaction_revdeps.c libxbps: remove unused variable `pkgdepname' 2015-10-25 20:03:02 +02:00
transaction_shlibs.c lib/transaction_shlibs.c: fix memleak 2016-09-25 21:47:40 +02:00
transaction_store.c libxbps: print in verbose mode what pkgs are added to the transaction. 2015-09-02 18:56:20 +02:00
util_hash.c lib/util_hash.c: fix memleak. 2016-06-20 10:03:49 +02:00
util.c xbps_binpkg_exists: fix access() on remote packages and avoid malloc 2019-06-14 23:21:06 +02:00
verifysig.c lib/verifysig.c: use xbps_file_hash_raw() 2016-06-16 06:51:10 +02:00