Commit Graph

  • 59ee6b6733 Adding xbps_fetch_file_dest(). Enno Boland 2014-03-04 14:19:52 +01:00
  • f20694a5bf xbps_entry_install_conf_file: use archive_entry_copy to set new entry pathname. Juan RP 2014-03-04 09:44:58 +01:00
  • a29211ae39 etc/xbps.conf: only .vpkg files will be processed on virtualpkgdir. Juan RP 2014-02-28 12:57:26 +01:00
  • fff7d0fe3a etc/xbps.conf: new repo mirror at repo2.voidlinux.eu (thanks to freds0n). Juan RP 2014-02-27 18:04:32 +01:00
  • 9101241b20 Fix pkg symlink removal introduced in the two phase package removal feature. Juan RP 2014-02-26 10:05:19 +01:00
  • 8c47021ec3 Fix #31 and add new test case to reproduce it. Juan RP 2014-02-25 22:55:39 +01:00
  • a511292316 lib/plist_find.c: do not return a false positive while matching vpkgs. Juan RP 2014-02-25 18:43:33 +01:00
  • b980e2109f include/xbps_api_impl.h: confuse.h is not necessary anymore. Juan RP 2014-02-25 17:04:13 +01:00
  • f74bf1c1c8 New custom configuration file format that does not need confuse. Juan RP 2014-02-25 16:42:52 +01:00
  • 1ad01b952a xbps_transaction_commit: reset var value if binpkg/signature was downloaded successfully. Juan RP 2014-02-24 11:35:28 +01:00
  • 4d38311fbe xbps_configure_pkg: show/return proper return value in an error path. Juan RP 2014-02-23 10:32:21 +01:00
  • 73764a90fe xbps-remove: missed an error path where pkgdb lock must be released. Juan RP 2014-02-23 10:31:36 +01:00
  • 4d1cdcac0c Fix concurrency issues in pkgdb: only allow 1 write transaction at the same time. Juan RP 2014-02-23 08:23:14 +01:00
  • bc2bada045 NEWS: mention previous bugfix. Juan RP 2014-02-23 08:17:51 +01:00
  • 187d635447 xbps_transaction_commit: return error if downloading binpkg/signature fails. Juan RP 2014-02-23 08:15:32 +01:00
  • c9fd89a76a Post release version bump. Juan RP 2014-02-21 09:35:51 +01:00
  • bd7713a8db NEWS: prepare for 0.32. Juan RP 2014-02-21 09:33:53 +01:00
  • 2fa0d56658 Fixed a xbps_pkgpattern_name() crash and a test to reproduce it (found by Gottox). Juan RP 2014-02-15 01:26:42 +01:00
  • 596a8c199f Improve two phase pkg removal: do the check for all entry types. Juan RP 2014-02-09 12:53:15 +01:00
  • 61fa9b8c7e Improve package removal by using a two phase approach: check and removal. Juan RP 2014-02-09 11:54:49 +01:00
  • f97ea2b915 xbps-remove: make -O also remove signature files and skip pkgs with unmatched arch. Juan RP 2014-02-07 03:50:30 +01:00
  • 9fe6b363d6 Revert "xbps-rindex: [sign] free pubkey data obj after externalizing index-meta." Juan RP 2014-02-06 16:34:59 +01:00
  • 06b0f86ef4 Revert "xbps-rindex: [sign] pubkey buffer must be kept until index-meta is externalized too." Juan RP 2014-02-06 16:34:45 +01:00
  • cbe05bd0f4 xbps-rindex: [sign] pubkey buffer must be kept until index-meta is externalized too. Juan RP 2014-02-06 12:26:17 +01:00
  • 11e04685ef xbps-rindex: [sign] free pubkey data obj after externalizing index-meta. Juan RP 2014-02-06 11:52:36 +01:00
  • 306fe4968e xbps-rindex: clear file permission bits before creating our named semaphore. Juan RP 2014-02-05 15:27:35 +01:00
  • 9c124aa162 Post release bump. Juan RP 2014-02-01 12:25:50 +01:00
  • 7508678fa3 NEWS: prepare 0.31. Juan RP 2014-02-01 10:45:08 +01:00
  • 4f7385e4a6 xbps-rindex: switch named semaphore only for the target architecture. Juan RP 2014-01-31 18:44:24 +01:00
  • 4ee0f854bd TODO: concurrency issues with pkgdb. Juan RP 2014-01-31 11:45:53 +01:00
  • 314386d3da NEWS: also mention the errno(3) propagation issue that I did fix yesterday. Juan RP 2014-01-31 11:41:13 +01:00
  • 4fb8c37526 configure: set a meaningful name to the POSIX semaphores test code. Juan RP 2014-01-31 11:37:42 +01:00
  • f5e1fff93a xbps-rindex: use a POSIX named semaphore to avoid concurrency issues. Juan RP 2014-01-31 11:35:31 +01:00
  • 915b8b2557 bin/xbps-rindex/sign.c: fix a stupid typo. Juan RP 2014-01-30 19:46:46 +01:00
  • 27f7bbd44d xbps_verify_file_signature: there's no repo->hexfp anymore, compute it instead. Juan RP 2014-01-30 19:34:26 +01:00
  • ea26fb3d3f bin/xbps-rindex/sign.c: initialize var for strcmp(). Juan RP 2014-01-30 19:33:14 +01:00
  • 3405866ae2 lib/repo_pkgdeps.c: check correctly for errno after our call, not after free(3). Juan RP 2014-01-30 17:47:59 +01:00
  • 9b68cbe079 etc/xbps.conf: switch to the new official repo server. Juan RP 2014-01-30 13:21:14 +01:00
  • d08e76a386 Keep repo metadata if possible when updating repodata (xbps-rindex -a/-c). Juan RP 2014-01-30 13:07:34 +01:00
  • c6cae9e6ef NEWS: mention recent xbps-rindex -c fix. Juan RP 2014-01-30 12:54:43 +01:00
  • b21f4c9a59 xbps-rindex: clean mode: fixed random false positives with multiple threads. Juan RP 2014-01-29 16:58:38 +01:00
  • 7ceb83cee7 NEWS: mention recent double free fix. Juan RP 2014-01-28 21:01:39 +01:00
  • fb5fb91fa3 lib/transaction_commit.c: fix a double free (reported by Hanspolo). Juan RP 2014-01-28 20:51:57 +01:00
  • 2bacf4887d Post release bump to 0.31. Juan RP 2014-01-28 17:29:04 +01:00
  • aca6df5bba NEWS: prepare 0.30. Juan RP 2014-01-28 17:27:06 +01:00
  • c03505b13e Fix #30 (segment fault in xbps-rindex) Juan RP 2014-01-22 11:53:08 +01:00
  • 7f5bd2f8a3 bin/xbps-rindex/sign.c: add 0.27 compat again. Juan RP 2014-01-21 16:36:44 +01:00
  • 72f37de770 Fix #29 (xbps-rindex does not sign repodata if no pkg has been signed) Juan RP 2014-01-21 11:06:02 +01:00
  • e9bc52a01b Fix #28 (Verification fails due to missing signature). Juan RP 2014-01-21 10:06:48 +01:00
  • 5eea259c13 Remove the config.h kludge and override vasprintf detection via HAVE_VASPRINTF. Juan RP 2014-01-20 18:50:33 +01:00
  • 16fc064aef Remove obsolete files also on package reinstalls (and downgrades). Juan RP 2014-01-15 21:52:35 +01:00
  • 835812df2c tests: pass -v flag to xbps-install(8). Juan RP 2014-01-15 21:51:20 +01:00
  • 6943eedd26 Partial revert of 36adf15 (lib code is not yet ready). Juan RP 2014-01-15 21:03:53 +01:00
  • 36adf15c6b tests: new test to verify obsolete files code works in updates and reinstalls. Juan RP 2014-01-15 20:59:49 +01:00
  • 5176ca05e8 tests: libxbps: use unexistent xbps.conf to only use local repo. Juan RP 2014-01-15 20:59:05 +01:00
  • 19b248d57d tests: issue18: remove useless cleanup. Juan RP 2014-01-15 17:55:29 +01:00
  • 98a3723902 Respect installation mode also on reinstall (and downgrade). Juan RP 2014-01-15 16:17:41 +01:00
  • 292be5c420 Make sure that all symlinks in a package are removed, not just dangling symlinks. Juan RP 2014-01-12 17:10:07 +01:00
  • 16bfc5e61d Post-release bump to 0.30. Juan RP 2014-01-09 14:26:58 +01:00
  • 6570045cbb NEWS: prepare for 0.29. Juan RP 2014-01-09 14:22:44 +01:00
  • 278a58e841 NEWS: mention recent changes. Juan RP 2014-01-09 11:42:07 +01:00
  • 804a39c63b Added XBPS_ARCH environment var to override uname(2) machine result. Juan RP 2014-01-09 11:41:25 +01:00
  • 6537004532 xbps-create: do not use FTW_MOUNT with nftw(3). Juan RP 2014-01-08 20:16:02 +01:00
  • ae81cd1ea9 lib/initend.c: define _BSD_SOURCE for strlcpy() with musl. Juan RP 2014-01-07 21:20:42 +01:00
  • 3042dcd7aa include/xbps_api_impl.h: remove __{BEGIN,END}_DECLS to make musl happy. Juan RP 2014-01-07 21:19:03 +01:00
  • 29cf8e9ba8 xbps_repo_open: just call xbps_pubkey2fp() if pubkey is valid (issue #27). Juan RP 2014-01-06 10:01:49 +01:00
  • b61f552562 README.md: don't mention stable release; mention clang and gcc are supported. Juan RP 2014-01-05 10:11:35 +01:00
  • 767566558c xbps_transaction_commit: initialize bool var to avoid unexpected branch. Juan RP 2014-01-03 11:35:20 +01:00
  • 3397e6b0f4 Post-release bump to 0.29. Juan RP 2014-01-03 11:09:42 +01:00
  • 799ac1d5cb NEWS: update for 0.28. Juan RP 2014-01-03 11:06:50 +01:00
  • 23650f1c66 bin/xbps-rindex/sign.c: add 0.27 compat glue. Juan RP 2014-01-03 10:53:55 +01:00
  • a57fe48709 tests/xbps/libxbps/shell/remove_test.sh: use full path for local repo. Juan RP 2014-01-03 10:08:32 +01:00
  • 3ca442eb3d xbps-rindex: [add] re-add all package objects to the index. Juan RP 2013-12-30 10:27:54 +01:00
  • d3ffd0885b xbps.h: drop PATH_MAX completely and use our own definition. Juan RP 2013-12-29 16:56:43 +01:00
  • 8eb1d3889f Don't redefine _XOPEN_SOURCE and set it to 700 as previously. Juan RP 2013-12-29 16:49:24 +01:00
  • 1acce163ce xbps.h: define _XOPEN_SOURCE for PATH_MAX. Juan RP 2013-12-29 16:45:53 +01:00
  • 0a9522210a bin/xbps-rindex/sign.c: use access(2) to check if pkg signature exists. Juan RP 2013-12-26 07:59:11 +01:00
  • 35e4182250 Fully remove the obsolete softreplace code. Juan RP 2013-12-25 11:12:52 +01:00
  • 3730f9f5a4 bin/xbps-install/state_cb.c: use pkgver obj from pkgdb. Juan RP 2013-12-25 11:12:03 +01:00
  • 92a73a9a54 lib/package_unpack.c: remove redundant assertions. Juan RP 2013-12-25 09:00:51 +01:00
  • 447759941f Merge rpool_get.c into rpool.c. Juan RP 2013-12-25 08:48:24 +01:00
  • 0cf9047bd2 unpack: use files.plist from binpkg when checking for configuration files. Juan RP 2013-12-25 08:40:45 +01:00
  • 73509b3556 lib/package_unpack.c: remove dead code (softreplace). Juan RP 2013-12-25 08:35:55 +01:00
  • 98748bdcd1 bin/xbps-rindex/remove-obsoletes.c: also remove pkg signature files. Juan RP 2013-12-24 12:02:33 +01:00
  • 0a5fa442f2 bin/xbps-query/list.c: remove extra newline. Juan RP 2013-12-24 11:08:48 +01:00
  • e4b2193786 bin/xbps-rindex/sign.c: fix a -Wsign-compare warning. Juan RP 2013-12-24 10:58:55 +01:00
  • ec0d38c469 Implement per pkg RSA signatures and on-demand repository access. Juan RP 2013-12-24 10:43:55 +01:00
  • 3c0edd40c8 lib/package_unpack.c: only create rootdir if it doesn't exist once. Juan RP 2013-12-21 12:03:38 +01:00
  • 0744b76946 xbps-xxx.8: update issues url. Juan RP 2013-12-17 15:38:56 +01:00
  • 2e45e7c5f7 xbps-remove.8: explain how to show the pkg remove script. Juan RP 2013-12-17 15:36:07 +01:00
  • 77b41d7696 xbps-reconfigure.8: explain how to show the pkg install script. Juan RP 2013-12-17 15:28:22 +01:00
  • 152212a9ab Update tests for new API. Juan RP 2013-12-16 11:55:51 +01:00
  • 2a21354a1c Make some reorganization in struct xbps_handle. Juan RP 2013-12-16 11:46:39 +01:00
  • 2c16e23646 lib/transaction_sortdeps.c: bump copyright year. Juan RP 2013-12-16 09:18:54 +01:00
  • a84d7c0199 lib/transaction_sortdeps.c: remove dead code. Juan RP 2013-12-16 09:18:19 +01:00
  • e64227b617 xbps.h: drop requirement of sys/queue.h. Juan RP 2013-12-16 08:59:11 +01:00
  • 67cfc4ebad rpool: switch "struct xbps_repo" to be part of the rpool simpleq. Juan RP 2013-12-16 08:49:33 +01:00
  • b1309644e5 lib/transaction_sortdeps.c: there's no need to use TAILQ_FOREACH_SAFE. Juan RP 2013-12-16 08:44:14 +01:00
  • 851eb26596 xbps_repo_open: fix f7b4587 and really pass the correct size this time. Juan RP 2013-12-16 07:45:51 +01:00
  • f7b4587e11 xbps_repo_open: pass the correct size to realloc(). Juan RP 2013-12-16 07:31:15 +01:00