Allow to mmap packagesite.yaml
modified libpkg/pkg.h.in
@@ -801,6 +801,7 @@ int pkg_delannotation(struct pkg *pkg, const char *tag);
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/pkg_manifest.c
@@ -207,7 +207,6 @@ pkg_manifest_parser_new(struct pkg_manifest_parser **p)
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -1302,6 +1301,22 @@ pkg_parse_manifest_archive(struct pkg *pkg, struct archive *a, struct pkg_manife
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/update.c
@@ -26,6 +26,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -33,6 +34,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -365,7 +367,7 @@ pkg_update_full(const char *repofile, struct pkg_repo *repo, time_t *mtime)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -373,7 +375,7 @@ pkg_add_from_manifest(FILE *f, const char *origin, long offset,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -389,7 +391,11 @@ pkg_add_from_manifest(FILE *f, const char *origin, long offset,
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -458,10 +464,11 @@ pkg_update_incremental(const char *name, struct pkg_repo *repo, time_t *mtime)
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -497,8 +504,8 @@ pkg_update_incremental(const char *name, struct pkg_repo *repo, time_t *mtime)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -554,10 +561,21 @@ pkg_update_incremental(const char *name, struct pkg_repo *repo, time_t *mtime)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -574,11 +592,12 @@ cleanup:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|