Commit Graph

120 Commits

Author SHA1 Message Date
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 b856c8b207 - add optflags for i486 and i586.
- fix: segfault with legacy packages missing RPMTAG_FILEINODES.

CVS patchset: 3814
CVS date: 2000/06/05 14:18:40
2000-06-05 14:18:40 +00:00
jbj ef6736bd90 Move noLang to rpmlib.
Add defaultdocdir to per-platform macros.

CVS patchset: 3788
CVS date: 2000/06/01 05:36:14
2000-06-01 05:36:14 +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 50a8f3b0a3 Sanity (make dist).
CVS patchset: 3783
CVS date: 2000/05/31 17:45:43
2000-05-31 17:45:43 +00:00
jbj 98f1947981 Sanity (make dist).
CVS patchset: 3776
CVS date: 2000/05/31 13:19:37
2000-05-31 13:19:37 +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 835c1caaf3 - mark packaging with version 4 to reflect filename/provide changes.
- change next version from 3.1 to 4.0 to reflect package format change.

CVS patchset: 3766
CVS date: 2000/05/30 19:30:28
2000-05-30 19:30:28 +00:00
jbj d42614ac16 Sanity (make dist).
CVS patchset: 3755
CVS date: 2000/05/26 18:59:08
2000-05-26 18:59:08 +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 3d8229ebfc Sanity (make dist).
CVS patchset: 3740
CVS date: 2000/05/18 13:00:51
2000-05-18 13:00:51 +00:00
jbj ac47974f08 fix stupid mistakes (alpha segfaults).
CVS patchset: 3726
CVS date: 2000/05/12 23:30:28
2000-05-12 23:30:28 +00:00
jbj 4a4704f98f - include RPM-GPG-KEY in file manifest.
- simplify --last popt alias, date like -qi (bjerrick@easystreet.com).
- fix: alloca'd memory used outside of scope (alpha segfault).

CVS patchset: 3723
CVS date: 2000/05/10 15:36:29
2000-05-10 15:36:29 +00:00
jbj 764e820f16 Repair rebuilddb lossage, removing debug messages and final copy on user msgs.
Initialize dbN vector from dbNopen.
Use db3 return convention for dbNopen.
Always save tag index in join key.
Rename rpmdbAppendIteratorMatches -> rpmdbAppendIterator.
Remove tolerant from rpmdbRemove API.
Use hdrNum rather than offset, tagNum rather than fileNumber most everywhere.
rpmdb.c: Create rpmdbPruneIterator to exclude items from set.
rpmdb.c: Remove legacy code from rpmdbAdd/rpmdbRemove.
rpmdb.c: Rename (shorten) many routines.
tagName.c: prepare for ADDED/REMOVED/AVAILABLE temorary databases.
depends.c: use rpmdbPruneIterator.
depends.c: don't check ranges unless provides names match.
depends.c: Depends now works (watch out for data values of 0).
rpmpopt.in: Add --dbapi and --rebuilddbapi options.

CVS patchset: 3720
CVS date: 2000/05/07 00:53:11
2000-05-07 00:53:11 +00:00
jbj 66f6c0c16b Sanity (make dist).
CVS patchset: 3714
CVS date: 2000/05/02 08:54:01
2000-05-02 08:54:01 +00:00
jbj c19f4c1c31 Add usedbenv (disabled) to use db3 as db1 was used.
Configure to accept any db api (but rebuild will switch to db3).
Rename *_major to *_api throughout.
Always open Depends with O_CREAT|O_RDWR.
db1.c: use good ol' requredby.rpm name, not requiredbyindex.rpm.
db1.c: hide pkgs FD_t in dbi_db, eliminate dbi_pkgs.
depends.c: Skip Depends caching on dbiPut failure (e.g. perms).
rpmdb.c: remove _useDbiMajor, pass dbapi on call.
rpmdb.c: repair rot in rpmdbRemoveDatabase()/rpmdbMoveDatabase().
rpmdb.c: disable ^C hack in signal block/unblock.

