Load mirror_type per repository
modified libpkg/pkg.h.in
@@ -1361,5 +1361,6 @@ const char *pkg_repo_url(struct pkg_repo *r);
|
|
|
|
|
|
| + | |
|
|
|
modified libpkg/pkg_config.c
@@ -684,7 +684,7 @@ static void
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -708,6 +708,8 @@ add_repo(yaml_document_t *doc, yaml_node_t *repo, yaml_node_t *node)
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -730,6 +732,15 @@ add_repo(yaml_document_t *doc, yaml_node_t *repo, yaml_node_t *node)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -821,17 +832,25 @@ static void
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1169,6 +1188,12 @@ pkg_repo_enabled(struct pkg_repo *r)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified pkg/main.c
@@ -473,10 +473,22 @@ main(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|