Add a 'hash' mode to pkg repo
modified docs/pkg.conf.5
@@ -237,6 +237,22 @@ Directory which
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg.h.in
@@ -819,7 +819,7 @@ int pkg_is_installed(struct pkgdb *db, const char *name);
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_config.c
@@ -382,6 +382,18 @@ static struct config_entry c[] = {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_repo_create.c
@@ -83,6 +83,87 @@ struct pkg_conflict_bulk {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -136,6 +217,8 @@ pkg_create_repo_read_fts(struct pkg_fts_item **items, FTS *fts,
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -164,6 +247,16 @@ pkg_create_repo_read_fts(struct pkg_fts_item **items, FTS *fts,
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -284,7 +377,13 @@ pkg_create_repo_worker(struct pkg_fts_item *start, size_t nelts,
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -452,7 +551,7 @@ fts_compare(const FTSENT *const *a, const FTSENT *const *b)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -512,6 +611,9 @@ pkg_create_repo(char *path, const char *output_dir, bool filelist,
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -584,9 +686,8 @@ pkg_create_repo(char *path, const char *output_dir, bool filelist,
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg.h
@@ -51,6 +51,11 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -496,6 +501,9 @@ struct pkg_repo_meta {
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/private/utils.h
@@ -69,6 +69,7 @@ int file_to_bufferat(int, const char *, char **, off_t *);
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/repo/binary/fetch.c
@@ -75,15 +75,15 @@ pkg_repo_binary_get_cached_name(struct pkg_repo *repo, struct pkg *pkg,
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/utils.c
@@ -296,6 +296,14 @@ is_dir(const char *path)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified scripts/completion/_pkg.in
@@ -143,6 +143,8 @@ _pkg_config_opts() {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -459,10 +461,12 @@ _pkg_args() {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified src/repo.c
@@ -96,17 +96,27 @@ exec_repo(int argc, char **argv)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| + | |
|
|
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -119,6 +129,9 @@ exec_repo(int argc, char **argv)
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -140,7 +153,8 @@ exec_repo(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|