Commit Graph

136 Commits

Author SHA1 Message Date
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 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 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 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
jbj 0eb282dc4e - tsort prefers presentation order.
CVS patchset: 4456
CVS date: 2001/01/16 17:33:59
2001-01-16 17:33:59 +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 d229ea2db0 - fix the hack.
CVS patchset: 4436
CVS date: 2001/01/13 17:39:54
2001-01-13 17:39:54 +00:00
jbj 5b06c479a5 - hack: permit installer to determine package ordering using 1000003 tag.
CVS patchset: 4435
CVS date: 2001/01/12 21:47:49
2001-01-12 21:47:49 +00:00
jbj 2e13767946 doxygen annotations for build/*.
- fix: don't hang on build error.
- fix: remove "error: " prefix from signature verification message.

CVS patchset: 4426
CVS date: 2001/01/11 14:13:04
2001-01-11 14:13:04 +00:00
jbj 67aa235565 - fix: find-requires.perl needed update (#23450).
CVS patchset: 4424
CVS date: 2001/01/10 22:19:55
2001-01-10 22:19:55 +00:00
jbj dcbf7492f2 - successors from tsort are processed in presentation order.
CVS patchset: 4423
CVS date: 2001/01/10 20:42:32
2001-01-10 20:42:32 +00:00
jbj 903a070e8d - fix: digests on input FD_t dinna work.
- fix: remove rebuilddb debugging leakage.

CVS patchset: 4421
CVS date: 2001/01/09 21:46:11
2001-01-09 21:46:11 +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 8f18329bf9 - fix: 3 packages from Red Hat 5.2 had bogus %verifyscript tag.
CVS patchset: 4413
CVS date: 2001/01/05 21:04:45
2001-01-05 21:04:45 +00:00
jbj 9bf42922eb - fix: pass scriptlet args, as in %post -p "/sbin/ldconfig -n /lib".
(Rodrigo Barbosa)

CVS patchset: 4411
CVS date: 2001/01/04 02:24:14
2001-01-04 02:24:14 +00:00
jbj 23fcf67cb5 - fix: avoid locale issues with strcasecmp/strncasecmp (#23199).
- remove almost all explicit uses of stderr in rpmlib using rpmError().

CVS patchset: 4406
CVS date: 2001/01/03 20:19:27
2001-01-03 20:19:27 +00:00
jbj 6aafc439da doxygen annotations for popt.
CVS patchset: 4401
CVS date: 2001/01/02 17:19:34
2001-01-02 17:19:34 +00:00
jbj 25d8bdb6c4 Sanity (make dist).
CVS patchset: 4399
CVS date: 2001/01/02 00:12:03
2001-01-02 00:12:03 +00:00
jbj 836b60f018 fix: qva->qva_sourceCnt check now 2 rather than 1 with nested tables.
CVS patchset: 4398
CVS date: 2001/01/02 00:10:45
2001-01-02 00:10:45 +00:00
jbj fa3e119a83 - use popt autohelp for rpm helper binaries.
CVS patchset: 4396
CVS date: 2001/01/01 23:14:47
2001-01-01 23:14:47 +00:00
jbj e5899585ad - (non-linux): move stubs.c to rpmio (#21132).
- (python): bind initdb (#20988).

CVS patchset: 4389
CVS date: 2000/12/30 19:01:23
2000-12-30 19:01:23 +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 f84fd1900d - use malloc'ed buffer for large queries.
CVS patchset: 4377
CVS date: 2000/12/27 21:19:53
2000-12-27 21:19:53 +00:00
jbj 6fca2e5c39 Fix --queryformat.
CVS patchset: 4374
CVS date: 2000/12/26 19:06:54
2000-12-26 19:06:54 +00:00
jbj 190b5df369 - send query/verify output through rpmlog().
- resurrect rpmErrorSetCallback() and rpmErrorString().

CVS patchset: 4372
CVS date: 2000/12/26 13:10:18
2000-12-26 13:10:18 +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 c339c239b9 - immutable headers, once installed by rpm3, need to lose immutablity.
CVS patchset: 4365
CVS date: 2000/12/21 17:14:53
2000-12-21 17:14:53 +00:00
jbj b874299aab - whiteout mozilla loop for 7.1.
fix the auto %_tmppath creation.

CVS patchset: 4363
CVS date: 2000/12/20 21:08:18
2000-12-20 21:08:18 +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 73ee3b2e86 Move assertion to avoid false failure.
CVS patchset: 4352
CVS date: 2000/12/17 19:55:31
2000-12-17 19:55:31 +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 9ead48e86b Sanity (make dist).
CVS patchset: 4340
CVS date: 2000/12/12 21:45:18
2000-12-12 21:45:18 +00:00
jbj c7248553be - fix: headerLoad segfault in python bindings.
CVS patchset: 4339
CVS date: 2000/12/12 21:05:49
2000-12-12 21:05:49 +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 636e4b3771 - load headers as single contiguous region.
CVS patchset: 4244
CVS date: 2000/11/07 13:16:43
2000-11-07 13:16:43 +00:00
jbj ce1e8d26ec - add support for SHA1 as well as MD5 message digests.
lclint annotations.

CVS patchset: 4234
CVS date: 2000/10/31 16:18:34
2000-10-31 16:18:34 +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 12dd80dc37 Add base64 fiddles to get at signature contents to librpmio.a.
parsePrep.c: fix typo's.

CVS patchset: 4227
CVS date: 2000/10/26 15:32:03
2000-10-26 15:32:03 +00:00
jbj 3e1e23bf06 - verify MD5 sums of payload files when unpacking archive.
CVS patchset: 4225
CVS date: 2000/10/24 13:46:51
2000-10-24 13:46:51 +00:00
jbj 39b81b5174 - order packages using tsort, clipping PreReq:'s in dependency loops.
CVS patchset: 4177
CVS date: 2000/09/26 18:04:12
2000-09-26 18:04:12 +00:00
jbj 2108d886ba Revert rpmrc excision for now.
rpmio: add rpmlog.c/rpmlog.h.

CVS patchset: 4163
CVS date: 2000/09/14 11:42:48
2000-09-14 11:42:48 +00:00
jbj f2efc7263e - unify rpmError and rpmMessge interfaces through rpmlog.
- collect and display rpm build error messages at end of build.

CVS patchset: 4149
CVS date: 2000/09/01 21:15:40
2000-09-01 21:15:40 +00:00
jbj 4f0179f7ee Unify rpmError() and rpmMessage() on top of rpmlog().
CVS patchset: 4148
CVS date: 2000/08/31 02:38:57
2000-08-31 02:38:57 +00:00
jbj c7b24dad58 - translate rpm.8 man page (Peter Ivanyi <ivanyi@internet.sk>).
Doxygen annotations.

CVS patchset: 4146
CVS date: 2000/08/29 22:04:33
2000-08-29 22:04:33 +00:00
jbj c0424122dd - rip out rpm{get,put}text, use getpo.sh and specspo instead.
CVS patchset: 4139
CVS date: 2000/08/28 01:50:45
2000-08-28 01:50:45 +00:00
jbj 349c7a49c2 - disable rpmlib(VersionedDependencies) by defining _noVersionedDependencies.
- man page fixes.

CVS patchset: 4062
CVS date: 2000/08/14 18:18:54
2000-08-14 18:18:54 +00:00
jbj 180355d08e Sanity (make dist).
CVS patchset: 4014
CVS date: 2000/08/04 19:52:54
2000-08-04 19:52:54 +00:00
jbj 71a49b1bb8 Sanity (make dist).
CVS patchset: 4009
CVS date: 2000/08/03 16:10:56
2000-08-03 16:10:56 +00:00
jbj 11fa17601b - fix: segfault on erase if filestates is missing in header (#14679).
CVS patchset: 3994
CVS date: 2000/07/31 21:27:20
2000-07-31 21:27:20 +00:00
jbj 79f6c8be87 - fix: uniqify dependency problems when printing (#14034).
- popt: add ability to perform callbacks for every, not just first, match.

CVS patchset: 3993
CVS date: 2000/07/31 15:04:20
2000-07-31 15:04:20 +00:00
jbj 6040ca6f53 - re-resurrect firstkey/nextkey python bindings for up2date compatibility.
CVS patchset: 3992
CVS date: 2000/07/29 20:31:56
2000-07-29 20:31:56 +00:00
jbj 61cabed3ed - link rpm2cpio dynamically since cpio is linked dynamically.
CVS patchset: 3991
CVS date: 2000/07/29 17:30:18
2000-07-29 17:30:18 +00:00
jbj 972f0d3103 - bail on firstkey/nextkey, there's a better way.
CVS patchset: 3990
CVS date: 2000/07/29 13:16:45
2000-07-29 13:16:45 +00:00
jbj 41667f92cf - resurrect firstkey/nextkey python bindings.
CVS patchset: 3988
CVS date: 2000/07/28 17:58:58
2000-07-28 17:58:58 +00:00
jbj e3003878fa - fix: look for any/all dbapi when rebuilding.
CVS patchset: 3982
CVS date: 2000/07/26 16:24:07
2000-07-26 16:24:07 +00:00
jbj 1bfc24d0b7 - create rpmbuild/rpmquery/rpmverify/rpmsign symlinks.
CVS patchset: 3980
CVS date: 2000/07/25 18:37:21
2000-07-25 18:37:21 +00:00
jbj 7b13205bb1 Sanity (make dist).
CVS patchset: 3978
CVS date: 2000/07/24 21:38:42
2000-07-24 21:38:42 +00:00
jbj 721e696edd Sync with rpm-3.0.5 chnages.
CVS patchset: 3958
CVS date: 2000/07/17 00:40:17
2000-07-17 00:40:17 +00:00
jbj 4fb053be51 Eliminate convertdb.c.
CVS patchset: 3954
CVS date: 2000/07/15 18:22:24
2000-07-15 18:22:24 +00:00
jbj 4a160b6a14 - fix: make set of replaced file headers unique.
- fix: don't attempt dbiOpen with anything but requested dbN.

CVS patchset: 3952
CVS date: 2000/07/15 16:00:14
2000-07-15 16:00:14 +00:00
jbj 77ea46f6a0 - rip out pre-transaction syscalls, more design is needed.
- display rpmlib provides when invoked with --showrc.
- remove (dead) dependency checks on implicitly provided package names.
- remove (dead) rpmdb API code in python bindings.
- remove (legacy) support for version 1 packaging.
- remove (legacy) support for converting gdbm databases.

CVS patchset: 3950
CVS date: 2000/07/15 14:53:54
2000-07-15 14:53:54 +00:00
jbj beb694da14 - fix: initialize pretransaction argv (segfault).
- fix: check rpmlib features w/o database (and check earlier as well).

CVS patchset: 3943
CVS date: 2000/07/13 23:30:41
2000-07-13 23:30:41 +00:00
jbj 3cd0284d6c - add S_ISLNK pre-transaction syscall test.
CVS patchset: 3942
CVS date: 2000/07/12 23:19:08
2000-07-12 23:19:08 +00:00
jbj 10c07affc9 - compare versions if doing --freshen.
CVS patchset: 3940
CVS date: 2000/07/12 04:02:35
2000-07-12 04:02:35 +00:00
jbj 45c996bc4d - fix: legacy requires './' payload prefix to be omitted for rpm itself.
- fix: remove verbose database +++/--- messages to conform to doco.

CVS patchset: 3938
CVS date: 2000/07/11 22:23:16
2000-07-11 22:23:16 +00:00
jbj 253ff2ea31 Sanity (make dist).
CVS patchset: 3937
CVS date: 2000/07/11 16:16:03
2000-07-11 16:16:03 +00:00
jbj 2380ca4893 fix: source rpm's need to do compressFilelist to get filenames.
fix: python should use RPMTAG_OBSOLETESNAME, not RPMTAG_OBSOLETES.

CVS patchset: 3934
CVS date: 2000/07/11 03:46:56
2000-07-11 03:46:56 +00:00
jbj 7344a12725 - remove build mode help from rpm.c, use rpmb instead.
- support for rpmlib(...) internal feature dependencies.

CVS patchset: 3933
CVS date: 2000/07/11 02:12:49
2000-07-11 02:12:49 +00:00
jbj dbb584f43a Sanoty (make dist).
CVS patchset: 3931
CVS date: 2000/07/09 23:22:58
2000-07-09 23:22:58 +00:00
jbj c956f0437a fix: do chroot around pre-transaction syscalls.
CVS patchset: 3927
CVS date: 2000/07/09 15:17:11
2000-07-09 15:17:11 +00:00
jbj 913d116d71 - add pre-transaction syscall's to handle /etc/init.d change.
- don't bother saving '/' as fingerprint subdir.

CVS patchset: 3926
CVS date: 2000/07/09 04:42:12
2000-07-09 04:42:12 +00:00
jbj a463744b6d - change optflags for i386.
- multilib patch, take 1.

CVS patchset: 3920
CVS date: 2000/07/05 20:39:15
2000-07-05 20:39:15 +00:00
jbj 91aece18bc Sanity (make dist).
CVS patchset: 3910
CVS date: 2000/06/23 01:44:36
2000-06-23 01:44:36 +00:00
jbj 5df134128b - support for separate source/binary compression policy.
- support for bzip payloads.

CVS patchset: 3908
CVS date: 2000/06/23 01:19:45
2000-06-23 01:19:45 +00:00
jbj 8393e93bc8 - uname on i370 has s390 as arch (#11456).
CVS patchset: 3888
CVS date: 2000/06/21 23:48:05
2000-06-21 23:48:05 +00:00
jbj 18a1a352b4 - add RPMTAG_OPTFLAGS, configured optflags when package was built.
- add RPMTAG_DISTURL for rpmfind-like tools (content unknown yet).
- teach brp-compress about /usr/info and /usr/share/info as well.
- update macros.in from rpm-4.0 (w/o dbi configuration).

CVS patchset: 3878
CVS date: 2000/06/20 21:45:50
2000-06-20 21:45:50 +00:00
jbj 4272f490ca - API: uncouple fadio from rest of rpmio.
- API: externalize legacy fdOpen interface for rpmfind et al.

CVS patchset: 3873
CVS date: 2000/06/20 15:54:48
2000-06-20 15:54:48 +00:00
jbj 99e915cbab fix: open all db indices before performing chroot.
CVS patchset: 3868
CVS date: 2000/06/19 11:35:29
2000-06-19 11:35:29 +00:00
jbj 2dd80c4f8b require --rebuilddb to convert db1 -> db3, better messages.
CVS patchset: 3864
CVS date: 2000/06/18 22:38:37
2000-06-18 22:38:37 +00:00
jbj 9fb2e0a01b - fix: resurrect symlink unique'ifying property of finger prints.
CVS patchset: 3856
CVS date: 2000/06/16 19:12:09
2000-06-16 19:12:09 +00:00
jbj 5fd7db4160 New file
CVS patchset: 3850
CVS date: 2000/06/15 23:50:22
2000-06-15 23:50:22 +00:00