platform/upstream/rpm.git
24 years agoMakeMaker file
rjray [Mon, 22 May 2000 08:36:41 +0000 (08:36 +0000)]
MakeMaker file

CVS patchset: 3744
CVS date: 2000/05/22 08:36:41

24 years agoBasic doc-related files
rjray [Mon, 22 May 2000 08:36:20 +0000 (08:36 +0000)]
Basic doc-related files

CVS patchset: 3743
CVS date: 2000/05/22 08:36:20

24 years agoCreate from rpm.c.
jbj [Thu, 18 May 2000 21:03:14 +0000 (21:03 +0000)]
Create from rpm.c.

CVS patchset: 3742
CVS date: 2000/05/18 21:03:14

24 years agoCasts for debugging messages.
jbj [Thu, 18 May 2000 14:06:48 +0000 (14:06 +0000)]
Casts for debugging messages.

CVS patchset: 3741
CVS date: 2000/05/18 14:06:48

24 years agoSanity (make dist).
jbj [Thu, 18 May 2000 13:00:51 +0000 (13:00 +0000)]
Sanity (make dist).

CVS patchset: 3740
CVS date: 2000/05/18 13:00:51

24 years ago2nd try at db1 -> db3 stable functionality.
jbj [Thu, 18 May 2000 12:58:27 +0000 (12:58 +0000)]
2nd try at db1 -> db3 stable functionality.

CVS patchset: 3739
CVS date: 2000/05/18 12:58:27

24 years agofix: don't change hardlink st_size.
jbj [Thu, 18 May 2000 12:11:51 +0000 (12:11 +0000)]
fix: don't change hardlink st_size.

CVS patchset: 3738
CVS date: 2000/05/18 12:11:51

24 years agofixup headers when loading them
msw [Wed, 17 May 2000 05:35:18 +0000 (05:35 +0000)]
fixup headers when loading them

CVS patchset: 3737
CVS date: 2000/05/17 05:35:18

24 years agofix prototypes
msw [Wed, 17 May 2000 03:12:10 +0000 (03:12 +0000)]
fix prototypes

CVS patchset: 3736
CVS date: 2000/05/17 03:12:10

24 years agofix prototypes
msw [Wed, 17 May 2000 02:43:01 +0000 (02:43 +0000)]
fix prototypes

CVS patchset: 3735
CVS date: 2000/05/17 02:43:01

24 years agoupdated
msw [Wed, 17 May 2000 02:37:59 +0000 (02:37 +0000)]
updated

CVS patchset: 3734
CVS date: 2000/05/17 02:37:59

24 years agobuild against glibc 2.2
msw [Wed, 17 May 2000 02:35:09 +0000 (02:35 +0000)]
build against glibc 2.2

CVS patchset: 3733
CVS date: 2000/05/17 02:35:09

24 years agorpmio madness
msw [Wed, 17 May 2000 02:34:42 +0000 (02:34 +0000)]
rpmio madness

CVS patchset: 3732
CVS date: 2000/05/17 02:34:42

24 years agobzip2 1.0
msw [Tue, 16 May 2000 20:22:59 +0000 (20:22 +0000)]
bzip2 1.0

CVS patchset: 3731
CVS date: 2000/05/16 20:22:59

24 years agoadd calculated nlink field to -qlv output (like ls -al).
jbj [Tue, 16 May 2000 18:32:49 +0000 (18:32 +0000)]
add calculated nlink field to -qlv output (like ls -al).

CVS patchset: 3730
CVS date: 2000/05/16 18:32:49

24 years agofix: (segfault) verify needs rpmdb while query does not.
jbj [Tue, 16 May 2000 17:10:13 +0000 (17:10 +0000)]
fix: (segfault) verify needs rpmdb while query does not.

CVS patchset: 3729
CVS date: 2000/05/16 17:10:13

24 years agoAdd builddependenciees.
jbj [Sat, 13 May 2000 19:06:41 +0000 (19:06 +0000)]
Add builddependenciees.

CVS patchset: 3728
CVS date: 2000/05/13 19:06:41

