#include "system.h"
#include <rpmcli.h>
#include "rpmdb.h"
#include "rpmps.h"
#include "rpmte.h"
#include "rpmts.h"
#include "manifest.h"
#include "misc.h"
#include "debug.h"
Go to the source code of this file.
Defines | |
#define | _RPMTS_INTERNAL |
Functions | |
static const char *const | identifyDepend (int_32 f) |
static int | rpmGraph (rpmts ts, struct rpmInstallArguments_s *ia, const char **fileArgv) |
int | main (int argc, char *const argv[]) |
Variables | |
const char * | program_name |
static int | noDeps = 1 |
static rpmVSFlags | vsflags = 0 |
static struct poptOption | optionsTable [] |
#define _RPMTS_INTERNAL |
Definition at line 11 of file rpmgraph.c.
static const char* const identifyDepend | ( | int_32 | f | ) | [inline, static] |
Definition at line 22 of file rpmgraph.c.
References _notpre, isLegacyPreReq, RPMSENSE_FIND_REQUIRES, RPMSENSE_SCRIPT_POST, RPMSENSE_SCRIPT_POSTUN, RPMSENSE_SCRIPT_PRE, RPMSENSE_SCRIPT_PREUN, and RPMSENSE_SCRIPT_VERIFY.
int main | ( | int | argc, | |
char *const | argv[] | |||
) |
Definition at line 284 of file rpmgraph.c.
References _RPMVSF_NODIGESTS, _RPMVSF_NOSIGNATURES, EXIT_FAILURE, optionsTable, rpmcliFini(), rpmcliInit(), rpmcliQueryFlags, rpmGraph(), rpmIArgs, rpmtsCreate(), rpmtsFree(), rpmtsSetVSFlags(), RPMVSF_NOHDRCHK, VERIFY_DIGEST, VERIFY_HDRCHK, VERIFY_SIGNATURE, and vsflags.
static int rpmGraph | ( | rpmts | ts, | |
struct rpmInstallArguments_s * | ia, | |||
const char ** | fileArgv | |||
) | [static] |
Definition at line 44 of file rpmgraph.c.
References _, _free(), _RPMVSF_NODIGESTS, _RPMVSF_NOSIGNATURES, alloca(), argv, Fclose(), Ferror(), Fopen(), Fstrerror(), headerFree(), noDeps, rpmInstallArguments_s::qva_flags, RPMERR_MANIFEST, RPMERR_OPEN, rpmError, rpmGlob(), RPMMESS_ERROR, RPMMESS_NORMAL, rpmMessage, rpmpsFree(), rpmpsNumProblems(), rpmpsPrint(), RPMRC_FAIL, RPMRC_NOTFOUND, RPMRC_OK, rpmReadPackageFile(), rpmReadPackageManifest(), rpmteDepth(), rpmteN(), rpmteParent(), rpmteTree(), rpmtsAddInstallElement(), rpmtsCheck(), rpmtsiFree, rpmtsiInit, rpmtsiNext(), rpmtsNElements(), rpmtsOrder(), rpmtsProblems(), rpmtsSetVSFlags(), TR_ADDED, urlPath(), VERIFY_DIGEST, VERIFY_SIGNATURE, vsflags, and xrealloc().
Referenced by main().
int noDeps = 1 [static] |
struct poptOption optionsTable[] [static] |
Initial value:
{ { "check", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &noDeps, 0, "don't verify package dependencies" , NULL }, { "nolegacy", '\0', POPT_BIT_SET, &vsflags, RPMVSF_NEEDPAYLOAD, "don't verify header+payload signature" , NULL }, { "anaconda", '\0', POPT_BIT_SET|POPT_ARGFLAG_DOC_HIDDEN, &rpmIArgs.transFlags, RPMTRANS_FLAG_ANACONDA, "use anaconda \"presentation order\"" , NULL}, { NULL, '\0', POPT_ARG_INCLUDE_TABLE, rpmcliAllPoptTable, 0, "Common options for all rpm modes and executables:" , NULL }, POPT_AUTOALIAS POPT_AUTOHELP POPT_TABLEEND }
Definition at line 264 of file rpmgraph.c.
const char* program_name |
Definition at line 2 of file rpmgraph.c.
rpmVSFlags vsflags = 0 [static] |
Definition at line 20 of file rpmgraph.c.