Commit Graph

270 Commits

Author SHA1 Message Date
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 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 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 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 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 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 ef0d093f14 Increase size of help format buffer (#24093).
CVS patchset: 4450
CVS date: 2001/01/16 13:39:50
2001-01-16 13:39:50 +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 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 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 3092074460 Cosmetic.
CVS patchset: 3977
CVS date: 2000/07/24 21:32:01
2000-07-24 21:32:01 +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 db3190176b - prefix payload paths with "./", otherwise "/" can't be represented.
- fix: compressFilelist broke when fed '/'.
- fix: typo in --last popt alias (#12690).
- fix: clean file paths before performing -qf (#12493).

CVS patchset: 3930
CVS date: 2000/07/09 23:10:25
2000-07-09 23:10:25 +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 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 efcc0a3985 Use libtool-1.3.5.
Sanity (make dist).

CVS patchset: 3817
CVS date: 2000/06/06 09:01:06
2000-06-06 09:01:06 +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 18742142a9 Hack to pass build args correctly.
Create noarch symlink to canonical arch directory.

CVS patchset: 3785
CVS date: 2000/06/01 02:00:12
2000-06-01 02:00:12 +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 9733e2e589 fix: define/eval options assumed sizeof(int) == sizeof(void *).
CVS patchset: 3724
CVS date: 2000/05/12 23:10:43
2000-05-12 23:10:43 +00:00
jbj 00914dd961 Mostly functional db2 interface, db3 still has problems.
CVS patchset: 3645
CVS date: 2000/03/30 19:22:46
2000-03-30 19:22:46 +00:00
jbj 22a911a3b3 Add --preferdb for now to permit testing db0/db1/db2.
CVS patchset: 3641
CVS date: 2000/03/26 22:45:02
2000-03-26 22:45:02 +00:00
jbj cf68a32ca6 - fix: noLibio = 0 on Red Hat 4.x and 5.x.
- fix: typo in autodeps/linux.req.

CVS patchset: 3630
CVS date: 2000/03/15 19:50:57
2000-03-15 19:50:57 +00:00
jbj 742a513e5f Solaris2.6 portability.
CVS patchset: 3591
CVS date: 2000/02/27 18:52:30
2000-02-27 18:52:30 +00:00
jbj ace35961e8 Add %_i18ndomains configuration.
CVS patchset: 3583
CVS date: 2000/02/23 22:40:53
2000-02-23 22:40:53 +00:00
jbj becec721d0 i18n lookaside.
CVS patchset: 3581
CVS date: 2000/02/23 17:34:41
2000-02-23 17:34:41 +00:00
jbj d932818c23 Patches from PLD.
CVS patchset: 3556
CVS date: 2000/02/13 19:24:19
2000-02-13 19:24:19 +00:00
jbj 3da0771698 Correct --tarball option (long name should have been --tarbuild).
CVS patchset: 3485
CVS date: 1999/12/15 18:19:47
1999-12-15 18:19:47 +00:00
jbj 8f481702d8 reload macros from cmd line when re-reading config files.
CVS patchset: 3479
CVS date: 1999/12/12 21:14:05
1999-12-12 21:14:05 +00:00
jbj f202d104d0 Consistent usage for fileNames, baseNames, dirNames and dirIndexes throughout.
rpm.c: Add --nodirtokens and --dirtokens to control file list compression.
lib/misc.c: Default (conservative) valuse _noDirTokens is TRUE.
lib/misc.c: Add expandFileList analogue to compressFileList.
build/pack.c: Compress file list only if compression is requested.
lib/rpmdb.c: Expand file list before headerWrite if compression not requested.

CVS patchset: 3436
CVS date: 1999/11/26 21:58:42
1999-11-26 21:58:42 +00:00
jbj 07fa561681 rpm.c: Add --ftpdebug, --urldebug, --rpmiodebug (for my sanity).
build/pack.c: Remove unnecessary persist in package{Sources,Binaries}.
lib/rpmio.c: Expose fdGetFp() for use in url.c.
lib/rpmio.c: Debug refs with FILE/FTP/HTTP url's.
lib/url.c: Push fp in order to use Fclose() when cleaning up url cache.

CVS patchset: 3425
CVS date: 1999/11/15 22:16:54
1999-11-15 22:16:54 +00:00
jbj 4e62a322a2 lib/rpmio.c: Implement per-fd layers as a stack, add fdPush/fdPop.
lib/rpmio.c: Add fd{Get,Set}{Io,Fp,Fdno} abstraction wrappers.
lib/rpmio.c: Start rationalizing debug output by using fdbg to display the
	fd layer stack.
rpm.c: Add --nolibio to disable libio if desired.
rpm2cpio.c: Use Fdopen(..., gzdio) and ufdCopy().
build/build.c: Use Fdopen(..., fpio) rather than fdio.
build/files.c: Use Fdopen(..., fpio) rather than ufdio.
build/parseSpec.c: ditto.
lib/macro.c: ditto.
lib/rpmrc.c: ditto
lib/macro.c: Use Fopen(..., ufdio) in isCompressed() rather that fdOpen().
lib/misc.c: ditto.
lib/misc.c: Avoid fstat by using Stat.
build/pack.c: Add persist fdLink() and use fdFree() in package{Sources,Binaries}
build/pack.c: Try to remove the fdDup before cpioBuildArchive() call.
build/pack.c: Use rpmGenPath with %{_builddir}.
build/parsePreamble.c: Use fdSize rather than Stat to get icon file size.
lib/rpmrc.c: ditto
lib/ftp.c: start capturing ufdio layer syserrno/errcookie.

CVS patchset: 3424
CVS date: 1999/11/14 19:15:18
1999-11-14 19:15:18 +00:00