Juan RP
dfc7ff4232
API break: simplify xbps_repository_pool_find_virtualpkg().
2012-01-18 08:25:28 +01:00
Juan RP
454e164116
Makefile: clean up generated files by configure.
2012-01-18 08:23:10 +01:00
Juan RP
9ee50276e4
configure: added --pkgconfigdir option.
2012-01-17 17:34:36 +01:00
Juan RP
834344a1af
Install a pkgconfig file for libxbps.
2012-01-17 17:26:18 +01:00
Juan RP
d0e1477eeb
Simplify xbps_end() and don't continue if xbps_init() did not succeed.
2012-01-17 16:56:17 +01:00
Juan RP
f2b05d6438
Improved pkg best matching in rpool, and support for exact pkgver matches.
...
- xbps_repository_pool_find_pkg in best match case, now returns the
newest package version available in rpool.
- Added xbps_repository_pool_find_pkg_exact that returns a package
by exact matching a pkgver.
- Removed xbps_handle_alloc(), the user is free to use memory
allocated from heap or stack.
- Improved API documentation in preparation for 0.12.
Bumped XBPS_API_VERSION again.
2012-01-17 16:17:03 +01:00
Juan RP
da5e9f841f
xbps-repo: fixed removing multiple entries from index-files.plist.
2012-01-17 12:16:54 +01:00
Juan RP
4fdf675249
xbps-repo: index.c: oldpkgver might be undefined if entry is removed from index.
2012-01-17 11:25:45 +01:00
Juan RP
9906aa7029
xbps-repo: index-files.c: warning due to uninitialized var.
2012-01-17 10:55:28 +01:00
Juan RP
beb7284681
xbps-repo: faster 'genindex' target implementation for index-files.plist.
2012-01-17 10:50:35 +01:00
Juan RP
4164573b35
Added xbps_match_pkgdep_in_array() to match a pkgdep against pkgpatterns.
...
This fixes xbps_match_pkgpattern_in_array() which had the args swapped
in xbps_pkgpattern_match() resulting in inverted results while resolving
virtual packages in a transaction.
2012-01-16 15:50:06 +01:00
Juan RP
ffa48b2cf3
Fix xbps_configure_packages() by avoiding proplib iterators.
2012-01-16 14:41:16 +01:00
Juan RP
865d69e0eb
NEWS: typos.
2012-01-16 08:10:47 +01:00
Juan RP
233d9f4803
Do not treat repositories with trailing '/' chars as invalid.
2012-01-15 17:23:50 +01:00
Juan RP
95804bdb77
xbps-repo: simplify 'index-files.plist', externalized as an array.
2012-01-15 16:33:44 +01:00
Juan RP
2186e16a5e
Fixed issue 21 "xbps-repo find-files
is awfully slow" reported by ojab.
2012-01-15 14:24:44 +01:00
Juan RP
8780e15635
xbps-bin.8: typo, remove refs to purge flag.
2012-01-05 21:19:29 +01:00
Juan RP
0356afba6d
Bump copyright year for latest changes.
2012-01-05 16:17:37 +01:00
Juan RP
c83a77c1b5
Fixed issue 19 "xbps-src cannot fetch source with unknown Content-Length".
2012-01-05 12:26:57 +01:00
Juan RP
7d631c5d11
xbps-bin: fix check_pkg_integrity() pkg dictionary confusion.
2012-01-05 11:53:14 +01:00
Juan RP
ab6d4a19f1
xbps_configure_packages: fix flush arg confusion.
2012-01-04 17:59:49 +01:00
Juan RP
a7ef059673
Bump copyright year for changed files.
2012-01-04 17:56:52 +01:00
Juan RP
a31c20e52a
Make xbps_configure_pkg/packages accept a flush bool arg for frontends.
2012-01-04 17:41:36 +01:00
Juan RP
812005a7d9
libxbps: use vpkg if found in reqby_pkg_add.
2012-01-04 17:41:22 +01:00
Juan RP
e22ba9a972
xbps-bin: simplify and make 'check' target work after regpkgdb flush changes.
2011-12-29 16:43:52 +01:00
Juan RP
bae664c639
xbps_match_pkgpattern_in_array: fix swapped args resulting in non matches.
2011-12-29 16:35:56 +01:00
Juan RP
0d44ae267c
xbps_init: print xhp->conffile if set in a dbg printf.
2011-12-29 10:57:24 +01:00
Juan RP
f4f995574c
xbps_remove_pkg_from_dict_by_name: make this work correctly again.
2011-12-28 09:44:25 +01:00
Juan RP
caaba09295
xbps_register_pkg: fix by adding pkgd into regpkgdb array.
2011-12-28 09:21:01 +01:00
Juan RP
c0f81bd482
xbps-uhelper: use xbps_(un)register_pkg() again.
2011-12-28 05:58:03 +01:00
Juan RP
a7f3a56e19
Make xbps_(un)register_pkg() accept a boolean arg to flush regpkgdb on success.
2011-12-28 05:57:04 +01:00
Juan RP
11ca929985
xbps-uhelper: fix 'fetch' target exiting with error value.
2011-12-24 16:56:45 +01:00
Juan RP
9fa2804763
xbps-uhelper: really fix this time after regpkgdb rototill.
2011-12-24 16:37:42 +01:00
Juan RP
b64fb39701
xbps_remove_pkg_from_dict_by_name: simplify.
2011-12-24 16:37:25 +01:00
Juan RP
5a1ab26972
Introduce xbps_regpkgdb_remove_pkgd, and use regpkgdb funcs to make xbps-uhelper work.
2011-12-24 16:09:30 +01:00
Juan RP
39d064aff8
xbps_unpack_binary_pkg: handle EPERM more efficiently.
2011-12-24 12:07:30 +01:00
Juan RP
9d767f19cb
xbps_remove_pkg: issue a XBPS_STATE_REMOVE_FAIL state cb if access(2) failed.
2011-12-24 01:30:57 +01:00
Juan RP
17c539c2f3
xbps.conf: fix default TransactionFrequencyFlush value.
2011-12-24 01:28:36 +01:00
Juan RP
f8e18c4ecd
Remove a spurious file...
2011-12-24 01:27:52 +01:00
Juan RP
3b7491d29b
Merged purge code in remove, configurable transaction regpkgdb flushing.
...
See the NEWS file for info.
2011-12-24 01:05:26 +01:00
Juan RP
d7a32a7eca
Introduce regpkgdb_foreach_reverse_pkg_cb, switch to regpkgdb_foreach_xxx.
2011-12-23 08:16:25 +01:00
Juan RP
36c79fc167
xbps_handle_alloc: use calloc to avoid using unitilizated value.
2011-12-22 21:47:32 +01:00
Juan RP
ca0905925f
xbps_end: don't continue if we don't have a valid xbps_handle pointer.
2011-12-22 16:55:35 +01:00
Juan RP
3d81d497bd
Redo xbps_repository_pool internals, it's a bit faster now.
2011-12-22 16:38:05 +01:00
Juan RP
32597d85c1
Use xbps_regpkgdb_foreach_pkg_cb() where needed.
2011-12-22 14:41:40 +01:00
Juan RP
7bfcdee791
Introduce xbps_regpkgdb_foreach_pkg_cb() and use it in xbps-bin check.
2011-12-22 14:25:27 +01:00
Juan RP
b232ca1815
libxbps: cache regpkgdb just when it's needed not via xbps_init().
2011-12-22 12:56:56 +01:00
Juan RP
8fd5253e31
xbps_repository_pool_init: check repo arch before plist access(2), faster.
2011-12-22 12:56:49 +01:00
Juan RP
939e2c2417
xbps-bin(8): fix 'find-files' syntax in manpage.
2011-12-22 11:07:54 +01:00
Juan RP
47237846ae
xbps-repo(8): the 'find-files' target now accepts multiple patterns.
2011-12-22 11:01:28 +01:00