pkgdb: track mtime in pkgdb
modified docs/pkg-query.8
@@ -223,7 +223,7 @@ for the package origin, and
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -236,7 +236,9 @@ for group,
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified docs/pkg_printf.3
@@ -512,6 +512,9 @@ File flags [string]
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg.c
@@ -493,12 +493,13 @@ pkg_addrdep(struct pkg *pkg, const char *name, const char *origin, const char *v
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -541,6 +542,9 @@ pkg_addfile_attr(struct pkg *pkg, const char *path, const char *sum,
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_add.c
@@ -374,15 +374,15 @@ fill_timespec_buf(const struct stat *aest, struct timespec tspec[2])
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_create.c
@@ -132,6 +132,9 @@ pkg_create_from_dir(struct pkg *pkg, const char *root,
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_manifest.c
@@ -580,6 +580,7 @@ pkg_set_files_from_object(struct pkg *pkg, const ucl_object_t *obj)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -618,6 +619,15 @@ pkg_set_files_from_object(struct pkg *pkg, const ucl_object_t *obj)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -625,7 +635,7 @@ pkg_set_files_from_object(struct pkg *pkg, const ucl_object_t *obj)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1177,6 +1187,11 @@ pkg_emit_object(struct pkg *pkg, short flags)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_ports.c
@@ -407,12 +407,12 @@ meta_file(struct plist *p, char *line, struct file_attr *a, bool is_config)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_printf.c
@@ -76,6 +76,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -320,6 +321,15 @@ static const struct pkg_printf_fmt fmt[] = {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -885,6 +895,24 @@ format_fflags(xstring *buf, u_long fflags, struct percent_esc *p)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1168,6 +1196,17 @@ format_files(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1930,19 +1969,7 @@ format_install_tstamp(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkgdb.c
@@ -420,6 +420,7 @@ pkgdb_init(sqlite3 *sdb)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1366,22 +1367,22 @@ static sql_prstmt sql_prepared_statements[PRSTMT_LAST] = {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1770,6 +1771,7 @@ pkgdb_register_pkg(struct pkgdb *db, struct pkg *pkg, int forced,
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1792,6 +1794,7 @@ pkgdb_register_pkg(struct pkgdb *db, struct pkg *pkg, int forced,
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1851,7 +1854,8 @@ pkgdb_register_pkg(struct pkgdb *db, struct pkg *pkg, int forced,
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkgdb_iterator.c
@@ -388,7 +388,7 @@ pkgdb_load_files(sqlite3 *sqlite, struct pkg *pkg)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -418,9 +418,10 @@ pkgdb_load_files(sqlite3 *sqlite, struct pkg *pkg)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/private/db_upgrades.h
@@ -733,6 +733,7 @@ static struct db_upgrades {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/private/pkg.h
@@ -792,7 +792,7 @@ int pkg_addfile(struct pkg *pkg, const char *path, const char *sha256,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg_printf.h
@@ -93,6 +93,7 @@ typedef enum _fmt_code_t {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -185,6 +186,7 @@ _static xstring *format_directory_path(xstring *, const void *, struct percent_e
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified src/query.c
@@ -45,7 +45,7 @@ static const struct query_flags accepted_query_flags[] = {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -265,6 +265,8 @@ format_str(struct pkg *pkg, xstring *dest, const char *qstr, const void *data)
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified tests/frontend/create-parsebin.sh
@@ -23,6 +23,7 @@ genmanifest() {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -32,6 +33,7 @@ genmanifest() {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified tests/frontend/create.sh
@@ -422,6 +422,7 @@ post-install:
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -457,6 +458,7 @@ files {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -482,6 +484,7 @@ EOF
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -511,6 +514,7 @@ files {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -532,6 +536,8 @@ files: {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -560,6 +566,7 @@ files {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -568,6 +575,7 @@ files {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified tests/frontend/query.sh
@@ -31,12 +31,14 @@ files: {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -44,6 +46,7 @@ files: {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -164,12 +167,12 @@ EOF
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified tests/frontend/test_environment.sh.in
@@ -49,6 +49,14 @@ atf_require() {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|