CVS patchset: 3712
CVS date: 2000/05/02 08:30:31
2000-05-02 08:30:31 +00:00
jbj 73f95c99ce Rename db0.c to db1.c, resurrect db2.c (from db3.c).
Add ia64 and sparc64 changes.
rpm.spec: add per-platform sub-directories.
Add rpmdbSync to API.
installplatform: pass LIB=lib64 on sparc64.
db3.c: Add nodbsync, lockdbfd, debug dbi configuration.
db3.c: don't check dbi_mode when deciding on DB_WRITECURSOR.

CVS patchset: 3711
CVS date: 2000/05/01 17:50:35
2000-05-01 17:50:35 +00:00
jbj 5197d92f13 Don't incrementally link pthreads, causes segfault on (at least) alpha.
db0.c: Simulate db->sync on falloc.
db0.c: Use RPMDBI_PACKAGES for rpmtag comparisons.
db0.c: Add debug for dbi open/close like db3.
db0.c: Remove dbi if temporary (i.e. Depends).
db3.c: Filter DB_INCOMPLETE from db->sync return, it's usually harmless.
depends.c: Free Depends iterator, pass keylen, and use cursors.
depends.c: Free iterator *after* loop, not at end of 1st pass.
rpmdb.c: Fine grained cursor locks to avoid "crossed cursors" deadlocks.
rpmdb.c: Lazy open/close during rpmdbAdd/rpmdbRemove/openDatabase.
rpmdb.c: Remove last remnants of dbix, do dynamic lookup instead.
rpmdb.c: Resurrect rpmdbUpdateRecord in iterator loop.
macros.in: Add Depends dbi to config.
macros.in: Configure "nommap:mp_size=2Mb:pagesize=16Kb".

CVS patchset: 3707
CVS date: 2000/04/28 15:14:47
2000-04-28 15:14:47 +00:00
jbj e1b556f8d0 - API: replace rpmdbUpdateRecord with rpmdbSetIteratorModified.
CVS patchset: 3706
CVS date: 2000/04/27 12:50:54
2000-04-27 12:50:54 +00:00
jbj 113948c75c Sanity and API clean up. (make dist)
CVS patchset: 3705
CVS date: 2000/04/27 01:11:48
2000-04-27 01:11:48 +00:00
jbj 69b1adb5b0 Sanity (rebuild to check autoconf configuration in dist-7.0).
CVS patchset: 3699
CVS date: 2000/04/25 19:57:26
2000-04-25 19:57:26 +00:00
jbj ab3e4a08a7 Typo.
CVS patchset: 3693
CVS date: 2000/04/21 00:27:45
2000-04-21 00:27:45 +00:00
jbj 4da5ec0687 Sanity.
CVS patchset: 3692
CVS date: 2000/04/21 00:23:18
2000-04-21 00:23:18 +00:00
jbj a2665e12c6 Sanity (re-adding rpm-python).
CVS patchset: 3689
CVS date: 2000/04/20 11:54:03
2000-04-20 11:54:03 +00:00
jbj dce2eccbd5 Sanity.
CVS patchset: 3686
CVS date: 2000/04/19 16:59:02
2000-04-19 16:59:02 +00:00
jbj a6fc8ecb52 add explcit "Provides: name = [epoch:]version-release" to headers.
CVS patchset: 3678
CVS date: 2000/04/13 17:59:10
2000-04-13 17:59:10 +00:00
jbj 0c83ea489f Sanity (bump release).
CVS patchset: 3677
CVS date: 2000/04/13 16:00:34
2000-04-13 16:00:34 +00:00
jbj f3571adf59 API: pass *SearchIndex() length of key (0 will use strlen(key)).
API: remove rpmdb{First,Next}RecNum routines.
db3.c: remove cursor DB_RMW implementation, something else is needed.
rpmdb.c: first crack at rpmdb match iterator.
query.c: ditto.
rebuilddb.c: ditto.
dumpdb.c: ditto.

