Juan RP
5d59a15faf
libxbps: even if executing a pre-remove action fails, continue removing pkg.
...
This is no reason to stop removing a pkg, so just continue and fully
remove the pkg.
2012-12-29 07:13:49 +01:00
Juan RP
0f22579a34
libxbps: fixed regression executing "pre-remove" action in installed pkgs.
2012-12-28 10:42:13 +01:00
Juan RP
492bfeb560
xbps-create: ignore 'shlib-{provides,requires}' files generated by xbps-src.
2012-12-24 11:39:10 +01:00
Juan RP
1fa3601893
xbps-create: added support for --shlib-{provides,requires} options.
2012-12-24 10:55:17 +01:00
Juan RP
dd8f3bfe8c
configure: post release version bump to 0.20.
2012-12-23 17:15:42 +01:00
Juan RP
0df466be9c
TODO: mention 'shlib-provides' and 'shlib-requires'.
2012-12-23 17:14:53 +01:00
Juan RP
c46963216c
configure: bump VERSION to 0.19.1.
2012-12-22 16:54:49 +01:00
Juan RP
9489f8a3dc
Do not configure pkg if there's an update in transaction.
...
This fixes the following problem:
- pkg is installed with state "unpacked".
- There's an update of pkg in transaction.
- xbps tries to configure the pkg because its state is "unpacked",
therefore ignoring the update.
2012-12-20 12:08:55 +01:00
Juan RP
cf1c42a109
xbps-query.8: improve desc for -o and -s.
2012-12-20 07:17:16 +01:00
Juan RP
a12b1b671b
xbps-query.8: explain pkg states for the -l option.
2012-12-20 07:11:05 +01:00
Juan RP
b77a6df950
xbps-{install,query}.8: add PACKAGE EXPRESSION section.
2012-12-20 07:02:28 +01:00
Juan RP
faf0fd6a08
xbps-query: print pkg state in -l, --list-packages mode.
2012-12-20 06:15:56 +01:00
Juan RP
2a7700bc94
xbps-query: also print pkg state in local mode.
2012-12-20 06:15:18 +01:00
Juan RP
fed10ff211
NEWS: mention xbps-reconfigure fix.
2012-12-20 06:04:28 +01:00
Juan RP
66cf15f1c2
Update API docs.
2012-12-19 01:01:27 +01:00
Juan RP
6a60bceb54
xbps_configure_pkg: set pkg state in our pkg dictionary from pkgdb.
...
Replacing a dictionary while the iterator is held invalidates this iterator, thus
breaking the loop.
Thanks to pancake for finding this issue.
2012-12-17 11:27:10 +01:00
Juan RP
9d97d2952a
NEWS: prepare 0.19.
2012-12-15 23:21:30 +01:00
Juan RP
23e7f317f8
xbps-query: ownedby: simplify and avoid xbps_pkgpattern_match, fnmatch is enough.
2012-12-15 19:19:42 +01:00
Juan RP
bb877b0db7
xbps-rindex: -a does not remove outdated binpkgs anymore; use -r instead.
2012-12-15 11:13:32 +01:00
Juan RP
b75cd05c37
Use posix_fadvise(2) only if it's available.
2012-12-15 10:47:30 +01:00
Juan RP
5dab658d09
xbps_unpack_binary_pkg: use posix_fadvise(2).
2012-12-15 09:51:44 +01:00
Juan RP
e1fc085915
xbps_file_hash: use madvise(2).
2012-12-15 09:51:05 +01:00
Juan RP
4095290189
xbps_fetch_file: use O_CLOEXEC.
2012-12-15 09:50:37 +01:00
Juan RP
22adf99e40
Faster generation of dynamic reverse dependencies and do this exactly once.
2012-12-15 07:33:49 +01:00
Juan RP
e2176ec4b6
bin: no point in cleaning up resources when it's exiting...
2012-12-14 11:58:30 +01:00
Juan RP
647aa0727f
xbps-pkgdb/Makefile: remove redundant assignment.
2012-12-14 09:56:12 +01:00
Juan RP
41f753248f
xbps-rindex(8): remove obsoletes mode (-r) is now multithreaded.
2012-12-14 09:47:47 +01:00
Juan RP
338c0d549f
xbps-pkgdb: fixed some memleaks.
2012-12-14 06:04:58 +01:00
Juan RP
a0443fc4ce
xbps-rindex(8): clean mode (-c) is now multithreaded.
2012-12-14 04:59:47 +01:00
Juan RP
33a8150a98
xbps-pkgdb: checking all pkgs with -a/--all is now multithreaded.
2012-12-14 03:31:24 +01:00
Juan RP
db5da575a4
xbps-create: added support to add hardlinks.
2012-12-12 03:48:27 +01:00
Juan RP
f2d2b2fde9
xbps-install: fetch_cb.c: if stdout is a tty use stderr.
2012-12-10 11:20:59 +01:00
Juan RP
ca5aeebdc9
xbps-install: fetch_cb.c: do not print ANSI escape codes if stdout isn't a tty.
2012-12-10 11:09:18 +01:00
Juan RP
1d42986b75
libxbps: finish support for rindex 1.6.
2012-12-07 17:11:52 +01:00
Juan RP
14d1734a84
README: GNU make and libarchive>=3.0.2 are mandatory to build xbps.
2012-12-07 11:05:54 +01:00
Juan RP
849191a5de
xbps-rindex: [clean] if pkg cannot be read don't check for hash mismatch.
2012-12-07 09:57:41 +01:00
Juan RP
305659644f
xbps_rindex_sync: check that downloaded repo index is a dictionary.
2012-12-07 08:34:45 +01:00
Juan RP
3e3073e44c
xbps_rpool_init: relax an assertion and skip invalid repos gracefully.
2012-12-07 08:31:47 +01:00
Juan RP
2c1e4e502d
XBPS can now be built on NetBSD (and probably any other BSD variant).
2012-12-06 12:58:17 +01:00
Juan RP
d6a65a5a55
etc/xbps.conf: fix old comment.
2012-12-06 11:04:55 +01:00
Juan RP
942db86eb5
xbps-query/search.c: add missing assert.h.
2012-12-06 10:58:11 +01:00
Juan RP
e277823268
xbps_api.h.in: don't redefine __{BEGIN,END}_DECLS; which is true on BSD.
2012-12-06 10:54:01 +01:00
Juan RP
924ef35a07
xbps-query: fixed some issues found by pancake and valgrind.
2012-12-05 08:47:53 +01:00
Juan RP
298072ced3
xbps-rindex(8): in clean mode (-c) also remove entries with unmatched hash.
2012-12-03 11:05:37 +01:00
Juan RP
2e2da80cfc
find_repo_deps: find pkgd from pkgdb by name as it checks for version later.
2012-12-02 16:34:01 +01:00
Juan RP
0e40a2dbba
xbps_pkgdb_get_pkg_revdeps: make sure to not have dup entries.
2012-12-01 08:10:47 +01:00
Juan RP
8c84e22b94
xbps_transaction_sort: do not sort removed pkgs; just add them to head.
2012-12-01 08:10:15 +01:00
Juan RP
f45352dbf8
Added support for dynamic generation of revdeps for installed packages.
2012-11-30 17:40:52 +01:00
Juan RP
9ac3b60048
xbps-query: repo_revdeps_cb: simplify by using a dictionary iterator.
2012-11-30 10:45:26 +01:00
Juan RP
731c903026
libxbps: do not insert/delete while traversing a (double) locked iterator.
2012-11-30 10:04:36 +01:00