diff options
author | jbj <devnull@localhost> | 2002-07-24 16:21:23 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-07-24 16:21:23 +0000 |
commit | ede1f445e09895daee8bce8a2ddc9200839ee5de (patch) | |
tree | 66738dfcfd86d2c355b5f2ead53fb556999c2e71 /rpmqv.c | |
parent | 6540da425629bf45020047214b81e156c62c7d7b (diff) | |
download | librpm-tizen-ede1f445e09895daee8bce8a2ddc9200839ee5de.tar.gz librpm-tizen-ede1f445e09895daee8bce8a2ddc9200839ee5de.tar.bz2 librpm-tizen-ede1f445e09895daee8bce8a2ddc9200839ee5de.zip |
- verify signatures/digests retrieved through rpmdbNextIterator().
- imbue %ghost with missingok attribute with --verify (#68933).
CVS patchset: 5568
CVS date: 2002/07/24 16:21:23
Diffstat (limited to 'rpmqv.c')
-rwxr-xr-x | rpmqv.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -946,14 +946,16 @@ int main(int argc, const char ** argv) switch (bigMode) { #ifdef IAM_RPMDB case MODE_INITDB: - (void) rpmdbInit(rootdir, 0644); + (void) rpmtsInitDB(ts, 0644); break; case MODE_REBUILDDB: - ec = rpmdbRebuild(rootdir); - break; + { int vsflags = rpmExpandNumeric("%{_vsflags_rebuilddb}"); + (void)rpmtsSetVerifySigFlags(ts, (vsflags & ~_RPMTS_VSF_VERIFY_LEGACY)); + ec = rpmtsRebuildDB(ts); + } break; case MODE_VERIFYDB: - ec = rpmdbVerify(rootdir); + ec = rpmtsVerifyDB(ts); break; #endif /* IAM_RPMDB */ |