IP: rework support for ip v4 vs v6
modified libpkg/fetch_libcurl.c
@@ -152,6 +152,10 @@ http_getmirrors(struct curl_repodata *cr)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -358,6 +362,10 @@ retry:
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/fetch_ssh.c
@@ -65,9 +65,9 @@ tcp_connect(struct pkg_repo *repo, struct yuarel *u)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -167,9 +167,9 @@ ssh_connect(struct pkg_repo *repo, struct yuarel *u)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_config.c
@@ -764,9 +764,9 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname, pkg_ini
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1040,6 +1040,10 @@ pkg_ini(const char *path, const char *reposdir, pkg_init_flags flags)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1607,12 +1611,11 @@ pkg_repo_priority(struct pkg_repo *r)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg.h
@@ -131,6 +131,12 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -172,6 +178,7 @@ struct pkg_ctx {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -493,11 +500,6 @@ struct pkg_repo_ops {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -531,7 +533,7 @@ struct pkg_repo {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|