24 years agofix: sparc64 per-platform directory shouldn't be sparc64linux.
jbj [Sat, 13 May 2000 15:52:38 +0000 (15:52 +0000)]
fix: sparc64 per-platform directory shouldn't be sparc64linux.

CVS patchset: 3727
CVS date: 2000/05/13 15:52:38

24 years agofix stupid mistakes (alpha segfaults).
jbj [Fri, 12 May 2000 23:30:28 +0000 (23:30 +0000)]
fix stupid mistakes (alpha segfaults).

CVS patchset: 3726
CVS date: 2000/05/12 23:30:28

24 years agoRemiver compiler warnings on alpha.
jbj [Fri, 12 May 2000 23:12:15 +0000 (23:12 +0000)]
Remiver compiler warnings on alpha.

CVS patchset: 3725
CVS date: 2000/05/12 23:12:15

24 years agofix: define/eval options assumed sizeof(int) == sizeof(void *).
jbj [Fri, 12 May 2000 23:10:43 +0000 (23:10 +0000)]
fix: define/eval options assumed sizeof(int) == sizeof(void *).

CVS patchset: 3724
CVS date: 2000/05/12 23:10:43

24 years ago- include RPM-GPG-KEY in file manifest.
jbj [Wed, 10 May 2000 15:36:29 +0000 (15:36 +0000)]
- 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

24 years agoOrphans.
jbj [Mon, 8 May 2000 13:00:41 +0000 (13:00 +0000)]
Orphans.

CVS patchset: 3722
CVS date: 2000/05/08 13:00:41

24 years agohere's a patch to make rpm (3.1-0.14) work on current FreeBSD versions
jbj [Mon, 8 May 2000 12:24:23 +0000 (12:24 +0000)]
here's a patch to make rpm (3.1-0.14) work on current FreeBSD versions
(tried 4.0-RELEASE and 5.0-CURRENT).
It adds freebsdelf.prov and freebsdelf.req in autodeps, modifies brp-strip
and brp-strip-comment-note to work with find versions that don't support
-perm +something and strip versions that fail with an error when they
can't strip a file, and modifies the configure check for GNU glob to check
for GLOB_PERIOD additionally.
This is required because FreeBSD's glob has some (but not all) of the GNU
extensions, but doesn't work the way rpm assumes (segfault as soon as
globbing is used in %files); GLOB_PERIOD can be used to tell the BSD
version apart from the GNU one.

CVS patchset: 3721
CVS date: 2000/05/08 12:24:23

24 years agoRepair rebuilddb lossage, removing debug messages and final copy on user msgs.
jbj [Sun, 7 May 2000 00:53:11 +0000 (00:53 +0000)]
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

24 years agoDon't do initdb, as we don't know what dbapi to use.
jbj [Tue, 2 May 2000 19:37:01 +0000 (19:37 +0000)]
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

24 years agodon't call these header munges on null headers
msw [Tue, 2 May 2000 18:56:17 +0000 (18:56 +0000)]
don't call these header munges on null headers

CVS patchset: 3718
CVS date: 2000/05/02 18:56:17

24 years agocompress filelist, fixup provides
msw [Tue, 2 May 2000 18:07:59 +0000 (18:07 +0000)]
compress filelist, fixup provides

CVS patchset: 3717
CVS date: 2000/05/02 18:07:59

24 years agoinstallplatform: typo.
jbj [Tue, 2 May 2000 17:30:49 +0000 (17:30 +0000)]
installplatform: typo.

CVS patchset: 3716
CVS date: 2000/05/02 17:30:49

24 years agofix: don't generate sparc6464 names when creating platform directories.
jbj [Tue, 2 May 2000 16:09:15 +0000 (16:09 +0000)]
fix: don't generate sparc6464 names when creating platform directories.

CVS patchset: 3715
CVS date: 2000/05/02 16:09:15

24 years agoSanity (make dist).
jbj [Tue, 2 May 2000 08:54:01 +0000 (08:54 +0000)]
Sanity (make dist).

CVS patchset: 3714
CVS date: 2000/05/02 08:54:01

24 years agoRemove debugging messages.
jbj [Tue, 2 May 2000 08:45:07 +0000 (08:45 +0000)]
Remove debugging messages.

CVS patchset: 3713
CVS date: 2000/05/02 08:45:07

