Always emit files catalog and emit it in yaml format
modified libpkg/pkg.h.in
@@ -839,13 +839,11 @@ int pkg_is_installed(struct pkgdb *db, const char *origin);
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_manifest.c
@@ -722,6 +722,57 @@ manifest_append_seqval(yaml_document_t *doc, int parent, int *seq,
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -778,12 +829,6 @@ pkg_emit_manifest2(struct pkg *pkg, struct sbuf *destbuf, bool compact)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified libpkg/pkg_repo.c
@@ -74,7 +74,6 @@ typedef enum _sql_prstmt_index {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -167,12 +166,6 @@ static sql_prstmt sql_prepared_statements[PRSTMT_LAST] = {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -345,31 +338,15 @@ set_repo_user_version(sqlite3 *sqlite, const char *database, int reposcver)
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -379,13 +356,6 @@ initialize_repo(const char *repodb, const char *filesdb, bool force,
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -404,8 +374,6 @@ initialize_repo(const char *repodb, const char *filesdb, bool force,
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -430,12 +398,6 @@ initialize_repo(const char *repodb, const char *filesdb, bool force,
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -455,25 +417,21 @@ initialize_repo(const char *repodb, const char *filesdb, bool force,
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -523,11 +481,11 @@ run_prepared_statement(sql_prstmt_index s, ...)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -603,8 +561,7 @@ pack_extract(const char *pack, const char *dbname, const char *dbpath)
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -612,7 +569,6 @@ pkg_create_repo(char *path, __unused bool force, bool files,
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -629,11 +585,11 @@ pkg_create_repo(char *path, __unused bool force, bool files,
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -657,22 +613,21 @@ pkg_create_repo(char *path, __unused bool force, bool files,
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
| - | |
| - | |
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -739,6 +694,7 @@ pkg_create_repo(char *path, __unused bool force, bool files,
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -862,30 +818,15 @@ pkg_create_repo(char *path, __unused bool force, bool files,
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -906,7 +847,13 @@ pkg_create_repo(char *path, __unused bool force, bool files,
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1039,8 +986,6 @@ pack_db(const char *name, const char *archive, char *path,
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -1057,9 +1002,9 @@ pkg_finish_repo(char *path, pem_password_cb *password_cb, char *rsa_key_path)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg.h
@@ -384,5 +384,6 @@ int pkg_register_shlibs(struct pkg *pkg);
|
|
|
|
|
|
| + | |
|
|
|
modified pkg/repo.c
@@ -90,9 +90,8 @@ exec_repo(int argc, char **argv)
|
|
|
|
|
|
| - | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -100,9 +99,6 @@ exec_repo(int argc, char **argv)
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -117,10 +113,10 @@ exec_repo(int argc, char **argv)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|