Commit Graph

831 Commits

Author SHA1 Message Date
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 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 08e0325994 Sanity.
CVS patchset: 5312
CVS date: 2002/02/10 17:19:28
2002-02-10 17:19:28 +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 696c5d9d67 rollback changes from 4.0.4.
CVS patchset: 5297
CVS date: 2002/02/04 16:53:51
2002-02-04 16:53:51 +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 e1a7a8a081 Transaction rollbacks from rpm-4.04, (sanity flush).
CVS patchset: 5281
CVS date: 2002/01/28 15:51:06
2002-01-28 15:51:06 +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 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 f345a8f37f Compute parent and no. of children for each package.
Use rpmsort to display equivalence tree using graphwiz.

CVS patchset: 5232
CVS date: 2002/01/05 03:23:42
2002-01-05 03:23:42 +00:00
jbj a6bf63789a Use rpmsort to display dependencies for dotty from graphviz.
Build rpmsort by default.

CVS patchset: 5231
CVS date: 2002/01/04 18:34:04
2002-01-04 18:34:04 +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 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 06522b9c1e 1st element in tsort candidate queue was not marked.
CVS patchset: 5191
CVS date: 2001/11/18 11:46:22
2001-11-18 11:46:22 +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 6a4d22da65 Continue making transactionElement opaque.
CVS patchset: 5188
CVS date: 2001/11/17 00:52:45
2001-11-17 00:52:45 +00:00
jbj c2b98f0e2c Move addTE/delTE to rpmte.c.
CVS patchset: 5187
CVS date: 2001/11/16 23:22:24
2001-11-16 23:22:24 +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 eda96fd190 Eliminate dead code.
CVS patchset: 5183
CVS date: 2001/11/16 13:58:21
2001-11-16 13:58:21 +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 f50fc15ba0 depends.c and rpmal.c have opaque TFI_t.
CVS patchset: 5180
CVS date: 2001/11/14 00:14:01
2001-11-14 00:14:01 +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 49f98b8dae transaction.c: lclint cleanups.
CVS patchset: 5178
CVS date: 2001/11/12 22:54:39
2001-11-12 22:54:39 +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 1eb0503123 Replace loadFi with fiNew, freeFi with fiFree.
CVS patchset: 5175
CVS date: 2001/11/11 20:45:20
2001-11-11 20:45:20 +00:00