24 years agoAdd usedbenv (disabled) to use db3 as db1 was used.
jbj [Tue, 2 May 2000 08:30:31 +0000 (08:30 +0000)]
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

24 years agoRename db0.c to db1.c, resurrect db2.c (from db3.c).
jbj [Mon, 1 May 2000 17:50:35 +0000 (17:50 +0000)]
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

24 years agoDon't incrementally link pthreads, causes segfault on (at least) alpha.
jbj [Fri, 28 Apr 2000 15:14:47 +0000 (15:14 +0000)]
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

24 years ago- API: replace rpmdbUpdateRecord with rpmdbSetIteratorModified.
jbj [Thu, 27 Apr 2000 12:50:54 +0000 (12:50 +0000)]
- API: replace rpmdbUpdateRecord with rpmdbSetIteratorModified.

CVS patchset: 3706
CVS date: 2000/04/27 12:50:54

24 years agoSanity and API clean up. (make dist)
jbj [Thu, 27 Apr 2000 01:11:48 +0000 (01:11 +0000)]
Sanity and API clean up. (make dist)

CVS patchset: 3705
CVS date: 2000/04/27 01:11:48

24 years ago- API: replace rpmdbUpdateRecord with rpmdbRemove/rpmdbAdd.
jbj [Thu, 27 Apr 2000 00:10:28 +0000 (00:10 +0000)]
- API: replace rpmdbUpdateRecord with rpmdbRemove/rpmdbAdd.
- API: replace rpmdbFindByLabel with RPMDBI_LABEL iteration.
- API: replace rpmdbGetRecord with iterators.
- API: replace findMatches with iterators.

CVS patchset: 3704
CVS date: 2000/04/27 00:10:28

24 years agoRip out remaining legacy dbi interfaces.
jbj [Wed, 26 Apr 2000 14:06:16 +0000 (14:06 +0000)]
Rip out remaining legacy dbi interfaces.
Add flags to all calls.
Create dbi interface wrapper to vectors.

CVS patchset: 3701
CVS date: 2000/04/26 14:06:16

24 years agoFix popt/po/tr.po addition.
jbj [Tue, 25 Apr 2000 20:14:21 +0000 (20:14 +0000)]
Fix popt/po/tr.po addition.

CVS patchset: 3700
CVS date: 2000/04/25 20:14:21

24 years agoSanity (rebuild to check autoconf configuration in dist-7.0).
jbj [Tue, 25 Apr 2000 19:57:26 +0000 (19:57 +0000)]
Sanity (rebuild to check autoconf configuration in dist-7.0).

CVS patchset: 3699
CVS date: 2000/04/25 19:57:26

24 years agofix configure check
msw [Tue, 25 Apr 2000 19:50:02 +0000 (19:50 +0000)]
fix configure check

CVS patchset: 3698
CVS date: 2000/04/25 19:50:02

24 years agoSanity.
jbj [Tue, 25 Apr 2000 19:41:37 +0000 (19:41 +0000)]
Sanity.

CVS patchset: 3697
CVS date: 2000/04/25 19:41:37

24 years ago a little more work on the rpm module
msw [Tue, 25 Apr 2000 15:26:18 +0000 (15:26 +0000)]
 a little more work on the rpm module

CVS patchset: 3696
CVS date: 2000/04/25 15:26:18

24 years agoAdd Turkish translation (Fatih Demir <kabalak@gmx.net>)
jbj [Mon, 24 Apr 2000 16:57:40 +0000 (16:57 +0000)]
Add Turkish translation (Fatih Demir <kabalak@gmx.net>)

CVS patchset: 3695
CVS date: 2000/04/24 16:57:40

24 years agomake db indices as lightweight as possible, with per-dbi config.
jbj [Sun, 23 Apr 2000 20:37:57 +0000 (20:37 +0000)]
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

24 years agoTypo.
jbj [Fri, 21 Apr 2000 00:27:45 +0000 (00:27 +0000)]
Typo.

CVS patchset: 3693
CVS date: 2000/04/21 00:27:45

24 years agoSanity.
jbj [Fri, 21 Apr 2000 00:23:18 +0000 (00:23 +0000)]
Sanity.

