Implement new repo style.
modified libpkg/pkg.h.in
@@ -959,9 +959,10 @@ int pkg_is_installed(struct pkgdb *db, const char *origin);
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_repo_create.c
@@ -256,17 +256,19 @@ pkg_create_repo_read_fts(struct pkg_fts_item **items, FTS *fts,
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -331,7 +333,21 @@ pkg_create_repo_worker(struct pkg_fts_item *start, size_t nelts,
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -379,6 +395,8 @@ pkg_create_repo_worker(struct pkg_fts_item *start, size_t nelts,
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -391,6 +409,8 @@ cleanup:
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -473,7 +493,7 @@ pkg_create_repo_read_pipe(int fd, struct digest_list_entry **dlist)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -485,7 +505,7 @@ pkg_create_repo(char *path, const char *output_dir, bool filelist,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -515,6 +535,16 @@ pkg_create_repo(char *path, const char *output_dir, bool filelist,
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -583,7 +613,8 @@ pkg_create_repo(char *path, const char *output_dir, bool filelist,
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -644,6 +675,23 @@ pkg_create_repo(char *path, const char *output_dir, bool filelist,
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -673,6 +721,8 @@ cleanup:
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -826,7 +876,8 @@ pkg_finish_repo(const char *output_dir, pem_password_cb *password_cb,
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -881,6 +932,24 @@ pkg_finish_repo(const char *output_dir, pem_password_cb *password_cb,
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -917,6 +986,11 @@ pkg_finish_repo(const char *output_dir, pem_password_cb *password_cb,
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_repo_meta.c
@@ -44,6 +44,7 @@ pkg_repo_meta_set_default(struct pkg_repo_meta *meta)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -293,13 +294,13 @@ pkg_repo_meta_default(void)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg.h
@@ -482,6 +482,7 @@ int pkg_repo_fetch_meta(struct pkg_repo *repo, time_t *t);
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/private/repodb.h
@@ -39,6 +39,7 @@ static const char repo_digests_file[] = "digests";
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
modified src/repo.c
@@ -70,24 +70,22 @@ int
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -98,6 +96,12 @@ exec_repo(int argc, char **argv)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -119,7 +123,7 @@ exec_repo(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|