Juan RP
8b74616f58
README: minor nits.
2012-07-22 10:55:24 +02:00
Juan RP
5a120e346e
xbps-repo: new 'remove-obsoletes' target to remove obsolete pkgs in a local repo.
2012-07-22 10:48:29 +02:00
Juan RP
f0c96aac65
xbps-repo: index-clean now also removes obsolete pkgs found in repo.
2012-07-22 10:21:49 +02:00
Juan RP
adc6ce9d22
xbps-repo: [index] use proper arch obj to remove old entry.
2012-07-21 22:23:45 +02:00
Juan RP
29f9724ba0
xbps-repo: properly remove (no)arch old entry/binpkg from index.
2012-07-21 21:50:16 +02:00
Juan RP
f7a5c55bc7
libxbps: xbps_pkg_arch_match: fix conditional tests.
2012-07-21 21:49:37 +02:00
Juan RP
a756060d38
libxbps: [unpack] fixed passing dangling pointer to unpack cb.
2012-07-21 10:41:19 +02:00
Juan RP
e3fbc01cbe
NEWS: mention ubuntu build fixes.
2012-07-19 18:07:22 +02:00
Juan RP
3339d0cd25
libfetch: fix warnings.
2012-07-19 18:00:31 +02:00
Juan RP
9a69c5e349
xbps-bin: fix a warning found by -Wshadow on Ubuntu.
2012-07-19 18:00:19 +02:00
Juan RP
634b5f726a
configure: force --no-as-needed in CC tests.
2012-07-19 17:50:29 +02:00
Juan RP
eb02d30791
configure: explicitly link dynamic executables to the shared library.
2012-07-19 16:30:53 +02:00
Juan RP
ef5743dfe5
configure: added '--with-static' option (disabled by default).
2012-07-19 16:01:12 +02:00
Juan RP
9c05e4b0c9
configure: add -O2 by default to CFLAGS.
2012-07-19 15:51:43 +02:00
Juan RP
bf7324f7a4
xbps-repo: mention index-{add,clean} in usage().
2012-07-18 15:06:47 +02:00
Juan RP
34d1c3411d
NEWS: mention repo index file locking.
2012-07-17 13:22:45 +02:00
Juan RP
674adf64a3
xbps-repo: remove old binpkg symlinks too, fix index-files.
2012-07-17 13:10:34 +02:00
Juan RP
8eba2d7ea3
xbps-repo: replaced 'genindex' target with 'index-{add,clean}'.
...
See the NEWS file for more information.
2012-07-17 12:31:04 +02:00
Juan RP
9edd60c3a7
libxbps: extend the list of symlinks in rootdir to be ignored.
2012-07-14 12:11:55 +02:00
Juan RP
6784a7b550
etc/xbps.conf: update list of remote repositories.
2012-07-14 12:11:33 +02:00
Juan RP
2f1e975607
Added "install-date" object to pkg's pkgdb dictionary, make xbps-bin(8) print it.
2012-07-11 12:19:39 +02:00
Juan RP
d8f1fc978a
NEWS: be ready for 0.16.4.
2012-07-10 23:44:47 +02:00
Juan RP
11ecf5438f
Import proplib-0.6.1.
2012-07-10 23:33:19 +02:00
Juan RP
34697e8022
libxbps: improve matching obsolete files, skip matches by hash and filename.
...
Don't remove top level symlinks (/bin, /sbin and /lib) if they were found
as obsoletes. This is a workaround for the system transition to /usr.
2012-07-10 23:22:25 +02:00
Juan RP
414fd67302
TODO: more items for 0.17.
2012-07-04 14:58:46 +02:00
Juan RP
172435bd7e
xbps_check_is_installed_pkg_by_pattern: do not reset errno, leave it as is.
2012-07-04 12:59:40 +02:00
Juan RP
5c24ef3b7f
NEWS: update for 0.16.2.
2012-07-04 11:58:03 +02:00
Juan RP
94238302f2
transaction_ops: in update, check if curpkg has been previously added.
2012-07-04 11:56:01 +02:00
Juan RP
e879c71a02
transaction_sortdeps: check if dep is installed by pattern.
2012-07-04 11:55:51 +02:00
Juan RP
dfb45f27ef
xbps_transaction_package_replace: misc cosmetic changes to dbg printfs.
2012-07-04 11:54:37 +02:00
Juan RP
abdf6e710d
xbps_remove_pkg: do not pass dangling pointers to state cb after removing pkgdict.
2012-07-04 09:52:51 +02:00
Juan RP
f1ad8a95de
xbps-repo: fixed issue 24 (xbps-src make-repoidx is doing something wrong).
2012-06-30 11:10:00 +02:00
Juan RP
54bc92bd97
xbps_dictionary_from_archive_entry: simplify and sync zlib code with proplib.
2012-06-20 09:26:00 +02:00
Juan RP
11ca0d481b
doc: update transaction dot file.
2012-06-20 09:11:17 +02:00
Juan RP
5cb0d17f8e
xbps-repo: [clean] print err msg when unlink(2) fails.
2012-06-19 10:55:42 +02:00
Juan RP
f4e97228c8
xbps-repo: [clean] do not fail if cachedir does not exist, update for new API.
2012-06-19 10:52:57 +02:00
Juan RP
8abd275bfb
libxbps: xbps_rpool_release: don't release repo_pool, it's already released.
2012-06-18 10:49:36 +02:00
Juan RP
c24ce8e4da
libxbps: use memcpy in critical paths for performance, fixed some memleaks.
2012-06-18 10:43:05 +02:00
Juan RP
3e93d235ff
xbps-{bin,repo}: strlcpy -> memcpy.
2012-06-18 10:42:24 +02:00
Juan RP
a2e42f1d57
xbps-bin: fixed a memleak in show_pkg_info().
2012-06-18 10:01:27 +02:00
Juan RP
0f3d4f4a19
libxbps: hide compat symbols.
2012-06-18 09:52:19 +02:00
Juan RP
ad766cd538
xbps-repo: fixed regression in the 'clean' target.
2012-06-16 09:32:26 +02:00
Juan RP
974b2fe8ad
libxbps: simplify pkgdb_get_pkgd and find_pkg_dict_installed internals.
...
There's no need to prop_dictionary_copy the returned dictionary to
later have to free it again, just return directly the dictionary and
avoid the free(3)s.
2012-06-16 09:02:07 +02:00
Juan RP
068cab8d20
libxbps: performance improvements by caching the most accessed paths.
...
1- We can cache the result of the first xbps_pkgdb_init() when it fails
and avoid the malloc/free/access from it.
2- We cache the uname(2) result into a private var in xbps_handle and
use it in xbps_pkg_arch_match().
This improves performance by ~5% approx and it's close as it was before
introducing the repository index format 1.5.
2012-06-15 15:33:11 +02:00
Juan RP
506625a716
libxbps: also match vpkgs in previous commit.
2012-06-14 12:12:05 +02:00
Juan RP
302b216d8d
libxbps: do not add dups to transaction dictionary due to virtual pkgs.
2012-06-14 11:53:27 +02:00
Juan RP
29871b2120
xbps-bin: re-add libxbps cleanup to the sighandler, also handle SIGHUP.
2012-06-14 10:11:50 +02:00
Juan RP
c31d168e2b
xbps_api.h: document EAGAIN in xbps_transaction_prepare(), fix typos.
2012-06-14 10:01:24 +02:00
Juan RP
6cc5ee2d81
xbps_api.h: fix doc for xbps_rpool_index.
2012-06-14 09:49:32 +02:00
Juan RP
d46c503a97
xbps_api.h: document new xhp arg in some funcs.
2012-06-14 09:43:39 +02:00