#include "system.h"
#include <rpmio_internal.h>
#include <rpmlib.h>
#include <rpmmacro.h>
#include <rpmds.h>
#include <argv.h>
#include "debug.h"
Include dependency graph for rpmds.c:
Go to the source code of this file.
Data Structures | |
struct | cpuinfo_s |
struct | rpmlibProvides_s |
struct | conf |
Defines | |
#define | DT_GNU_HASH 0x6ffffef5 |
#define | _RPMDS_INTERNAL |
#define | _RPMEVR_INTERNAL |
#define | _RPMPRCO_INTERNAL |
#define | _isspace(_c) ((_c) == ' ' || (_c) == '\t' || (_c) == '\r' || (_c) == '\n') |
#define | _PROC_CPUINFO "/proc/cpuinfo" |
#define | _ETC_RPM_SYSINFO "/etc/rpm/sysinfo" |
#define | _GETCONF_PATH "/" |
#define | _SBIN_LDCONFIG_P "/sbin/ldconfig -p" |
#define | _LD_SO_CACHE "/etc/ld.so.cache" |
#define | _PERL_PROVIDES "/usr/bin/find /usr/lib/perl5 | /usr/lib/rpm/perl.prov" |
Functions | |
rpmds | XrpmdsUnlink (rpmds ds, const char *msg, const char *fn, unsigned ln) |
rpmds | XrpmdsLink (rpmds ds, const char *msg, const char *fn, unsigned ln) |
rpmds | rpmdsFree (rpmds ds) |
Destroy a dependency set. | |
static const char ** | rpmdsDupArgv (const char **argv, int argc) |
rpmds | rpmdsNew (Header h, rpmTag tagN, int flags) |
Create and load a dependency set. | |
const char * | rpmdsNewN (rpmds ds) |
Return N string, expanded if necessary. | |
char * | rpmdsNewDNEVR (const char *dspfx, rpmds ds) |
Return new formatted dependency string. | |
rpmds | rpmdsThis (Header h, rpmTag tagN, int_32 Flags) |
Create, load and initialize a dependency for this header. | |
rpmds | rpmdsSingle (rpmTag tagN, const char *N, const char *EVR, int_32 Flags) |
Create, load and initialize a dependency set of size 1. | |
int | rpmdsCount (const rpmds ds) |
Return dependency set count. | |
int | rpmdsIx (const rpmds ds) |
Return dependency set index. | |
int | rpmdsSetIx (rpmds ds, int ix) |
Set dependency set index. | |
const char * | rpmdsDNEVR (const rpmds ds) |
Return current formatted dependency string. | |
const char * | rpmdsN (const rpmds ds) |
Return current dependency name. | |
const char * | rpmdsEVR (const rpmds ds) |
Return current dependency epoch-version-release. | |
int_32 | rpmdsFlags (const rpmds ds) |
Return current dependency flags. | |
rpmTag | rpmdsTagN (const rpmds ds) |
Return current dependency type. | |
const char * | rpmdsA (const rpmds ds) |
Return current dependency arch. | |
time_t | rpmdsBT (const rpmds ds) |
Return dependency build time. | |
time_t | rpmdsSetBT (const rpmds ds, time_t BT) |
Set dependency build time. | |
nsType | rpmdsNSType (const rpmds ds) |
Return dependency class type. | |
int | rpmdsNoPromote (const rpmds ds) |
Return current "Don't promote Epoch:" flag. | |
int | rpmdsSetNoPromote (rpmds ds, int nopromote) |
Set "Don't promote Epoch:" flag. | |
void * | rpmdsSetEVRparse (rpmds ds, int(*EVRparse)(const char *evrstr, EVR_t evr)) |
void * | rpmdsSetEVRcmp (rpmds ds, int(*EVRcmp)(const char *a, const char *b)) |
Set EVR comparison function. | |
uint_32 | rpmdsColor (const rpmds ds) |
Return current dependency color. | |
uint_32 | rpmdsSetColor (const rpmds ds, uint_32 color) |
Set current dependency color. | |
int_32 | rpmdsRefs (const rpmds ds) |
Return current dependency file refs. | |
int_32 | rpmdsSetRefs (const rpmds ds, int_32 refs) |
Set current dependency file refs. | |
int_32 | rpmdsResult (const rpmds ds) |
Return current dependency comparison result. | |
int_32 | rpmdsSetResult (const rpmds ds, int_32 result) |
Set current dependency comparison result. | |
void | rpmdsNotify (rpmds ds, const char *where, int rc) |
Notify of results of dependency match. | |
int | rpmdsNext (rpmds ds) |
Return next dependency set iterator index. | |
rpmds | rpmdsInit (rpmds ds) |
Initialize dependency set iterator. | |
static rpmds | rpmdsDup (const rpmds ods) |
int | rpmdsFind (rpmds ds, const rpmds ods) |
Find a dependency set element using binary search. | |
int | rpmdsMerge (rpmds *dsp, rpmds ods) |
Merge a dependency set maintaining (N,EVR,Flags) sorted order. | |
int | rpmdsSearch (rpmds ds, rpmds ods) |
Search a sorted dependency set for an element that overlaps. | |
static int | rpmdsCpuinfoCtagFlags (const char *name) |
Return dependency format to use for a cpuinfo line. | |
static void | rpmdsNSAdd (rpmds *dsp, const char *NS, const char *N, const char *EVR, int_32 Flags) |
Merge a single provides, wrapping N as "NS(N)". | |
int | rpmdsCpuinfo (rpmds *dsp, const char *fn) |
Load /proc/cpuinfo provides into a dependency set. | |
int | rpmdsRpmlib (rpmds *dsp, void *tblp) |
Load rpmlib provides into a dependency set. | |
static int | rpmdsSysinfoFile (rpmPRCO PRCO, const char *fn, int tagN) |
Merge contents of a sysinfo tag file into sysinfo dependencies. | |
int | rpmdsSysinfo (rpmPRCO PRCO, const char *fn) |
Load sysinfo dependencies into a dependency set. | |
int | rpmdsGetconf (rpmds *dsp, const char *path) |
Load getconf provides into a dependency set. | |
int | rpmdsMergePRCO (void *context, rpmds ds) |
Merge provides/requires/conflicts/obsoletes dependencies. | |
rpmPRCO | rpmdsFreePRCO (rpmPRCO PRCO) |
Free dependency set(s) container. | |
rpmPRCO | rpmdsNewPRCO (Header h) |
Create dependency set(s) container. | |
rpmds | rpmdsFromPRCO (rpmPRCO PRCO, rpmTag tagN) |
Retrieve a dependency set from container. | |
static char * | sonameDep (char *t, const char *s, int isElf64) |
Return a soname dependency constructed from an elf string. | |
int | rpmdsELF (const char *fn, int flags, int(*add)(void *context, rpmds ds), void *context) |
Extract ELF dependencies from a file. | |
int | rpmdsLdconfig (rpmPRCO PRCO, const char *fn) |
Load /etc/ld.so.cache provides into a dependency set. | |
int | rpmdsUname (rpmds *dsp, const struct utsname *un) |
Load uname(2) provides into a dependency set. | |
int | rpmdsPipe (rpmds *dsp, int_32 tagN, const char *cmd) |
Load provides from a pipe into a dependency set. | |
static int | rpmdsNAcmp (rpmds A, rpmds B) |
int | rpmdsCompare (const rpmds A, const rpmds B) |
Compare two versioned dependency ranges, looking for overlap. | |
void | rpmdsProblem (rpmps ps, const char *pkgNEVR, const rpmds ds, const fnpyKey *suggestedKeys, int adding) |
Report a Requires: or Conflicts: dependency problem. | |
int | rpmdsAnyMatchesDep (const Header h, const rpmds req, int nopromote) |
Compare package provides dependencies from header with a single dependency. | |
int | rpmdsNVRMatchesDep (const Header h, const rpmds req, int nopromote) |
Compare package name-version-release from header with a single dependency. | |
int | rpmdsNegateRC (const rpmds ds, int rc) |
Negate return code for negated comparisons. | |
Variables | |
static int | _noisy_range_comparison_debug_message = 0 |
Enable noisy range comparison debugging message? | |
int | _rpmds_debug = 0 |
int | _rpmds_nopromote = 1 |
int | _rpmds_unspecified_epoch_noise = 0 |
static struct cpuinfo_s | ctags [] |
static const char * | _cpuinfo_path = NULL |
static struct rpmlibProvides_s | rpmlibProvides [] |
static const char * | _sysinfo_path = NULL |
static const char * | _sysinfo_tags [] |
static const struct conf | vars [] |
static const char * | _getconf_path = NULL |
static const char * | _ldconfig_cmd = "/sbin/ldconfig -p" |
static const char * | _ldconfig_cache = NULL |
static const char * | _perldeps_cmd = NULL |
Definition in file rpmds.c.
|
Definition at line 1615 of file rpmds.c. Referenced by rpmdsSysinfo(). |
|
Definition at line 2588 of file rpmds.c. Referenced by rpmdsGetconf(). |
|
Definition at line 94 of file rpmds.c. Referenced by rpmdsCpuinfo(), rpmdsLdconfig(), rpmdsPipe(), and rpmdsSysinfoFile(). |
|
Definition at line 3105 of file rpmds.c. Referenced by rpmdsLdconfig(). |
|
Definition at line 3459 of file rpmds.c. Referenced by rpmdsPipe(). |
|
Definition at line 1272 of file rpmds.c. Referenced by rpmdsCpuinfo(). |
|
|
|
|
|
|
|
Definition at line 3101 of file rpmds.c. Referenced by rpmdsLdconfig(). |
|
Definition at line 75 of file rpmds.c. Referenced by rpmdsELF(). |
|
Return current dependency arch.
|
|
Compare package provides dependencies from header with a single dependency.
Definition at line 3748 of file rpmds.c. References rpmdsCompare(), rpmdsFlags(), rpmdsFree(), rpmdsInit(), rpmdsNew(), rpmdsNext(), rpmdsSetNoPromote(), RPMNS_TYPE_ARCH, RPMSENSE_SENSEMASK, and RPMTAG_PROVIDENAME. Referenced by handleOneTrigger(), rpmtsAddInstallElement(), rpmtsSolve(), and unsatisfiedDepend(). |
|
Return dependency build time.
Definition at line 743 of file rpmds.c. Referenced by rpmds_BT(). |
|
Return current dependency color.
Definition at line 812 of file rpmds.c. Referenced by checkPackageDeps(), rpmalAddProvides(), rpmds_Color(), and rpmtsAddInstallElement(). |
|
Compare two versioned dependency ranges, looking for overlap.
Definition at line 3624 of file rpmds.c. References _, _free(), alloca(), rpmdsFlags(), rpmdsNAcmp(), rpmEVRparse(), RPMMESS_DEBUG, RPMMESS_WARNING, rpmMessage, RPMSENSE_EQUAL, RPMSENSE_GREATER, RPMSENSE_LESS, RPMSENSE_NOTEQUAL, RPMSENSE_SENSEMASK, rpmvercmp, and xstrdup(). Referenced by rpmalAllSatisfiesDepend(), rpmds_richcompare(), rpmdsAnyMatchesDep(), rpmdsNVRMatchesDep(), rpmdsSearch(), rpmHeadersIdentical(), and rpmtsAddInstallElement(). |
|
Return dependency set count.
Definition at line 653 of file rpmds.c. Referenced by main(), rpmalMakeIndex(), rpmds_Count(), rpmds_length(), rpmfcGenerateDepends(), rpmfcPrint(), and rpmteColorDS(). |
|
Load /proc/cpuinfo provides into a dependency set.
Definition at line 1278 of file rpmds.c. References _free(), _isspace, _PROC_CPUINFO, cpuinfo_s::done, Fclose(), fdGetFILE, Ferror(), Fopen(), cpuinfo_s::name, rpmdsCpuinfoCtagFlags(), rpmdsNSAdd(), rpmExpand(), RPMSENSE_EQUAL, and xstrdup(). Referenced by main(), rpmds_Cpuinfo(), rpmShowRC(), and unsatisfiedDepend(). |
|
Return dependency format to use for a cpuinfo line.
Definition at line 1228 of file rpmds.c. References cpuinfo_s::done, cpuinfo_s::flags, and cpuinfo_s::name. Referenced by rpmdsCpuinfo(). |
|
Return current formatted dependency string.
Definition at line 674 of file rpmds.c. Referenced by missingokTag(), printDeps(), rpmdepPrint(), rpmds_DNEVR(), rpmds_print(), rpmds_subscript(), rpmdsPrint(), rpmdsPrintResults(), rpmdsProblem(), rpmfcPrint(), rpmfiBuildFDeps(), rpmShowRC(), rpmts_SolveCallback(), rpmtsAddInstallElement(), and unsatisfiedDepend(). |
|
Definition at line 969 of file rpmds.c. References headerLink(), rpmdsDupArgv(), rpmdsLink, xcalloc(), and xmalloc(). Referenced by rpmdsMerge(). |
|
Definition at line 215 of file rpmds.c. References stpcpy(), and xmalloc(). Referenced by rpmdsDup(), rpmdsMerge(), and rpmdsNew(). |
|
Extract ELF dependencies from a file.
Definition at line 2823 of file rpmds.c. References _free(), DT_GNU_HASH, rpmdsFree(), rpmdsSingle(), RPMELF_FLAG_SKIPPROVIDES, RPMELF_FLAG_SKIPREQUIRES, rpmExpandNumeric(), RPMTAG_PROVIDENAME, RPMTAG_PROVIDES, RPMTAG_REQUIRENAME, sonameDep(), stpcpy(), and xstrdup(). Referenced by main(), rpmdsLdconfig(), rpmfcELF(), and unsatisfiedDepend(). |
|
Return current dependency epoch-version-release.
Definition at line 699 of file rpmds.c. Referenced by rpmds_compare(), rpmds_EVR(), rpmds_iternext(), rpmdsProblem(), rpmfcFileDep(), rpmfcGenerateDepends(), rpmtsAddInstallElement(), rpmtsCheck(), and unsatisfiedDepend(). |
|
Find a dependency set element using binary search.
Definition at line 1017 of file rpmds.c. Referenced by rpmds_Find(), rpmdsMerge(), and rpmfcApply(). |
|
Return current dependency flags.
Definition at line 712 of file rpmds.c. Referenced by handleOneTrigger(), missingokTag(), printDeps(), rpmds_Flags(), rpmds_iternext(), rpmdsAnyMatchesDep(), rpmdsCompare(), rpmdsNVRMatchesDep(), rpmfcFileDep(), rpmtsOrder(), unsatisfiedDepend(), and zapRelation(). |
|
|
Free dependency set(s) container.
Definition at line 2728 of file rpmds.c. References _free(), and rpmdsFree(). Referenced by main(), rpmds_Ldconfig(), rpmds_Sysinfo(), rpmShowRC(), rpmteCleanDS(), rpmtsFree(), and unsatisfiedDepend(). |
|
Retrieve a dependency set from container.
Definition at line 2776 of file rpmds.c. References RPMTAG_CONFLICTNAME, RPMTAG_DIRNAMES, RPMTAG_FILELINKTOS, RPMTAG_NAME, RPMTAG_OBSOLETENAME, RPMTAG_PROVIDENAME, RPMTAG_REQUIRENAME, and RPMTAG_TRIGGERNAME. Referenced by main(), rpmds_Ldconfig(), rpmds_Sysinfo(), rpmShowRC(), rpmteDS(), rpmtsCheck(), and unsatisfiedDepend(). |
|
Load getconf provides into a dependency set.
Definition at line 2593 of file rpmds.c. References _free(), _GETCONF_PATH, conf::call, conf::call_name, conf::CONFSTR, errno, EXIT_FAILURE, conf::name, conf::PATHCONF, rpmdsNSAdd(), rpmExpand(), RPMSENSE_EQUAL, xmalloc(), and xstrdup(). Referenced by main(), rpmds_Getconf(), rpmShowRC(), and unsatisfiedDepend(). |
|
Initialize dependency set iterator.
Definition at line 958 of file rpmds.c. Referenced by checkPackageDeps(), handleOneTrigger(), missingokTag(), printDeps(), rpmalAddProvides(), rpmdepPrint(), rpmds_iternext(), rpmds_print(), rpmdsAnyMatchesDep(), rpmdsMerge(), rpmdsPrint(), rpmdsPrintClosure(), rpmdsPrintResults(), rpmShowRC(), rpmteColorDS(), rpmtsAddInstallElement(), rpmtsCheck(), and rpmtsOrder(). |
|
Return dependency set index.
Definition at line 658 of file rpmds.c. Referenced by addRelation(), rpmalAddProvides(), rpmdepPrint(), rpmds_Find(), rpmds_Ix(), rpmdsPrint(), rpmdsPrintResults(), and rpmdsSearch(). |
|
Load /etc/ld.so.cache provides into a dependency set.
Definition at line 3109 of file rpmds.c. References _free(), _isspace, _LD_SO_CACHE, _SBIN_LDCONFIG_P, rpmdsELF(), rpmdsFree(), rpmdsMerge(), rpmdsMergePRCO(), rpmdsSingle(), rpmExpand(), RPMTAG_PROVIDENAME, and xstrdup(). Referenced by main(), and rpmds_Ldconfig(). |
|
Merge a dependency set maintaining (N,EVR,Flags) sorted order.
Definition at line 1049 of file rpmds.c. References _free(), rpmdsDup(), rpmdsDupArgv(), rpmdsFind(), rpmdsInit(), rpmdsNext(), save, and xmalloc(). Referenced by rpmds_Merge(), rpmds_Sort(), rpmdsLdconfig(), rpmdsMergePRCO(), rpmdsNSAdd(), rpmdsPipe(), rpmdsRpmlib(), rpmfcFindRequiredPackages(), rpmfcGenerateDepends(), rpmfcHelper(), rpmfcMergePR(), and rpmfcSCRIPT(). |
|
Merge provides/requires/conflicts/obsoletes dependencies.
Definition at line 2691 of file rpmds.c. References rpmdsMerge(), rpmdsTagN(), RPMTAG_CONFLICTNAME, RPMTAG_DIRNAMES, RPMTAG_FILELINKTOS, RPMTAG_OBSOLETENAME, RPMTAG_PROVIDENAME, RPMTAG_REQUIRENAME, RPMTAG_TRIGGERNAME, and tagName(). Referenced by main(), rpmdsLdconfig(), rpmdsSysinfoFile(), and unsatisfiedDepend(). |
|
Return current dependency name.
Definition at line 687 of file rpmds.c. References rpmdsNewN(). Referenced by addRelation(), checkPackageDeps(), handleOneTrigger(), rpmalAllFileSatisfiesDepend(), rpmalAllSatisfiesDepend(), rpmds_iternext(), rpmds_N(), rpmdsProblem(), rpmfcFileDep(), rpmfcGenerateDepends(), rpmtsAddInstallElement(), rpmtsCheck(), rpmtsSolve(), and unsatisfiedDepend(). |
|
Definition at line 3599 of file rpmds.c. Referenced by rpmdsCompare(). |
|
Negate return code for negated comparisons.
Definition at line 3852 of file rpmds.c. Referenced by rpmtsCheck(), and unsatisfiedDepend(). |
|
Create and load a dependency set.
Definition at line 244 of file rpmds.c. References _free(), argvFree(), headerFreeData(), headerGetEntry(), headerGetEntryMinMemory(), headerIsEntry(), headerLink(), RPM_INT32_TYPE, rpmdsDupArgv(), rpmdsLink, rpmGenPath(), RPMTAG_ARCH, RPMTAG_BUILDTIME, RPMTAG_CONFLICTFLAGS, RPMTAG_CONFLICTNAME, RPMTAG_CONFLICTVERSION, RPMTAG_DIRINDEXES, RPMTAG_DIRNAMES, RPMTAG_FILELINKTOS, RPMTAG_OBSOLETEFLAGS, RPMTAG_OBSOLETENAME, RPMTAG_OBSOLETEVERSION, RPMTAG_OLDFILENAMES, RPMTAG_PROVIDEFLAGS, RPMTAG_PROVIDENAME, RPMTAG_PROVIDEVERSION, RPMTAG_REQUIREFLAGS, RPMTAG_REQUIRENAME, RPMTAG_REQUIREVERSION, RPMTAG_TRIGGERFLAGS, RPMTAG_TRIGGERNAME, RPMTAG_TRIGGERVERSION, urlPath(), xcalloc(), xmalloc(), and xstrdup(). Referenced by checkPackageSet(), handleOneTrigger(), hdr_dsFromHeader(), missingokTag(), printDeps(), rpmds_init(), rpmdsAnyMatchesDep(), rpmdsNewPRCO(), rpmfcGenerateDepends(), rpmfiBuildFDeps(), and rpmtsAddAvailableElement(). |
|
Return new formatted dependency string.
Definition at line 415 of file rpmds.c. References _rpmns_N_at_A, rpmdsNewN(), RPMSENSE_EQUAL, RPMSENSE_GREATER, RPMSENSE_LESS, RPMSENSE_NOTEQUAL, RPMSENSE_SENSEMASK, stpcpy(), and xmalloc(). Referenced by rpmdsNext(), rpmdsSingle(), rpmdsThis(), and zapRelation(). |
|
Return N string, expanded if necessary.
Definition at line 400 of file rpmds.c. References rpmnsParse(). Referenced by rpmdsN(), and rpmdsNewDNEVR(). |
|
Create dependency set(s) container.
Definition at line 2751 of file rpmds.c. References rpmdsNew(), rpmdsThis(), RPMSENSE_EQUAL, RPMTAG_CONFLICTNAME, RPMTAG_DIRNAMES, RPMTAG_FILELINKTOS, RPMTAG_OBSOLETENAME, RPMTAG_PROVIDENAME, RPMTAG_REQUIRENAME, RPMTAG_TRIGGERNAME, and xcalloc(). Referenced by addTE(), main(), rpmds_Ldconfig(), rpmds_Sysinfo(), rpmShowRC(), rpmtsCreate(), and unsatisfiedDepend(). |
|
Return next dependency set iterator index.
Definition at line 927 of file rpmds.c. References _free(), and rpmdsNewDNEVR(). Referenced by checkPackageDeps(), handleOneTrigger(), missingokTag(), printDeps(), rpmalAddProvides(), rpmalAllSatisfiesDepend(), rpmdepPrint(), rpmds_iternext(), rpmds_print(), rpmds_subscript(), rpmdsAnyMatchesDep(), rpmdsMerge(), rpmdsPrint(), rpmdsPrintClosure(), rpmdsPrintResults(), rpmdsSearch(), rpmfcPrint(), rpmfiBuildFDeps(), rpmShowRC(), rpmteColorDS(), rpmtsAddInstallElement(), rpmtsCheck(), and rpmtsOrder(). |
|
Return current "Don't promote Epoch:" flag. This flag controls for Epoch: promotion when a dependency set is compared. If the flag is set (for already installed packages), then an unspecified value will be treated as Epoch: 0. Otherwise (for added packages), the Epoch: portion of the comparison is skipped if the value is not specified, i.e. an unspecified Epoch: is assumed to be equal in dependency comparisons.
|
|
Notify of results of dependency match.
Definition at line 914 of file rpmds.c. References _, RPMMESS_DEBUG, and rpmMessage. Referenced by rpmalAllFileSatisfiesDepend(), rpmalAllSatisfiesDepend(), rpmds_Notify(), and unsatisfiedDepend(). |
|
Merge a single provides, wrapping N as "NS(N)".
Definition at line 1255 of file rpmds.c. References alloca(), rpmdsFree(), rpmdsMerge(), rpmdsSingle(), RPMTAG_PROVIDENAME, and stpcpy(). Referenced by rpmdsCpuinfo(), rpmdsGetconf(), and rpmdsUname(). |
|
Return dependency class type.
Definition at line 761 of file rpmds.c. References RPMNS_TYPE_UNKNOWN. Referenced by rpmtsCheck(), and unsatisfiedDepend(). |
|
Compare package name-version-release from header with a single dependency.
Definition at line 3802 of file rpmds.c. References alloca(), headerGetEntryMinMemory(), headerNVR(), rpmdsCompare(), rpmdsFlags(), rpmdsFree(), rpmdsSetNoPromote(), rpmdsSingle(), RPMSENSE_EQUAL, RPMSENSE_SENSEMASK, RPMTAG_EPOCH, RPMTAG_PROVIDENAME, stpcpy(), and V. Referenced by ensureOlder(). |
|
Load provides from a pipe into a dependency set.
Definition at line 3463 of file rpmds.c. References _, _free(), _isspace, _PERL_PROVIDES, rpmdsFree(), rpmdsMerge(), rpmdsSingle(), rpmEVRflags(), rpmExpand(), RPMTAG_PROVIDENAME, xisalnum(), and xstrdup(). Referenced by main(). |
|
Report a Requires: or Conflicts: dependency problem.
Definition at line 3718 of file rpmds.c. References _, rpmdsDNEVR(), rpmdsEVR(), rpmdsN(), RPMMESS_DEBUG, rpmMessage, RPMPROB_CONFLICT, RPMPROB_REQUIRES, and rpmpsAppend(). Referenced by checkPackageDeps(). |
|
Return current dependency file refs.
Definition at line 846 of file rpmds.c. Referenced by rpmds_Refs(). |
|
Return current dependency comparison result.
Definition at line 880 of file rpmds.c. Referenced by rpmds_Result(), and rpmdsPrintResults(). |
|
Load rpmlib provides into a dependency set.
Definition at line 1466 of file rpmds.c. References rpmlibProvides_s::featureEVR, rpmlibProvides_s::featureFlags, rpmlibProvides_s::featureName, rpmdsFree(), rpmdsMerge(), rpmdsSingle(), and RPMTAG_PROVIDENAME. Referenced by main(), rpmds_Rpmlib(), rpmShowRC(), and unsatisfiedDepend(). |
|
Search a sorted dependency set for an element that overlaps. A boolean result is saved (if allocated) and accessible through rpmdsResult(ods) afterwards.
Definition at line 1129 of file rpmds.c. References rpmdsCompare(), rpmdsIx(), rpmdsNext(), rpmdsSetIx(), rpmdsSetResult(), and save. Referenced by rpmds_Search(), rpmdsPrintClosure(), and unsatisfiedDepend(). |
|
Set dependency build time.
|
|
Set current dependency color.
Definition at line 825 of file rpmds.c. References xcalloc(). Referenced by rpmteColorDS(). |
|
Set EVR comparison function.
|
|
|
|
Set dependency set index.
Definition at line 663 of file rpmds.c. Referenced by rpmalAllSatisfiesDepend(), rpmds_Find(), rpmds_subscript(), rpmdsSearch(), rpmfcPrint(), rpmfiBuildFDeps(), and zapRelation(). |
|
Set "Don't promote Epoch:" flag.
Definition at line 778 of file rpmds.c. Referenced by checkPackageSet(), handleOneTrigger(), rpmds_SetNoPromote(), rpmdsAnyMatchesDep(), and rpmdsNVRMatchesDep(). |
|
Set current dependency file refs.
Definition at line 859 of file rpmds.c. References xcalloc(). Referenced by rpmteColorDS(). |
|
Set current dependency comparison result.
Definition at line 893 of file rpmds.c. References xcalloc(). Referenced by rpmdsPrintClosure(), and rpmdsSearch(). |
|
Create, load and initialize a dependency set of size 1.
Definition at line 596 of file rpmds.c. References rpmdsLink, rpmdsNewDNEVR(), RPMTAG_CONFLICTNAME, RPMTAG_DIRNAMES, RPMTAG_FILELINKTOS, RPMTAG_OBSOLETENAME, RPMTAG_PROVIDENAME, RPMTAG_REQUIRENAME, RPMTAG_TRIGGERNAME, xcalloc(), and xmalloc(). Referenced by ensureOlder(), rpmds_iternext(), rpmds_Single(), rpmdsELF(), rpmdsLdconfig(), rpmdsNSAdd(), rpmdsNVRMatchesDep(), rpmdsPipe(), rpmdsRpmlib(), rpmdsSysinfoFile(), rpmfcApply(), rpmfcFindRequiredPackages(), rpmfcGenerateDepends(), rpmfcHelper(), rpmfcSCRIPT(), rpmInstall(), and unsatisfiedDepend(). |
|
Load sysinfo dependencies into a dependency set.
Definition at line 1630 of file rpmds.c. References _ETC_RPM_SYSINFO, _free(), alloca(), rpmdsSysinfoFile(), rpmExpand(), rpmGetPath(), RPMTAG_PROVIDENAME, Stat(), tagValue(), and xstrdup(). Referenced by main(), rpmds_Sysinfo(), rpmShowRC(), and rpmtsCreate(). |
|
Merge contents of a sysinfo tag file into sysinfo dependencies.
Definition at line 1491 of file rpmds.c. References _, _isspace, Fclose(), fdGetFILE, Ferror(), Fopen(), rpmdsFree(), rpmdsMergePRCO(), rpmdsSingle(), rpmEVRflags(), RPMTAG_DIRNAMES, RPMTAG_FILELINKTOS, RPMTAG_PROVIDENAME, and xisalnum(). Referenced by rpmdsSysinfo(). |
|
Return current dependency type.
Definition at line 725 of file rpmds.c. Referenced by addRelation(), rpmds_iternext(), rpmds_TagN(), rpmdsMergePRCO(), rpmdsTagName(), rpmfcFileDep(), rpmfcMergePR(), rpmtsSolve(), and unsatisfiedDepend(). |
|
Create, load and initialize a dependency for this header.
Definition at line 498 of file rpmds.c. References headerGetEntryMinMemory(), headerNVR(), RPM_INT32_TYPE, rpmdsLink, rpmdsNewDNEVR(), RPMTAG_ARCH, RPMTAG_BUILDTIME, RPMTAG_CONFLICTNAME, RPMTAG_DIRNAMES, RPMTAG_EPOCH, RPMTAG_FILELINKTOS, RPMTAG_OBSOLETENAME, RPMTAG_PROVIDENAME, RPMTAG_REQUIRENAME, RPMTAG_TRIGGERNAME, stpcpy(), xcalloc(), xmalloc(), and xstrdup(). Referenced by hdr_dsOfHeader(), parseSpec(), rpmdsNewPRCO(), rpmHeadersIdentical(), and rpmtsAddInstallElement(). |
|
Load uname(2) provides into a dependency set.
Definition at line 3419 of file rpmds.c. References rpmdsNSAdd(), and RPMSENSE_EQUAL. Referenced by main(), rpmShowRC(), and unsatisfiedDepend(). |
|
Return a soname dependency constructed from an elf string.
Definition at line 2807 of file rpmds.c. References stpcpy(). Referenced by rpmdsELF(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
Enable noisy range comparison debugging message?
|
|
|
|
|
|
|
|
Definition at line 111 of file rpmds.c. Referenced by showVerifyPackage(). |
|
|
|
Initial value: { "Providename", "Requirename", "Conflictname", "Obsoletename", "Dirnames", "Filelinktos", NULL } |
|
Initial value: { { "processor", 0, 0 }, { "vendor_id", 0, 0 }, { "cpu_family", 0, 1 }, { "model", 0, 1 }, { "model_name", 0, 0 }, { "stepping", 0, 1 }, { "cpu_MHz", 0, 1 }, { "cache_size", 0, 1 }, { "physical_id", 0, 0 }, { "siblings", 0, 0 }, { "core_id", 0, 0 }, { "cpu_cores", 0, 0 }, { "fdiv_bug", 0, 3 }, { "hlt_bug", 0, 3 }, { "f00f_bug", 0, 3 }, { "coma_bug", 0, 3 }, { "fpu", 0, 0 }, { "fpu_exception", 0, 3 }, { "cpuid_level", 0, 0 }, { "wp", 0, 3 }, { "flags", 0, 4 }, { "bogomips", 0, 1 }, { NULL, 0, -1 } } |
|
|
|
|