Add basic support of flexible repo types.
modified configure.ac
@@ -290,7 +290,7 @@ AC_CONFIG_COMMANDS([pkg_repos.h], [[
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg.h.in
@@ -309,10 +309,6 @@ typedef enum {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified libpkg/pkg_config.c
@@ -45,6 +45,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -311,7 +312,8 @@ static struct config_entry c[] = {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -404,6 +406,7 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -469,6 +472,14 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -478,7 +489,7 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -917,14 +928,36 @@ pkg_init(const char *path, const char *reposdir)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_repo_update.c
@@ -601,5 +601,5 @@ cleanup:
|
|
|
|
|
|
| - | |
| + | |
|
modified libpkg/private/pkg.h
@@ -320,8 +320,28 @@ struct pkg_repo_meta {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -345,10 +365,11 @@ struct pkg_repo {
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/repo/binary/Makefile.am
@@ -1,3 +1,12 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/repo/binary/dummy.c
@@ -21,3 +21,16 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |