Juan RP
851eb26596
xbps_repo_open: fix f7b4587
and really pass the correct size this time.
2013-12-16 07:45:51 +01:00
Juan RP
f7b4587e11
xbps_repo_open: pass the correct size to realloc().
2013-12-16 07:31:15 +01:00
Juan RP
cc19818680
Improve stats in the transaction dictionary.
2013-12-16 07:24:17 +01:00
Juan RP
ec6f7a3013
lib/transaction_dictionary.c: modify how transaction stats are computed.
2013-12-14 04:54:52 +01:00
Juan RP
cdb04ff446
NEWS: update with recent changes.
2013-12-12 18:27:21 +01:00
Juan RP
2ab90bdc09
Fixed issue #26 (Replacing an installed pkg multiple times).
2013-12-12 18:24:24 +01:00
Juan RP
87dbf3d25b
tests/replace: fix path to the private repo.
2013-12-12 17:33:04 +01:00
Juan RP
da848cb0ea
Fix shebang in last test-case committed.
2013-12-12 17:24:43 +01:00
Juan RP
90351bef08
Added a new test case to reproduce an issue while replacing a pkg multiple times.
...
The test case currently fails; will be fixed shortly in an upcoming commit.
2013-12-12 17:21:57 +01:00
Juan RP
e8c454f3d2
xbps-query: do not print pkg dirs in local ownedby mode, it's unnecessary.
2013-12-12 15:34:37 +01:00
Juan RP
865dffde58
xbps_repo_open: switch to archive_read_data_block() and misc tweaks.
2013-12-12 00:18:08 +01:00
Juan RP
711f2ea7f5
bin/xbps-rindex/sign.c: fix a double free in error path found by clang-analyzer.
2013-12-11 12:39:15 +01:00
Juan RP
4f6fb2ff67
lib/rpool_get.c: move asserts to the parent function.
2013-12-08 08:08:26 +01:00
Juan RP
d95d5ba113
xbps_array_foreach_cb_multi: remove useless mutex.
2013-12-08 08:07:45 +01:00
Juan RP
2c9ab6a1f2
xbps_pkgdb_get_pkg_metadata: avoid an extra function call.
2013-12-08 08:07:10 +01:00
Juan RP
2d5a8dee19
xbps_find_pkg_orphans: minor optimizations.
2013-12-08 08:06:28 +01:00
Juan RP
eba8ca0319
tests/xbps/xbps-rindex: fix tests after 4403caa
(only use test repo).
2013-12-08 08:04:39 +01:00
Juan RP
1f16a22791
Add NDEBUG to CPPFLAGS if --enable-debug is unset.
2013-12-06 11:55:08 +01:00
Juan RP
e23c64bc84
lib/portableproplib: fixes to allow building with NDEBUG (assert()s disabled).
2013-12-06 11:54:34 +01:00
Juan RP
ae9363b620
lib/plist_fetch.c: fix a memleak in error path.
2013-12-05 16:55:26 +01:00
Juan RP
4403caa434
Add repos set in xbps_handle::repositories to the top of the list.
...
That means that now xbps-install(8) and xbps-query(8) --repository
option does not override the repository list of a configuration file.
2013-12-04 16:59:15 +01:00
Juan RP
d98468515a
Fix #25 correctly: compare against repo->signature.
2013-11-30 08:30:25 +01:00
Juan RP
e86f9def03
xbps-rindex: fix #25 (--sign unnecessarily regenerates <arch>-repodata).
2013-11-30 08:04:37 +01:00
Juan RP
7c57918950
xbps-rindex(8): fix #24 and added an ATF test case.
2013-11-29 17:30:45 +01:00
Juan RP
6861e1d623
Post release version bump.
2013-11-29 10:25:25 +01:00
Juan RP
de5bd83765
NEWS: prepare for 0.27 release.
2013-11-29 10:24:33 +01:00
Juan RP
30a500b5b3
xbps-rindex: clean: fix a regression introduced yesterday (use-after-free).
2013-11-28 11:29:48 +01:00
Juan RP
dce26db1de
libxbps: pkg remove: never remove base symlinks in the root directory.
...
The /bin, /sbin, /lib, /lib32, /lib64, /var/run symlinks should never be removed
in Void, so be safe and ignore the removal of them.
Added another test to the testsuite to verify its correctness.
2013-11-28 10:27:36 +01:00
Juan RP
5d63f6f442
xbps-rindex: clean: avoid printing obj key after removal (dangling pointer) v2.
2013-11-27 15:00:37 +01:00
Juan RP
a8dc0dbdec
xbps-rindex: clean: avoid printing obj key after removal (dangling pointer).
2013-11-27 14:54:21 +01:00
Juan RP
2f1e108af5
NEWS: mention testsuite improvements.
2013-11-27 09:08:10 +01:00
Juan RP
f82af7b142
README.md: add c99 compiler to requirements.
2013-11-27 09:06:46 +01:00
Juan RP
4e427ded92
xbps_file_hash: simplify and use read(2).
2013-11-26 13:08:44 +01:00
Juan RP
a30623c65c
Revert "lib/util_hash.c: xbps_file_hash: remove unnecessary memset() call."
...
This reverts commit febc673f1e
.
2013-11-26 10:40:53 +01:00
Juan RP
5a7eb2255d
Revert "lib/download.c: xbps_fetch_file: remove unnecesary memset() calls."
...
This reverts commit 74970f2e92
.
2013-11-26 10:31:16 +01:00
Juan RP
5c6fdf41dd
Install the default Void Linux RSA key to $DBDIR.
2013-11-25 12:34:14 +01:00
Juan RP
65bfd54d36
configure: added --localstatedir (defaults to /var).
2013-11-25 12:34:03 +01:00
Juan RP
ef67b56054
xbps-rindex: clean: ignore invalid entries from index-files.
2013-11-25 11:27:11 +01:00
Juan RP
20213deb10
xbps-rindex: clean: use the correct key from index-files.
2013-11-25 11:05:06 +01:00
Juan RP
ae8925d907
xbps-rindex: in add mode also remove old entry from index-files.
2013-11-25 11:03:51 +01:00
Juan RP
d2f2796c85
xbps-rindex: redo the clean mode in two passes as it was intended in previous commit.
2013-11-25 10:45:05 +01:00
Juan RP
172c84040c
xbps-rindex: fix clean mode while removing obsolete entries on index-files with updates.
2013-11-25 10:16:38 +01:00
Juan RP
3cbd3deafe
doc/xbps_pkgdb_dictionary.dot: replace reqby obj with rundeps.
2013-11-24 09:02:09 +01:00
Juan RP
79bf795e1a
lib/package_unpack.c: make clang stfu due to -Wmissing-field-initializers.
2013-11-19 10:39:46 +01:00
Juan RP
e1a3e44e2a
configure: append {C{,XX,PP},LD}FLAGS after checking compilter features.
2013-11-18 19:54:38 +01:00
Juan RP
8d7c899d48
lib/package_unpack.c: initiliaze struct rather than memset.
2013-11-18 18:23:31 +01:00
Juan RP
74970f2e92
lib/download.c: xbps_fetch_file: remove unnecesary memset() calls.
2013-11-18 18:20:41 +01:00
Juan RP
febc673f1e
lib/util_hash.c: xbps_file_hash: remove unnecessary memset() call.
2013-11-18 18:12:58 +01:00
Juan RP
ef67a79419
lib/repo_keys.c: remove unnecessary OpenSSL_add_all_xxx() calls.
2013-11-18 17:35:09 +01:00
Juan RP
17228eb12b
xbps-query(8): do not print useless stuff with -vL.
2013-11-18 16:52:12 +01:00