Commit Graph

263 Commits

Author SHA1 Message Date
Panu Matilainen fb618299bb Convert rpmtsSolve() to new headerGet() 2008-06-13 17:00:21 +03:00
Jindrich Novy ac7f7121eb rpmtsUpdateDSI now uses rpm_loff_t for fileSize 2008-06-10 14:42:50 +02:00
Panu Matilainen a45f4a1803 Use rpm_loff_t for transaction callback amount+total arguments
- ought to be safe as data is only ever automatically converted to larger
  type on notify calls
2008-06-09 12:00:12 +03:00
Panu Matilainen 3a9ff8fc41 Convert rpmtsFindPubkey() to new headerGet() interface 2008-05-23 17:07:34 +03:00
Panu Matilainen d2ef49038a Include rpmtypes.h first instead of rpmtag.h everywhere 2008-05-21 15:59:39 +03:00
Panu Matilainen ea9b00dab8 Convert internal uses of headerSprintf() to headerFormat() 2008-05-12 16:20:13 +03:00
Panu Matilainen 6ca5373aa1 Check for transaction root sanity in rpmtsSetRootDir()
- only regular paths starting with / permitted
- change prototype to permit return codes
2008-05-08 11:53:42 +03:00
Panu Matilainen 6006265faf Set ts rootdir to /, not empty if rootDir arg is NULL
- lets see what break... ;)
2008-05-08 11:38:52 +03:00
Panu Matilainen 42d0c3bd68 Only append trailing slash to ts rootdir if rootdir != "/" 2008-05-08 11:27:58 +03:00
Panu Matilainen 059719a8fe Avoid alloca() in rpmtsSetRootDir() 2008-04-29 11:35:30 +03:00
Panu Matilainen cdcda7408a Avoid alloca() in rpmtsInitIterator() 2008-04-29 11:12:15 +03:00
Jindrich Novy 3dad7b6f0f Don't use static buffers 2008-04-20 21:49:51 +02:00
Panu Matilainen d121a41db2 Whoops.. gpg-pubkey "release" on import got busted accidentally 2008-04-08 17:15:32 +03:00
Panu Matilainen b2cfc89de5 Simplify rpmtsImportPubkey() a bit 2008-04-08 15:36:46 +03:00
Panu Matilainen a3a1a45c51 Remove static print buffer from pgpHexStr, return malloc'ed memory instead
- inlined to get xmalloc() from system.h for consistent malloc fail behavior
- convert callers for new behavior, apart from some debug fprintf()'s
2008-04-07 13:02:18 +03:00
Panu Matilainen c908277be2 Minimal namespacing for locale-insensitive x*() string functions 2008-03-18 09:10:13 +02:00
Panu Matilainen d89482a7c7 Remove repackage support to finish off with rollback
The two main classes of rollback/repackage need are
1) Gimme back the previous version, this broke XYZ on my system.
   This is better handled by downgrading to the previous version of original
   package instead of repackaged garbage. We should maintain real package
   (version) history somewhere.

2) Upgrade messed up my configuration.
   Instead of repackaging everything we could be far more intelligent
   wrt config files, stick them into real version control or at least have
   hooks to do so.

RPMCALLBACK_REPACKAGE_* and RPMTRANS_FLAG_REPACKAGE definitions left around
to avoid needlessly breaking everybodys callbacks (for now)
2008-03-17 14:10:11 +02:00
Panu Matilainen ed78cef2c3 Remove support for automatic rollback on failure
- doing this reliably from rpm is simply not possible as there's no way
  to undo script actions, might as well not pretend we can
- for a feature that's not generally usable it complicates mainline code
  way too much
2008-03-17 12:04:39 +02:00
Panu Matilainen 35c7ef6d6b Remove support for automatically importing pubkeys from keyservers
- causes hideous load on keyservers and autoimporting without user approval
  isn't a very good idea, especially as long as imported == trusted
- nothing wrong with supporting hkp lookups on manual --import though...
- curl doesn't know about hkp:// but http on appropriate port works just
  fine, lets re-enable it
2008-03-07 15:07:06 +02:00
Panu Matilainen a08ececd83 Log message adjustments
- dont waste translator time by having them translate obscure debug messages
- adjust some suspect looking logging levels
- mark some non-debug messages for translation where missing..
2008-03-07 09:47:51 +02:00
Panu Matilainen 3be0a4b2f8 Another pile of read-only constants marked as such.. 2008-03-07 08:20:03 +02:00
Panu Matilainen 9f8aa63490 Fix a bunch of string format mismatches found by gcc's variadic checks
Patch from Michal Marek
2008-02-14 13:10:51 +02:00
Panu Matilainen d718b12f5b Mass convert (back) to rpmTag as it's usable everywhere now
- cast away a few cases where the enum usage causes ridiculous amount
  of compiler warnings from unhandled switch-cases
2008-02-05 17:42:19 +02:00
Panu Matilainen 53ca9c775f Use rpmSigTag enum for signature tags everywhere, more or less.. 2008-02-05 16:35:44 +02:00
Panu Matilainen 130118d594 Use rpmTagType always now that it's available everywhere
- RPM_MASK_TYPE is not a datatype, move it out of the enum
- add missing cases python header handling to shut up gcc
2008-02-05 16:14:34 +02:00
Panu Matilainen 36e9f885e1 Yet another typedef for transaction ID, use where spotted
- most remaining [u]int16|32 uses are indexes and such, ie actual numbers
2008-02-05 15:29:37 +02:00
Panu Matilainen 630a5a4c1a Add rpm_color_t type for rpm color bits, use where spotted 2008-02-05 12:12:31 +02:00
Panu Matilainen e886043a10 Add rpm_off_t type for file size types, use where spotted
- preliminaries for bumping up the max size, use rpm-specific type
  as off_t size varies, header data needs fixed size
2008-02-04 11:27:00 +02:00
Panu Matilainen eb5dc35c19 Include spring-cleaning
- put some consistency into include ordering
- everything (apart from bits missed ;) is now ordered like this
  1. "system.h"
  2. other system includes
  3. rpm public headers
  4. rpm private headers
  5. "debug.h"
2008-01-30 17:05:29 +02:00
Panu Matilainen d2efb5d77c Use rpmsenseFlags type for dependency flags everywhere (hopefully) 2008-01-30 16:04:40 +02:00
Panu Matilainen 99faa2735b rpmlib.h mass eviction
- explicitly include what's really needed instead
- document remaining uses
2008-01-30 13:53:51 +02:00
Panu Matilainen 240b2d3441 Add support for Geode CPU (rhbz#428979)
Patch from Dennis Gilmore
2008-01-19 11:40:59 +02:00
Panu Matilainen fcf6b50378 Don't unlink non-temporary file in FSM_UNDO (rhbz#223931)
Ported from rpm5.org work of Jeff Johnson.
2008-01-07 14:48:57 +02:00
Panu Matilainen addac6a86b Add rpm_data_t (and _constdata_t) for header data, use everywhere
- consistent, easy to grep for and change...
- bogus consts removed where spotted
2007-12-19 12:05:56 +02:00
Panu Matilainen bed447552a Use constfree for rpmts suggestions
- goes down to rpmal returning fnpykey which is declared as const..
  check this later
2007-12-18 10:48:10 +02:00
Panu Matilainen dc9c504ae6 Another bunch of bogus const removals 2007-12-15 16:03:18 +02:00
Panu Matilainen b6a663ec0a Remove bogus const from rpmGetPath() temporary targets 2007-12-15 10:39:15 +02:00
Panu Matilainen 61e35657a6 Another bunch of bogus const removals 2007-12-14 17:55:31 +02:00
Panu Matilainen 8946859700 More size_t type pedantry 2007-12-14 11:38:20 +02:00
Panu Matilainen c76674a257 Big bunch of int -> size_t corrections for various signature items 2007-12-13 21:18:37 +02:00
Panu Matilainen 1e96ead466 Use rpm_tagtype_t everywhere for rpm (header) tagtype type
- typedef'ed as uint32_t, doesn't matter much but negative types dont exist
- easy to grep, easy to change...
- define RPM_FORCEFREE_TYPE instead of -1 "magic" for forcing
  headerFreeData (ugh), easier to grep for and change than "-1"
2007-12-13 20:35:33 +02:00
Panu Matilainen 7e56c6355b Use rpm_tag_t everywhere for rpm (header) tag type
- typedef'ed as int32_t for now, negative values used in some places for
  error cases
- easy to grep, easy to change...
- add RPMTAG_NOT_FOUND define, used in place of -1 "magic",
2007-12-13 19:32:37 +02:00
Panu Matilainen cbd7a684a4 Use rpm_count_t everywhere for header data count
- typedef'ed as uint32_t as that's the key size limit imposed by BDB,
  relevant for RPM_BIN_TYPE
- easy to change to whatever later on as it's now consistent everywhere
- explicit casts where needed to avoid new warnings from signedness
2007-12-13 18:16:39 +02:00
Panu Matilainen c8f2927227 Use rpm_count_t everywhere for header data count
- typedef'ed as uint32_t as that's the key size limit imposed by BDB,
  relevant for RPM_BIN_TYPE
- easy to change to whatever later on as it's now consistent everywhere
2007-12-13 09:25:10 +02:00
Panu Matilainen 9ce13e09ef Switch to <rpm/foo.h> style for public headers
- adjust include paths accordingly
2007-12-08 14:02:32 +02:00
Panu Matilainen dbdbe8010c Eliminate debug junk from the API
- add some helper macros to accomplish the same, easy to enable / disable
  as needed
2007-12-04 11:25:46 +02:00
Panu Matilainen 82a9632d4f Move hGet*() funcs from rpmts, rename to headerGet*() 2007-12-01 10:29:44 +02:00
Panu Matilainen 2380dc146e Remove debug junk 2007-11-27 09:55:40 +02:00
Panu Matilainen 2a228d767c Teach dbiFindByLabel() to grok epochs 2007-11-27 09:52:44 +02:00
Ralf Corsépius 60939d6985 Expand private include file names to be relative to $(top_srcdir) 2007-11-23 11:39:29 +01:00
Panu Matilainen 2c6905dd9f Move rpmGetPath and rpmGenPath to rpmfileutil.h 2007-11-23 10:20:19 +02:00
Panu Matilainen 4ad615daf5 Move the xstr*() string variants from rpmio.h to rpmstring.h 2007-11-23 08:32:08 +02:00
Ralf Corsépius abeea80a38 Use #include <x.h> syntax to include public headers. 2007-11-23 06:46:19 +01:00
Panu Matilainen 17ef8a3082 Lose rpmerr.h for good 2007-11-19 16:32:15 +02:00
Panu Matilainen 43c5de66fb Replace all RPMERR_* etc uses with corresponding RPMLOG_* levels 2007-11-19 16:25:24 +02:00
Panu Matilainen db4e34966e Split digest-stuff out of rpmio_internal to separate header 2007-11-16 17:37:54 +02:00
Panu Matilainen 8afe81c214 Use NSS instead of beecrypt for encryption (Tomas Mraz) 2007-11-02 10:02:40 +02:00
Panu Matilainen 05fcdb49f1 Split out rpmts_internal.h from rpmts.h 2007-10-31 12:08:01 +02:00
Panu Matilainen c13ab34016 Add rpmtsPrintSuggests() method for now, use instead of ts internals mucking
- temporary measure to get rid of silly RPMTS_INTERNAL uses, the whole
  solve/suggestion thingie needs love or ripping...
- clean up the suggestions in rpmtsClean() instead of while printing
2007-10-31 10:37:18 +02:00
Panu Matilainen 68dcdd5dad Kill ts->goal, instead set NOSUGGEST flag on erase
- it aint quite the same thing but will suffice for now...
2007-10-31 10:15:05 +02:00
Panu Matilainen 3f5d1e332e Add rpmtsCleanProblems() method for rpmgi needs 2007-10-30 16:48:38 +02:00
Panu Matilainen 41cd82aa7c Split transaction score stuff to separate private header 2007-10-30 15:50:35 +02:00
Panu Matilainen 51c91957ae Use rpmtsRootDir() instead of ts->rootDir + url guess-games in psm 2007-10-30 14:31:42 +02:00
Panu Matilainen 80ab4ab3f6 Avoid rpmte internals access in rpmtsNotify() 2007-10-30 12:25:15 +02:00
Ralf Corsépius f25c04c1e4 Include "rpmlib.h" instead of <rpmlib.h>. 2007-10-28 06:47:31 +01:00
Ralf Corsépius e36a2ac8da Include "rpmmacro.h" instead of <rpmmacro.h>. 2007-10-28 06:32:05 +01:00
Ralf Corsépius bebeb89735 Eliminate [u|]int_[8|16|32]. Use c99 stdint.h types instead. 2007-10-26 13:24:14 +02:00
Panu Matilainen eabf92f842 Rename rpmcliImportPubkey() -> rpmtsImportPubkey()
- it's not a cli function in any way
- move to rpmts group
2007-10-26 10:21:12 +03:00
Panu Matilainen b2e90be346 Use NEVRA, not NEVR everywhere for rpmProblems 2007-10-24 10:31:42 +03:00
Panu Matilainen 8d70f18681 Add set + get methods from ts dbmode 2007-10-22 13:33:53 +03:00
Panu Matilainen 01d5c13a42 Make rpmerr.h private, include directly where needed. 2007-10-09 15:33:49 +03:00
Panu Matilainen 0eb7deabf2 Replace all uses of RPMMESS_WARNING with RPMLOG_WARNING 2007-10-09 14:52:01 +03:00
Panu Matilainen c52905d334 Replace all uses of RPMMESS_ERROR with RPMLOG_ERR 2007-10-09 14:49:02 +03:00
Panu Matilainen 9d9aa852ca Replace all uses of RPMMESS_DEBUG with RPMLOG_DEBUG 2007-10-09 14:48:04 +03:00
Panu Matilainen 4ce9fc1a17 Replace all rpmMessage() uses with rpmlog() 2007-10-09 14:14:30 +03:00
Panu Matilainen d709195c3a Replace all rpmError() uses with rpmlog() 2007-10-09 14:06:06 +03:00
Panu Matilainen c8e421400c Fix disk space checking when zero blocks / inodes are available (rhbz#308171)
When installing a rpm that requires space on a filesystem with 0 blocks free,
rpm will not detect that there is insufficient space on the filesystem.

Patch from Patrick Bergamin
2007-09-27 10:37:19 +03:00
Panu Matilainen 2c2538d726 Rename Spec -> rpmSpec for namespacing 2007-09-21 15:23:02 +03:00
Panu Matilainen c0149602a6 Rename public fileAction* type to rpmFileAction for namespacing 2007-09-20 16:19:25 +03:00
Panu Matilainen 4f222fef8f Remove db-internals from rpmts
- api for getting db ops out of rpmdb
- api for setting chrootdone of rpmdb
- replace db internal accesses with api uses
2007-09-19 13:59:05 +03:00
Panu Matilainen 66dcee4a67 Hide db index handling and rpmdb details from the API to internal header 2007-09-17 13:17:07 +03:00
Ralf Corsépius ebef4f211c Remove splint tags. 2007-09-11 19:07:39 +02:00
Panu Matilainen 3ba25ca399 Add Sparc Niagara support (rhbz#263521)
Patch from Dennis Gilmore.
2007-09-05 16:11:04 +03:00
Panu Matilainen b23a4d294b Automated merge with ssh://login.linux.duke.edu//home/groups/rpm/hg/rpm 2007-09-03 15:23:38 +03:00
Panu Matilainen 0df97d170a RIP rpmsx and all its uses 2007-09-03 15:20:31 +03:00
Ralf Corsépius 1f8c7ab9d8 Remove __LCLINT__-ifdef'ed blocks. 2007-09-03 13:29:48 +02:00
Panu Matilainen 82885665ce ARM arch update.
Adds more ARM sub-archs, and adds some bits to deal properly with the new
ARM ABI (EABI). Patch from  Lennert Buytenhek.
2007-06-21 15:13:04 +03:00
Paul Nasrat 4da917bfef Enable configurable preferable elf colour policy (#235757)
Patch from: dwmw2 at redhat.com
2007-05-01 05:55:14 +01:00
jbj d0615e9641 - macosx: change to --prefix=/usr rather than /opt/local.
- use waitpid rather than SIGCHLD reaper.
- rip out DB_PRIVATE revert if not NPTL, it's not the right thing to do.

CVS patchset: 7761
CVS date: 2005/02/13 03:01:09
2005-02-13 03:01:09 +00:00
jbj 228d0e350a Splint fiddles.
CVS patchset: 7669
CVS date: 2005/01/04 17:11:00
2005-01-04 17:11:00 +00:00
jbj f5203aea8b - add support for automagic pubkey retrieval using HKP.
CVS patchset: 7617
CVS date: 2004/11/28 21:14:41
2004-11-28 21:14:41 +00:00
jbj 8ce559b875 Avoid unnecessary chroot("/") calls for certain Mac OSX kernels.
Strip URL clutter from --root paths in rpmtsRootDir(ts) and newRpmdb().

CVS patchset: 7574
CVS date: 2004/11/11 03:58:46
2004-11-11 03:58:46 +00:00
jbj 37718380bf - bump popt to version to 1.10.
CVS patchset: 7519
CVS date: 2004/10/28 23:57:36
2004-10-28 23:57:36 +00:00
jbj 24bb3c7ce2 Flush changes from rpm-4_3 branch.
CVS patchset: 7440
CVS date: 2004/10/09 19:40:09
2004-10-09 19:40:09 +00:00
jbj a29bd9bb89 - fix: follow current is_selinux_enabled() return (#121004).
CVS patchset: 7279
CVS date: 2004/05/30 17:52:11
2004-05-30 17:52:11 +00:00
joden ed47ca65b1 Minor tweaks to comments in autorollback code, made removal of re-packaged
package print to standard out in arb and rb code.
...james

CVS patchset: 7245
CVS date: 2004/05/03 17:29:16
2004-05-03 17:29:16 +00:00
arekm b07c0fbce4 pentium3/pentium4 support by Pawe³ Sikora <pluto/at/pld-linux.org>.
Modified Files: installplatform macros.in rpmrc.in lib/rpmrc.c lib/rpmts.c

CVS patchset: 7198
CVS date: 2004/03/28 02:41:32
2004-03-28 02:41:32 +00:00
jbj 60057a2de1 Splint fiddles.
CVS patchset: 7195
CVS date: 2004/03/26 17:27:57
2004-03-26 17:27:57 +00:00
niemeyer c096a690b8 - Now Lua interface is using a global state.
- /usr/lib/rpm/init.lua is called during intialization.

CVS patchset: 7188
CVS date: 2004/03/24 19:47:11
2004-03-24 19:47:11 +00:00
niemeyer 635edd9523 - New internal Lua support scheme, laying under rpmio.
- New API abstracting access to Lua state (rpmlua is
  abstract to everyone but rpmlua.c).
- New %{lua: ... } macro.
Modified Files:
	lib/Makefile.am lib/psm.c lib/rpmts.c lua/local/linit.lch
	lua/local/linit.lua rpmio/Makefile.am rpmio/macro.c
Added Files:
	rpmio/rpmlua.c rpmio/rpmlua.h
Removed Files:
	lib/rpmlua.c lib/rpmlua.h

CVS patchset: 7178
CVS date: 2004/03/19 20:08:20
2004-03-19 20:08:20 +00:00
niemeyer 73260d956c - Implemented support for internal Lua scripts.
- Implemented %pretrans and %posttrans script slots.
Changed files:
	Makefile.am configure.ac build/pack.c build/parseScript.c
	build/parseSpec.c build/rpmbuild.h build/rpmspec.h
	lib/Makefile.am lib/psm.c lib/rpmlib.h lib/rpmlibprov.c
	lib/rpmts.c lib/rpmts.h lib/transaction.c
Added files:
	lib/rpmlua.c lib/rpmlua.h lua/*

CVS patchset: 7175
CVS date: 2004/03/16 21:58:25
2004-03-16 21:58:25 +00:00
jbj 11507f2cf4 - add sparcv8 and enable elf32/elf64 Zon sparc64 (#117302).
- fix: --querybynumber looped.

CVS patchset: 7161
CVS date: 2004/03/10 23:01:46
2004-03-10 23:01:46 +00:00
joden d7db215d7f initial autorollback feature.
CVS patchset: 7149
CVS date: 2004/03/05 18:22:25
2004-03-05 18:22:25 +00:00
niemeyer 0f828b95fc Creating transaction locking scheme based on fcntl file locking
during writing operations. For now, this system will wait forever
for the lock to be released. This will ensure that current
applications will get the necessary protection without breaking
unexpectedly.
Modified Files:
	lib/Makefile.am lib/rpmts.c lib/transaction.c
Added Files:
	lib/rpmlock.c lib/rpmlock.h

CVS patchset: 7130
CVS date: 2004/02/25 19:54:58
2004-02-25 19:54:58 +00:00
jbj cf60d72565 add --with-selinux, move selinux stubs to system.h.
CVS patchset: 7063
CVS date: 2004/01/05 14:09:47
2004-01-05 14:09:47 +00:00
jbj 210183cc69 Add lsetfilecon to install modes.
CVS patchset: 7006
CVS date: 2003/12/25 23:00:44
2003-12-25 23:00:44 +00:00
jbj f09888fc1a Verify file contexts from file security context patterns.
CVS patchset: 7005
CVS date: 2003/12/25 19:02:01
2003-12-25 19:02:01 +00:00
jbj 5e20d90422 splint fiddles, no warnings.
CVS patchset: 6961
CVS date: 2003/12/01 19:15:38
2003-12-01 19:15:38 +00:00
jbj 3dcfeb3f9a Merge changes from rpm-4.2.1 development.
CVS patchset: 6959
CVS date: 2003/11/23 19:50:52
2003-11-23 19:50:52 +00:00
jbj 85a5a1cfe3 Sanity.
CVS patchset: 6918
CVS date: 2003/06/24 19:29:36
2003-06-24 19:29:36 +00:00
jbj 783219a832 fix: prevent segfault if malicious server sends 1 GB of data through ftpNLST.
fix: rpmal could segfault under obscure conditions.
Use array, not individual structures, for rpmsw{Enter,Exit} timestamps.

CVS patchset: 6735
CVS date: 2003/04/08 21:42:55
2003-04-08 21:42:55 +00:00
jbj f60ec855de Calibrated stopwatch using rdtsc.
Probes for digest/signature and rpmdb.

CVS patchset: 6734
CVS date: 2003/04/07 12:05:35
2003-04-07 12:05:35 +00:00
jbj 0bb715a528 Accumulate compress/uncompress times.
CVS patchset: 6733
CVS date: 2003/04/04 22:15:58
2003-04-04 22:15:58 +00:00
jbj 5984579078 Use rpmswEnter/rpmswExit throughout.
CVS patchset: 6730
CVS date: 2003/04/02 23:26:06
2003-04-02 23:26:06 +00:00
jbj fc0a8f7bc9 Add transaction stop watch points.
CVS patchset: 6718
CVS date: 2003/03/25 23:51:24
2003-03-25 23:51:24 +00:00
jbj 51e7f7a5e9 - fix: memory leak (85522).
CVS patchset: 6656
CVS date: 2003/03/06 22:50:04
2003-03-06 22:50:04 +00:00
jbj e8cf6cbb05 Sanity.
CVS patchset: 6652
CVS date: 2003/03/05 00:13:11
2003-03-05 00:13:11 +00:00
jbj 8441baccd2 Display statfs(2) returns for debugging.
CVS patchset: 6027
CVS date: 2003/01/25 18:10:30
2003-01-25 18:10:30 +00:00
jbj 7e716b70fb splint fiddles.
CVS patchset: 6023
CVS date: 2003/01/23 20:23:24
2003-01-23 20:23:24 +00:00
jbj d6ea2fbf22 Splint fiddles.
CVS patchset: 6018
CVS date: 2003/01/20 23:52:04
2003-01-20 23:52:04 +00:00
jbj f49f99df00 - duplicate package checks with arch/os checks if colored.
- file conflict checks with colors.

CVS patchset: 6013
CVS date: 2003/01/17 17:43:04
2003-01-17 17:43:04 +00:00
jbj 39cbc98d69 1st crack at colored installs.
CVS patchset: 5989
CVS date: 2002/12/31 01:23:03
2002-12-31 01:23:03 +00:00
jbj 2119e50b90 - fix builddir relative inclusion, add %%pubkeys to rpm header.
- fix: package relocations were broken (#75057).

CVS patchset: 5978
CVS date: 2002/12/28 00:24:14
2002-12-28 00:24:14 +00:00
jbj b7129ca898 splint fiddles.
CVS patchset: 5962
CVS date: 2002/12/24 04:04:20
2002-12-24 04:04:20 +00:00
jbj b63b4a5d12 - simplify specfile query linkage loop.
- drill rpmts into parseSpec(), carrying Spec along.

CVS patchset: 5958
CVS date: 2002/12/22 02:11:05
2002-12-22 02:11:05 +00:00
jbj 02f9006732 - fix: segfault with --checksig, plug memory leak (#72455).
- rpm-4.1 release candidate.

CVS patchset: 5684
CVS date: 2002/08/27 20:50:21
2002-08-27 20:50:21 +00:00
jbj f5a546f580 - merge signature returns into rpmRC.
- python: exceptions on NOKEY/NOTTRUSTED.

CVS patchset: 5667
CVS date: 2002/08/23 21:01:59
2002-08-23 21:01:59 +00:00
jbj 46d1fa7527 - fix: add epoch to "already installed" check.
CVS patchset: 5650
CVS date: 2002/08/20 14:56:37
2002-08-20 14:56:37 +00:00
jbj ae8428475c - add --with-efence to configure, check install/upgrade with efence.
- beecrypt: short hex string conversion overflows target buffer.
- mark "successors only" packages in transaction.
- reap scriptlets with SIGCHLD handler.
- rename PSM_t to rpmpsm, add methods and refcounts to manage.
- remove %%configure/%%makeinstall from arch-os/macros, default is OK.
- don't export MALLOC_CHECK_ to scriptlets.
- squeaky clean memory leak checking.
- always malloc rpmfi structure, refcounts are correct in rpmtsRun().
- skip redundant /sbin/ldconfig scripts on upgrade (if possible).

CVS patchset: 5645
CVS date: 2002/08/19 22:27:44
2002-08-19 22:27:44 +00:00
jbj c7881d8017 - python: explicit method to set transFlags.
- python: stuff package name into a string for repackage callbacks.
- rollback: re-create empty transaction set for multiple rollbacks.
- fix: %%basename typo (Dmitry V. Levin<ldv@altlinux.org>).
- fix: queryformat segfaults (Dmitry V. Levin<ldv@altlinux.org>).

CVS patchset: 5639
CVS date: 2002/08/15 18:50:46
2002-08-15 18:50:46 +00:00
jbj 9b29055f42 - supply transitive closure for CLI packages from rpmdb-redhat database.
CVS patchset: 5624
CVS date: 2002/08/13 16:36:44
2002-08-13 16:36:44 +00:00
jbj 7937158c01 - python: add (optional) ts.check() callback.
CVS patchset: 5619
CVS date: 2002/08/09 22:25:04
2002-08-09 22:25:04 +00:00
jbj 035cf961d5 - add bitmask for precise control of signature/digest verification.
CVS patchset: 5604
CVS date: 2002/08/06 01:41:44
2002-08-06 01:41:44 +00:00
jbj c8502fbab5 - update trpm.
- factor all mode-specific options into mode-specific tables.
- treat an unspecified epoch as Epoch: 0 everywhere.

CVS patchset: 5578
CVS date: 2002/07/29 23:06:06
2002-07-29 23:06:06 +00:00
jbj 5a1ebaccd5 - python: don't segfault in ts.GetKeys() on erased packages.
resurrect build modes.
add undocumented debugging options.

CVS patchset: 5577
CVS date: 2002/07/28 14:52:33
2002-07-28 14:52:33 +00:00
jbj ede1f445e0 - 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
2002-07-24 16:21:23 +00:00
jbj 6af194ed8e - add methods to make signature handling opaque wrto rpmts.
CVS patchset: 5566
CVS date: 2002/07/21 22:06:19
2002-07-21 22:06:19 +00:00
jbj 6c4025a55b up2date functional on rpm-python-4.1 bindings.
CVS patchset: 5558
CVS date: 2002/07/18 21:42:18
2002-07-18 21:42:18 +00:00
jbj 261b4a2ecb - install rpmal.h and rpmhash.h, implicit rpmps.hinclude, for now.
- revert headerFree/headerLink/headerUnlink debugging.

CVS patchset: 5550
CVS date: 2002/07/13 19:08:51
2002-07-13 19:08:51 +00:00
jbj 241fad1287 Propagate splint-3.0.1.7 close(2) internalState annotation throughout.
CVS patchset: 5542
CVS date: 2002/07/08 14:21:26
2002-07-08 14:21:26 +00:00
jbj 68b42bb762 - update rpmcache.8.
CVS patchset: 5540
CVS date: 2002/07/05 16:51:57
2002-07-05 16:51:57 +00:00
jbj 37a10dd3bc - use rpmdb-redhat for suggestions if/when configured (#67430).
CVS patchset: 5526
CVS date: 2002/06/27 16:37:15
2002-06-27 16:37:15 +00:00
jbj 05cb73a7ee Factor bounds checking annotations into source code.
CVS patchset: 5521
CVS date: 2002/06/22 18:51:56
2002-06-22 18:51:56 +00:00
jbj 49658e0fff Annotate incondefs in source code.
CVS patchset: 5509
CVS date: 2002/06/19 18:52:46
2002-06-19 18:52:46 +00:00
jbj 93ae345321 - fix: separate existence and number checks for problems found.
CVS patchset: 5481
CVS date: 2002/06/12 14:52:59
2002-06-12 14:52:59 +00:00
jbj 8d1ff9feac Lclint fiddles.
CVS patchset: 5468
CVS date: 2002/06/05 22:07:55
2002-06-05 22:07:55 +00:00
jbj 2395582ab0 - python: portability fiddles (#54350).
- check inodes (but not blocks) on FAT file systems (#64256).

CVS patchset: 5465
CVS date: 2002/06/05 20:26:57
2002-06-05 20:26:57 +00:00
jbj 23bbe266cc Add bindings for rpmte and FD_t.
CVS patchset: 5451
CVS date: 2002/05/27 21:40:08
2002-05-27 21:40:08 +00:00
jbj 259bb824cc Add rpmal bindings, Grand Renaming to rpmalFoo().
CVS patchset: 5450
CVS date: 2002/05/27 18:12:12
2002-05-27 18:12:12 +00:00
jbj aeb8ed2318 Create rpmts-py.c.
CVS patchset: 5446
CVS date: 2002/05/23 19:42:23
2002-05-23 19:42:23 +00:00