Allow to set env per repo (useful for fetch specific)
modified libpkg/fetch.c
@@ -460,6 +460,10 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, const char *url, int dest,
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -511,6 +515,18 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, const char *url, int dest,
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -680,6 +696,22 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, const char *url, int dest,
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_config.c
@@ -507,8 +507,9 @@ disable_plugins_if_static(void)
|
|
|
|
|
|
| - | |
| + | |
|
|
| + | |
|
|
|
|
|
@@ -519,6 +520,7 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname, pkg_ini
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -611,6 +613,13 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname, pkg_ini
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -668,6 +677,16 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname, pkg_ini
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1267,6 +1286,8 @@ pkg_repo_overwrite(struct pkg_repo *r, const char *name, const char *url,
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -1275,6 +1296,12 @@ pkg_repo_free(struct pkg_repo *r)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg.h
@@ -496,6 +496,12 @@ typedef enum _pkg_repo_flags {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -528,6 +534,7 @@ struct pkg_repo {
|
|
|
|
|
|
| + | |
|
|
|
|
|