From ede1f445e09895daee8bce8a2ddc9200839ee5de Mon Sep 17 00:00:00 2001 From: jbj Date: Wed, 24 Jul 2002 16:21:23 +0000 Subject: - 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 --- lib/poptQV.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/poptQV.c') diff --git a/lib/poptQV.c b/lib/poptQV.c index 3b5e25fea..48ed031d0 100644 --- a/lib/poptQV.c +++ b/lib/poptQV.c @@ -224,12 +224,6 @@ struct poptOption rpmQueryPoptTable[] = { * Verify mode options. */ struct poptOption rpmVerifyPoptTable[] = { -#ifdef DYING -/*@-type@*/ /* FIX: cast? */ - { NULL, '\0', POPT_ARG_CALLBACK | POPT_CBFLAG_INC_DATA, - verifyArgCallback, 0, NULL, NULL }, -/*@=type@*/ -#endif /* DYING */ { NULL, '\0', POPT_ARG_INCLUDE_TABLE, rpmQVSourcePoptTable, 0, NULL, NULL }, @@ -272,6 +266,9 @@ struct poptOption rpmVerifyPoptTable[] = { { "nodigest", '\0', POPT_BIT_SET, &rpmQVKArgs.qva_flags, VERIFY_DIGEST, N_("don't verify package digest(s)"), NULL }, + { "nohdrchk", '\0', POPT_BIT_SET|POPT_ARGFLAG_DOC_HIDDEN, + &rpmQVKArgs.qva_flags, VERIFY_HDRCHK, + N_("don't verify database header(s) when retrieved"), NULL }, { "nosignature", '\0', POPT_BIT_SET, &rpmQVKArgs.qva_flags, VERIFY_SIGNATURE, N_("don't verify package signature(s)"), NULL }, @@ -309,6 +306,9 @@ struct poptOption rpmSignPoptTable[] = { { "nodigest", '\0', POPT_BIT_SET, &rpmQVKArgs.qva_flags, VERIFY_DIGEST, N_("don't verify package digest(s)"), NULL }, + { "nohdrchk", '\0', POPT_BIT_SET|POPT_ARGFLAG_DOC_HIDDEN, + &rpmQVKArgs.qva_flags, VERIFY_HDRCHK, + N_("don't verify database header(s) when retrieved"), NULL }, { "nosignature", '\0', POPT_BIT_SET, &rpmQVKArgs.qva_flags, VERIFY_SIGNATURE, N_("don't verify package signature(s)"), NULL }, -- cgit v1.2.3