CVS patchset: 3692
CVS date: 2000/04/21 00:23:18

24 years agofix: legacy packages required provides EVR/Flags to be added.
jbj [Fri, 21 Apr 2000 00:21:15 +0000 (00:21 +0000)]
fix: legacy packages required provides EVR/Flags to be added.
fix: generating provides EVER was broke with epoch.
db3 tuned for installer speed (i.e. no locking, create/remove on fly).
add new_db_api and old_db_api macros to control precisely for db version used.

CVS patchset: 3691
CVS date: 2000/04/21 00:21:15

24 years agoSanity (build 0.8).
jbj [Thu, 20 Apr 2000 12:46:38 +0000 (12:46 +0000)]
Sanity (build 0.8).

CVS patchset: 3690
CVS date: 2000/04/20 12:46:38

24 years agoSanity (re-adding rpm-python).
jbj [Thu, 20 Apr 2000 11:54:03 +0000 (11:54 +0000)]
Sanity (re-adding rpm-python).

CVS patchset: 3689
CVS date: 2000/04/20 11:54:03

24 years agomatch iterator support
msw [Thu, 20 Apr 2000 00:21:31 +0000 (00:21 +0000)]
match iterator support

CVS patchset: 3688
CVS date: 2000/04/20 00:21:31

24 years agoChange iterator interface to use RPMTAG_FOO rather than RPMDBI_FOO.
jbj [Wed, 19 Apr 2000 22:15:02 +0000 (22:15 +0000)]
Change iterator interface to use RPMTAG_FOO rather than RPMDBI_FOO.

CVS patchset: 3687
CVS date: 2000/04/19 22:15:02

24 years agoSanity.
jbj [Wed, 19 Apr 2000 16:59:02 +0000 (16:59 +0000)]
Sanity.

CVS patchset: 3686
CVS date: 2000/04/19 16:59:02

24 years agoHi!
jbj [Wed, 19 Apr 2000 16:03:49 +0000 (16:03 +0000)]
Hi!
I'd like to start building sparc64 packages (eventhough the install rule
details are yet to be designed - IMHO if 64bit SPARC userland is going into
7.0 we should rebuild all packages into 64bit in the next months or so to
have time to chase bugs etc.), and this is about what I need.
Basically I'd like to have %{_lib} to stand for the last part (normally
"lib") of dirname for directories like /lib, /usr/lib, /usr/X11R6/lib
because on sparc64-linux they are /lib64, /usr/lib64, /usr/X11R6/lib64 (and
on Solaris /lib/sparcv9, /usr/lib/sparcv9 etc.), so that one can use things
like
/usr/%{_lib} in the spec files.
Another thing which I need is an arch specific build root policy.
This patch does a few things:
1) add installplatform into EXTRA_DIST files, so that it is actually invoked
   during rpm build not from CVS
2) Define %_lib lib and let target specific macros override it
3) Split __spec_install_post into __arch_install_post and __os_install_post,
   --buildpolicy now specifies the __os_install_post part only. spec files
   can still override the __arch_install_post if the want to.
   brp-sparc64-linux is used to move 64bit libraries to */lib64 directories
   from */lib directories if make install of some package left them there.
4) Change installplatform so that on sparc* it creates both sparc and
   sparc64 target macro dirs (/usr/lib/rpm/sparc{,64}-redhat-linux in
   sparc*-redhat-linux case).

CVS patchset: 3685
CVS date: 2000/04/19 16:03:49

24 years agoData size of index databases now per-index (was always 8 bytes).
jbj [Wed, 19 Apr 2000 15:26:10 +0000 (15:26 +0000)]
Data size of index databases now per-index (was always 8 bytes).
Global rpm data base parameterization used per-index.

CVS patchset: 3684
CVS date: 2000/04/19 15:26:10

24 years agoConsolidate changes into rpmdb.c.
jbj [Tue, 18 Apr 2000 18:11:43 +0000 (18:11 +0000)]
Consolidate changes into rpmdb.c.

CVS patchset: 3683
CVS date: 2000/04/18 18:11:43

