Commit Graph

460 Commits

Author SHA1 Message Date
jbj a6827b5a80 - resurrect libelf with Elf64, prelink verify should work everywhere.
CVS patchset: 5518
CVS date: 2002/06/20 23:08:34
2002-06-20 23:08:34 +00:00
jbj 110df96c22 - add translated man pages from PLD.
CVS patchset: 5514
CVS date: 2002/06/20 17:17:23
2002-06-20 17:17:23 +00:00
jbj 0a7481d0f7 - make sure that rpm can verify prelinked shared libraries.
- don't install /usr/lib/rpm/redhat per-vendor configuration anymore.

CVS patchset: 5512
CVS date: 2002/06/20 02:19:21
2002-06-20 02:19:21 +00:00
jbj 20901c1a62 - beecrypt: merge changes from beecrypt-2.3.0.
- beecrypt: merge doxygen markup with rpmapi doco.
- beecrypt: revert cpu/arch compile option mixup (#66752).

CVS patchset: 5495
CVS date: 2002/06/15 19:43:41
2002-06-15 19:43:41 +00:00
jbj 243ff70d72 Add bugzilla # to cheangelog.
CVS patchset: 5483
CVS date: 2002/06/12 14:58:58
2002-06-12 14:58:58 +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 d523f4266d - document digital signature verification in rpm.8.
CVS patchset: 5480
CVS date: 2002/06/10 16:07:12
2002-06-10 16:07:12 +00:00
jbj db4e72211e Sanity.
CVS patchset: 5477
CVS date: 2002/06/09 22:15:16
2002-06-09 22:15:16 +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 14d95f25f7 - use /etc/rpm/platform (if it exists), rather than uname(2), for arch.
CVS patchset: 5464
CVS date: 2002/06/04 22:02:15
2002-06-04 22:02:15 +00:00
jbj 26db42d8cc - fix: use getgrnam, not getpwnam, to convert gid -> group.
- fix: avoid sign extension, use only 16 bits, when verifying rdev.
- python: separate {add,del}Macro methods, prepare for macro dictionary.
- i18n: copy current production PO files to top-of-stack.

CVS patchset: 5457
CVS date: 2002/06/01 15:48:00
2002-06-01 15:48:00 +00:00
jbj 3b63310674 - add rpmal/rpmte/rpmfd methods to bindings.
- drop cpanflute and cpanflute2, will be in Chip's CPAN package now.

CVS patchset: 5452
CVS date: 2002/05/28 16:22:42
2002-05-28 16:22:42 +00:00
jbj 4f1bba10aa - add rpmds/rpmfi/rpmts methods to bindings.
CVS patchset: 5447
CVS date: 2002/05/23 21:06:42
2002-05-23 21:06:42 +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
jbj 386882db7a - fix: synthesize unpacking progress callbacks for packages w/o files.
CVS patchset: 5440
CVS date: 2002/05/19 23:37:24
2002-05-19 23:37:24 +00:00
jbj 2126e4ad09 - Grand Renaming of rpm data types.
CVS patchset: 5439
CVS date: 2002/05/19 18:42:25
2002-05-19 18:42:25 +00:00
jbj 076a6e29c5 - opaque (well mostly) rpmTransactionSet using methods.
CVS patchset: 5437
CVS date: 2002/05/16 16:55:21
2002-05-16 16:55:21 +00:00
jbj 4749da2d88 Sanity.
CVS patchset: 5425
CVS date: 2002/05/07 14:26:39
2002-05-07 14:26:39 +00:00
jbj e6ba507f77 - rework most of rpmdb.c prepatory to implementing duplicates.
- fix: 2 memory leaks in headerSprintf.
- fix: db mire's access out-of-bounds memory.

CVS patchset: 5423
CVS date: 2002/05/06 19:48:14
2002-05-06 19:48:14 +00:00
jbj 7b2717efe2 - eliminate db1 support.
- enable CDB by default.

CVS patchset: 5415
CVS date: 2002/05/02 23:34:20
2002-05-02 23:34:20 +00:00
jbj cf2484ce1f - attempt to make peace with automake-1.6.1, autoconf-2.53.
- rip out two layers of dbN gook, internal Berkeley db is here to stay.

CVS patchset: 5412
CVS date: 2002/05/01 22:13:00
2002-05-01 22:13:00 +00:00
jbj b463db44dc - use build time to choose one of multiple alternative suggestions.
- add --nosuggests to disable suggested resolutions.
- splint fiddles.

CVS patchset: 5406
CVS date: 2002/04/14 21:48:44
2002-04-14 21:48:44 +00:00
jbj e3c57cf71e - merge conflicts into problems, handle as transaction set variable.
CVS patchset: 5402
CVS date: 2002/04/13 18:52:18
2002-04-13 18:52:18 +00:00
jbj 46bbc20b32 - use rpmdb-redhat to suggest dependency resolution(s).
CVS patchset: 5401
CVS date: 2002/04/13 01:28:20
2002-04-13 01:28:20 +00:00
jbj 2404e8d918 - rescusitate --rebuild.
CVS patchset: 5389
CVS date: 2002/04/11 16:55:19
2002-04-11 16:55:19 +00:00
jbj e5a632b26d - beecrypt: add types.h, eliminate need for config.gnu.h.
CVS patchset: 5386
CVS date: 2002/04/10 20:00:40
2002-04-10 20:00:40 +00:00
jbj b45c27e2ab doxygen cleanup.
CVS patchset: 5379
CVS date: 2002/04/08 18:56:01
2002-04-08 18:56:01 +00:00
jbj c1d98e55b2 - *really* dump signature header immutable region.
CVS patchset: 5362
CVS date: 2002/03/17 15:49:09
2002-03-17 15:49:09 +00:00
jbj fb845b7ee7 Split transaction set handling into separate file, prepatory to
devising some toy access methods.

CVS patchset: 5356
CVS date: 2002/03/13 17:59:49
2002-03-13 17:59:49 +00:00
jbj d18bbd9bdc - drill ts/fi through verify mode, add methods to keep fi abstract.
- use mmap when calculating file digests on verify, ~20% faster.

CVS patchset: 5352
CVS date: 2002/03/12 16:56:17
2002-03-12 16:56:17 +00:00
jbj f5dbab424b - make --addsign and --resign behave exactly the same.
CVS patchset: 5350
CVS date: 2002/03/10 15:16:57
2002-03-10 15:16:57 +00:00
jbj 14ec54e33b - wire --nodigest/--nosignature options to checksig/query/verify modes.
CVS patchset: 5348
CVS date: 2002/03/08 22:24:58
2002-03-08 22:24:58 +00:00
jbj 441764ef45 - add header RSA signature (untested, disabled for now).
- don't bother with signing check if 16 bits of hash don't match.
- only V3 signatures for now.

CVS patchset: 5347
CVS date: 2002/03/07 22:54:43
2002-03-07 22:54:43 +00:00
jbj 52864ffa4d - add header RSA signature (untested).
CVS patchset: 5346
CVS date: 2002/03/07 02:17:59
2002-03-07 02:17:59 +00:00
jbj c6449e9c44 - add header DSA signature.
CVS patchset: 5345
CVS date: 2002/03/06 23:17:31
2002-03-06 23:17:31 +00:00
jbj 09f274515f - make peace with automake et al in 8.0, ugh.
CVS patchset: 5314
CVS date: 2002/02/10 21:13:52
2002-02-10 21:13:52 +00:00
jbj ff7a19b2bd - permit args to be hidden within %%__find_{requires,provides}.
- a couple more perl.{prov,req} fiddles.

CVS patchset: 5289
CVS date: 2002/02/01 15:19:44
2002-02-01 15:19:44 +00:00
jbj 69e97f28a0 Merge from rpm-4.0.4.
- trap SIGILL for ppc64 inline asm voodoo fix from cross-dressed ppc32.
- fix: fancy hash fiddles if not a tty.
- fix: handle /.../ correctly in rpmCleanPath().

CVS patchset: 5274
CVS date: 2002/01/27 16:49:06
2002-01-27 16:49:06 +00:00
jbj 0bbb7bb94e - turn on auto-generated perl requirements (#58519, #58536, #58537).
Sanity.

CVS patchset: 5265
CVS date: 2002/01/23 00:58:47
2002-01-23 00:58:47 +00:00
jbj c74fa24965 - missing key(s) on keyring when verifying a signature is now an error.
- remove dependency whiteout.
- splint fiddles.

CVS patchset: 5255
CVS date: 2002/01/18 22:51:30
2002-01-18 22:51:30 +00:00
jbj 3e0d0877ff - permit subset installs for %lang colored hardlink file sets.
CVS patchset: 5252
CVS date: 2002/01/11 23:03:22
2002-01-11 23:03:22 +00:00
jbj cbcc2cc467 - fix: signing multiple times dinna work, discard immutable region.
- remove poptmodule.so for separate packaging.

CVS patchset: 5250
CVS date: 2002/01/10 19:16:54
2002-01-10 19:16:54 +00:00
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
jbj f84fd1900d - use malloc'ed buffer for large queries.
CVS patchset: 4377
CVS date: 2000/12/27 21:19:53
2000-12-27 21:19:53 +00:00
jbj 6fca2e5c39 Fix --queryformat.
CVS patchset: 4374
CVS date: 2000/12/26 19:06:54
2000-12-26 19:06:54 +00:00
jbj 190b5df369 - send query/verify output through rpmlog().
- resurrect rpmErrorSetCallback() and rpmErrorString().

CVS patchset: 4372
CVS date: 2000/12/26 13:10:18
2000-12-26 13:10:18 +00:00
jbj fdd2f17c56 - fix: removed headers from db need a headerCopy().
CVS patchset: 4368
CVS date: 2000/12/21 21:07:41
2000-12-21 21:07:41 +00:00
jbj c339c239b9 - immutable headers, once installed by rpm3, need to lose immutablity.
CVS patchset: 4365
CVS date: 2000/12/21 17:14:53
2000-12-21 17:14:53 +00:00
jbj b874299aab - whiteout mozilla loop for 7.1.
fix the auto %_tmppath creation.

CVS patchset: 4363
CVS date: 2000/12/20 21:08:18
2000-12-20 21:08:18 +00:00
jbj 22be517f73 - identify install scriptlet failures with the name of the scriptlet.
- handle install chroot's identically throughout the install process.
- add rpmlib(HeaderLoadSortsTags) for tracking header regions "just in case".
- create _tmppath on the fly if not present.

CVS patchset: 4355
CVS date: 2000/12/19 17:43:56
2000-12-19 17:43:56 +00:00
jbj 73ee3b2e86 Move assertion to avoid false failure.
CVS patchset: 4352
CVS date: 2000/12/17 19:55:31
2000-12-17 19:55:31 +00:00
jbj 92c9e1fc77 - fix: segfault on build path, ignore deleted drips.
- fix: synthesized callbacks for removed packages have not a pkgkey.

CVS patchset: 4346
CVS date: 2000/12/14 22:14:29
2000-12-14 22:14:29 +00:00
jbj 66671b9701 - fix: (transaction.c) assume file state normal if tag is missing.
- fix: failed signature read headerFree segfault.
- fix: revert ALPHA_LOSSAGE, breaks 6.2/i386.

CVS patchset: 4343
CVS date: 2000/12/13 22:00:33
2000-12-13 22:00:33 +00:00
jbj 9ead48e86b Sanity (make dist).
CVS patchset: 4340
CVS date: 2000/12/12 21:45:18
2000-12-12 21:45:18 +00:00
jbj c7248553be - fix: headerLoad segfault in python bindings.
CVS patchset: 4339
CVS date: 2000/12/12 21:05:49
2000-12-12 21:05:49 +00:00
jbj db32ab6bea Sync with rpm-4_0 branch.
CVS patchset: 4338
CVS date: 2000/12/12 20:03:45
2000-12-12 20:03:45 +00:00
jbj 636e4b3771 - load headers as single contiguous region.
CVS patchset: 4244
CVS date: 2000/11/07 13:16:43
2000-11-07 13:16:43 +00:00
jbj ce1e8d26ec - add support for SHA1 as well as MD5 message digests.
lclint annotations.

CVS patchset: 4234
CVS date: 2000/10/31 16:18:34
2000-10-31 16:18:34 +00:00
jbj 3ad99fcba5 - add cscope/ctags (Rodrigo Barbosa<rodrigob@conectiva.com.br>).
- remove getMacroBody() from rpmio API.
- hide libio lossage in prototype, not API.
lclint annotations.

CVS patchset: 4230
CVS date: 2000/10/28 17:16:25
2000-10-28 17:16:25 +00:00
jbj 12dd80dc37 Add base64 fiddles to get at signature contents to librpmio.a.
parsePrep.c: fix typo's.

CVS patchset: 4227
CVS date: 2000/10/26 15:32:03
2000-10-26 15:32:03 +00:00
jbj 3e1e23bf06 - verify MD5 sums of payload files when unpacking archive.
CVS patchset: 4225
CVS date: 2000/10/24 13:46:51
2000-10-24 13:46:51 +00:00
jbj 39b81b5174 - order packages using tsort, clipping PreReq:'s in dependency loops.
CVS patchset: 4177
CVS date: 2000/09/26 18:04:12
2000-09-26 18:04:12 +00:00
jbj 2108d886ba Revert rpmrc excision for now.
rpmio: add rpmlog.c/rpmlog.h.

CVS patchset: 4163
CVS date: 2000/09/14 11:42:48
2000-09-14 11:42:48 +00:00
jbj f2efc7263e - unify rpmError and rpmMessge interfaces through rpmlog.
- collect and display rpm build error messages at end of build.

CVS patchset: 4149
CVS date: 2000/09/01 21:15:40
2000-09-01 21:15:40 +00:00
jbj 4f0179f7ee Unify rpmError() and rpmMessage() on top of rpmlog().
CVS patchset: 4148
CVS date: 2000/08/31 02:38:57
2000-08-31 02:38:57 +00:00
jbj c7b24dad58 - translate rpm.8 man page (Peter Ivanyi <ivanyi@internet.sk>).
Doxygen annotations.

CVS patchset: 4146
CVS date: 2000/08/29 22:04:33
2000-08-29 22:04:33 +00:00
jbj c0424122dd - rip out rpm{get,put}text, use getpo.sh and specspo instead.
CVS patchset: 4139
CVS date: 2000/08/28 01:50:45
2000-08-28 01:50:45 +00:00
jbj 349c7a49c2 - disable rpmlib(VersionedDependencies) by defining _noVersionedDependencies.
- man page fixes.

CVS patchset: 4062
CVS date: 2000/08/14 18:18:54
2000-08-14 18:18:54 +00:00
jbj 180355d08e Sanity (make dist).
CVS patchset: 4014
CVS date: 2000/08/04 19:52:54
2000-08-04 19:52:54 +00:00
jbj 71a49b1bb8 Sanity (make dist).
CVS patchset: 4009
CVS date: 2000/08/03 16:10:56
2000-08-03 16:10:56 +00:00
jbj 11fa17601b - fix: segfault on erase if filestates is missing in header (#14679).
CVS patchset: 3994
CVS date: 2000/07/31 21:27:20
2000-07-31 21:27:20 +00:00
jbj 79f6c8be87 - fix: uniqify dependency problems when printing (#14034).
- popt: add ability to perform callbacks for every, not just first, match.

CVS patchset: 3993
CVS date: 2000/07/31 15:04:20
2000-07-31 15:04:20 +00:00
jbj 6040ca6f53 - re-resurrect firstkey/nextkey python bindings for up2date compatibility.
CVS patchset: 3992
CVS date: 2000/07/29 20:31:56
2000-07-29 20:31:56 +00:00
jbj 61cabed3ed - link rpm2cpio dynamically since cpio is linked dynamically.
CVS patchset: 3991
CVS date: 2000/07/29 17:30:18
2000-07-29 17:30:18 +00:00
jbj 972f0d3103 - bail on firstkey/nextkey, there's a better way.
CVS patchset: 3990
CVS date: 2000/07/29 13:16:45
2000-07-29 13:16:45 +00:00
jbj 41667f92cf - resurrect firstkey/nextkey python bindings.
CVS patchset: 3988
CVS date: 2000/07/28 17:58:58
2000-07-28 17:58:58 +00:00
jbj e3003878fa - fix: look for any/all dbapi when rebuilding.
CVS patchset: 3982
CVS date: 2000/07/26 16:24:07
2000-07-26 16:24:07 +00:00
jbj 1bfc24d0b7 - create rpmbuild/rpmquery/rpmverify/rpmsign symlinks.
CVS patchset: 3980
CVS date: 2000/07/25 18:37:21
2000-07-25 18:37:21 +00:00
jbj 7b13205bb1 Sanity (make dist).
CVS patchset: 3978
CVS date: 2000/07/24 21:38:42
2000-07-24 21:38:42 +00:00
jbj 721e696edd Sync with rpm-3.0.5 chnages.
CVS patchset: 3958
CVS date: 2000/07/17 00:40:17
2000-07-17 00:40:17 +00:00
jbj 4fb053be51 Eliminate convertdb.c.
CVS patchset: 3954
CVS date: 2000/07/15 18:22:24
2000-07-15 18:22:24 +00:00
jbj 4a160b6a14 - fix: make set of replaced file headers unique.
- fix: don't attempt dbiOpen with anything but requested dbN.

CVS patchset: 3952
CVS date: 2000/07/15 16:00:14
2000-07-15 16:00:14 +00:00
jbj 77ea46f6a0 - rip out pre-transaction syscalls, more design is needed.
- display rpmlib provides when invoked with --showrc.
- remove (dead) dependency checks on implicitly provided package names.
- remove (dead) rpmdb API code in python bindings.
- remove (legacy) support for version 1 packaging.
- remove (legacy) support for converting gdbm databases.

CVS patchset: 3950
CVS date: 2000/07/15 14:53:54
2000-07-15 14:53:54 +00:00
jbj beb694da14 - fix: initialize pretransaction argv (segfault).
- fix: check rpmlib features w/o database (and check earlier as well).

CVS patchset: 3943
CVS date: 2000/07/13 23:30:41
2000-07-13 23:30:41 +00:00
jbj 3cd0284d6c - add S_ISLNK pre-transaction syscall test.
CVS patchset: 3942
CVS date: 2000/07/12 23:19:08
2000-07-12 23:19:08 +00:00
jbj 10c07affc9 - compare versions if doing --freshen.
CVS patchset: 3940
CVS date: 2000/07/12 04:02:35
2000-07-12 04:02:35 +00:00
jbj 45c996bc4d - fix: legacy requires './' payload prefix to be omitted for rpm itself.
- fix: remove verbose database +++/--- messages to conform to doco.

CVS patchset: 3938
CVS date: 2000/07/11 22:23:16
2000-07-11 22:23:16 +00:00
jbj 253ff2ea31 Sanity (make dist).
CVS patchset: 3937
CVS date: 2000/07/11 16:16:03
2000-07-11 16:16:03 +00:00
jbj 2380ca4893 fix: source rpm's need to do compressFilelist to get filenames.
fix: python should use RPMTAG_OBSOLETESNAME, not RPMTAG_OBSOLETES.

CVS patchset: 3934
CVS date: 2000/07/11 03:46:56
2000-07-11 03:46:56 +00:00
jbj 7344a12725 - remove build mode help from rpm.c, use rpmb instead.
- support for rpmlib(...) internal feature dependencies.

CVS patchset: 3933
CVS date: 2000/07/11 02:12:49
2000-07-11 02:12:49 +00:00
jbj dbb584f43a Sanoty (make dist).
CVS patchset: 3931
CVS date: 2000/07/09 23:22:58
2000-07-09 23:22:58 +00:00
jbj c956f0437a fix: do chroot around pre-transaction syscalls.
CVS patchset: 3927
CVS date: 2000/07/09 15:17:11
2000-07-09 15:17:11 +00:00
jbj 913d116d71 - add pre-transaction syscall's to handle /etc/init.d change.
- don't bother saving '/' as fingerprint subdir.

CVS patchset: 3926
CVS date: 2000/07/09 04:42:12
2000-07-09 04:42:12 +00:00
jbj a463744b6d - change optflags for i386.
- multilib patch, take 1.

CVS patchset: 3920
CVS date: 2000/07/05 20:39:15
2000-07-05 20:39:15 +00:00
jbj 91aece18bc Sanity (make dist).
CVS patchset: 3910
CVS date: 2000/06/23 01:44:36
2000-06-23 01:44:36 +00:00
jbj 5df134128b - support for separate source/binary compression policy.
- support for bzip payloads.

CVS patchset: 3908
CVS date: 2000/06/23 01:19:45
2000-06-23 01:19:45 +00:00
jbj 8393e93bc8 - uname on i370 has s390 as arch (#11456).
CVS patchset: 3888
CVS date: 2000/06/21 23:48:05
2000-06-21 23:48:05 +00:00
jbj 18a1a352b4 - add RPMTAG_OPTFLAGS, configured optflags when package was built.
- add RPMTAG_DISTURL for rpmfind-like tools (content unknown yet).
- teach brp-compress about /usr/info and /usr/share/info as well.
- update macros.in from rpm-4.0 (w/o dbi configuration).

CVS patchset: 3878
CVS date: 2000/06/20 21:45:50
2000-06-20 21:45:50 +00:00
jbj 4272f490ca - API: uncouple fadio from rest of rpmio.
- API: externalize legacy fdOpen interface for rpmfind et al.

CVS patchset: 3873
CVS date: 2000/06/20 15:54:48
2000-06-20 15:54:48 +00:00
jbj 99e915cbab fix: open all db indices before performing chroot.
CVS patchset: 3868
CVS date: 2000/06/19 11:35:29
2000-06-19 11:35:29 +00:00
jbj 2dd80c4f8b require --rebuilddb to convert db1 -> db3, better messages.
CVS patchset: 3864
CVS date: 2000/06/18 22:38:37
2000-06-18 22:38:37 +00:00
jbj 9fb2e0a01b - fix: resurrect symlink unique'ifying property of finger prints.
CVS patchset: 3856
CVS date: 2000/06/16 19:12:09
2000-06-16 19:12:09 +00:00
jbj 5a4c90ff29 - fix: don't count removed files if removed packages is empty set.
- fix: permit '\0' as special case key (e.g. "/" in Basenames).

CVS patchset: 3848
CVS date: 2000/06/14 14:21:06
2000-06-14 14:21:06 +00:00
jbj 29e3cfc24a - fix: avoid clobbering db cursor in removeBinaryPackage.
- expose cursors in dbi interfaces, remove internal cursors.

CVS patchset: 3836
CVS date: 2000/06/12 22:34:00
2000-06-12 22:34:00 +00:00
jbj 2063e9bd53 Add dbcursor to dbi interface.
CVS patchset: 3830
CVS date: 2000/06/12 22:07:13
2000-06-12 22:07:13 +00:00
jbj 9c177b5c62 Sanity (make dist).
CVS patchset: 3825
CVS date: 2000/06/09 21:26:11
2000-06-09 21:26:11 +00:00
jbj c38a7cdcfb Move low level support routines to librpmio.
CVS patchset: 3822
CVS date: 2000/06/09 18:57:23
2000-06-09 18:57:23 +00:00
jbj 6665bbbfc2 - create rpmio directory for librpmio.
CVS patchset: 3820
CVS date: 2000/06/07 23:25:41
2000-06-07 23:25:41 +00:00
jbj eba9095586 Repair db1 functionality.
Require db3 in default configuration.

CVS patchset: 3818
CVS date: 2000/06/06 20:06:09
2000-06-06 20:06:09 +00:00
jbj efcc0a3985 Use libtool-1.3.5.
Sanity (make dist).

CVS patchset: 3817
CVS date: 2000/06/06 09:01:06
2000-06-06 09:01:06 +00:00
jbj b856c8b207 - add optflags for i486 and i586.
- fix: segfault with legacy packages missing RPMTAG_FILEINODES.

CVS patchset: 3814
CVS date: 2000/06/05 14:18:40
2000-06-05 14:18:40 +00:00
jbj ef6736bd90 Move noLang to rpmlib.
Add defaultdocdir to per-platform macros.

CVS patchset: 3788
CVS date: 2000/06/01 05:36:14
2000-06-01 05:36:14 +00:00
jbj dcbbd47217 Split popt glue into lib/popt{BT,QV}.c.
Add dependencies to *.la.

CVS patchset: 3787
CVS date: 2000/06/01 04:47:42
2000-06-01 04:47:42 +00:00
jbj 50a8f3b0a3 Sanity (make dist).
CVS patchset: 3783
CVS date: 2000/05/31 17:45:43
2000-05-31 17:45:43 +00:00
jbj 98f1947981 Sanity (make dist).
CVS patchset: 3776
CVS date: 2000/05/31 13:19:37
2000-05-31 13:19:37 +00:00
jbj 0afc1fa3c9 Add popt glue for --clean, --rmsource, --rmspec.
Teach rpmb about --nodeps.

CVS patchset: 3768
CVS date: 2000/05/30 23:04:09
2000-05-30 23:04:09 +00:00
jbj 835c1caaf3 - mark packaging with version 4 to reflect filename/provide changes.
- change next version from 3.1 to 4.0 to reflect package format change.

CVS patchset: 3766
CVS date: 2000/05/30 19:30:28
2000-05-30 19:30:28 +00:00
jbj d42614ac16 Sanity (make dist).
CVS patchset: 3755
CVS date: 2000/05/26 18:59:08
2000-05-26 18:59:08 +00:00
jbj c7273eb0bc - change popt exec alias in oreder to exec rpm children.
- split rpm into 5 pieces along major mode fault lines with popt glue.

CVS patchset: 3750
CVS date: 2000/05/24 17:53:35
2000-05-24 17:53:35 +00:00
jbj 3d8229ebfc Sanity (make dist).
CVS patchset: 3740
CVS date: 2000/05/18 13:00:51
2000-05-18 13:00:51 +00:00
jbj ac47974f08 fix stupid mistakes (alpha segfaults).
CVS patchset: 3726
CVS date: 2000/05/12 23:30:28
2000-05-12 23:30:28 +00:00
jbj 4a4704f98f - include RPM-GPG-KEY in file manifest.
- simplify --last popt alias, date like -qi (bjerrick@easystreet.com).
- fix: alloca'd memory used outside of scope (alpha segfault).

CVS patchset: 3723
CVS date: 2000/05/10 15:36:29
2000-05-10 15:36:29 +00:00
jbj 764e820f16 Repair rebuilddb lossage, removing debug messages and final copy on user msgs.
Initialize dbN vector from dbNopen.
Use db3 return convention for dbNopen.
Always save tag index in join key.
Rename rpmdbAppendIteratorMatches -> rpmdbAppendIterator.
Remove tolerant from rpmdbRemove API.
Use hdrNum rather than offset, tagNum rather than fileNumber most everywhere.
rpmdb.c: Create rpmdbPruneIterator to exclude items from set.
rpmdb.c: Remove legacy code from rpmdbAdd/rpmdbRemove.
rpmdb.c: Rename (shorten) many routines.
tagName.c: prepare for ADDED/REMOVED/AVAILABLE temorary databases.
depends.c: use rpmdbPruneIterator.
depends.c: don't check ranges unless provides names match.
depends.c: Depends now works (watch out for data values of 0).
rpmpopt.in: Add --dbapi and --rebuilddbapi options.

CVS patchset: 3720
CVS date: 2000/05/07 00:53:11
2000-05-07 00:53:11 +00:00
jbj 66f6c0c16b Sanity (make dist).
CVS patchset: 3714
CVS date: 2000/05/02 08:54:01
2000-05-02 08:54:01 +00:00
jbj c19f4c1c31 Add usedbenv (disabled) to use db3 as db1 was used.
Configure to accept any db api (but rebuild will switch to db3).
Rename *_major to *_api throughout.
Always open Depends with O_CREAT|O_RDWR.
db1.c: use good ol' requredby.rpm name, not requiredbyindex.rpm.
db1.c: hide pkgs FD_t in dbi_db, eliminate dbi_pkgs.
depends.c: Skip Depends caching on dbiPut failure (e.g. perms).
rpmdb.c: remove _useDbiMajor, pass dbapi on call.
rpmdb.c: repair rot in rpmdbRemoveDatabase()/rpmdbMoveDatabase().
rpmdb.c: disable ^C hack in signal block/unblock.

CVS patchset: 3712
CVS date: 2000/05/02 08:30:31
2000-05-02 08:30:31 +00:00
jbj 73f95c99ce Rename db0.c to db1.c, resurrect db2.c (from db3.c).
Add ia64 and sparc64 changes.
rpm.spec: add per-platform sub-directories.
Add rpmdbSync to API.
installplatform: pass LIB=lib64 on sparc64.
db3.c: Add nodbsync, lockdbfd, debug dbi configuration.
db3.c: don't check dbi_mode when deciding on DB_WRITECURSOR.

CVS patchset: 3711
CVS date: 2000/05/01 17:50:35
2000-05-01 17:50:35 +00:00
jbj 5197d92f13 Don't incrementally link pthreads, causes segfault on (at least) alpha.
db0.c: Simulate db->sync on falloc.
db0.c: Use RPMDBI_PACKAGES for rpmtag comparisons.
db0.c: Add debug for dbi open/close like db3.
db0.c: Remove dbi if temporary (i.e. Depends).
db3.c: Filter DB_INCOMPLETE from db->sync return, it's usually harmless.
depends.c: Free Depends iterator, pass keylen, and use cursors.
depends.c: Free iterator *after* loop, not at end of 1st pass.
rpmdb.c: Fine grained cursor locks to avoid "crossed cursors" deadlocks.
rpmdb.c: Lazy open/close during rpmdbAdd/rpmdbRemove/openDatabase.
rpmdb.c: Remove last remnants of dbix, do dynamic lookup instead.
rpmdb.c: Resurrect rpmdbUpdateRecord in iterator loop.
macros.in: Add Depends dbi to config.
macros.in: Configure "nommap:mp_size=2Mb:pagesize=16Kb".

CVS patchset: 3707
CVS date: 2000/04/28 15:14:47
2000-04-28 15:14:47 +00:00
jbj e1b556f8d0 - API: replace rpmdbUpdateRecord with rpmdbSetIteratorModified.
CVS patchset: 3706
CVS date: 2000/04/27 12:50:54
2000-04-27 12:50:54 +00:00
jbj 113948c75c Sanity and API clean up. (make dist)
CVS patchset: 3705
CVS date: 2000/04/27 01:11:48
2000-04-27 01:11:48 +00:00
jbj 69b1adb5b0 Sanity (rebuild to check autoconf configuration in dist-7.0).
CVS patchset: 3699
CVS date: 2000/04/25 19:57:26
2000-04-25 19:57:26 +00:00
jbj ab3e4a08a7 Typo.
CVS patchset: 3693
CVS date: 2000/04/21 00:27:45
2000-04-21 00:27:45 +00:00
jbj 4da5ec0687 Sanity.
CVS patchset: 3692
CVS date: 2000/04/21 00:23:18
2000-04-21 00:23:18 +00:00
jbj a2665e12c6 Sanity (re-adding rpm-python).
CVS patchset: 3689
CVS date: 2000/04/20 11:54:03
2000-04-20 11:54:03 +00:00
jbj dce2eccbd5 Sanity.
CVS patchset: 3686
CVS date: 2000/04/19 16:59:02
2000-04-19 16:59:02 +00:00
jbj a6fc8ecb52 add explcit "Provides: name = [epoch:]version-release" to headers.
CVS patchset: 3678
CVS date: 2000/04/13 17:59:10
2000-04-13 17:59:10 +00:00
jbj 0c83ea489f Sanity (bump release).
CVS patchset: 3677
CVS date: 2000/04/13 16:00:34
2000-04-13 16:00:34 +00:00
jbj f3571adf59 API: pass *SearchIndex() length of key (0 will use strlen(key)).
API: remove rpmdb{First,Next}RecNum routines.
db3.c: remove cursor DB_RMW implementation, something else is needed.
rpmdb.c: first crack at rpmdb match iterator.
query.c: ditto.
rebuilddb.c: ditto.
dumpdb.c: ditto.

CVS patchset: 3668
CVS date: 2000/04/12 13:42:57
2000-04-12 13:42:57 +00:00
jbj 3cbb3be045 - treat legacy falloc.c as "special" db[01] index for package headers.
CVS patchset: 3667
CVS date: 2000/04/11 16:15:54
2000-04-11 16:15:54 +00:00
jbj eb75d9280b use "rpmdb db" consistently throughout, add doxygen tags.
db3.c: save join keys in endian neutral binary format.
rpmdb.c: create rpmdbCountPackages().
install.c: use rpmdbCountPackages().
uninstall.c: Ditto.

CVS patchset: 3662
CVS date: 2000/04/07 16:09:25
2000-04-07 16:09:25 +00:00
jbj 9763902847 use hashed access for package headers.
CVS patchset: 3660
CVS date: 2000/04/06 15:20:29
2000-04-06 15:20:29 +00:00
jbj 18a1e73ac6 Sanity.
CVS patchset: 3659
CVS date: 2000/04/04 10:10:47
2000-04-04 10:10:47 +00:00
jbj 9965b2d482 Sanity.
CVS patchset: 3657
CVS date: 2000/04/03 14:36:39
2000-04-03 14:36:39 +00:00
jbj 91a44edf36 - try for db3 DB_INIT_CDB model.
CVS patchset: 3648
CVS date: 2000/03/31 14:55:23
2000-03-31 14:55:23 +00:00
jbj 22a911a3b3 Add --preferdb for now to permit testing db0/db1/db2.
CVS patchset: 3641
CVS date: 2000/03/26 22:45:02
2000-03-26 22:45:02 +00:00
jbj adf70c073e Sanity.
CVS patchset: 3638
CVS date: 2000/03/24 08:00:12
2000-03-24 08:00:12 +00:00
jbj ef56b9257c Sanity (penultimate rpm-3.0.4).
CVS patchset: 3622
CVS date: 2000/03/11 20:35:03
2000-03-11 20:35:03 +00:00
jbj 8d3c1b2ba0 Sanity (penultimate rpm-3.0.4 release candidate).
CVS patchset: 3613
CVS date: 2000/03/09 20:52:56
2000-03-09 20:52:56 +00:00
jbj e93943f1e0 - portability: skip bzip2 if not available.
- portability: skip gzseek if not available (zlib-1.0.4).
- portability: skip personality if not available (linux).
- portability: always include arpa/inet.h (HP-UX).
- portability: don't use id -u (Brandon Allbery).
- portability: don't chown/chgrp -h w/o lchown.
- portability: splats in rpm.spec to find /usr/{share,local}/locale/*

CVS patchset: 3610
CVS date: 2000/03/09 18:13:02
2000-03-09 18:13:02 +00:00
jbj acdafeca5c portability: zlib-1.0.4 has not gzseek
portability: Red Hat 4.x has not personality

CVS patchset: 3609
CVS date: 2000/03/07 15:37:17
2000-03-07 15:37:17 +00:00
jbj 2b30bc3b2d Bump release.
CVS patchset: 3602
CVS date: 2000/03/01 15:28:30
2000-03-01 15:28:30 +00:00
jbj a217056e70 Permit building w/o libbz2.a.
In popt, check for building within the rpm tree before requiring GNU gettext.

CVS patchset: 3595
CVS date: 2000/02/27 23:40:36
2000-02-27 23:40:36 +00:00