Juan RP
ae8925d907
xbps-rindex: in add mode also remove old entry from index-files.
2013-11-25 11:03:51 +01:00
Juan RP
ab5b356b5b
xbps-rindex: initialize idxfiles in repo to access to it.
2013-10-18 09:36:25 +02:00
Juan RP
f3b0b19258
xbps-rindex: remove -c --clean mode and adapt to the new libxbps API.
...
- Removed -c --clean mode. It's not too useful and adds a considerable
amount of gratuitous code. It takes almost the same time than
adding all pkgs from scratch.
- When creating the repository data always add the meta plist at the
2nd position in the archive, to optimize its access.
- Misc improvements.
2013-10-07 10:23:14 +02:00
Juan RP
8d5c48b861
Added support for the long awaited feature: RSA signed repositories.
2013-10-05 11:38:04 +02:00
Juan RP
af4e90aae8
xbps-rindex: register pkgs in index-files by pkgname and use xbps_array_foreach_cb().
...
This simplifies accessing/removing pkgs in this dictionary.
2013-09-16 10:41:42 +02:00
Juan RP
98e1687ef5
Re-add all pkg metadata objects to the repository index.
2013-09-16 09:09:56 +02:00
Juan RP
4057e4961c
Use C99 for loop initializers.
...
That means that a C99 compiler is now mandatory.
2013-09-15 10:06:49 +02:00
Juan RP
09e116b7f0
xbps_api.h -> xbps.h
2013-06-20 12:31:02 +02:00
Juan RP
42c0766c00
Get rid of libfetch and proplib external dependencies.
...
The list of required external deps is now confuse, libarchive and openssl.
libxbps now includes a wrapper for proplib prefixed with xbps_ rather than prop_.
2013-06-20 10:26:12 +02:00
Juan RP
02a11ed08c
xbps-rindex: add: remove unused headers; prop_array_count checks for NULL pointers.
2013-06-19 09:20:44 +02:00
Juan RP
db1efb3aa6
Relax memory requirements on 64bit platforms; fix two memleaks.
2013-06-12 10:04:10 +02:00
Juan RP
99be698979
Use a single file to store repository data.
...
This is just the starting point to extend repositories with PGP signatures.
2013-06-10 10:28:39 +02:00
Juan RP
53217fd51b
xbps-rindex: added -f --force flag to forcefully register a pkg with -a --add.
2013-05-02 10:46:30 +02:00
Juan RP
3a5d6b1376
xbps-rindex: fixed writing repo index-files (regression added in e29f221
).
2013-04-17 14:20:48 +02:00
Juan RP
074a2f0747
bin/xbps-rindex/index-add.c: remove completely unused var.
2013-04-04 10:09:52 +02:00
Juan RP
6ac76f68ed
bin/xbps-rindex/index-add.c: remove unused variable.
2013-04-04 10:04:45 +02:00
Juan RP
e29f2216e2
xbps-rindex: fix memleaks in error paths.
2013-04-04 09:55:12 +02:00
Juan RP
7c1a0ac3e8
New pkgdb (0.21) and repo index (1.7) format, see NEWS for info.
2013-03-05 04:08: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
e2176ec4b6
bin: no point in cleaning up resources when it's exiting...
2012-12-14 11:58:30 +01:00
Juan RP
a0443fc4ce
xbps-rindex(8): clean mode (-c) is now multithreaded.
2012-12-14 04:59:47 +01:00