24 years agoEliminate, contents moved to rpmdb.c/rpmdb.h.
jbj [Tue, 18 Apr 2000 17:23:21 +0000 (17:23 +0000)]
Eliminate, contents moved to rpmdb.c/rpmdb.h.

CVS patchset: 3682
CVS date: 2000/04/18 17:23:21

24 years agoPrepare to move contents to rpmdb.c/rpmdb.h
jbj [Tue, 18 Apr 2000 17:22:37 +0000 (17:22 +0000)]
Prepare to move contents to rpmdb.c/rpmdb.h

CVS patchset: 3681
CVS date: 2000/04/18 17:22:37

24 years agoStart composting db interfaces.
jbj [Mon, 17 Apr 2000 12:28:58 +0000 (12:28 +0000)]
Start composting db interfaces.

CVS patchset: 3680
CVS date: 2000/04/17 12:28:58

24 years agofix: cpio.c: pre-, not post-, decrement the link count.
jbj [Sat, 15 Apr 2000 20:21:15 +0000 (20:21 +0000)]
fix: cpio.c: pre-, not post-, decrement the link count.
(from Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>)

CVS patchset: 3679
CVS date: 2000/04/15 20:21:15

24 years agoadd explcit "Provides: name = [epoch:]version-release" to headers.
jbj [Thu, 13 Apr 2000 17:59:10 +0000 (17:59 +0000)]
add explcit "Provides: name = [epoch:]version-release" to headers.

CVS patchset: 3678
CVS date: 2000/04/13 17:59:10

24 years agoSanity (bump release).
jbj [Thu, 13 Apr 2000 16:00:34 +0000 (16:00 +0000)]
Sanity (bump release).

CVS patchset: 3677
CVS date: 2000/04/13 16:00:34

24 years agoRemove rpmdbFindByFile from API (and fix RPMDBI_FILE iterator).
jbj [Thu, 13 Apr 2000 12:43:49 +0000 (12:43 +0000)]
Remove rpmdbFindByFile from API (and fix RPMDBI_FILE iterator).

CVS patchset: 3676
CVS date: 2000/04/13 12:43:49

24 years agoInsure that EXIT_FAILURE is defined (irix6.5).
jbj [Thu, 13 Apr 2000 10:41:31 +0000 (10:41 +0000)]
Insure that EXIT_FAILURE is defined (irix6.5).

CVS patchset: 3675
CVS date: 2000/04/13 10:41:31

24 years agoThe death of rpmdbFindBy{Provides,RequiredBy,Conflicts}.
jbj [Thu, 13 Apr 2000 10:11:32 +0000 (10:11 +0000)]
The death of rpmdbFindBy{Provides,RequiredBy,Conflicts}.

CVS patchset: 3674
CVS date: 2000/04/13 10:11:32

24 years agoThe death of rpmdbFindBy{Group,TriggeredBy,Header}.
jbj [Thu, 13 Apr 2000 09:07:08 +0000 (09:07 +0000)]
The death of rpmdbFindBy{Group,TriggeredBy,Header}.

CVS patchset: 3673
CVS date: 2000/04/13 09:07:08

24 years agoConvert to rpm-3.1 API.
jbj [Wed, 12 Apr 2000 18:21:40 +0000 (18:21 +0000)]
Convert to rpm-3.1 API.

CVS patchset: 3672
CVS date: 2000/04/12 18:21:40

24 years agoMake sure that match iterators can be called with mi = NULL.
jbj [Wed, 12 Apr 2000 16:31:51 +0000 (16:31 +0000)]
Make sure that match iterators can be called with mi = NULL.
Remove DYING code.

CVS patchset: 3671
CVS date: 2000/04/12 16:31:51

24 years agoRemove DYING code.
jbj [Wed, 12 Apr 2000 16:30:46 +0000 (16:30 +0000)]
Remove DYING code.

CVS patchset: 3670
CVS date: 2000/04/12 16:30:46

24 years agoPass key as void *, not char *.
jbj [Wed, 12 Apr 2000 16:29:03 +0000 (16:29 +0000)]
Pass key as void *, not char *.

CVS patchset: 3669
CVS date: 2000/04/12 16:29:03

