Commit Graph

336 Commits

Author SHA1 Message Date
jbj a6faa04f39 - Depends should use CDB if configured.
CVS patchset: 5241
CVS date: 2002/01/07 18:36:23
2002-01-07 18:36:23 +00:00
jbj ce922f5bdf - handle lazy db open's in chroot with absolute path, not prefix strip.
CVS patchset: 5239
CVS date: 2002/01/06 22:12:44
2002-01-06 22:12:44 +00:00
jbj 6ac07ef374 - simple automake wrapper for zlib.
CVS patchset: 5230
CVS date: 2001/12/27 21:04:37
2001-12-27 21:04:37 +00:00
jbj 85f676ed66 - lclint-3.0.0.19 fiddles.
CVS patchset: 5217
CVS date: 2001/12/08 17:21:36
2001-12-08 17:21:36 +00:00
jbj 5a0508d51f - 3 madvise calls and a 16Mb mmapped buffer == ~5% install speedup. Wow.
- use db-4.0.14 final internally.

CVS patchset: 5215
CVS date: 2001/12/06 18:34:49
2001-12-06 18:34:49 +00:00
jbj e98018b4d8 - fix a couple dinky memory leaks.
- build with an internal zlib for now.

CVS patchset: 5207
CVS date: 2001/11/23 15:49:11
2001-11-23 15:49:11 +00:00
jbj a224782884 - header handling moved to librpmdb to avoid linkage loops.
CVS patchset: 5193
CVS date: 2001/11/19 22:45:35
2001-11-19 22:45:35 +00:00
jbj ceed8357c7 - convert file md5sum's to binary on the fly, reducing memory footprint.
CVS patchset: 5192
CVS date: 2001/11/18 17:49:21
2001-11-18 17:49:21 +00:00
jbj aaaf5f8e31 - use TR_REMOVED relations as well as TR_ADDED for ordering.
- drop requirement that removed packages immediately follow added.
- hybrid chainsaw/presentation ordering algorithm.

CVS patchset: 5190
CVS date: 2001/11/17 20:44:16
2001-11-17 20:44:16 +00:00
jbj 945d5a740c - methods to complete making transactionElement opaque.
CVS patchset: 5189
CVS date: 2001/11/17 08:02:17
2001-11-17 08:02:17 +00:00
jbj 7d44f13395 - use array of pointers rather than contiguous array for ts->order.
CVS patchset: 5186
CVS date: 2001/11/16 22:42:19
2001-11-16 22:42:19 +00:00
jbj bf2a991c67 Create rpmte.[ch].
CVS patchset: 5185
CVS date: 2001/11/16 20:26:01
2001-11-16 20:26:01 +00:00
jbj 2bc3326438 - annotations to make a transactionElement opaque.
CVS patchset: 5184
CVS date: 2001/11/16 19:26:33
2001-11-16 19:26:33 +00:00
jbj 7f1fd8aabc - transaction.c: use wrappers/iterators to access TFI_t.
CVS patchset: 5182
CVS date: 2001/11/16 00:26:30
2001-11-16 00:26:30 +00:00
jbj 846ed75f9b - tweak overlapped file fingerprint retrieval for speed.
CVS patchset: 5181
CVS date: 2001/11/15 18:22:33
2001-11-15 18:22:33 +00:00
jbj b1c03797eb - split file info tag sets into rpmfi.c.
- create toy TFI_t iterators.

CVS patchset: 5179
CVS date: 2001/11/13 19:04:33
2001-11-13 19:04:33 +00:00
jbj 21a35690b3 - commit to using rpmDepSet and TFI_t, not header.
- lclint rpmio fiddles.

CVS patchset: 5177
CVS date: 2001/11/12 20:51:05
2001-11-12 20:51:05 +00:00
jbj 55ffccbdde - unify rpmFNSet into TFI_t.
- eliminate header reference in rpmtransAddPackage, use TFI_t data.

CVS patchset: 5176
CVS date: 2001/11/11 22:51:00
2001-11-11 22:51:00 +00:00
jbj ac9f0fea03 - factor per-transactionElement data out of TFI_t through pointer ref.
CVS patchset: 5174
CVS date: 2001/11/11 16:17:57
2001-11-11 16:17:57 +00:00
jbj b97f1cf32b - common structure elements for unification of TFI_t and rpmFNSet.
CVS patchset: 5173
CVS date: 2001/11/11 12:47:08
2001-11-11 12:47:08 +00:00
jbj 431499aeca - strip header tags for erased as well as installed transactionElements.
CVS patchset: 5167
CVS date: 2001/11/10 01:39:50
2001-11-10 01:39:50 +00:00
jbj eb1789dad7 - no-brainer refcounts for rpmDepSet and rpmFNSet objects.
CVS patchset: 5166
CVS date: 2001/11/09 23:13:50
2001-11-09 23:13:50 +00:00
jbj 56a319f1aa - header tag sets are per-transactionElement, not per-availablePackage.
CVS patchset: 5165
CVS date: 2001/11/09 20:41:18
2001-11-09 20:41:18 +00:00
jbj ac15c68ca5 - no-brainer refcounts for rpmProblemSet object.
CVS patchset: 5163
CVS date: 2001/11/09 17:22:08
2001-11-09 17:22:08 +00:00
jbj eb10f05b85 - rip out rpmDependencyConflict, replace with rpmProblem instead.
CVS patchset: 5162
CVS date: 2001/11/08 22:04:35
2001-11-08 22:04:35 +00:00
jbj e680cce3e8 - fix: harmless typo in db3 chroot hack.
- fix: big-endian's with sizeof(time_t) != sizeof(int_32) mtime broken.
- fix: add Korean message catalogs (#54473).
- add RPHNPLATFORM and PLATFORM tags.
- linear search on added package provides is dumb.
- discarding entire signature header when using --addsign is dumb.

CVS patchset: 5159
CVS date: 2001/11/06 22:46:26
2001-11-06 22:46:26 +00:00
jbj a5a5eed7c4 Start deconstructing availablePackage list.
CVS patchset: 5156
CVS date: 2001/11/05 03:44:05
2001-11-05 03:44:05 +00:00
jbj 37a303a3a7 - rpmal: availablePackage is totally opaque, alKey with index replaces.
CVS patchset: 5155
CVS date: 2001/11/04 22:00:11
2001-11-04 22:00:11 +00:00
jbj 4c422570c0 - rpmds: move trigger dependencies into a rpmDepSet as well.
CVS patchset: 5154
CVS date: 2001/11/04 17:00:00
2001-11-04 17:00:00 +00:00
jbj bab3637c98 - rpmds: create dsProblem(), dsiGetDNEVR() retrieved DNEVR, not N.
- depends.h: hack around teIterator() et al from include for now.

CVS patchset: 5153
CVS date: 2001/11/04 15:43:26
2001-11-04 15:43:26 +00:00
jbj 358848088d - depends.c: rpmDepSet is (almost) opaque, move to rpmds.[ch].
CVS patchset: 5152
CVS date: 2001/11/03 02:34:15
2001-11-03 02:34:15 +00:00
jbj 95555cf3d4 - rpmRangesOverlap renamed to dsCompare, add dsNotify method as well.
CVS patchset: 5151
CVS date: 2001/11/02 23:17:54
2001-11-02 23:17:54 +00:00
jbj b9520f3a94 - create toy rpmDepSet iterators.
CVS patchset: 5150
CVS date: 2001/11/02 21:01:25
2001-11-02 21:01:25 +00:00
jbj 973638fdc2 - create rpmDepSet constructors/destructors.
CVS patchset: 5149
CVS date: 2001/11/02 05:36:48
2001-11-02 05:36:48 +00:00
jbj 86fee19060 - invent some toy transactionElement iterators.
CVS patchset: 5148
CVS date: 2001/11/02 03:13:35
2001-11-02 03:13:35 +00:00
jbj b0e16172c3 - depends.c: availablePackage is (almost) opaque.
CVS patchset: 5147
CVS date: 2001/11/01 23:18:15
2001-11-01 23:18:15 +00:00
jbj fe68f3c0cd - add header refcount annotations throughout.
CVS patchset: 5146
CVS date: 2001/11/01 20:15:10
2001-11-01 20:15:10 +00:00
jbj a15e74ecd6 More unraveling of availablePackage from depends.c.
CVS patchset: 5144
CVS date: 2001/10/31 04:00:58
2001-10-31 04:00:58 +00:00
jbj 9ea554f799 - transaction.c: cleanly uncouple availablePackage from TFI_t.
CVS patchset: 5142
CVS date: 2001/10/30 18:00:21
2001-10-30 18:00:21 +00:00
jbj bdae587b2e - add some dinky availablePackage methods.
CVS patchset: 5141
CVS date: 2001/10/29 23:39:51
2001-10-29 23:39:51 +00:00
jbj e62f50c8a5 - start hiding availablePackage data/methods in rpmal.c/rpmal.h.
CVS patchset: 5140
CVS date: 2001/10/29 20:12:35
2001-10-29 20:12:35 +00:00
jbj 966fabbc44 - memory indices for dependency check are typedef'd and abstract'd.
- no-brainer refcounts for fi object, debug the mess.
- dump the header early in transaction, recreate fi before installing.

CVS patchset: 5137
CVS date: 2001/10/28 22:17:47
2001-10-28 22:17:47 +00:00
jbj c1d367a094 - transaction sets cerated in cli main.
- no-brainer refcounts for ts object.

CVS patchset: 5136
CVS date: 2001/10/27 22:31:10
2001-10-27 22:31:10 +00:00
jbj 7402ce1546 - legacy signatures always checked where possible on package read.
- wire transactions through rpmcli build modes.
- lazy rpmdb open/close through transaction methods (mostly anyways).
- no-brainer refcounts for rpmdb object.
- check added header against transaction set, replace if newer.

CVS patchset: 5135
CVS date: 2001/10/27 20:09:20
2001-10-27 20:09:20 +00:00
jbj 4a1a5e8148 - wire transactions through rpmcli install/erase modes.
- legacy signatures always checked on package read.

CVS patchset: 5134
CVS date: 2001/10/26 04:16:19
2001-10-26 04:16:19 +00:00
jbj f03b462b1e - legacy signatures always checked on -qp and -Vp.
CVS patchset: 5133
CVS date: 2001/10/25 01:36:32
2001-10-25 01:36:32 +00:00
jbj cdeb78fb1a - wire transactions through rpmcli query/verify modes.
CVS patchset: 5132
CVS date: 2001/10/24 13:48:55
2001-10-24 13:48:55 +00:00
jbj 72f92dd744 - wire transactions through rpmcli signature modes.
CVS patchset: 5131
CVS date: 2001/10/23 20:52:51
2001-10-23 20:52:51 +00:00
jbj 3b820b2d53 - generate an rpm header on the fly for imported pubkeys.
CVS patchset: 5130
CVS date: 2001/10/23 16:48:20
2001-10-23 16:48:20 +00:00
jbj 1ad22a0bc4 - all symbols but hdrVec are now forward references in linkage.
CVS patchset: 5128
CVS date: 2001/10/21 21:43:32
2001-10-21 21:43:32 +00:00
jbj d5dd3dfbc6 - stupid macros to configure public key file paths.
CVS patchset: 5127
CVS date: 2001/10/20 22:31:09
2001-10-20 22:31:09 +00:00
jbj 00a348f332 - add :base64 and :armor format extensions, dump binary tags in hex.
- proof-of-concept pubkey retrieval from RPM-{PGP,GPG}-KEY.

CVS patchset: 5126
CVS date: 2001/10/20 20:28:56
2001-10-20 20:28:56 +00:00
jbj e2dfa4f2d4 - beecrypt is at least as good as pgp/gpg on verify, pull the plug.
CVS patchset: 5124
CVS date: 2001/10/19 19:51:18
2001-10-19 19:51:18 +00:00
jbj cafccc0058 - use only header methods, routines are now static.
CVS patchset: 5115
CVS date: 2001/10/15 21:07:08
2001-10-15 21:07:08 +00:00
jbj 72471f2e54 Explicit branchstate annotations.
CVS patchset: 5113
CVS date: 2001/10/15 17:53:34
2001-10-15 17:53:34 +00:00
jbj 3f462f318f - upgrade to db-4.0.7.
CVS patchset: 5112
CVS date: 2001/10/15 04:22:09
2001-10-15 04:22:09 +00:00
jbj d8dc44f363 lclint fiddles to annotate globals.
CVS patchset: 5106
CVS date: 2001/10/15 03:22:10
2001-10-15 03:22:10 +00:00
jbj 525f4cb8b1 - ratchet up to lclint "strict" level.
CVS patchset: 5104
CVS date: 2001/10/13 19:35:58
2001-10-13 19:35:58 +00:00
jbj 2d312d19c1 - proof-of-concept PGP/RSA verification for legacy signatures.
CVS patchset: 5103
CVS date: 2001/10/11 21:31:56
2001-10-11 21:31:56 +00:00
jbj 61b8964fb9 - upgrade to beecrypt-2.2.0pre.
CVS patchset: 5102
CVS date: 2001/10/08 16:12:33
2001-10-08 16:12:33 +00:00
jbj 71dff1a731 - proof-of-concept GPG/DSA verification for legacy signatures.
CVS patchset: 5097
CVS date: 2001/10/05 20:39:50
2001-10-05 20:39:50 +00:00
jbj b7c25b0bef - create RFC-2440 OpenPGP API in rpmio.
- display signature packets before exec'ing gpg/pgp when verifying.

CVS patchset: 5090
CVS date: 2001/09/29 17:44:45
2001-09-29 17:44:45 +00:00
jbj 90fb17b356 - bind beecrypt md5/sha1 underneath rpmio.
CVS patchset: 5083
CVS date: 2001/09/26 14:45:50
2001-09-26 14:45:50 +00:00
jbj 92556605af - legacy: drop brokenMD5 support (rrpm-2.3.3 to rpm-2.3.8 on sparc).
- eliminate DYING code.

CVS patchset: 5082
CVS date: 2001/09/25 20:51:34
2001-09-25 20:51:34 +00:00
jbj cb21600940 - drop rpmio/base64.[ch] in favor of beecrypt.
- drop lib/md5*.[ch] files in favor of beecrypt.

CVS patchset: 5081
CVS date: 2001/09/25 16:21:44
2001-09-25 16:21:44 +00:00
jbj 2a420b223d - drop rpmio/base64.[ch] in favor of beecrypt versions.
CVS patchset: 5079
CVS date: 2001/09/25 14:03:27
2001-09-25 14:03:27 +00:00
jbj 85d220be23 - Start rpm-4.1.
- Loosely wire beecrypt library into rpm.

CVS patchset: 5078
CVS date: 2001/09/25 03:03:23
2001-09-25 03:03:23 +00:00
jbj 1eef0782f6 - lclint-3.0.0.15 fiddles.
CVS patchset: 5067
CVS date: 2001/09/21 15:07:11
2001-09-21 15:07:11 +00:00
jbj 38edc49452 - close/discard Depends index after rpmdepCheck() use.
CVS patchset: 5049
CVS date: 2001/09/15 21:21:31
2001-09-15 21:21:31 +00:00
jbj da9b21485c Sync with rpm-4_0 branch.
CVS patchset: 5048
CVS date: 2001/09/15 13:49:11
2001-09-15 13:49:11 +00:00
jbj d78e027808 - still more boring lclint annotations and fiddles.
CVS patchset: 4738
CVS date: 2001/05/03 21:00:18
2001-05-03 21:00:18 +00:00
jbj a71985e5be - regenerate rpm.8 man page from docbook glop (in max-rpm).
- lib/depends.c: diddle debugging messages.

CVS patchset: 4703
CVS date: 2001/04/23 20:56:59
2001-04-23 20:56:59 +00:00
jbj 1975b49aa7 - python: strip header regions during unload.
- add -g to optflags in per-platform config.
- permit confgure/compile with db3-3.2.9.
- permit manifest files as args to query/verify modes.

CVS patchset: 4649
CVS date: 2001/03/22 23:39:01
2001-03-22 23:39:01 +00:00
jbj b787b64393 - add cpuid asm voodoo to detect athlon processors.
CVS patchset: 4634
CVS date: 2001/03/15 18:55:06
2001-03-15 18:55:06 +00:00
jbj 99b6c6fa03 Bump version to 4.1.
Invert logic for db1, don't build by default.

CVS patchset: 4629
CVS date: 2001/03/15 17:54:55
2001-03-15 17:54:55 +00:00
jbj cc646a80a1 Merge scriptlet handling into psm.c, remove from API.
CVS patchset: 4587
CVS date: 2001/02/28 15:49:23
2001-02-28 15:49:23 +00:00
jbj 74f16c53a3 Handle non-string tag indices correctly.
Sync with rpm-4.0.2.

CVS patchset: 4583
CVS date: 2001/02/27 21:30:27
2001-02-27 21:30:27 +00:00
jbj b8694daf7c ewt's cpio hack reverted.
CVS patchset: 4470
CVS date: 2001/01/19 19:31:11
2001-01-19 19:31:11 +00:00
jbj ab794ac6f7 Typo.
CVS patchset: 4469
CVS date: 2001/01/19 17:21:55
2001-01-19 17:21:55 +00:00
jbj 8b64adc812 ewt's cpio hack.
CVS patchset: 4468
CVS date: 2001/01/19 16:49:14
2001-01-19 16:49:14 +00:00
jbj 1f44236f64 - fix: insure that %lang scopes over hard links correctly.
- fix: rpmCleanPath was nibbling at .. in macrofiles incorrectly.

CVS patchset: 4464
CVS date: 2001/01/19 01:38:55
2001-01-19 01:38:55 +00:00
jbj bfa1698ec3 - 1st crack at Mandrake specific per-platform macros.
CVS patchset: 4459
CVS date: 2001/01/17 16:00:36
2001-01-17 16:00:36 +00:00
jbj 0eb282dc4e - tsort prefers presentation order.
CVS patchset: 4456
CVS date: 2001/01/16 17:33:59
2001-01-16 17:33:59 +00:00
jbj c74cc1df1c - fix: extra newline in many error messages (#23947).
- fix: rpm -Va with db1 needs per-iterator, not per-index, offset.
- add install/remove transaction id tags.

CVS patchset: 4441
CVS date: 2001/01/15 23:09:42
2001-01-15 23:09:42 +00:00
jbj d229ea2db0 - fix the hack.
CVS patchset: 4436
CVS date: 2001/01/13 17:39:54
2001-01-13 17:39:54 +00:00
jbj 5b06c479a5 - hack: permit installer to determine package ordering using 1000003 tag.
CVS patchset: 4435
CVS date: 2001/01/12 21:47:49
2001-01-12 21:47:49 +00:00
jbj 2e13767946 doxygen annotations for build/*.
- fix: don't hang on build error.
- fix: remove "error: " prefix from signature verification message.

CVS patchset: 4426
CVS date: 2001/01/11 14:13:04
2001-01-11 14:13:04 +00:00
jbj 67aa235565 - fix: find-requires.perl needed update (#23450).
CVS patchset: 4424
CVS date: 2001/01/10 22:19:55
2001-01-10 22:19:55 +00:00
jbj dcbf7492f2 - successors from tsort are processed in presentation order.
CVS patchset: 4423
CVS date: 2001/01/10 20:42:32
2001-01-10 20:42:32 +00:00
jbj 903a070e8d - fix: digests on input FD_t dinna work.
- fix: remove rebuilddb debugging leakage.

CVS patchset: 4421
CVS date: 2001/01/09 21:46:11
2001-01-09 21:46:11 +00:00
jbj 424793073c - tsorted packages processed in successor count order.
- fix: resurrect --excludepath (#19666).

CVS patchset: 4418
CVS date: 2001/01/09 04:07:49
2001-01-09 04:07:49 +00:00
jbj 8f18329bf9 - fix: 3 packages from Red Hat 5.2 had bogus %verifyscript tag.
CVS patchset: 4413
CVS date: 2001/01/05 21:04:45
2001-01-05 21:04:45 +00:00
jbj 9bf42922eb - fix: pass scriptlet args, as in %post -p "/sbin/ldconfig -n /lib".
(Rodrigo Barbosa)

CVS patchset: 4411
CVS date: 2001/01/04 02:24:14
2001-01-04 02:24:14 +00:00
jbj 23fcf67cb5 - fix: avoid locale issues with strcasecmp/strncasecmp (#23199).
- remove almost all explicit uses of stderr in rpmlib using rpmError().

CVS patchset: 4406
CVS date: 2001/01/03 20:19:27
2001-01-03 20:19:27 +00:00
jbj 6aafc439da doxygen annotations for popt.
CVS patchset: 4401
CVS date: 2001/01/02 17:19:34
2001-01-02 17:19:34 +00:00
jbj 25d8bdb6c4 Sanity (make dist).
CVS patchset: 4399
CVS date: 2001/01/02 00:12:03
2001-01-02 00:12:03 +00:00
jbj 836b60f018 fix: qva->qva_sourceCnt check now 2 rather than 1 with nested tables.
CVS patchset: 4398
CVS date: 2001/01/02 00:10:45
2001-01-02 00:10:45 +00:00
jbj fa3e119a83 - use popt autohelp for rpm helper binaries.
CVS patchset: 4396
CVS date: 2001/01/01 23:14:47
2001-01-01 23:14:47 +00:00
jbj e5899585ad - (non-linux): move stubs.c to rpmio (#21132).
- (python): bind initdb (#20988).

CVS patchset: 4389
CVS date: 2000/12/30 19:01:23
2000-12-30 19:01:23 +00:00
jbj 06e45e2923 - fix: avoid FAT and other brain-dead file systems that have not inodes.
- fix: hack around alpha mis-compilation signature problems.
- rpmmodule.c(handleDbResult): return empty list when nothing matches.

CVS patchset: 4385
CVS date: 2000/12/29 21:44:37
2000-12-29 21:44:37 +00:00