xbps/bin
Juan RP 494504dbec Added support for a cachedir to store downloaded binpkgs.
libxbps:
 * Added xbps_set_cachedir() and xbps_get_cachedir(). By default it's
   set to /var/cache/xbps if not specified and it's always relative
   to the root directory.
 * Move mkpath() code from sync_remote_pkgidc.c into its own file mkpath.c
   to use it in another parts of the code.
 * Added xbps_get_binpkg_local_path(), that returns the local path to
   a binary package file, stored in cachedir or local repo.
 * Remote pkg index files are now stored directly in metadir/repodir,
   skipping the arch directory because binpkgs are now in cachedir.

xbps-bin:
 * Added -c flag to set the cachedir.
 * Check sha256 hashes in the download stage so that it can check
   a downloaded binpkg immediately once is stored.
 * If a binpkg doesn't match the hash it will be refetched.

Bump XBPS_RELVER to 20091128.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091128013841-kkcvk07lsqdr26w8
2009-11-28 02:38:41 +01:00
..
xbps-bin Added support for a cachedir to store downloaded binpkgs. 2009-11-28 02:38:41 +01:00
xbps-repo Added some missing changes for previous. 2009-11-26 03:32:56 +01:00
xbps-uhelper xbps-uhelper: new bin that combines xbps-cmpver, xbps-digest, 2009-11-24 11:59:47 +00:00
Makefile xbps-uhelper: new bin that combines xbps-cmpver, xbps-digest, 2009-11-24 11:59:47 +00:00