Actually, change %N to produce the repo identity -- the tag that is used in pkg.conf(5) -- rather than repo name: the basename of the sqlite file and the name the database is mounted as (which is properly of interest only to the inernals of pkg, and not what we want pkg query etc. to display).
modified libpkg/pkg.h.in
@@ -1377,6 +1377,7 @@ int pkg_repos(struct pkg_repo **);
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/pkg_config.c
@@ -1211,6 +1211,13 @@ pkg_repo_ident(struct pkg_repo *r)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_printf.3
@@ -584,7 +584,7 @@ Licence name [string]
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_printf.c
@@ -423,14 +423,14 @@ static const struct pkg_printf_fmt fmt[] = {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1264,16 +1264,16 @@ format_message(struct sbuf *sbuf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg_printf.h
@@ -102,7 +102,7 @@ typedef enum _fmt_code_t {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -187,7 +187,7 @@ _static struct sbuf *format_row_counter(struct sbuf *, const void *, struct perc
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified pkg/utils.c
@@ -223,14 +223,13 @@ print_info(struct pkg * const pkg, unsigned int options)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -331,7 +330,7 @@ print_info(struct pkg * const pkg, unsigned int options)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified tests/lib/pkg_printf_test.c
@@ -1375,7 +1375,7 @@ ATF_TC_BODY(format_code, tc)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1440,7 +1440,7 @@ ATF_TC_BODY(format_code, tc)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1505,7 +1505,7 @@ ATF_TC_BODY(format_code, tc)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1570,7 +1570,7 @@ ATF_TC_BODY(format_code, tc)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1635,7 +1635,7 @@ ATF_TC_BODY(format_code, tc)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1700,7 +1700,7 @@ ATF_TC_BODY(format_code, tc)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1765,7 +1765,7 @@ ATF_TC_BODY(format_code, tc)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1830,7 +1830,7 @@ ATF_TC_BODY(format_code, tc)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1895,7 +1895,7 @@ ATF_TC_BODY(format_code, tc)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1960,7 +1960,7 @@ ATF_TC_BODY(format_code, tc)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -2026,7 +2026,7 @@ ATF_TC_BODY(format_code, tc)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -2091,7 +2091,7 @@ ATF_TC_BODY(format_code, tc)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|