curl: add HTTP_AUTH compatiblility with libfetch
modified libpkg/fetch_libcurl.c
@@ -349,6 +349,7 @@ curl_fetch(struct pkg_repo *repo, int dest, struct fetch_item *fi)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -425,6 +426,11 @@ retry:
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/private/utils.h
@@ -127,5 +127,6 @@ void hidden_tempfile(char *buf, int buflen, const char *path);
|
|
|
|
|
|
| + | |
|
|
|
modified libpkg/utils.c
@@ -1003,7 +1003,6 @@ json_escape(const char *str)
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -1050,3 +1049,25 @@ open_tempdir(int rootfd, const char *path)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified tests/lib/utils.c
@@ -24,6 +24,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -32,6 +33,7 @@ ATF_TC_WITHOUT_HEAD(hidden_tempfile);
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -105,12 +107,29 @@ ATF_TC_BODY(open_tempdir, tc) {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|