CVS patchset: 3668
CVS date: 2000/04/12 13:42:57
2000-04-12 13:42:57 +00:00
jbj 3cbb3be045 - treat legacy falloc.c as "special" db[01] index for package headers.
CVS patchset: 3667
CVS date: 2000/04/11 16:15:54
2000-04-11 16:15:54 +00:00
jbj eb75d9280b use "rpmdb db" consistently throughout, add doxygen tags.
db3.c: save join keys in endian neutral binary format.
rpmdb.c: create rpmdbCountPackages().
install.c: use rpmdbCountPackages().
uninstall.c: Ditto.

CVS patchset: 3662
CVS date: 2000/04/07 16:09:25
2000-04-07 16:09:25 +00:00
jbj 9763902847 use hashed access for package headers.
CVS patchset: 3660
CVS date: 2000/04/06 15:20:29
2000-04-06 15:20:29 +00:00
jbj 18a1e73ac6 Sanity.
CVS patchset: 3659
CVS date: 2000/04/04 10:10:47
2000-04-04 10:10:47 +00:00
jbj 9965b2d482 Sanity.
CVS patchset: 3657
CVS date: 2000/04/03 14:36:39
2000-04-03 14:36:39 +00:00
jbj 91a44edf36 - try for db3 DB_INIT_CDB model.
CVS patchset: 3648
CVS date: 2000/03/31 14:55:23
2000-03-31 14:55:23 +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 adf70c073e Sanity.
CVS patchset: 3638
CVS date: 2000/03/24 08:00:12
2000-03-24 08:00:12 +00:00
jbj ef56b9257c Sanity (penultimate rpm-3.0.4).
CVS patchset: 3622
CVS date: 2000/03/11 20:35:03
2000-03-11 20:35:03 +00:00
jbj 8d3c1b2ba0 Sanity (penultimate rpm-3.0.4 release candidate).
CVS patchset: 3613
CVS date: 2000/03/09 20:52:56
2000-03-09 20:52:56 +00:00
jbj e93943f1e0 - portability: skip bzip2 if not available.
- portability: skip gzseek if not available (zlib-1.0.4).
- portability: skip personality if not available (linux).
- portability: always include arpa/inet.h (HP-UX).
- portability: don't use id -u (Brandon Allbery).
- portability: don't chown/chgrp -h w/o lchown.
- portability: splats in rpm.spec to find /usr/{share,local}/locale/*

CVS patchset: 3610
CVS date: 2000/03/09 18:13:02
2000-03-09 18:13:02 +00:00
jbj acdafeca5c portability: zlib-1.0.4 has not gzseek
portability: Red Hat 4.x has not personality

CVS patchset: 3609
CVS date: 2000/03/07 15:37:17
2000-03-07 15:37:17 +00:00
jbj 2b30bc3b2d Bump release.
CVS patchset: 3602
CVS date: 2000/03/01 15:28:30
2000-03-01 15:28:30 +00:00
jbj a217056e70 Permit building w/o libbz2.a.
In popt, check for building within the rpm tree before requiring GNU gettext.

CVS patchset: 3595
CVS date: 2000/02/27 23:40:36
2000-02-27 23:40:36 +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 466f98a9fb Automake portability diddles.
CVS patchset: 3586
CVS date: 2000/02/24 22:28:31
2000-02-24 22:28:31 +00:00
jbj 1cd98cb04c Sanity (0.44 release).
CVS patchset: 3584
CVS date: 2000/02/23 22:43:27
2000-02-23 22:43:27 +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 6ad3b578cb Another attempt to get i18n lookaside functional.
CVS patchset: 3578
CVS date: 2000/02/22 21:19:33
2000-02-22 21:19:33 +00:00
jbj 3e1e638ba2 Sanity-0.43.
CVS patchset: 3576
CVS date: 2000/02/22 13:04:06
2000-02-22 13:04:06 +00:00
jbj 1484d82ecd fix: filter excluded paths before adding install prefixes (#8709).
CVS patchset: 3575
CVS date: 2000/02/22 12:05:13
2000-02-22 12:05:13 +00:00
jbj c39e2a9ea0 macro expansion (and absolute path) in %files -f arg (#9508,#9091).
CVS patchset: 3573
CVS date: 2000/02/22 03:09:53
2000-02-22 03:09:53 +00:00