xbps/lib
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
..
fetch Improve make output similar to what recent GNU configure scripts do. 2009-11-19 06:03:37 +01:00
cmpver.c Implemented support for working with remote repositories. 2009-10-27 01:46:00 +01:00
configure.c Major changes in libxbps to implement caching in some cases. 2009-11-26 02:22:50 +00:00
depends.c Major changes in libxbps to implement caching in some cases. 2009-11-26 02:22:50 +00:00
download.c Some changes to know if a file was downloaded successfully or not. 2009-11-24 05:03:26 +00:00
fexec.c Implemented support for working with remote repositories. 2009-10-27 01:46:00 +01:00
findpkg.c Major changes in libxbps to implement caching in some cases. 2009-11-26 02:22:50 +00:00
humanize_number.c Implemented support for working with remote repositories. 2009-10-27 01:46:00 +01:00
Makefile Added support for a cachedir to store downloaded binpkgs. 2009-11-28 02:38:41 +01:00
mkpath.c Added support for a cachedir to store downloaded binpkgs. 2009-11-28 02:38:41 +01:00
orphans.c Major changes in libxbps to implement caching in some cases. 2009-11-26 02:22:50 +00:00
pkgmatch.c Fix some issues while matching for required pkgdeps. 2009-11-07 16:41:59 +01:00
plist.c xbps_find_pkg_installed_from_plist: if pkg is in 'config-files' 2009-11-26 05:01:07 +01:00
purge.c Major changes in libxbps to implement caching in some cases. 2009-11-26 02:22:50 +00:00
register.c Major changes in libxbps to implement caching in some cases. 2009-11-26 02:22:50 +00:00
regpkgs_dictionary.c Major changes in libxbps to implement caching in some cases. 2009-11-26 02:22:50 +00:00
remove.c Extensively verified that all functions have its return value 2009-11-23 09:46:51 +00:00
repository_plist.c xbps_get_path_from_pkg_dict_repo: adding rootdir wasn't correct for 2009-11-26 04:40:26 +01:00
repository_pool.c xbps_repository_pool_init: if unexistent repos are registered, 2009-11-27 01:51:30 +01:00
repository.c Use xbps_get_root() directly where appropiate. 2009-10-27 12:15:47 +01:00
requiredby.c Major changes in libxbps to implement caching in some cases. 2009-11-26 02:22:50 +00:00
sha256.c Properly build shared/static libxbps and utils. 2009-10-30 12:17:26 +01:00
sortdeps.c Extensively verified that all functions have its return value 2009-11-23 09:46:51 +00:00
state.c Major changes in libxbps to implement caching in some cases. 2009-11-26 02:22:50 +00:00
sync_remote_pkgidx.c Added support for a cachedir to store downloaded binpkgs. 2009-11-28 02:38:41 +01:00
unpack.c Added support for a cachedir to store downloaded binpkgs. 2009-11-28 02:38:41 +01:00
util.c Added support for a cachedir to store downloaded binpkgs. 2009-11-28 02:38:41 +01:00