Commit Graph

314 Commits

Author SHA1 Message Date
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 cf36c64d5e - python: initdb binding (Dan Burcaw <dburcaw@terraplex.com>).
CVS patchset: 3900
CVS date: 2000/06/22 16:37:14
2000-06-22 16:37:14 +00:00
jbj 308fcc70c7 - put version on rpmpopt filename to avoid legacy filename collision.
CVS patchset: 3898
CVS date: 2000/06/22 14:03:36
2000-06-22 14:03:36 +00:00
jbj e04385f3d9 - put version on rpmpopt filename to avoid legacy filename collision.
CVS patchset: 3897
CVS date: 2000/06/22 13:39:44
2000-06-22 13:39:44 +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 fab0493dbe - fix: don't expand macros in false branch of %if (kasal@suse.cz).
- fix: macro expansion problem and clean up (#11484) (kasal@suse.cz).

CVS patchset: 3885
CVS date: 2000/06/21 23:28:50
2000-06-21 23:28:50 +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 593b0c7874 - update brp-* scripts from rpm-4.0, enable in per-platform config.
- alpha: add -mieee to default optflags.

CVS patchset: 3876
CVS date: 2000/06/20 16:29:22
2000-06-20 16:29:22 +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 f365ff7022 fix: typo in brp-compress caused i18n man pages not to compress.
CVS patchset: 3870
CVS date: 2000/06/20 14:20:06
2000-06-20 14:20:06 +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 5a4c90ff29 - fix: don't count removed files if removed packages is empty set.
- fix: permit '\0' as special case key (e.g. "/" in Basenames).

CVS patchset: 3848
CVS date: 2000/06/14 14:21:06
2000-06-14 14:21:06 +00:00
jbj 89d947e449 - remove incremental link.
- portability: sparc-sun-solaris2.5.1.

CVS patchset: 3839
CVS date: 2000/06/13 10:00:08
2000-06-13 10:00:08 +00:00
jbj 29e3cfc24a - fix: avoid clobbering db cursor in removeBinaryPackage.
- expose cursors in dbi interfaces, remove internal cursors.

CVS patchset: 3836
CVS date: 2000/06/12 22:34:00
2000-06-12 22:34:00 +00:00
jbj 4afe94756b - make librpmio standalone.
CVS patchset: 3824
CVS date: 2000/06/09 21:24:37
2000-06-09 21:24:37 +00:00
jbj 6665bbbfc2 - create rpmio directory for librpmio.
CVS patchset: 3820
CVS date: 2000/06/07 23:25:41
2000-06-07 23:25:41 +00:00
jbj d307058775 Escape % in changelog.
CVS patchset: 3819
CVS date: 2000/06/06 23:32:34
2000-06-06 23:32:34 +00:00
jbj eba9095586 Repair db1 functionality.
Require db3 in default configuration.

CVS patchset: 3818
CVS date: 2000/06/06 20:06:09
2000-06-06 20:06:09 +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 89a54dc7a0 Add i390 noarch entry.
Make sure count is good when finding by label.

CVS patchset: 3806
CVS date: 2000/06/03 20:26:00
2000-06-03 20:26:00 +00:00
jbj bd18564430 Use %{_usr} not %{_prefix} for %_defaultdocdir path.
CVS patchset: 3791
CVS date: 2000/06/01 13:43:05
2000-06-01 13:43:05 +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 8e0b5929ee Duplicate query aliases onto rpmq.
CVS patchset: 3782
CVS date: 2000/05/31 17:39:01
2000-05-31 17:39:01 +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 ff0fe55299 Sanity (make dist).
CVS patchset: 3775
CVS date: 2000/05/31 09:07:05
2000-05-31 09:07:05 +00:00
msw c2751355b6 updated
CVS patchset: 3770
CVS date: 2000/05/31 03:36:25
2000-05-31 03:36:25 +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 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