Merge remote-tracking branch 'upstream/master'
modified libpkg/clean_cache.c
@@ -61,7 +61,7 @@ rm_rf(int basefd, const char *path)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/elfhints.c
@@ -184,7 +184,7 @@ add_dir(const char *hintsfile, const char *name, int trusted)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/fetch.c
@@ -209,7 +209,7 @@ select_fetcher(const char *url)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/fetch_libfetch.c
@@ -132,7 +132,7 @@ fetch_connect(struct pkg_repo *repo, struct url *u)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/lua.c
@@ -557,7 +557,7 @@ lua_readdir(lua_State *L)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/packing.c
@@ -428,15 +428,15 @@ packing_format_from_string(const char *str)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -447,12 +447,12 @@ packing_is_valid_format(const char *str)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg.c
@@ -402,7 +402,7 @@ pkg_adduser(struct pkg *pkg, const char *name)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -424,7 +424,7 @@ pkg_addgroup(struct pkg *pkg, const char *name)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -600,7 +600,7 @@ pkg_addstring(stringlist_t *list, const char *val, const char *title)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -633,7 +633,7 @@ pkg_adddir_attr(struct pkg *pkg, const char *path, const char *uname,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -710,13 +710,13 @@ pkg_addluascript_fileat(int fd, struct pkg *pkg, const char *filename)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -746,23 +746,23 @@ pkg_addscript_fileat(int fd, struct pkg *pkg, const char *filename)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -901,7 +901,7 @@ pkg_addshlib_required(struct pkg *pkg, const char *name)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -924,7 +924,7 @@ pkg_addshlib_provided(struct pkg *pkg, const char *name)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -966,7 +966,7 @@ pkg_addrequire(struct pkg *pkg, const char *name)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -983,7 +983,7 @@ pkg_addprovide(struct pkg *pkg, const char *name)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -998,7 +998,7 @@ pkg_kv_get(const kvlist_t *kv, const char *tag)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1014,7 +1014,7 @@ pkg_kv_add(kvlist_t *list, const char *key, const char *val, const char *title)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1232,7 +1232,7 @@ pkg_open2(struct pkg **pkg_p, struct archive **a, struct archive_entry **ae,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1243,7 +1243,7 @@ pkg_open2(struct pkg **pkg_p, struct archive **a, struct archive_entry **ae,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1502,11 +1502,11 @@ pkg_message_from_ucl(struct pkg *pkg, const ucl_object_t *obj)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg.h.in
@@ -86,6 +86,14 @@ extern "C" {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_add.c
@@ -101,7 +101,7 @@ attempt_to_merge(int rootfd, struct pkg_config_file *rcf, struct pkg *local,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -139,7 +139,7 @@ get_uid_from_archive(struct archive_entry *ae)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -164,7 +164,7 @@ get_gid_from_archive(struct archive_entry *ae)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -911,7 +911,7 @@ backup_file_if_needed(struct pkg *p, struct pkg_file *f)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1106,7 +1106,7 @@ pkg_add_check_pkg_archive(struct pkgdb *db, struct pkg *pkg,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_attributes.c
@@ -357,7 +357,7 @@ bool
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_audit.c
@@ -356,50 +356,50 @@ vulnxml_start_element(struct vulnxml_userdata *ud, yxml_t *xml)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -414,48 +414,48 @@ vulnxml_end_element(struct vulnxml_userdata *ud, yxml_t *xml)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -480,7 +480,7 @@ vulnxml_start_attribute(struct vulnxml_userdata *ud, yxml_t *xml)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -683,8 +683,7 @@ pkg_audit_preprocess(struct pkg_audit_entry *h)
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_checksum.c
@@ -583,7 +583,7 @@ pkg_checksum_type_from_string(const char *name)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -793,7 +793,7 @@ pkg_checksum_validate_fileat(int rootfd, const char *path, const char *sum)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_config.c
@@ -513,7 +513,7 @@ static struct config_entry c[] = {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -653,7 +653,7 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname, pkg_ini
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -661,7 +661,7 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname, pkg_ini
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -669,7 +669,7 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname, pkg_ini
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -677,7 +677,7 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname, pkg_ini
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -685,7 +685,7 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname, pkg_ini
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -693,7 +693,7 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname, pkg_ini
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -701,7 +701,7 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname, pkg_ini
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -711,7 +711,7 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname, pkg_ini
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -719,7 +719,7 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname, pkg_ini
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -740,9 +740,9 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname, pkg_ini
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -763,9 +763,9 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname, pkg_ini
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -915,7 +915,7 @@ configfile(const struct dirent *dp)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1377,7 +1377,7 @@ pkg_ini(const char *path, const char *reposdir, pkg_init_flags flags)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1496,7 +1496,7 @@ pkg_repo_find_type(const char *type)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1688,7 +1688,7 @@ pkg_repo_find(const char *reponame)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_create.c
@@ -275,15 +275,15 @@ pkg_create_free(struct pkg_create *pc)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_cudf.c
@@ -454,7 +454,7 @@ pkg_jobs_cudf_parse_output(struct pkg_jobs *j, FILE *f)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -466,7 +466,7 @@ pkg_jobs_cudf_parse_output(struct pkg_jobs *j, FILE *f)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -474,7 +474,7 @@ pkg_jobs_cudf_parse_output(struct pkg_jobs *j, FILE *f)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -483,7 +483,7 @@ pkg_jobs_cudf_parse_output(struct pkg_jobs *j, FILE *f)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_delete.c
@@ -213,7 +213,7 @@ rmdir_p(struct pkgdb *db, struct pkg *pkg, char *dir, const char *prefix_r)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_elf.c
@@ -137,7 +137,7 @@ add_shlibs_to_pkg(struct pkg *pkg, const char *fpath, const char *name,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -214,7 +214,7 @@ shlib_valid_abi(const char *fpath, GElf_Ehdr *hdr, const char *abi)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -582,7 +582,7 @@ elf_string_to_corres(const struct _elf_corres* m, const char *s)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -859,7 +859,7 @@ pkg_get_myarch_elfparse(char *dest, size_t sz, struct os_info *oi)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -956,7 +956,7 @@ pkg_get_myarch_elfparse(char *dest, size_t sz, struct os_info *oi)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1116,7 +1116,7 @@ pkg_arch_to_legacy(const char *arch, char *dest, size_t sz)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1181,7 +1181,7 @@ pkg_get_myarch(char *dest, size_t sz, struct os_info *oi)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_event.c
@@ -997,7 +997,7 @@ pkg_dbg(uint64_t flags, int level, const char *fmt, ...)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1006,6 +1006,7 @@ pkg_dbg(uint64_t flags, int level, const char *fmt, ...)
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/pkg_jobs.c
@@ -217,12 +217,12 @@ pkg_jobs_maybe_match_file(struct job_pattern *jp, const char *pattern)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -237,7 +237,7 @@ pkg_jobs_maybe_match_file(struct job_pattern *jp, const char *pattern)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -470,7 +470,7 @@ delete_process_provides(struct pkg_jobs *j, struct pkg *lp, const char *provide,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -874,7 +874,7 @@ pkg_jobs_has_replacement(struct pkg_jobs *j, const char *uid)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -901,7 +901,6 @@ pkg_jobs_try_remote_candidate(struct pkg_jobs *j, const char *cond, const char *
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -1149,7 +1148,7 @@ pkg_jobs_need_upgrade(struct pkg *rp, struct pkg *lp)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1164,7 +1163,7 @@ pkg_jobs_need_upgrade(struct pkg *rp, struct pkg *lp)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1191,8 +1190,8 @@ pkg_jobs_need_upgrade(struct pkg *rp, struct pkg *lp)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1221,8 +1220,8 @@ pkg_jobs_need_upgrade(struct pkg *rp, struct pkg *lp)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1244,7 +1243,7 @@ pkg_jobs_need_upgrade(struct pkg *rp, struct pkg *lp)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1267,7 +1266,7 @@ pkg_jobs_need_upgrade(struct pkg *rp, struct pkg *lp)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1289,7 +1288,7 @@ pkg_jobs_need_upgrade(struct pkg *rp, struct pkg *lp)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1311,7 +1310,7 @@ pkg_jobs_need_upgrade(struct pkg *rp, struct pkg *lp)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1333,7 +1332,7 @@ pkg_jobs_need_upgrade(struct pkg *rp, struct pkg *lp)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1568,7 +1567,7 @@ pkg_jobs_check_remote_candidate(struct pkg_jobs *j, struct pkg *pkg)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -2200,8 +2199,8 @@ pkg_jobs_execute(struct pkg_jobs *j)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_jobs_conflicts.c
@@ -83,7 +83,7 @@ pkg_conflicts_request_resolve_chain(struct pkg *req, conflict_chain_t *chain)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -312,7 +312,7 @@ pkg_conflicts_check_local_path(const char *path, const char *uid,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -352,7 +352,7 @@ pkg_conflicts_check_all_paths(struct pkg_jobs *j, const char *path,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_jobs_universe.c
@@ -172,9 +172,9 @@ pkg_jobs_universe_add_pkg(struct pkg_jobs_universe *universe, struct pkg *pkg,
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -319,7 +319,7 @@ pkg_jobs_universe_process_deps(struct pkg_jobs_universe *universe,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -887,7 +887,7 @@ pkg_jobs_universe_change_uid(struct pkg_jobs_universe *universe,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1144,8 +1144,7 @@ pkg_jobs_universe_process_upgrade_chains(struct pkg_jobs *j)
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_macho.c
@@ -118,7 +118,7 @@ analyse_macho(struct pkg *pkg, const char *fpath,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -150,7 +150,7 @@ add_dylibs_to_pkg(__unused void *actdata, struct pkg *pkg, const char *fpath,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_manifest.c
@@ -283,13 +283,13 @@ urldecode(const char *src, xstring **dest)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -297,17 +297,17 @@ lua_script_type_str(const char *str)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -322,13 +322,13 @@ pkg_string(struct pkg *pkg, const ucl_object_t *obj, uint32_t offset)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -622,15 +622,15 @@ pkg_set_files_from_object(struct pkg *pkg, const ucl_object_t *obj)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -669,18 +669,18 @@ pkg_set_dirs_from_object(struct pkg *pkg, const ucl_object_t *obj)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -717,7 +717,7 @@ pkg_set_deps_from_object(struct pkg *pkg, const ucl_object_t *obj)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -727,9 +727,9 @@ pkg_set_deps_from_object(struct pkg *pkg, const ucl_object_t *obj)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -745,7 +745,7 @@ static struct pkg_manifest_key *
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1125,8 +1125,8 @@ pkg_emit_object(struct pkg *pkg, short flags)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_ports.c
@@ -589,17 +589,17 @@ parse_attributes(const ucl_object_t *o, struct file_attr **a)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -668,7 +668,7 @@ apply_keyword_file(ucl_object_t *obj, struct plist *p, char *line, struct file_a
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -679,7 +679,7 @@ apply_keyword_file(ucl_object_t *obj, struct plist *p, char *line, struct file_a
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -698,11 +698,11 @@ apply_keyword_file(ucl_object_t *obj, struct plist *p, char *line, struct file_a
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1205,7 +1205,7 @@ add_variable(struct plist *p, char *line, struct file_attr *a __unused)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_repo.c
@@ -132,7 +132,7 @@ pkg_repo_file_has_ext(const char *path, const char *ext)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -281,13 +281,13 @@ pkg_repo_meta_extract_signature_pubkey(int fd, void *ud)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -444,7 +444,7 @@ pkg_repo_meta_extract_signature_fingerprints(int fd, void *ud)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -775,7 +775,7 @@ pkg_repo_archive_extract_check_archive(int fd, const char *file,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -943,7 +943,7 @@ pkg_repo_meta_extract_pubkey(int fd, void *ud)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1123,7 +1123,7 @@ pkg_repo_fetch_meta(struct pkg_repo *repo, time_t *t)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1191,12 +1191,12 @@ pkg_repo_parse_fingerprint(ucl_object_t *obj)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1205,7 +1205,7 @@ pkg_repo_parse_fingerprint(ucl_object_t *obj)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1282,8 +1282,8 @@ pkg_repo_load_fingerprints_from_path(const char *path, pkghash **f)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_repo_create.c
@@ -126,7 +126,7 @@ hash_file(struct pkg_repo_meta *meta, struct pkg *pkg, char *path)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -219,7 +219,7 @@ pkg_create_repo_read_fts(fts_item_t *items, FTS *fts,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -252,7 +252,7 @@ pkg_create_repo_read_fts(fts_item_t *items, FTS *fts,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -262,7 +262,7 @@ pkg_create_repo_read_fts(fts_item_t *items, FTS *fts,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -530,7 +530,7 @@ pkg_repo_create_set_groups(struct pkg_repo_create *prc, const char *path)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -617,7 +617,7 @@ pkg_repo_create_pack_and_sign(struct pkg_repo_create *prc)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -925,16 +925,16 @@ pkg_repo_sign(const char *path, char **argv, int argc, char **sig, size_t *sigle
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -952,7 +952,7 @@ pkg_repo_sign(const char *path, char **argv, int argc, char **sig, size_t *sigle
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -991,7 +991,7 @@ pack_sign(struct packing *pack, struct pkgsign_ctx *sctx, const char *path,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1037,7 +1037,7 @@ pack_command_sign(struct packing *pack, const char *path, char **argv, int argc,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_repo_meta.c
@@ -453,7 +453,7 @@ pkg_repo_meta_to_ucl(struct pkg_repo_meta *meta)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_solve.c
@@ -298,7 +298,7 @@ pkg_solve_handle_provide (struct pkg_solve_problem *problem,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -426,7 +426,7 @@ pkg_solve_add_conflict_rule(struct pkg_solve_problem *problem,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -916,8 +916,8 @@ pkg_solve_set_initial_assumption(struct pkg_solve_problem *problem,
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_status.c
@@ -65,8 +65,8 @@ pkg_status(int *count)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_version.c
@@ -196,7 +196,7 @@ get_component(const char *position, version_component *component)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkgdb.c
@@ -813,7 +813,7 @@ pkgdb_open_repos(struct pkgdb *db, const char *reponame)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkgdb_iterator.c
@@ -319,15 +319,9 @@ pkgdb_load_deps(sqlite3 *sqlite, struct pkg *pkg)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -844,8 +838,10 @@ populate_pkg(sqlite3_stmt *stmt, struct pkg *pkg) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -924,8 +920,10 @@ populate_pkg(sqlite3_stmt *stmt, struct pkg *pkg) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkgdb_query.c
@@ -392,7 +392,7 @@ pkgdb_repo_query_cond(struct pkgdb *db, const char *cond, const char *pattern, m
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -422,7 +422,7 @@ pkgdb_repo_shlib_require(struct pkgdb *db, const char *require, const char *repo
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -445,7 +445,7 @@ pkgdb_repo_shlib_provide(struct pkgdb *db, const char *require, const char *repo
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -468,7 +468,7 @@ pkgdb_repo_require(struct pkgdb *db, const char *require, const char *repo)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -491,7 +491,7 @@ pkgdb_repo_provide(struct pkgdb *db, const char *require, const char *repo)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -515,7 +515,7 @@ pkgdb_repo_search(struct pkgdb *db, const char *pattern, match_t match,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -543,7 +543,7 @@ pkgdb_all_search(struct pkgdb *db, const char *pattern, match_t match,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkghash.c
@@ -31,6 +31,10 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -74,7 +78,7 @@ pkghash_get(pkghash *table, const char *key)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -100,7 +104,7 @@ pkghash_set_entry(pkghash_entry *entries, size_t capacity,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkgsign.c
@@ -82,9 +82,9 @@ pkgsign_new(const char *name, struct pkgsign_ctx **ctx)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkgsign_ecc.c
@@ -1232,11 +1232,11 @@ ecc_new(const char *name __unused, struct pkgsign_ctx *sctx)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg.h
@@ -67,10 +67,6 @@
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified libpkg/private/utils.h
@@ -39,7 +39,6 @@
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified libpkg/repo/binary/query.c
@@ -575,15 +575,15 @@ pkg_repo_binary_groupsearch(struct pkg_repo *repo, const char *pattern, match_t
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/scripts.c
@@ -90,12 +90,12 @@ pkg_script_run(struct pkg * const pkg, pkg_script type, bool upgrade)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/ssh.c
@@ -79,7 +79,7 @@ pkg_sshserve(int fd)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/triggers.c
@@ -52,7 +52,7 @@ static const unsigned char litchar[] =
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -329,7 +329,7 @@ triggers_load(bool cleanup_only)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -518,7 +518,7 @@ trigger_check_match(struct trigger *t, char *dir)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/utils.c
@@ -988,7 +988,7 @@ open_tempdir(int rootfd, const char *path, stringlist_t *symlinks_allowed)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/add.c
@@ -162,7 +162,7 @@ exec_add(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/alias.c
@@ -95,7 +95,7 @@ exec_alias(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/annotate.c
@@ -149,7 +149,7 @@ do_show(struct pkg *pkg, const char *tag)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/audit.c
@@ -231,13 +231,13 @@ exec_audit(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -292,7 +292,7 @@ exec_audit(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/check.c
@@ -111,7 +111,7 @@ add_missing_dep(struct pkg_dep *d, deps_entries *dh, int *nbpkgs)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/clean.c
@@ -214,8 +214,8 @@ recursive_analysis(int fd, struct pkgdb *db, const char *dir,
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified src/create.c
@@ -235,10 +235,10 @@ exec_create(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -282,7 +282,7 @@ exec_create(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/delete.c
@@ -245,10 +245,7 @@ exec_delete(int argc, char **argv)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified src/info.c
@@ -204,13 +204,13 @@ exec_info(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified src/install.c
@@ -91,7 +91,7 @@ exec_install(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/key.c
@@ -108,7 +108,7 @@ key_sign_data(struct pkg_key *key, const char *name)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/main.c
@@ -228,13 +228,13 @@ exec_help(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -247,7 +247,7 @@ exec_help(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -257,10 +257,10 @@ exec_help(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -268,7 +268,7 @@ exec_help(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -508,7 +508,7 @@ expand_aliases(int argc, char ***argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -784,7 +784,7 @@ main(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -853,7 +853,7 @@ main(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/repo.c
@@ -116,7 +116,7 @@ exec_repo(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/search.c
@@ -340,13 +340,13 @@ exec_search(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified src/update.c
@@ -62,7 +62,7 @@ pkgcli_update(bool force, bool strict, const char *reponame)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/upgrade.c
@@ -206,7 +206,7 @@ add_vulnerable_upgrades(struct pkg_jobs *jobs, struct pkgdb *db)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/utils.c
@@ -183,11 +183,11 @@ vquery_yesno(bool deft, const char *msg, va_list ap)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/version.c
@@ -434,12 +434,12 @@ do_source_index(unsigned int opt, char limchar, char *pattern, match_t match,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -513,14 +513,14 @@ do_source_remote(unsigned int opt, char limchar, char *pattern, match_t match,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -672,7 +672,7 @@ validate_origin(int portsfd, const char *origin)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -706,7 +706,7 @@ port_version(xstring *cmd, int portsfd, const char *origin, const char *pkgname)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -761,12 +761,12 @@ do_source_ports(unsigned int opt, char limchar, char *pattern, match_t match,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/which.c
@@ -59,7 +59,7 @@ static bool
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified tests/cocci/pkg/NELEM.cocci
@@ -29,3 +29,10 @@ T[] E;
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
added tests/cocci/pkg/strieq.cocci
@@ -0,0 +1,29 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |