Commit Graph

1428 Commits

Author SHA1 Message Date
Juan RP
bdcdb9f1a0 xbps_fetch_file: don't check for file truncation if server answers with invalid info. 2013-02-01 13:40:27 +01:00
Juan RP
42e0f19bbe Fix package conflicts detection (regression from b9136c61c9). 2013-02-01 12:41:27 +01:00
Juan RP
303df5fc46 xbps-install: new flag -S,--sync and remove -s,--skip-sync.
-S: to explicitly synchronize remote repository index files.
-s: removed because it is now redundant and useless.
2013-01-31 10:44:33 +01:00
Juan RP
cc068b2b39 xbps-query: do not sync repo index-files; use xbps-install -S instead. 2013-01-31 10:44:27 +01:00
Juan RP
a92d6e73e5 xbps-create.8: mention --shlib-{provides,requires}. 2013-01-31 09:49:11 +01:00
Juan RP
9cf104498e lib/initend.c: convert a noisy printf to dbg_printf. 2013-01-31 09:42:22 +01:00
Juan RP
7360a6fca3 Fix previous; only use arg0 in client cb. 2013-01-31 09:41:43 +01:00
Juan RP
d2178b70e3 xbps_rindex_sync: pass correct file to the state cb. 2013-01-31 09:33:06 +01:00
Juan RP
782b85438e configure: post-release version bump. 2013-01-24 09:49:28 +01:00
Juan RP
e6fcf87b50 NEWS: prepare for 0.20. 2013-01-24 09:39:16 +01:00
Juan RP
130649bad9 xbps-query/list.c: remove obsolete code. 2013-01-24 09:37:58 +01:00
Juan RP
82a8263f37 xbps-rindex(8): fix crash in -r when a pkg cannot be removed. 2013-01-16 16:25:29 +01:00
Juan RP
fa40928026 xbps-install: don't treat EEXIST as an error when installing pkgs.
Thanks to pancake for the bug hunting.
2013-01-16 11:47:52 +01:00
Juan RP
e75fcdd567 xbps_fetch_file: avoid copying from a NULL pointer. 2013-01-15 15:55:18 +01:00
Juan RP
3139f822da lib/pkgdb.c: print to stderr a meaningful msg on error. 2013-01-15 13:14:30 +01:00
Juan RP
71430b1566 lib/initend.c: print to stderr a meaningfull msg on error. 2013-01-15 13:14:06 +01:00
Juan RP
b5bb1debe4 Partial revert of 5d59a15faf.
Error out if "pre-remove" script action fails, otherwise package is
removed but its files are still there (ouch).
2013-01-14 14:01:35 +01:00
Juan RP
5e613243ea NEWS: mention libfetch changes. 2013-01-13 21:11:33 +01:00
Juan RP
c3f9eff4f3 3RDPARTY: sync with reality. 2013-01-13 21:10:22 +01:00
Juan RP
2f3913f3aa lib/fetch/common.c: merge 2.34 and backport a patch for select(2) and SSL. 2013-01-13 21:09:15 +01:00
Juan RP
336897d964 xbps_fetch_file: simplify and use libfetch support for If-Modified-Since. 2013-01-13 16:27:59 +01:00
Juan RP
ea2f2c7297 Silence -Wformat-nonliteral warning with clang. 2013-01-04 10:35:00 +01:00
Juan RP
a4e3a489a1 Change some configure options to --enable-foo (static, debug, tests, etc). 2012-12-29 07:44:10 +01:00
Juan RP
ba12ba2689 NEWS: mention recent change when removing pkgs. 2012-12-29 07:43:02 +01:00
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