xbps/bin/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
..
check.c Major changes in libxbps to implement caching in some cases. 2009-11-26 02:22:50 +00:00
defs.h Refactored shared code between xbps-bin(8) and xbps-repo(8). 2009-11-24 11:05:39 +00:00
install.c Added support for a cachedir to store downloaded binpkgs. 2009-11-28 02:38:41 +01:00
main.c Added support for a cachedir to store downloaded binpkgs. 2009-11-28 02:38:41 +01:00
Makefile Refactored shared code between xbps-bin(8) and xbps-repo(8). 2009-11-24 11:05:39 +00:00
remove.c Refactored shared code between xbps-bin(8) and xbps-repo(8). 2009-11-24 11:05:39 +00:00
show-deps.c Major changes in libxbps to implement caching in some cases. 2009-11-26 02:22:50 +00:00
show-info-files.c xbps-repo(8): added 'show-files' target. 2009-11-25 02:15:56 +00:00
xbps-bin.8.txt Added support for a cachedir to store downloaded binpkgs. 2009-11-28 02:38:41 +01:00