Commit Graph

182 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 2885f536b6 Bring header reggions mods back to top of stack.
CVS patchset: 4305
CVS date: 2000/12/02 21:53:44
2000-12-02 21:53:44 +00:00
jbj 38b66577e6 - add region marker as RPM_BIN_TYPE in packages and database.
- fix: don't headerCopy() relocateable packages if not relocating.

CVS patchset: 4246
CVS date: 2000/11/08 17:07:01
2000-11-08 17:07:01 +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 03efb685f1 - pass rpmTransactionSet, not elements, to installBinaryPackage et al.
CVS patchset: 4221
CVS date: 2000/10/20 22:04:27
2000-10-20 22:04:27 +00:00