Commit Graph

1035 Commits

Author SHA1 Message Date
jbj 865ec50f94 - permit --dbpath and --root with signature (i.e. --import) modes.
CVS patchset: 5353
CVS date: 2002/03/12 20:28:30
2002-03-12 20:28:30 +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 0a71efcfc0 - splint annotationsm, signature cleanup.
CVS patchset: 5351
CVS date: 2002/03/10 19:00:31
2002-03-10 19:00:31 +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 2e2d1cad39 - add payload uncompressed size to signature to avoid rewriting header.
- drill header sha1 into signature parallel to header+payload md5.
- mandatory "most effective" signature check on query/verify/install.
- don't bother adding empty filemd's to index.
- add Pubkey index, using signer id as binary key.
- display pubkeys in hex when debugging db access.
- retrieve pubkey(s) from rpmdb, not from detached signature file.
- reapply Berkeley DB patch #4491.

CVS patchset: 5341
CVS date: 2002/03/03 23:09:49
2002-03-03 23:09:49 +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 30b9428ce0 - make peace with gcc-3.1, remove compiler cruft.
CVS patchset: 5313
CVS date: 2002/02/10 19:00:16
2002-02-10 19:00:16 +00:00
jbj d83891c743 Sync with 4.0.4, splint clean.
CVS patchset: 5309
CVS date: 2002/02/09 22:39:29
2002-02-09 22:39:29 +00:00
jbj 380b21d69e Sync with rpm-4.0.4.
CVS patchset: 5303
CVS date: 2002/02/07 16:55:01
2002-02-07 16:55:01 +00:00
jbj 56de656223 - generate index for pkgid (aka Sigmd5) tag, query/verify by pkgid.
- generate index for hdrid (aka Sha1header) tag, query/verify by hdrid.
- generate index for fileid (aka Filemd5s) tag, query/verify by fileid.
- query/verify by install transaction id.

CVS patchset: 5300
CVS date: 2002/02/04 23:29:59
2002-02-04 23:29:59 +00:00
jbj 81d60b4706 Sync with rpm-4.0.4 rollbacks.
CVS patchset: 5293
CVS date: 2002/02/02 22:45:41
2002-02-02 22:45:41 +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 d52d65e9f2 - legacy: configurable whiteout for known Red Hat dependency loops.
- perl.req: don't mis-generate dependencies like perl(::path/to/foo.pl).

CVS patchset: 5286
CVS date: 2002/01/30 22:19:56
2002-01-30 22:19:56 +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 3ef59667d3 Resync with db-4.0.14 (and what's on the rpm-4_0 branch).
CVS patchset: 5254
CVS date: 2002/01/17 20:11:42
2002-01-17 20:11:42 +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 0776a0c425 - autodetect python 1.5/2.2.
CVS patchset: 5242
CVS date: 2002/01/07 20:01:00
2002-01-07 20:01:00 +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 350d7592de - sparc: make dbenv per-rpmdb, not per-dbi.
CVS patchset: 5237
CVS date: 2002/01/06 02:23:33
2002-01-06 02:23:33 +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 a3b362c466 - solaris: translate i86pc to i386 (#57182).
- fix: %GNUconfigure breaks with single quotes (#57264).
- fix: typo in find-requires.
- tru64 compiler message cleanup.
- add buildarch lines for hppa (#57728).

CVS patchset: 5228
CVS date: 2001/12/20 16:28:46
2001-12-20 16:28:46 +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 82a945940d - protect brp-compress against /bin/ls output ambiguity (#56656,#56336).
CVS patchset: 5208
CVS date: 2001/11/24 15:36:50
2001-11-24 15:36:50 +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 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