Commit Graph

184 Commits

Author SHA1 Message Date
jbj 2404e8d918 - rescusitate --rebuild.
CVS patchset: 5389
CVS date: 2002/04/11 16:55:19
2002-04-11 16:55:19 +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 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 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 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 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 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 64e5b924aa popt PAIN, sigh.
CVS patchset: 5283
CVS date: 2002/01/28 16:16:27
2002-01-28 16:16:27 +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 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 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 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 72471f2e54 Explicit branchstate annotations.
CVS patchset: 5113
CVS date: 2001/10/15 17:53:34
2001-10-15 17:53:34 +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 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 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 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 bad8c7a9b2 - fix: _smp_flags macro broken.
- python: bind rhnUnload differently.
- fix: rescusitate --querytags.
- fix: short aliases broken (#49213).

CVS patchset: 4949
CVS date: 2001/07/17 03:03:14
2001-07-17 03:03:14 +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 3bbe7a7fc4 - unlink all __db.nnn files before 1st db open.
CVS patchset: 4932
CVS date: 2001/07/11 00:07:46
2001-07-11 00:07:46 +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 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 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 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 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 7bf9296288 - default to dbenv with mpool, --rebuilddb with nofsync is much faster.
CVS patchset: 4849
CVS date: 2001/06/06 19:57:12
2001-06-06 19:57:12 +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 2a4452a1f9 - fix: popt exec doesn't add '--', --target et al no longer need '='.
- fix: popt consume-next-arg "!#:+" w/o side effect (#41956).

CVS patchset: 4817
CVS date: 2001/05/29 20:01:28
2001-05-29 20:01:28 +00:00
jbj 61cd63ab8e - eliminate db-1.85 and db-2.x configuration.
- fix: popt arg sanity checks broken, optarg != optArg.
- fix: popt range checks on floats/doubles broken.
- popt: return POPT_ERROR_ERRNO on config open/read/close failure.

CVS patchset: 4815
CVS date: 2001/05/29 15:03:35
2001-05-29 15:03:35 +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 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 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 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 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 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 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 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 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 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 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 23f9e46a33 Typo.
CVS patchset: 4387
CVS date: 2000/12/30 18:26:10
2000-12-30 18:26:10 +00:00
jbj e6161a7cb3 Sync with rpm-4_0 branch.
CVS patchset: 4361
CVS date: 2000/12/19 23:22:00
2000-12-19 23:22:00 +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 8829000486 Man page and help message correction (#18759).
CVS patchset: 4203
CVS date: 2000/10/10 21:17:53
2000-10-10 21:17:53 +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 581d3c0324 - fix: honor --test when doing --freshen.
CVS patchset: 4158
CVS date: 2000/09/13 17:26:54
2000-09-13 17:26:54 +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 af938797ac - consistent return for all signature verification.
- use enum for signature header tags.

CVS patchset: 4137
CVS date: 2000/08/27 21:35:14
2000-08-27 21:35:14 +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 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 10eb9f2c5d Help message field alignment.
CVS patchset: 3928
CVS date: 2000/07/09 15:50:39
2000-07-09 15:50:39 +00:00
jbj 6f562fce82 Typo.
CVS patchset: 3925
CVS date: 2000/07/08 19:37:54
2000-07-08 19:37:54 +00:00
jbj 0c6891dc97 Option --ftpport misdocumented as --ftpuseport.
CVS patchset: 3917
CVS date: 2000/07/05 11:45:07
2000-07-05 11:45:07 +00:00
jbj 4d88809296 - python: initdb binding (Dan Burcaw <dburcaw@terraplex.com>).
- internalize --freshen (Gordon Messmer <yinyang@eburg.com>).

CVS patchset: 3905
CVS date: 2000/06/23 00:49:43
2000-06-23 00:49:43 +00:00
jbj 20c0250a55 Don't try to i18n untranslatable strings ("Göran Uddeborg" <goeran@uddeborg.pp.se>).
CVS patchset: 3883
CVS date: 2000/06/21 22:05:30
2000-06-21 22:05:30 +00:00
jbj 2063e9bd53 Add dbcursor to dbi interface.
CVS patchset: 3830
CVS date: 2000/06/12 22:07:13
2000-06-12 22:07:13 +00:00
jbj bed61632d7 Fix db return code handling, majorly horked.
Autoconf detection of db-3.1.
Move --all to query/verify popt table.

CVS patchset: 3829
CVS date: 2000/06/11 19:15:27
2000-06-11 19:15:27 +00:00
jbj dcbbd47217 Split popt glue into lib/popt{BT,QV}.c.
Add dependencies to *.la.

CVS patchset: 3787
CVS date: 2000/06/01 04:47:42
2000-06-01 04:47:42 +00:00
jbj 0afc1fa3c9 Add popt glue for --clean, --rmsource, --rmspec.
Teach rpmb about --nodeps.

CVS patchset: 3768
CVS date: 2000/05/30 23:04:09
2000-05-30 23:04:09 +00:00
jbj 5807d4262e Remove build modes from rpm, use rpmb and/or popt glue instead.
CVS patchset: 3754
CVS date: 2000/05/26 18:51:11
2000-05-26 18:51:11 +00:00
jbj c7273eb0bc - change popt exec alias in oreder to exec rpm children.
- split rpm into 5 pieces along major mode fault lines with popt glue.

CVS patchset: 3750
CVS date: 2000/05/24 17:53:35
2000-05-24 17:53:35 +00:00
jbj adb00c4337 Create from rpm.c.
CVS patchset: 3742
CVS date: 2000/05/18 21:03:14
2000-05-18 21:03:14 +00:00