24 years agoAPI: pass *SearchIndex() length of key (0 will use strlen(key)).
jbj [Wed, 12 Apr 2000 13:42:57 +0000 (13:42 +0000)]
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

24 years ago- treat legacy falloc.c as "special" db[01] index for package headers.
jbj [Tue, 11 Apr 2000 16:15:54 +0000 (16:15 +0000)]
- treat legacy falloc.c as "special" db[01] index for package headers.

CVS patchset: 3667
CVS date: 2000/04/11 16:15:54

24 years agomake header db a "special" type of index database in db0, hiding falloc.c.
jbj [Tue, 11 Apr 2000 15:28:07 +0000 (15:28 +0000)]
make header db a "special" type of index database in db0, hiding falloc.c.
header retrieval from db does not guarantee any alignment.
eliminate dbiGetFirstKey method in db vectors.
add db{copen,cclose,cget,join} methods in db vectors.
clean up __db.NNN files from failed db3 open.

CVS patchset: 3666
CVS date: 2000/04/11 15:28:07

24 years agofix: dbiCloseIndex not called (typo).
jbj [Sat, 8 Apr 2000 21:36:02 +0000 (21:36 +0000)]
fix: dbiCloseIndex not called (typo).
dump db1 and db2 for now.

CVS patchset: 3665
CVS date: 2000/04/08 21:36:02

24 years agoHash package headers using simple counter.
jbj [Sat, 8 Apr 2000 19:28:08 +0000 (19:28 +0000)]
Hash package headers using simple counter.

CVS patchset: 3664
CVS date: 2000/04/08 19:28:08

24 years agofix: rpmdbCountPackages should pass by reference, not value.
jbj [Fri, 7 Apr 2000 16:24:43 +0000 (16:24 +0000)]
fix: rpmdbCountPackages should pass by reference, not value.

CVS patchset: 3663
CVS date: 2000/04/07 16:24:43

24 years agouse "rpmdb db" consistently throughout, add doxygen tags.
jbj [Fri, 7 Apr 2000 16:09:25 +0000 (16:09 +0000)]
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

24 years agosolaris2.6: avoid bsearch with empty dir list (Ric Klaren - klaren@cs.utwente.nl)
jbj [Fri, 7 Apr 2000 13:10:37 +0000 (13:10 +0000)]
solaris2.6: avoid bsearch with empty dir list (Ric Klaren - klaren@cs.utwente.nl)

CVS patchset: 3661
CVS date: 2000/04/07 13:10:37

24 years agouse hashed access for package headers.
jbj [Thu, 6 Apr 2000 15:20:29 +0000 (15:20 +0000)]
use hashed access for package headers.

CVS patchset: 3660
CVS date: 2000/04/06 15:20:29

24 years agoSanity.
jbj [Tue, 4 Apr 2000 10:10:47 +0000 (10:10 +0000)]
Sanity.

CVS patchset: 3659
CVS date: 2000/04/04 10:10:47

24 years agoPermit dboffsets in hex and octal.
jbj [Tue, 4 Apr 2000 09:27:48 +0000 (09:27 +0000)]
Permit dboffsets in hex and octal.

CVS patchset: 3658
CVS date: 2000/04/04 09:27:48

24 years agoSanity.
jbj [Mon, 3 Apr 2000 14:36:39 +0000 (14:36 +0000)]
Sanity.

CVS patchset: 3657
CVS date: 2000/04/03 14:36:39

24 years agoAdd variable to control dbenv teardown on close.
jbj [Mon, 3 Apr 2000 14:31:12 +0000 (14:31 +0000)]
Add variable to control dbenv teardown on close.

CVS patchset: 3656
CVS date: 2000/04/03 14:31:12

24 years agoPermit db3 paramaters from macro.
jbj [Mon, 3 Apr 2000 14:30:24 +0000 (14:30 +0000)]
Permit db3 paramaters from macro.
Permit private dbcursor (but this will go away soon).

CVS patchset: 3655
CVS date: 2000/04/03 14:30:24

24 years agoIndicate that dbenv should be trashed after a rebuild.
jbj [Mon, 3 Apr 2000 14:27:21 +0000 (14:27 +0000)]
Indicate that dbenv should be trashed after a rebuild.

