Commit Graph

285 Commits

Author SHA1 Message Date
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 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 de1a875b62 2nd try at db1 -> db3 stable functionality.
CVS patchset: 3739
CVS date: 2000/05/18 12:58:27
2000-05-18 12:58:27 +00:00
msw 2ce2b30e43 updated
CVS patchset: 3734
CVS date: 2000/05/17 02:37:59
2000-05-17 02:37:59 +00:00
msw e6a8d2f8de bzip2 1.0
CVS patchset: 3731
CVS date: 2000/05/16 20:22:59
2000-05-16 20:22:59 +00:00
jbj fa4fe81cb9 fix: sparc64 per-platform directory shouldn't be sparc64linux.
CVS patchset: 3727
CVS date: 2000/05/13 15:52:38
2000-05-13 15:52:38 +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 b5bd7abfd1 Don't do initdb, as we don't know what dbapi to use.
Remove -lpthread, new glibc has problems.

CVS patchset: 3719
CVS date: 2000/05/02 19:37:01
2000-05-02 19:37:01 +00:00
jbj f584878269 installplatform: typo.
CVS patchset: 3716
CVS date: 2000/05/02 17:30:49
2000-05-02 17:30:49 +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 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 b5cadb90d6 make db indices as lightweight as possible, with per-dbi config.
db1.c will never be needed, eliminate.
API: merge rebuilddb.c into rpmdb.c.

CVS patchset: 3694
CVS date: 2000/04/23 20:37:57
2000-04-23 20:37:57 +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 eca43c56fb Sanity (build 0.8).
CVS patchset: 3690
CVS date: 2000/04/20 12:46:38
2000-04-20 12:46:38 +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 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 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 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 c87582cbf2 Bump popt sub-package version.
CVS patchset: 3651
CVS date: 2000/04/03 14:24:30
2000-04-03 14:24:30 +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 7ae0e5d605 Sanity.
CVS patchset: 3639
CVS date: 2000/03/24 17:20:17
2000-03-24 17:20:17 +00:00
jbj cab176172b - API: change dbi to pass by reference, not value.
- cram all of db1, db_185, and db2 interfaces into rpmlib.

CVS patchset: 3636
CVS date: 2000/03/23 15:49:50
2000-03-23 15:49:50 +00:00
jbj 853af666a2 Start rpm-3.1 development.
CVS patchset: 3625
CVS date: 2000/03/13 15:13:53
2000-03-13 15:13:53 +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 5c1b6d0ba6 simpler hpux.prov script (Tim Mooney).
CVS patchset: 3606
CVS date: 2000/03/02 20:21:10
2000-03-02 20:21:10 +00:00
jbj bda1f6866a Bump release (0.48).
CVS patchset: 3605
CVS date: 2000/03/01 17:28:32
2000-03-01 17:28:32 +00:00
jbj 81af2158e2 Add %changelog.
CVS patchset: 3603
CVS date: 2000/03/01 15:34:53
2000-03-01 15:34:53 +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 584a526575 Add changelog.
CVS patchset: 3601
CVS date: 2000/03/01 00:22:47
2000-03-01 00:22:47 +00:00
jbj 8aceebd817 Portability fiddles.
Rebuild with latest rpmmodule.so code.

CVS patchset: 3600
CVS date: 2000/02/29 23:22:44
2000-02-29 23:22:44 +00:00
jbj 19e47314ea More typos.
CVS patchset: 3597
CVS date: 2000/02/28 00:08:24
2000-02-28 00:08:24 +00:00
jbj 8853928d69 Typos.
CVS patchset: 3596
CVS date: 2000/02/27 23:57:14
2000-02-27 23:57:14 +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 2fdcb4810f Typo.
CVS patchset: 3594
CVS date: 2000/02/27 22:45:47
2000-02-27 22:45:47 +00:00
jbj 945d2cd8af i18n install is in /usr/lib not /usr/share for solaris2.6.
CVS patchset: 3592
CVS date: 2000/02/27 20:17:21
2000-02-27 20:17:21 +00:00
jbj 601d666d48 - fix: filter excluded paths before adding install prefixes (#8709).
- add i18n lookaside to PO catalogue(s) for i18n strings.
- try for /etc/rpm/macros.specspo so that specspo autoconfigures rpm.
- per-platform configuration factored into /usr/lib/rpm subdir.

CVS patchset: 3588
CVS date: 2000/02/25 16:29:44
2000-02-25 16:29:44 +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