Commit Graph

1757 Commits

Author SHA1 Message Date
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 9aa5bedac7 Use Knuth algorithm Y for computing DSA "w = inv(s) mod q".
CVS patchset: 5339
CVS date: 2002/02/28 15:48:39
2002-02-28 15:48:39 +00:00
jbj 0108a7b8cb tpkgid cleanup.
Recognize GNU extensions in myGlobPatternP(), flag in misc/fnmatch.h, as well.

CVS patchset: 5331
CVS date: 2002/02/22 17:12:15
2002-02-22 17:12:15 +00:00
jbj 5547ba7557 Sanity.
CVS patchset: 5326
CVS date: 2002/02/20 22:09:28
2002-02-20 22:09:28 +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 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 6ab5541324 Avoid accidental collisions with POPT_BIT_SET for flags in popt tables.
CVS patchset: 5277
CVS date: 2002/01/28 15:18:18
2002-01-28 15:18:18 +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 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 53ce5564b5 - solaris: translate i86pc to i386 (#57182).
CVS patchset: 5218
CVS date: 2001/12/09 20:17:38
2001-12-09 20:17:38 +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
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