summaryrefslogtreecommitdiff
path: root/lib/poptQV.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-07-24 16:21:23 +0000
committerjbj <devnull@localhost>2002-07-24 16:21:23 +0000
commitede1f445e09895daee8bce8a2ddc9200839ee5de (patch)
tree66738dfcfd86d2c355b5f2ead53fb556999c2e71 /lib/poptQV.c
parent6540da425629bf45020047214b81e156c62c7d7b (diff)
downloadlibrpm-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 'lib/poptQV.c')
-rw-r--r--lib/poptQV.c12
1 files changed, 6 insertions, 6 deletions
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 },