rpm/lib
Elena Reshetova e86bae3550 Improving scriptlet related rpm plugin hooks.
Three new hooks added:
PLUGINHOOK_SCRIPTLET_PRE_FUNC
Called before scriptlet execution
PLUGINHOOK_SCRIPTLET_FORK_POST_FUNC
Called after fork() but before scriptlet execution
PLUGINHOOK_SCRIPTLET_POST_FUNC
Called after scriptlet execution

Currently pre and post hooks are called for externals and internal lua scripts.
post hook is called even if scriptlet execution has failed and
the return code is given as an argument.

fork_post hook is only called for external scriptlets,
because for internal scriptlets no fork() is currently performed.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2012-11-29 17:00:04 +02:00
..
backend Store transaction element pointers in the removedPkgs hash 2012-08-30 08:36:22 +03:00
.gitignore build: Update .gitignore rules 2011-10-11 12:55:15 +03:00
Makefile.am Update library current + age (ie libs are now 3.1.0) 2012-11-05 10:22:50 +02:00
cpio.c Blargh, more fdFree() braindamage 2012-08-17 13:09:19 +03:00
cpio.h Push payload file size limit checking into cpio code 2012-07-02 17:11:00 +03:00
depends.c Hide the strpool-related rpmts/rpmfi/rpmds interfaces out of sight for now 2012-11-01 09:59:57 +02:00
formats.c Report config and missinok flags in deptype format extension too 2012-07-11 15:10:08 +03:00
fprint.c Simplify fpLookupSubdir() a bit 2012-09-28 12:43:39 +03:00
fprint.h Allow passing a shared pool for finger print cache 2012-09-14 14:21:10 +03:00
fsm.c Eliminate all the now unnecessary fsm->ix save-and-restores 2012-10-01 13:19:59 +03:00
fsm.h Eliminate rpmts and rpmte kludgery from package building 2012-04-24 14:28:03 +03:00
gentagtbl.sh Use actual enum values in tag table sentinel to avoid int/enum mismatch 2010-09-21 15:26:25 +03:00
header.c Add missing <errno.h> include 2012-11-26 13:34:06 +02:00
header.h Implement "fast" flag to headerImport() 2011-11-30 11:59:35 +02:00
header_internal.h Handle partial reads and errors in package IO (RhBug:802839, RhBug:580974) 2012-10-30 11:36:56 +02:00
headerfmt.c Handle query format field width centrally in formatValue() 2011-08-17 10:59:49 +03:00
headerutil.c Eliminate dead NULL-assignments at scope-end in librpm, part I 2011-05-28 22:24:20 +03:00
legacy.c Remove unused xx error code variable 2011-03-04 12:45:06 +02:00
manifest.c Avoid freeing an unallocated variable (RhBug:688091) 2011-03-16 15:07:55 +01:00
manifest.h Drop bogus const from rpmReadPackageManifest argvptr 2007-12-18 12:53:57 +02:00
merge.c Move <errno.h> include out of system.h to the places that need it 2010-01-05 15:25:31 +02:00
misc.h Handle query format field width centrally in formatValue() 2011-08-17 10:59:49 +03:00
order.c Switch back to early added packages rpmal populating 2012-09-24 11:57:55 +03:00
package.c Handle partial reads and errors in package IO (RhBug:802839, RhBug:580974) 2012-10-30 11:36:56 +02:00
poptALL.c Add --undefine cli switch for undefining macros (related to RhBug:876308) 2012-11-16 13:23:00 +02:00
poptI.c Rip the remains of --aid and --nosuggest, except for the callback 2010-12-20 11:50:30 +02:00
poptQV.c Add cli-switch to query for license files 2012-11-08 10:28:01 +02:00
psm.c Extending rpm plugin interface, part 1 2012-11-08 12:09:03 +02:00
query.c Add cli-switch to query for license files 2012-11-08 10:28:01 +02:00
rpmal.c Add a hash + lookup function on obsoletes to rpmal 2012-10-05 11:35:11 +03:00
rpmal.h Add a hash + lookup function on obsoletes to rpmal 2012-10-05 11:35:11 +03:00
rpmcallback.h Add enum for RPMCALLBACK_INST_STOP callback event 2012-01-05 16:05:10 +02:00
rpmchecksig.c Fix missing error on --import on bogus key file (RhBug:869667) 2012-10-30 09:29:46 +02:00
rpmchroot.c Add an error message + comments on open(".") behavior (RhBug:672576) 2011-01-28 13:19:53 +02:00
rpmchroot.h Add "c++ protection" to (hopefully) all of our internal headers 2010-09-21 15:21:12 +03:00
rpmcli.h Add cli-switch to query for license files 2012-11-08 10:28:01 +02:00
rpmdb.c Allow passing a shared pool for finger print cache 2012-09-14 14:21:10 +03:00
rpmdb.h Internalize most direct rpmdb manipulation functions 2010-12-03 13:49:14 +02:00
rpmdb_internal.h Store transaction element pointers in the removedPkgs hash 2012-08-30 08:36:22 +03:00
rpmds.c Guard against NULL ds in the rpmds indexed getters 2012-10-05 10:09:50 +03:00
rpmds.h Hide the strpool-related rpmts/rpmfi/rpmds interfaces out of sight for now 2012-11-01 09:59:57 +02:00
rpmds_internal.h Hide the strpool-related rpmts/rpmfi/rpmds interfaces out of sight for now 2012-11-01 09:59:57 +02:00
rpmfi.c Eliminate static "misc stuff pool" from rpmfi 2012-10-26 11:47:31 +03:00
rpmfi.h Hide the strpool-related rpmts/rpmfi/rpmds interfaces out of sight for now 2012-11-01 09:59:57 +02:00
rpmfi_internal.h Hide the strpool-related rpmts/rpmfi/rpmds interfaces out of sight for now 2012-11-01 09:59:57 +02:00
rpmfs.c Eliminate header and rpmte knowledge from rpmfs 2012-04-24 13:36:38 +03:00
rpmfs.h Eliminate header and rpmte knowledge from rpmfs 2012-04-24 13:36:38 +03:00
rpmgi.c rpmgiFree() cleanup to remove an exit point and dead assignment(s) 2011-05-30 12:37:06 +03:00
rpmgi.h Stop abusing enum typedefs for bitfield types 2010-09-21 11:10:14 +03:00
rpmhash.C Missing <stdio.h> include for fprintf() 2012-09-07 10:27:08 +03:00
rpmhash.H Add alternative hash key add/get/check methods with prehashed key 2012-09-05 10:38:36 +03:00
rpminstall.c Avoid double iteration on 'rpm -e' now that iterator count works 2012-09-06 10:48:51 +03:00
rpmlead.c Handle partial reads and errors in package IO (RhBug:802839, RhBug:580974) 2012-10-30 11:36:56 +02:00
rpmlead.h Further streamline & sanitize lead handling 2011-07-07 11:55:28 +03:00
rpmlegacy.h Change all the legacy interfaces to use the "concrete" integer tag types 2010-10-22 10:01:33 +03:00
rpmlib.h rpmbuild: warn if header color differs from color of the package architecture. 2012-03-30 13:55:03 +02:00
rpmliblua.c Add lua 5.2 support. 2012-10-09 08:28:52 +03:00
rpmliblua.h Add "c++ protection" to (hopefully) all of our internal headers 2010-09-21 15:21:12 +03:00
rpmlock.c Further generalize the rpmlock interface 2010-04-22 11:01:27 +03:00
rpmlock.h Add "c++ protection" to (hopefully) all of our internal headers 2010-09-21 15:21:12 +03:00
rpmplugins.c Improving scriptlet related rpm plugin hooks. 2012-11-29 17:00:04 +02:00
rpmplugins.h Improving scriptlet related rpm plugin hooks. 2012-11-29 17:00:04 +02:00
rpmpol.h Stop abusing enum typedefs for bitfield types 2010-09-21 11:10:14 +03:00
rpmprob.c Don't bother checking for rasprintf() return codes in rpmProblemString() 2011-03-04 14:43:54 +02:00
rpmprob.h Stop abusing enum typedefs for bitfield types 2010-09-21 11:10:14 +03:00
rpmps.c Fix couple of incorrect sizeof() uses 2011-03-17 14:08:54 +02:00
rpmps.h Eliminate all fooUnlink() functions out of the API 2010-09-13 13:08:33 +03:00
rpmrc.c Add $RPM_CONFIGDIR/macros.d/ directory to default macro path (RhBug:846679) 2012-11-09 08:41:10 +02:00
rpmscript.c Improving scriptlet related rpm plugin hooks. 2012-11-29 17:00:04 +02:00
rpmscript.h Extending rpm plugin interface, part 1 2012-11-08 12:09:03 +02:00
rpmtag.h Add tag extension to calculate hardlink count for files 2012-02-08 15:40:02 +02:00
rpmtd.c Rename td2pool as rpmtdToPool, export and optimize 2012-09-11 08:16:07 +03:00
rpmtd.h Rename td2pool as rpmtdToPool, export and optimize 2012-09-11 08:16:07 +03:00
rpmte.c Extending rpm plugin interface, part 1 2012-11-08 12:09:03 +02:00
rpmte.h Switch rpmte API and internals to use rpmTagVal instead of rpmTag 2010-10-22 11:31:36 +03:00
rpmte_internal.h Make rpmteHaveTransScript() available internally 2012-08-24 08:51:01 +03:00
rpmts.c Work around Fedora-specific patch to libselinux causing warnings 2012-11-05 16:04:41 +02:00
rpmts.h Hide the strpool-related rpmts/rpmfi/rpmds interfaces out of sight for now 2012-11-01 09:59:57 +02:00
rpmts_internal.h Hide the strpool-related rpmts/rpmfi/rpmds interfaces out of sight for now 2012-11-01 09:59:57 +02:00
rpmtypes.h Move string pool typedefs to rpmtypes.h 2012-09-07 14:09:35 +03:00
rpmug.c Move string hash function to librpmio and rename for namespacing 2011-03-10 10:17:39 +02:00
rpmug.h Add a "unique string cache" to rpmug 2010-12-16 09:31:20 +02:00
rpmvercmp.c Minor optimizations to rpmvercmp() 2012-09-04 13:47:23 +03:00
rpmvf.h Stop abusing enum typedefs for bitfield types 2010-09-21 11:10:14 +03:00
signature.c Handle partial reads and errors in package IO (RhBug:802839, RhBug:580974) 2012-10-30 11:36:56 +02:00
signature.h Eliminate uses of pgpDig in package reading & signature checking 2011-11-09 13:44:31 +02:00
tagexts.c Test for file data tag sanity in fnTag() extensions 2012-02-21 16:24:18 +02:00
tagname.c Add RPMTAG_INSTFILENAMES tag extension for state-aware file lists 2011-09-01 12:11:13 +03:00
transaction.c Account for temporary disk-space requirement on forced replace too 2012-11-14 12:25:43 +02:00
verify.c Verify files from non-installed packages again (RhBug:826589) 2012-08-07 12:28:56 +03:00