Commit Graph

2116 Commits

Author SHA1 Message Date
jbj 10e3aaa69f - open rpmdb early RDONLY, reopen later RDWR, avoid signed srpm noise.
CVS patchset: 5534
CVS date: 2002/06/29 03:16:34
2002-06-29 03:16:34 +00:00
jbj 3a76f46b13 - rescusitate remote ftp globs (#67678).
CVS patchset: 5533
CVS date: 2002/06/28 23:58:34
2002-06-28 23:58:34 +00:00
jbj d89ce5854d - disambiguate added/installed dependency failures (#50388).
CVS patchset: 5532
CVS date: 2002/06/28 21:54:24
2002-06-28 21:54:24 +00:00
jbj ef1b1d0d2f - fix: multiple relocations (#67596).
- add --build/--program-prefix, delete libtoolize, from %configure.

CVS patchset: 5529
CVS date: 2002/06/28 13:04:38
2002-06-28 13:04:38 +00:00
jbj 4252cddc29 Establish mechanism for up2date to reconfigure rpmlib.
Disambiguate failures to import with error messages.

CVS patchset: 5528
CVS date: 2002/06/28 00:35:57
2002-06-28 00:35:57 +00:00
jbj 37a10dd3bc - use rpmdb-redhat for suggestions if/when configured (#67430).
CVS patchset: 5526
CVS date: 2002/06/27 16:37:15
2002-06-27 16:37:15 +00:00
jbj 5d1dadc96e - python: link internal libelf (if used) directly into rpmmodule.so.
CVS patchset: 5525
CVS date: 2002/06/25 18:43:40
2002-06-25 18:43:40 +00:00
jbj 05cb73a7ee Factor bounds checking annotations into source code.
CVS patchset: 5521
CVS date: 2002/06/22 18:51:56
2002-06-22 18:51:56 +00:00
jbj ba41c1ccb1 Check S_ISREG explicitly to avoid '?' in ls(1)-like displays.
CVS patchset: 5520
CVS date: 2002/06/21 18:14:03
2002-06-21 18:14:03 +00:00
jbj 2933d0ec0c - fix: reading macro files can corrupt memory if BUFSIZ is teensy.
- fix: assertion failure iff incomplete package install (#66837).

CVS patchset: 5519
CVS date: 2002/06/21 18:00:50
2002-06-21 18:00:50 +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 49658e0fff Annotate incondefs in source code.
CVS patchset: 5509
CVS date: 2002/06/19 18:52:46
2002-06-19 18:52:46 +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 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 bafe527949 Document file attribute opt outs in verify mode.
Document --nodigest/--nosignature/--nosuggest.

CVS patchset: 5479
CVS date: 2002/06/10 13:07:32
2002-06-10 13:07:32 +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 8d1ff9feac Lclint fiddles.
CVS patchset: 5468
CVS date: 2002/06/05 22:07:55
2002-06-05 22:07:55 +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 23bbe266cc Add bindings for rpmte and FD_t.
CVS patchset: 5451
CVS date: 2002/05/27 21:40:08
2002-05-27 21:40:08 +00:00
jbj 259bb824cc Add rpmal bindings, Grand Renaming to rpmalFoo().
CVS patchset: 5450
CVS date: 2002/05/27 18:12:12
2002-05-27 18:12:12 +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 38385c8d63 Transactions made increasingly opaque.
CVS patchset: 5438
CVS date: 2002/05/17 21:08:39
2002-05-17 21:08:39 +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 bc9d22eeb9 AIX fiddles (Albert Chin <rpm-list@thewrittenword.com>).
CVS patchset: 5434
CVS date: 2002/05/13 22:45:30
2002-05-13 22:45:30 +00:00
jbj f9f1064dc0 Eliminate bogus strerror message for manifests.
CVS patchset: 5433
CVS date: 2002/05/13 22:34:25
2002-05-13 22:34:25 +00:00
jbj b4c604e75c - plug most install mode leaks.
CVS patchset: 5424
CVS date: 2002/05/07 01:07:41
2002-05-07 01:07:41 +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 81c2a9d267 Add toy db->associate, db->join, dbcursor->c_pget wrappers.
CVS patchset: 5421
CVS date: 2002/05/04 20:13:14
2002-05-04 20:13:14 +00:00
jbj 40aceb784a Pass dbiGet() flags from application.
CVS patchset: 5420
CVS date: 2002/05/04 16:41:01
2002-05-04 16:41:01 +00:00
jbj 2b83d36c08 - eliminate db1 support.
- fix: rpmdb iterator memory leak in python bindings.
- fix: include <sys/time.h> for 6.2 python modules.
- remove vestiges of mipseb arch (#62408).

CVS patchset: 5414
CVS date: 2002/05/02 22:16:30
2002-05-02 22:16:30 +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 bd2f1e9543 Fix: source package already part of the transaction.
CVS patchset: 5388
CVS date: 2002/04/10 22:10:13
2002-04-10 22:10:13 +00:00
jbj 721d88ed7f Sanity.
CVS patchset: 5382
CVS date: 2002/04/08 22:52:45
2002-04-08 22:52:45 +00:00
jbj 5c1ca96c96 Check {fsm,psm} for orphans.
CVS patchset: 5381
CVS date: 2002/04/08 20:09:40
2002-04-08 20:09: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 ffdfd1056e - speedup large queries by ~50%.
- revert to presentation ordering Yet Again (#62158).
- non-glibc: on upgrade, mergesort is much faster than quicksort.

CVS patchset: 5377
CVS date: 2002/04/07 19:52:42
2002-04-07 19:52:42 +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 54945a10c1 Factor notify callback function/arg onto per-ts method.
CVS patchset: 5357
CVS date: 2002/03/13 20:01:50
2002-03-13 20:01:50 +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 976cf8dec7 Pass ts and args to rpmInstall() and rpmErase().
CVS patchset: 5355
CVS date: 2002/03/13 15:06:07
2002-03-13 15:06:07 +00:00
jbj 2c45013b70 Sanity.
CVS patchset: 5354
CVS date: 2002/03/12 21:01:58
2002-03-12 21:01:58 +00:00
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 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
jbj 2928a5b00d Discard ts->addedPackages at end of rpmdepOrder() for now.
CVS patchset: 5172
CVS date: 2001/11/11 03:15:47
2001-11-11 03:15:47 +00:00
jbj 7ea4943276 Iterate over TR_REMOVED transactionElement stripped data, don't hit rpmdb.
CVS patchset: 5171
CVS date: 2001/11/11 02:50:31
2001-11-11 02:50:31 +00:00
jbj 8d08d4a43b Rip headers out of addedPackages.
CVS patchset: 5170
CVS date: 2001/11/11 01:46:43
2001-11-11 01:46:43 +00:00
jbj 0abf36fd4d Rip alGetHeader() out of depends.c.
CVS patchset: 5169
CVS date: 2001/11/11 00:11:33
2001-11-11 00:11:33 +00:00
jbj a086ad7dd1 Start removing alGetHeader.
CVS patchset: 5168
CVS date: 2001/11/10 19:24:19
2001-11-10 19:24:19 +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 978a87ed82 Start deconstructing TFI_t in favor of a per-transactionElement rpmFNSet.
CVS patchset: 5164
CVS date: 2001/11/09 19:22:29
2001-11-09 19:22:29 +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 0467af9ab5 Remove dead code.
CVS patchset: 5161
CVS date: 2001/11/08 16:28:35
2001-11-08 16:28:35 +00:00
jbj ae2e9b1bad - linear search on added package provides is dumb.
- discarding entire signature header when using --addsign is dumb.
- typedef the fuile name/python object "key" throughout as fnpyKey.
- start ripping rpmDependencyConflict out of the API.

CVS patchset: 5160
CVS date: 2001/11/08 00:12:49
2001-11-08 00:12:49 +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 0724785fb3 Start merging file info into dependency set.
CVS patchset: 5157
CVS date: 2001/11/05 14:09:22
2001-11-05 14:09:22 +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 df89c3d200 Do tsort on transactionElement's, not availaiblePackage's.
CVS patchset: 5145
CVS date: 2001/10/31 22:19:42
2001-10-31 22:19:42 +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 93ab09b3d9 Create rpmDepSet.
CVS patchset: 5143
CVS date: 2001/10/30 18:55:39
2001-10-30 18:55:39 +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 89c1ce1325 Remove DYING code.
CVS patchset: 5139
CVS date: 2001/10/29 16:39:13
2001-10-29 16:39:13 +00:00
jbj 87b17923e6 Gather all problem handling routines in one place.
CVS patchset: 5138
CVS date: 2001/10/29 16:35:01
2001-10-29 16:35:01 +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 d589b29c7f Permit multiple, simultaneous, digests on a single FD_t.
CVS patchset: 5125
CVS date: 2001/10/19 22:47:40
2001-10-19 22:47:40 +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 e2a8424075 Start ripping gpg/pgp on signature verify paths.
CVS patchset: 5123
CVS date: 2001/10/19 13:51:20
2001-10-19 13:51:20 +00:00
jbj ca1d809cb1 Rewire digests, step 2.
CVS patchset: 5122
CVS date: 2001/10/19 01:35:57
2001-10-19 01:35:57 +00:00
jbj 308f022df4 Rewire digests, step 1.
CVS patchset: 5120
CVS date: 2001/10/19 01:24:21
2001-10-19 01:24:21 +00:00
jbj 73df151e8f Scaffholding for dumping full headers carried through transaction.
CVS patchset: 5119
CVS date: 2001/10/18 16:39:54
2001-10-18 16:39:54 +00:00
jbj d57a29baac Converging on lclint-3.0.17 strict level.
CVS patchset: 5118
CVS date: 2001/10/17 16:43:36
2001-10-17 16:43:36 +00:00
jbj 96a3f7a55d Factor -type problems into explicit code annotations.
CVS patchset: 5117
CVS date: 2001/10/16 17:42:18
2001-10-16 17:42:18 +00:00
jbj 9f45bcd3ec More lclint annotations.
CVS patchset: 5116
CVS date: 2001/10/16 14:58:57
2001-10-16 14:58:57 +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 14c1b443f6 More branchstate lclint annotations.
CVS patchset: 5114
CVS date: 2001/10/15 19:27:13
2001-10-15 19:27:13 +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 033e2a186a Typo.
CVS patchset: 5107
CVS date: 2001/10/15 03:28:09
2001-10-15 03:28: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 4b67d7621c More lclint annotations.
CVS patchset: 5105
CVS date: 2001/10/13 22:01:38
2001-10-13 22:01:38 +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 186fe8da93 Fix segfault with "rpm --rebuild foo.spec".
CVS patchset: 5094
CVS date: 2001/10/03 16:11:27
2001-10-03 16:11:27 +00:00
jbj c91fc95859 Display signature and public key internals, calculate SHA1 digest as well.
Display private signature internals in tkey.
Add dumpasn to rpmio jfor reference.

CVS patchset: 5091
CVS date: 2001/10/01 17:40:12
2001-10-01 17:40:12 +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 9d555b6216 Move to lclint-3.0.0.15, revisit and clean up annotations.
intl/: Add gettext orphans.
popt/intl/: Add gettext orphans.
beecrypt: Add beecrypt repository.
rpmio/tdigest.c: Add beecrypt digest checks.

CVS patchset: 5077
CVS date: 2001/09/24 21:53:14
2001-09-24 21:53:14 +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 2b23209fce - fix: Provides: /path did not work with added packages (#52183).
- fix: progress bar scaling did not include source rpm count.

CVS patchset: 5038
CVS date: 2001/08/31 14:02:13
2001-08-31 14:02:13 +00:00
jbj 46713343fb - dependency whiteout for libgnomeprint -> gnome-print (ordering only).
- dependency whiteout for nautilus -> nautilus-mozilla (ordering only).

CVS patchset: 5035
CVS date: 2001/08/28 20:33:06
2001-08-28 20:33:06 +00:00
jbj 64a1d1afdc - fix: error message on failed package installs resurrected.
- python: memory leaks in headerLoad/headerunload bindings.
- python: retrofit sha1 digest using RPMTAG_SHA1RHN.
- python: change rhnUnload bindings.

CVS patchset: 5032
CVS date: 2001/08/27 18:39:17
2001-08-27 18:39:17 +00:00
jbj f847cb330c Mark bugzilla #52183 change.
CVS patchset: 5030
CVS date: 2001/08/26 17:22:33
2001-08-26 17:22:33 +00:00
jbj 5994a308bc - within a region, entries sort by address; added drips sort by tag.
CVS patchset: 5028
CVS date: 2001/08/25 01:54:58
2001-08-25 01:54:58 +00:00
jbj 507f3400be - verify perms (but not mode) on %ghost files.
CVS patchset: 5019
CVS date: 2001/08/17 19:38:06
2001-08-17 19:38:06 +00:00
jbj 3b6b341a44 - python: add exception to detect bad data in hdrUnload.
- change dir creation message from warning to debug for now.

CVS patchset: 5017
CVS date: 2001/08/16 18:49:07
2001-08-16 18:49:07 +00:00
jbj e42f1fd967 - always use dl size in regionSwab() return.
- ppc: revert ppcmac to ppc.
- ppc: autoconf test for va_copy.

CVS patchset: 5015
CVS date: 2001/08/15 14:03:03
2001-08-15 14:03:03 +00:00
jbj a36acaf3b8 - fix: segfault on headerFree given malicious data.
- fix: don't verify hash page nelem.
- better error messages for verification failures.
- include directory /usr/lib/rpm in rpm package.

CVS patchset: 5013
CVS date: 2001/08/13 16:39:14
2001-08-13 16:39:14 +00:00
jbj e699b8fab3 - portability: some compilers squawk at return ((void) foo()) (#50419).
- remove fdFileno() from librpmio, use inline version instead (#50420).
- fix: linux find-requires needs quotes around [:blank:].
- remove /var/lib/rpm/__db* cache files if %__dbi_cdb is not configured.
- python: add hiesenbug patch.

CVS patchset: 5005
CVS date: 2001/08/06 11:27:27
2001-08-06 11:27:27 +00:00
jbj 682c9534ad - fix: autoconf glob tests (#50845).
CVS patchset: 5003
CVS date: 2001/08/04 16:18:58
2001-08-04 16:18:58 +00:00
jbj dce5aa0ebd lclint clean again.
CVS patchset: 5001
CVS date: 2001/08/03 15:17:55
2001-08-03 15:17:55 +00:00
jbj 46d2e8bbd8 - fix: i18n tags not terminated correctly with NUL (#50304).
- add explicit casts to work around a s390 compiler problem.

CVS patchset: 4998
CVS date: 2001/08/03 05:04:13
2001-08-03 05:04:13 +00:00
jbj 1a5a027bcc - add support for mips (#49283).
- add __as, _build_arch, and __cxx macros (#36662, #36663, #49280).
- detailed build package error messages.

CVS patchset: 4996
CVS date: 2001/07/31 18:13:22
2001-07-31 18:13:22 +00:00
jbj c6fba63aca - fix: --noscripts is another multimode option.
- add tmpdir to configure db3 tmpdir into chroot tree.
- permit lazy db opens within chroot.
- fix: diddle dbenv path to accomodate backing store reopen in chroot.

CVS patchset: 4990
CVS date: 2001/07/28 00:33:07
2001-07-28 00:33:07 +00:00
jbj 03e498c64e - fix: don't segfault when presented with rpm-2.4.10 packaging (#49688).
CVS patchset: 4987
CVS date: 2001/07/24 20:39:19
2001-07-24 20:39:19 +00:00
jbj 085e3275d2 - rename pmac to ppcmac.
- ia64: revert -O0 compilation.
- upgrade to db-3.3.11 final.

CVS patchset: 4984
CVS date: 2001/07/24 02:52:52
2001-07-24 02:52:52 +00:00
jbj 2aec992c9d - add pmac/ppciseries/ppcpseries varieties to ppc arch family.
- include tdigest.c tkey.c and trpmio.c to "make dist".
- re-enable dependency resolution source from package NVR.

CVS patchset: 4973
CVS date: 2001/07/23 16:02:27
2001-07-23 16:02:27 +00:00
jbj 7723beeaf4 - add sha1 test vectors, verify on ix86/alpha/sparc.
- add (but disable for now) rpm-perl subpackage from Perl-RPM.
- python: parameterize with PYVER to handle 1.5 and/or 2.1 builds.
- add build dependency on zlib-devel (#49575).

CVS patchset: 4969
CVS date: 2001/07/21 19:44:22
2001-07-21 19:44:22 +00:00
jbj 46ded46118 - fix: yet another segfault from bad metadata prevented.
CVS patchset: 4962
CVS date: 2001/07/20 16:41:09
2001-07-20 16:41:09 +00:00
jbj 3a2ddf1551 - fix: 4 memory leaks eliminated.
CVS patchset: 4960
CVS date: 2001/07/19 21:14:05
2001-07-19 21:14:05 +00:00
jbj 7bfb0979b6 - resurrect --specedit for i18n.
CVS patchset: 4957
CVS date: 2001/07/18 23:03:27
2001-07-18 23:03:27 +00:00
jbj 2225886928 - fix: %dev(...) needs to map rdev and mtime from metadata.
CVS patchset: 4953
CVS date: 2001/07/18 10:49:09
2001-07-18 10:49:09 +00:00
jbj fe5362ef80 - python: "seal" immutable region for legacy headers in rhnUnload() .
- python: add poptmodule.so bindings.

CVS patchset: 4951
CVS date: 2001/07/17 20:01:46
2001-07-17 20:01:46 +00:00
jbj ecfb46adaa - fix: don't total hard linked file size multiple times (#46286).
- add %dev(type,major,minor) directive to permit non-root dev build.

CVS patchset: 4944
CVS date: 2001/07/16 14:48:07
2001-07-16 14:48:07 +00:00
jbj cfa46ad5cb - fix: scope multi-mode options like --nodeps correctly (#48825).
CVS patchset: 4940
CVS date: 2001/07/13 13:44:26
2001-07-13 13:44:26 +00:00
jbj be9867aa18 - python bindings should not segfault when fed bad data.
CVS patchset: 4934
CVS date: 2001/07/11 02:16:16
2001-07-11 02:16:16 +00:00
jbj e15b4593eb - package version now configureable, default v3.
- rename rpm libraries to have version with libtool -release.
- fix: -i CLI context broken Yet Again.

CVS patchset: 4930
CVS date: 2001/07/10 17:59:11
2001-07-10 17:59:11 +00:00
jbj f440f450d9 - python: rhnLoad/rhnUnload to check header digest.
CVS patchset: 4928
CVS date: 2001/07/08 21:30:35
2001-07-08 21:30:35 +00:00
jbj 134a8a85c2 - popthelp.c: don't use stpcpy to avoid portability grief (#47500).
- permit alias/exec description/arg text to be set from popt config.
- use rpmqv.c, not rpm.c, as rpm's main() routine.

CVS patchset: 4923
CVS date: 2001/07/07 19:15:17
2001-07-07 19:15:17 +00:00
jbj 9df3fc957f - expose rpmShowProgress() and rpmVerifyDigest() in rpmcli.h.
- portability: avoid st_mtime, gendiff uses basename, etc (#47497).
- glibc-2.0.x has not __va_copy().
- popthelp.c: static copy of stpcpy/stpncpy for the deprived (#47500).

CVS patchset: 4921
CVS date: 2001/07/06 20:37:42
2001-07-06 20:37:42 +00:00
jbj 20c2a42d4f - fix: redundant entries in file manifests handled correctly (#46914).
- map uid/gid from metadata into payload headers.

CVS patchset: 4915
CVS date: 2001/07/03 19:26:58
2001-07-03 19:26:58 +00:00
jbj c33e408649 - update intl dirs to gettext-0.10.38.
- fix: sanity check for header size added in headerCopyLoad() (#46469).

CVS patchset: 4913
CVS date: 2001/06/30 18:32:28
2001-06-30 18:32:28 +00:00
jbj 3e219ad91a - fix: sanity checks on #tags (<65K) and offset (<16Mb) in header.
- fix: add -r to useradd to prevent /etc/skel glop (#46215).
- fix: disambiguate typedef and struct name(s) for kpackage.

CVS patchset: 4908
CVS date: 2001/06/28 22:19:08
2001-06-28 22:19:08 +00:00
jbj b533de2b27 Yet another patial harlink set fix.
CVS patchset: 4903
CVS date: 2001/06/25 20:01:42
2001-06-25 20:01:42 +00:00
jbj 60977b6c27 - fix: rpm -qlv link count for directories dinna include '..'.
- fix: rpm -qlv size for directories should be zero.
- add --noghost to filter non-payload files from rpm -qlv output.

CVS patchset: 4897
CVS date: 2001/06/20 21:20:16
2001-06-20 21:20:16 +00:00
jbj 512b5ce682 - fix: partial sets of hardlinked files permitted in payload (yes, changed).
- work around a (possible) compiler problem on ia64.

CVS patchset: 4893
CVS date: 2001/06/20 16:42:19
2001-06-20 16:42:19 +00:00
jbj 5f2d9ab25b - fix: partial sets of hardlinked files forbidden in payload.
- fix: mark rpmdb files with %config to prevent erasure on downgrade.

CVS patchset: 4891
CVS date: 2001/06/20 06:29:20
2001-06-20 06:29:20 +00:00
jbj 8cd30c7190 - make package ordering loop messages debug, not warning.
CVS patchset: 4883
CVS date: 2001/06/19 20:03:13
2001-06-19 20:03:13 +00:00
jbj eb8db3316d - finalize per-header methods, accessing headerFoo through vector.
CVS patchset: 4880
CVS date: 2001/06/19 16:59:23
2001-06-19 16:59:23 +00:00
jbj c6bd3de937 - preliminary abstraction to support per-header methods.
CVS patchset: 4878
CVS date: 2001/06/19 11:38:51
2001-06-19 11:38:51 +00:00
jbj 29ea1567e7 Sync with rpm-4_0 branch.
CVS patchset: 4876
CVS date: 2001/06/17 22:18:03
2001-06-17 22:18:03 +00:00
jbj c32276cdf5 - popt: add POPT_CONTEXT_ARG_OPTS for all opts to return 1 (#30912).
- fix: fsm reads/writes now return error on partial I/O.
- fix: Ferror returned spurious error for gzdio/bzdio.

CVS patchset: 4874
CVS date: 2001/06/17 15:19:26
2001-06-17 15:19:26 +00:00
jbj 6f3943da6c - popt: add POPT_ARGFLAG_SHOW_DEFAULT to display initial values (#32558).
CVS patchset: 4872
CVS date: 2001/06/17 00:36:01
2001-06-17 00:36:01 +00:00
jbj 1ed6bde25a linux.req now verified functional on ia64-linux.
CVS patchset: 4870
CVS date: 2001/06/16 01:49:10
2001-06-16 01:49:10 +00:00
jbj 6afa016e86 - ia64/sparc: <arch>.{req,prov} identical to linux.{req,prov}.
- add "rpmlib(ScriptletInterpreterArgs)" to track
	%post -p "/sbin/ldconfig -n /usr/lib"
  incompatibilities.

CVS patchset: 4866
CVS date: 2001/06/15 18:53:06
2001-06-15 18:53:06 +00:00
jbj f0d2abd2bc - fix: db1 end-of-file not detected in legacy compatible way.
- fix: remove (harmless) chown error message from %post.
- add --target/--host to %configure, add example cross-build/config.site
  scripts to /usr/lib/rpm <arjanv@redhat.com> (#44581).
- rpmdb iterator selectors permit default/strcmp/regex/glob matching.
- rpmdb iterator selectors permit negative matches.

CVS patchset: 4861
CVS date: 2001/06/15 04:56:33
2001-06-15 04:56:33 +00:00
jbj 22b9de5f33 - add rpmdbSetIteratorRE() for regex matching in database iterators.
- permit rpm -qa to take RE args applied to name tag.
- permit dbiFindMatches() to use version/release patterns.
- eliminate all uses of rpmdbSetIterator{Version,Release}.

CVS patchset: 4859
CVS date: 2001/06/13 20:57:06
2001-06-13 20:57:06 +00:00
jbj 7233e3ad73 - remove rpmrc Provides: Yet Again, use virtual packages.
- dump cursor debugging wrappers.
- rpm --verify can disable rpmFileAttr checks.

CVS patchset: 4856
CVS date: 2001/06/12 17:06:47
2001-06-12 17:06:47 +00:00
jbj 1b87bd9ef7 - remove dead code frpm popt table reorg.
- more CLI typedefs/prototypes moved from rpmlib.h to rpmcli.h.
- rpm --verify skips files in non-installed states.
- rpm --verify skips content checks for %ghost files.
- rpm --verify displays config/doc/gnost/license/readme atrrs for files.
- rpm --verify checks immutable header region digest if available.
- rpmbuild adds header region digest (SHA1 as string).
- use rpmTag* typedefs in new hge/hae/hme/hre header vectors.

CVS patchset: 4854
CVS date: 2001/06/12 04:10:21
2001-06-12 04:10:21 +00:00
jbj 03f5273901 - fix: QUERY_FOR_LIST file count clobbered.
- create top level rpmcli API, factor top level modes into popt tables.
- popt: add POPT_BIT_SET/POPT_BIT_CLR to API.
- autogen.sh checks for latest libtool-1.4 and automake-1.4-p2.
- rpm --verify reports failure(s) if corresponding tag is not in header.
- rpm --verify honors %config(missingok), add -v for legacy behavior.

CVS patchset: 4852
CVS date: 2001/06/08 20:45:59
2001-06-08 20:45:59 +00:00
jbj f0a67ca8b0 - permit duplicates for btree indices.
CVS patchset: 4843
CVS date: 2001/06/06 12:36:31
2001-06-06 12:36:31 +00:00
jbj c635bbf0ae fix: increment pointer in funky header ext while loop.
CVS patchset: 4841
CVS date: 2001/06/05 22:01:13
2001-06-05 22:01:13 +00:00
jbj 4ae69250a2 - fix typos in linux.{req,prov}.
CVS patchset: 4834
CVS date: 2001/06/05 19:26:22
2001-06-05 19:26:22 +00:00
jbj 750d54d8a3 lclint fiddles.
CVS patchset: 4833
CVS date: 2001/06/04 13:55:58
2001-06-04 13:55:58 +00:00
jbj f5ebe3fb42 - return multiple suggested packages (Pawel Kolodziej <pawelk@pld.org.pl>).
- fix: return suggested packages when using Depends cache.

CVS patchset: 4823
CVS date: 2001/05/31 22:31:14
2001-05-31 22:31:14 +00:00
jbj cc54f00167 - fix: for busted db1, attempt chain reconnection to following record.
CVS patchset: 4819
CVS date: 2001/05/30 22:42:43
2001-05-30 22:42:43 +00:00
jbj e6c22123bc - perform db->verify when closing db files.
CVS patchset: 4813
CVS date: 2001/05/25 19:51:53
2001-05-25 19:51:53 +00:00
jbj 4d76eb6dee RPMTAG_BUILDROOT is internal tag.
CVS patchset: 4810
CVS date: 2001/05/23 17:53:30
2001-05-23 17:53:30 +00:00
jbj 23783af227 - remove all header region assertion failures, return NULL instead.
CVS patchset: 4809
CVS date: 2001/05/23 16:38:52
2001-05-23 16:38:52 +00:00
jbj 71f818828e - headerFree() returns NULL, _free is C++ safe.
CVS patchset: 4807
CVS date: 2001/05/23 14:25:19
2001-05-23 14:25:19 +00:00
jbj aed337b31d - fix: skip %ghost files when building packages (#38218).
CVS patchset: 4801
CVS date: 2001/05/21 16:00:45
2001-05-21 16:00:45 +00:00
jbj 8cc9d509e4 - fix: i18n strings need 1 on sucess return code (#41313).
CVS patchset: 4799
CVS date: 2001/05/20 18:33:23
2001-05-20 18:33:23 +00:00
jbj 2622029162 fix: rpmtransAddPackage assumed removed packages were sorted (#35827).
CVS patchset: 4797
CVS date: 2001/05/16 20:02:08
2001-05-16 20:02:08 +00:00
jbj cec2fe637a - fix: filter duplicate package removals (#35828).
- add armv3l arch.

CVS patchset: 4795
CVS date: 2001/05/16 19:19:15
2001-05-16 19:19:15 +00:00
jbj 3c563d2118 - upgrade to db-3.3.4.
CVS patchset: 4787
CVS date: 2001/05/14 20:12:10
2001-05-14 20:12:10 +00:00
jbj 87c15895a0 - add cron/logrotate scripts to save installed package filenames.
CVS patchset: 4777
CVS date: 2001/05/13 17:55:58
2001-05-13 17:55:58 +00:00
jbj 27009dd00b - harden rpmdb iterators from damaged header instance segfaults.
CVS patchset: 4774
CVS date: 2001/05/11 23:25:46
2001-05-11 23:25:46 +00:00
jbj c7ee573367 - rpm database has rpm.rpm g+w permissions to share db3 mutexes.
- expose more db3 macro configuration tokens.
- move fprint.[ch] and hash.[ch] to rpmdb directory.
- detect and fiddle incompatible mixtures of db3 env/open flags.
- add DBI_WRITECURSOR to map to db3 flags with CDB database model.
- add rpmdbSetIteratorRewrite to warn of pending lazy (re-)writes.

CVS patchset: 4765
CVS date: 2001/05/11 04:01:04
2001-05-11 04:01:04 +00:00
jbj d026618b6b - rpm executables now setuid rpm to share write locks.
- expose more db3 macro configuration tokens.

CVS patchset: 4756
CVS date: 2001/05/09 22:58:56
2001-05-09 22:58:56 +00:00
jbj 9c636fed5b - create rpmdb.la so that linkage against rpm's db-3.2.9 is possible.
CVS patchset: 4752
CVS date: 2001/05/08 00:03:14
2001-05-08 00:03:14 +00:00
jbj d9e5d40dd5 - use internal db-3.2.9 sources to build by default.
- don't build db1 by default.

CVS patchset: 4750
CVS date: 2001/05/07 19:21:16
2001-05-07 19:21:16 +00:00
jbj cb55d5c6cd - fix: debugging message displays header keys (#38454).
CVS patchset: 4747
CVS date: 2001/05/07 01:54:56
2001-05-07 01:54:56 +00:00
jbj c3835f5ca0 - fix: specfile queries with BuildArch: (#27589).
CVS patchset: 4746
CVS date: 2001/05/06 19:17:14
2001-05-06 19:17:14 +00:00
jbj 8f75bbc17d - enough lclint annotations and fiddles already.
CVS patchset: 4741
CVS date: 2001/05/05 19:28:32
2001-05-05 19:28:32 +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 0ecdbba935 - yet more boring lclint annotations and fiddles.
CVS patchset: 4732
CVS date: 2001/04/30 22:32:22
2001-04-30 22:32:22 +00:00
jbj 81ac89f4e6 - more boring lclint annotations and fiddles.
CVS patchset: 4725
CVS date: 2001/04/29 22:43:01
2001-04-29 22:43:01 +00:00
jbj c83cfd5ed5 - transaction iterator(s) need to run in reverse order on pure erasures.
- erasures not yet strict, warn & chug on unlink(2)/rmdir(2) failure.

CVS patchset: 4723
CVS date: 2001/04/29 16:08:55
2001-04-29 16:08:55 +00:00
jbj 3b5820c420 - globalize _free(3) wrapper in rpmlib.h, consistent usage throughout.
- internalize locale insensitive ctype(3) in rpmio.h
- boring lclint annotations and fiddles.

CVS patchset: 4721
CVS date: 2001/04/29 01:05:43
2001-04-29 01:05:43 +00:00
jbj a9a1fd866c - fix: ineeded count wrong for overlapped, created files.
CVS patchset: 4709
CVS date: 2001/04/26 20:39:52
2001-04-26 20:39:52 +00:00
jbj bab8d207ce - fix: readlink return value clobbered by header write.
CVS patchset: 4707
CVS date: 2001/04/25 15:07:53
2001-04-25 15:07:53 +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 389d253e62 Sync with rpm-4_0 branch.
CVS patchset: 4700
CVS date: 2001/04/21 06:02:09
2001-04-21 06:02:09 +00:00
jbj 8b20f15fbf - portability: vsnprintf/snprintf wrappers for those without (#34657).
CVS patchset: 4686
CVS date: 2001/04/17 19:29:12
2001-04-17 19:29:12 +00:00
jbj 63db127701 - fix: Fwrite's are optimized out by aggressive compiler(irix) (#34711).
CVS patchset: 4684
CVS date: 2001/04/17 18:30:23
2001-04-17 18:30:23 +00:00
jbj c360a8907b - fix: s390 (and ppc?) could return CPIOERR_BAD_HEADER (#28645).
CVS patchset: 4682
CVS date: 2001/04/17 18:23:58
2001-04-17 18:23:58 +00:00
jbj f75a3f71ab Doxygen annotations for config files.
Doxygen annotations for rpmdep section.
Add manifests for install modes.

CVS patchset: 4675
CVS date: 2001/04/10 12:36:45
2001-04-10 12:36:45 +00:00
jbj 999f9b1654 - fix: %_netsharedpath needs to look at basenames (#26561).
- fix: --excludepath was broken (#24434).

CVS patchset: 4669
CVS date: 2001/04/03 20:41:09
2001-04-03 20:41:09 +00:00
jbj 3ee7efc408 casts to keep picky compilers happy (#29992).
CVS patchset: 4665
CVS date: 2001/04/03 14:22:52
2001-04-03 14:22:52 +00:00
jbj 9e6924a604 - fix: --relocate missing trailing slash (#28874,#25876).
- fix: --excludedoc shouldn't create empty doc dir (#14531).

CVS patchset: 4663
CVS date: 2001/04/03 13:41:56
2001-04-03 13:41:56 +00:00
jbj 9f7e40a27c - fix: AIX has sizeof(uint_16) != sizeof(mode_t) verify cast needed.
CVS patchset: 4657
CVS date: 2001/03/28 16:00:11
2001-03-28 16:00:11 +00:00
jbj 879d15a954 - fix: i18n tags in rpm-2.5.x had wrong offset/length (#33478).
CVS patchset: 4655
CVS date: 2001/03/28 14:59:23
2001-03-28 14:59:23 +00:00
jbj 075607676d - fix: parameterized macro segfault (Jakub Bogusz <qboosh@pld.org.pl>).
fix: off by 1 with rpmGlob when presented with multiple non-globbed items.
fix: rpmReadPackageManifest actually works now.

CVS patchset: 4653
CVS date: 2001/03/23 20:27:48
2001-03-23 20:27:48 +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 84705dbb76 - add %exclude support (i.e. "everything but") to %files.
(Michael (Micksa) Slade" <micksa@knobbits.org>)

CVS patchset: 4637
CVS date: 2001/03/16 16:33:25
2001-03-16 16:33:25 +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 c19f683677 Fix rpmvercmp for case (should return +1, #21392)
rpmvercmp("1.a", "1.")

CVS patchset: 4626
CVS date: 2001/03/15 14:14:22
2001-03-15 14:14:22 +00:00
jbj fc920e3ac3 Update to doxygen-1.2.6 configuration.
Add manual files to Doxfile.in.
lclint annotations.

CVS patchset: 4624
CVS date: 2001/03/14 23:09:09
2001-03-14 23:09:09 +00:00
jbj 59b4f98dc5 Sync with rpm-4.0.2 final.
CVS patchset: 4621
CVS date: 2001/03/14 18:07:47
2001-03-14 18:07:47 +00:00
jbj 302144c26c Re-yacc getdate.c.
CVS patchset: 4608
CVS date: 2001/03/04 17:31:48
2001-03-04 17:31:48 +00:00
jbj 918ec7bea0 Swipe from cvs sources.
CVS patchset: 4607
CVS date: 2001/03/04 17:26:37
2001-03-04 17:26:37 +00:00
jbj 2ad94143e2 Eliminate setFileOwners() and installSources().
Resurrect source installs.

CVS patchset: 4606
CVS date: 2001/03/04 17:15:56
2001-03-04 17:15:56 +00:00
jbj a77bec0d7e - Add btree indexes for Dirnames, Requireversion, Provideversion, Insttaltid,
and Removetid.
- Add per-script and per-trigger control options and flags.
- Add --apply option and flags.

CVS patchset: 4605
CVS date: 2001/03/04 15:34:53
2001-03-04 15:34:53 +00:00
jbj 1a93da4acc Implement PSM_NOTIFY.
CVS patchset: 4604
CVS date: 2001/03/03 21:35:41
2001-03-03 21:35:41 +00:00
jbj df79f7143e Remove dead code.
CVS patchset: 4603
CVS date: 2001/03/03 20:45:47
2001-03-03 20:45:47 +00:00
jbj acbbbb19f7 Move fileActionString to fsm.c where it belongs.
Open repackage output fd in PSM_INIT, not PSM_PROCESS.
Factor common chroot calls to beginning of PSM_PRE and end of PSM_POST.
Factor common rpmdbCountPackages to top of PSM_INIT.

CVS patchset: 4602
CVS date: 2001/03/03 20:41:37
2001-03-03 20:41:37 +00:00
jbj 665c365a12 Add top level, external enties to psmStage().
CVS patchset: 4596
CVS date: 2001/03/02 19:47:45
2001-03-02 19:47:45 +00:00
jbj e403840dba Still more functionality into psmStage().
CVS patchset: 4595
CVS date: 2001/03/02 17:27:30
2001-03-02 17:27:30 +00:00
jbj 9e4608369a More functionality into psmStage.
CVS patchset: 4594
CVS date: 2001/03/02 16:17:03
2001-03-02 16:17:03 +00:00
jbj b7bbb4018a More functionality in psmStage.
CVS patchset: 4593
CVS date: 2001/03/02 15:03:29
2001-03-02 15:03:29 +00:00
jbj 3e63d3b768 Flesh out init/pre/process/post/fini PSM stages.
CVS patchset: 4592
CVS date: 2001/03/02 08:28:18
2001-03-02 08:28:18 +00:00
jbj d955c25e48 More functionality in psmStage.
CVS patchset: 4591
CVS date: 2001/03/01 18:28:11
2001-03-01 18:28:11 +00:00
jbj d69ac19b05 Move more functionality into psmStage.
CVS patchset: 4590
CVS date: 2001/03/01 17:04:27
2001-03-01 17:04:27 +00:00
jbj 83cb34ccab More data merged into PSM_t.
CVS patchset: 4589
CVS date: 2001/03/01 16:01:16
2001-03-01 16:01:16 +00:00
jbj 6b5f9032a4 Add trigggers to psm.
CVS patchset: 4588
CVS date: 2001/02/28 16:41:19
2001-02-28 16:41:19 +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 15941e5fea Move more args into PSM_t.
CVS patchset: 4586
CVS date: 2001/02/28 13:59:29
2001-02-28 13:59:29 +00:00
jbj 770f01d2d4 Start wiring PSM_t throughout.
CVS patchset: 4585
CVS date: 2001/02/27 23:12:30
2001-02-27 23:12:30 +00:00
jbj 56bea19bfc Sketch out PSM_t for package state machine.
CVS patchset: 4584
CVS date: 2001/02/27 22:08:53
2001-02-27 22:08:53 +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 f64f273405 Add fflush (#24319).
CVS patchset: 4565
CVS date: 2001/02/21 19:14:35
2001-02-21 19:14:35 +00:00
jbj c56c829d28 1st crack at --repackage.
CVS patchset: 4557
CVS date: 2001/02/19 17:12:21
2001-02-19 17:12:21 +00:00
jbj 8f99e61fc7 Merge changes from rpm-4.0.2.
Add iterators and reverse flag so that erase transactions can run backwards.

CVS patchset: 4556
CVS date: 2001/02/17 17:53:21
2001-02-17 17:53:21 +00:00
jbj 85a84a6826 Add rpmRC return code type for the usual 0/1/2 codes.
Add RPMRC_BADSIZE to deal with packages changing size after repackaging.

CVS patchset: 4550
CVS date: 2001/02/12 19:02:15
2001-02-12 19:02:15 +00:00
jbj bc348ac49c Rename RPMSIG_* signature types to RPMSIGTYPE_* to avoid confusion.
Remove dead code.

CVS patchset: 4549
CVS date: 2001/02/12 16:33:08
2001-02-12 16:33:08 +00:00
jbj 2be9ecf0eb 1st stab at --repackage.
CVS patchset: 4545
CVS date: 2001/02/11 22:02:29
2001-02-11 22:02:29 +00:00
jbj eccb6f66fc Reorganize sources before implementing --repackage.
CVS patchset: 4543
CVS date: 2001/02/10 16:47:40
2001-02-10 16:47:40 +00:00
jbj d304bac9be - fix: diddle exit code for attempted installs of non-packages (#26850).
- python binding diddles to reduce installer memory footprint by
  delayed loading of file info.

CVS patchset: 4542
CVS date: 2001/02/10 14:35:55
2001-02-10 14:35:55 +00:00
jbj c7cbf952ab Orphans.
CVS patchset: 4538
CVS date: 2001/02/09 20:59:08
2001-02-09 20:59:08 +00:00
jbj d991f23281 fix: make a copy of retrieved header before loading.
handle out-of-sync hardlinks as sub-state, don't save the file name.
fix: on build, was broke, add --fsmdebug as well.

CVS patchset: 4537
CVS date: 2001/02/09 20:58:37
2001-02-09 20:58:37 +00:00
jbj 2f9fa168c8 Remove DEAD code.
CVS patchset: 4531
CVS date: 2001/02/08 23:05:05
2001-02-08 23:05:05 +00:00
jbj cc3e5fd3db Move state machine drivers into fsmStage.
Off to fix build's yet again.

CVS patchset: 4530
CVS date: 2001/02/08 21:50:38
2001-02-08 21:50:38 +00:00
jbj 2f2295bf07 Asynchronous commit of installed files.
fix: set file mtimes from package.
fix: insure that notify is not called at start of commit.

CVS patchset: 4523
CVS date: 2001/02/06 22:39:56
2001-02-06 22:39:56 +00:00
jbj 29045caf73 fix: links weren't renamed correctly.
Use hge/hfd vectors most everywhere.

CVS patchset: 4522
CVS date: 2001/02/05 22:22:43
2001-02-05 22:22:43 +00:00
jbj 62ff3348fd Remove XFA_SKIPPING from iterator.
Make sure that external stages are properly postponed.

CVS patchset: 4521
CVS date: 2001/02/05 17:55:34
2001-02-05 17:55:34 +00:00
jbj 1b9cbfcc5e revert speedup on commit if same perms, there's more to do.
lclint annotations.

CVS patchset: 4520
CVS date: 2001/02/04 22:15:30
2001-02-04 22:15:30 +00:00
jbj a0a2c1d83c Rip out remnants of cpio file mapping.
CVS patchset: 4519
CVS date: 2001/02/04 18:15:21
2001-02-04 18:15:21 +00:00
jbj b9726c19b2 Merged build/install in file state machine.
CVS patchset: 4518
CVS date: 2001/02/04 02:04:09
2001-02-04 02:04:09 +00:00
jbj 53279c4ac3 fix: db1 dbopen() check found in libc not auto-configuring forrectly.
Add fsm->goal to start unifying install/erase/build state machines.
Use rpmio syscall rpc where available.
FSM_BUILD has explicit init/fini stages.
FSM_LSTAT done once in init.
FSM_MKDIRS done in init.

CVS patchset: 4517
CVS date: 2001/02/03 20:07:39
2001-02-03 20:07:39 +00:00
jbj 2816871692 Add I/O to file state machine.
CVS patchset: 4516
CVS date: 2001/02/03 14:30:57
2001-02-03 14:30:57 +00:00
jbj e3d5247174 Use fsm for building.
CVS patchset: 4514
CVS date: 2001/02/02 15:04:44
2001-02-02 15:04:44 +00:00
jbj 1363a3339d fix: grrr, post increment off by 1 iterator.
CVS patchset: 4513
CVS date: 2001/02/02 00:07:49
2001-02-02 00:07:49 +00:00
jbj ac1a303d16 Handle links correctly, wotta PITA. Now to clean up and find the double free ...
CVS patchset: 4512
CVS date: 2001/02/01 20:19:17
2001-02-01 20:19:17 +00:00
jbj 618184c4bf Simple install file state machine.
CVS patchset: 4510
CVS date: 2001/01/30 23:38:39
2001-01-30 23:38:39 +00:00
jbj d8b44a5d65 Commit to install file state machine.
CVS patchset: 4509
CVS date: 2001/01/29 22:53:48
2001-01-29 22:53:48 +00:00
jbj f684f63a72 Apply suffixes only to files.
Bundle dev/symlink/fifo/sock into hdr state machine.

CVS patchset: 4505
CVS date: 2001/01/28 19:12:04
2001-01-28 19:12:04 +00:00
jbj c225a48edf Orphan.
CVS patchset: 4504
CVS date: 2001/01/28 02:14:29
2001-01-28 02:14:29 +00:00
jbj 3aeae6be32 Payload state machine, with commit and undo.
CVS patchset: 4503
CVS date: 2001/01/28 02:13:48
2001-01-28 02:13:48 +00:00
jbj 971e0ea6fc 1st crack at a payload unpack state machine.
CVS patchset: 4502
CVS date: 2001/01/27 17:42:24
2001-01-27 17:42:24 +00:00
jbj c825d02369 lclint annotations.
CVS patchset: 4500
CVS date: 2001/01/26 17:06:09
2001-01-26 17:06:09 +00:00
jbj dd94329f0c - remove support for v1 src rpm's.
- reposition callbacks with ts/fi in cpio payload layer.

CVS patchset: 4498
CVS date: 2001/01/25 20:26:35
2001-01-25 20:26:35 +00:00
jbj 5ae2e10e9e Isolate install/erase actions.
Start wrapping src rpm installs in a transaction.

CVS patchset: 4497
CVS date: 2001/01/25 12:58:03
2001-01-25 12:58:03 +00:00
jbj f0853f6843 Add rollback.h, 1st attempt to rationalize TFI_t.
CVS patchset: 4496
CVS date: 2001/01/24 21:35:52
2001-01-24 21:35:52 +00:00
jbj de35e20bf1 Rip XFI_t from install.
CVS patchset: 4495
CVS date: 2001/01/24 15:58:35
2001-01-24 15:58:35 +00:00
jbj 8b7b911a17 Rip out cpioFileMap.
CVS patchset: 4493
CVS date: 2001/01/23 23:03:28
2001-01-23 23:03:28 +00:00
jbj 7eb91a5152 Expose loadFi/freeFi.
Add elements to TFI_t that will be needed by install/remove.

CVS patchset: 4489
CVS date: 2001/01/23 16:07:28
2001-01-23 16:07:28 +00:00
jbj 15439b46c0 Make cpio maps totally opaque.
CVS patchset: 4487
CVS date: 2001/01/22 19:11:19
2001-01-22 19:11:19 +00:00
jbj 4a0c7b16a8 Create.
CVS patchset: 4480
CVS date: 2001/01/21 23:48:56
2001-01-21 23:48:56 +00:00
jbj ccdf2e17d8 Make cpio mappings opaque.
CVS patchset: 4479
CVS date: 2001/01/21 23:48:09
2001-01-21 23:48:09 +00:00
jbj d07437babb - cpio mappings carry dirname/basename, not absolute path.
CVS patchset: 4474
CVS date: 2001/01/21 15:43:32
2001-01-21 15:43:32 +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