CVS patchset: 3654
CVS date: 2000/04/03 14:27:21

24 years agoReplace individual dbi pointers with an array.
jbj [Mon, 3 Apr 2000 14:26:46 +0000 (14:26 +0000)]
Replace individual dbi pointers with an array.

CVS patchset: 3653
CVS date: 2000/04/03 14:26:46

24 years agoPrefer db3.
jbj [Mon, 3 Apr 2000 14:24:55 +0000 (14:24 +0000)]
Prefer db3.

CVS patchset: 3652
CVS date: 2000/04/03 14:24:55

24 years agoBump popt sub-package version.
jbj [Mon, 3 Apr 2000 14:24:30 +0000 (14:24 +0000)]
Bump popt sub-package version.

CVS patchset: 3651
CVS date: 2000/04/03 14:24:30

24 years agoGet the database permissions right.
jbj [Fri, 31 Mar 2000 17:23:13 +0000 (17:23 +0000)]
Get the database permissions right.

CVS patchset: 3650
CVS date: 2000/03/31 17:23:13

24 years agoAs erik mentioned, here is a patch. It makes it so packages don't get searched
jbj [Fri, 31 Mar 2000 17:16:36 +0000 (17:16 +0000)]
As erik mentioned, here is a patch. It makes it so packages don't get searched
to find directories which were improperly assigned in broken spec file file
+lists,
causing, for example, KDE to be installed on an upgrade from 6.1 to 6.2 when
KDE was not previously installed...

CVS patchset: 3649
CVS date: 2000/03/31 17:16:36

24 years ago- try for db3 DB_INIT_CDB model.
jbj [Fri, 31 Mar 2000 14:55:23 +0000 (14:55 +0000)]
- try for db3 DB_INIT_CDB model.

CVS patchset: 3648
CVS date: 2000/03/31 14:55:23

24 years agodb3 configured for testing with (DB_INIT_MPOOL|DB_INIT_CDB|DB_SYSTEM_MEM).
jbj [Fri, 31 Mar 2000 14:33:40 +0000 (14:33 +0000)]
db3 configured for testing with (DB_INIT_MPOOL|DB_INIT_CDB|DB_SYSTEM_MEM).

CVS patchset: 3647
CVS date: 2000/03/31 14:33:40

24 years agofix: duplicate free in db3.
jbj [Fri, 31 Mar 2000 09:33:17 +0000 (09:33 +0000)]
fix: duplicate free in db3.
Use Berkeley "home" db directory with relative rather than absolute paths.

CVS patchset: 3646
CVS date: 2000/03/31 09:33:17

24 years agoMostly functional db2 interface, db3 still has problems.
jbj [Thu, 30 Mar 2000 19:22:46 +0000 (19:22 +0000)]
Mostly functional db2 interface, db3 still has problems.

CVS patchset: 3645
CVS date: 2000/03/30 19:22:46

24 years agofix: move free after error message that needs data.
jbj [Thu, 30 Mar 2000 19:21:09 +0000 (19:21 +0000)]
fix: move free after error message that needs data.

CVS patchset: 3644
CVS date: 2000/03/30 19:21:09

24 years agoadd db3 to the pile, isolate all with incremental link and vectors.
jbj [Mon, 27 Mar 2000 15:55:07 +0000 (15:55 +0000)]
add db3 to the pile, isolate all with incremental link and vectors.

CVS patchset: 3643
CVS date: 2000/03/27 15:55:07

24 years agoCompilation with db3.
jbj [Mon, 27 Mar 2000 11:13:25 +0000 (11:13 +0000)]
Compilation with db3.

CVS patchset: 3642
CVS date: 2000/03/27 11:13:25

24 years agoAdd --preferdb for now to permit testing db0/db1/db2.
jbj [Sun, 26 Mar 2000 22:45:02 +0000 (22:45 +0000)]
Add --preferdb for now to permit testing db0/db1/db2.

CVS patchset: 3641
CVS date: 2000/03/26 22:45:02

24 years agoBump version to next release.
jbj [Fri, 24 Mar 2000 22:12:59 +0000 (22:12 +0000)]
Bump version to next release.

CVS patchset: 3640
CVS date: 2000/03/24 22:12:59