rpm 5.3.12

In Memoriam: Steve Taylor <staylor@redhat.com> was here, now he's not. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

RPMTS
rpmRC rpmInstallSourcePackage (rpmts ts, void *_fd, const char **specFilePtr, const char **cookie)
 Install source package.

Detailed Description

In Memoriam: Steve Taylor <staylor@redhat.com> was here, now he's not.

Definition in file rpmlib.h.


Function Documentation

rpmRC rpmInstallSourcePackage ( rpmts  ts,
void *  _fd,
const char **  specFilePtr,
const char **  cookie 
)

Install source package.

Deprecated:
This routine needs to DIE! DIE! DIE!.
Todo:
Eliminate in rpm-5.1, insturment rpmtsRun() state machine instead.
Parameters:
tstransaction set
_fdfile handle
Return values:
specFilePtraddress of spec file name (or NULL)
cookieaddress of cookie pointer (or NULL)
Returns:
rpmRC return code

Definition at line 203 of file psm.c.

References _, _fd, _free(), alloca(), rpmDataType_u::argv, createDir(), FA_CREATE, Fclose(), fdLink(), headerFree(), headerGet(), headerIsEntry(), headerLink(), headerMacrosLoad(), IOSM_MAP_GID, IOSM_MAP_MODE, IOSM_MAP_PATH, IOSM_MAP_UID, _HE_s::p, PSM_FINI, PSM_PKGINSTALL, PSM_PROCESS, rpmExpand(), rpmfiFFlags(), rpmfiFN(), rpmfiInit(), RPMFILE_SPECFILE, rpmfiNext(), rpmlog(), RPMLOG_ERR, rpmpsmFree(), rpmpsmNew(), rpmpsmStage(), RPMRC_FAIL, RPMRC_NOKEY, RPMRC_NOTTRUSTED, RPMRC_OK, rpmReadPackageFile(), rpmteFI(), rpmteSetHeader(), rpmtsAddInstallElement(), rpmtsClean(), rpmtsElement(), rpmDataType_u::str, _HE_s::tag, and xstrdup().

Referenced by rpmInstallSource().