Juan RP
ec0d38c469
Implement per pkg RSA signatures and on-demand repository access.
2013-12-24 10:43:55 +01:00
Juan RP
3c0edd40c8
lib/package_unpack.c: only create rootdir if it doesn't exist once.
2013-12-21 12:03:38 +01:00
Juan RP
0744b76946
xbps-xxx.8: update issues url.
2013-12-17 15:38:56 +01:00
Juan RP
2e45e7c5f7
xbps-remove.8: explain how to show the pkg remove script.
2013-12-17 15:36:07 +01:00
Juan RP
77b41d7696
xbps-reconfigure.8: explain how to show the pkg install script.
2013-12-17 15:28:22 +01:00
Juan RP
152212a9ab
Update tests for new API.
2013-12-16 11:55:51 +01:00
Juan RP
2a21354a1c
Make some reorganization in struct xbps_handle.
...
The variables to set cachedir, rootdir and metadir have been
changed to "array of chars", this way there are no extra allocations.
Update clients accordingly and bump API version.
2013-12-16 11:46:39 +01:00
Juan RP
2c16e23646
lib/transaction_sortdeps.c: bump copyright year.
2013-12-16 09:18:54 +01:00
Juan RP
a84d7c0199
lib/transaction_sortdeps.c: remove dead code.
2013-12-16 09:18:19 +01:00
Juan RP
e64227b617
xbps.h: drop requirement of sys/queue.h.
2013-12-16 08:59:11 +01:00
Juan RP
67cfc4ebad
rpool: switch "struct xbps_repo" to be part of the rpool simpleq.
...
The previous internal "struct rpool" was an extra structure that
can be avoided by just using "struct xbps_repo" directly.
This makes rpool use (at least) 4KB less per repository and 1
extra allocation.
2013-12-16 08:49:33 +01:00
Juan RP
b1309644e5
lib/transaction_sortdeps.c: there's no need to use TAILQ_FOREACH_SAFE.
2013-12-16 08:44:14 +01:00
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