./databases/gdbm, The GNU database manager

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.24, Package name: gdbm-1.24, Maintainer: pkgsrc-users

GNU `dbm' is a library of functions implementing a hashed database
on a disk file. The software was written by Philip A. Nelson.


Required to run:
[devel/readline]


Package options: nls

Master sites: (Expand)

Filesize: 1167.901 KB

Version history: (Expand)


CVS history: (Expand)


   2025-01-11 14:57:43 by Ryo ONODERA | Files touched by this commit (3) | Package updated
Log message:
databases/{gdbm,gdbm_compat}: Update to 1.24

Changelog:
1.24:
New gdbm_load option: --update

The --update (-U) option instructs gdbm_load to update an existing database.

Fix semantics of gdbm_load -r

The --replace (-r) is valid only when used together with --update.

Use getline in gdbmtool shell

New function: gdbm_load_from_file_ext

In contrast to gdbm_load and gdbm_load_from_file, which derive the value of the \ 
flag parameter for gdbm_open from the value of their replace argument, this \ 
function allows the caller to specify it explicitly.

Bugfixes

 *  Fix binary dump format for key and/or data of zero size (see bug #565)
 *  Fix location tracking and recover command in gdbtool (see bug #566)
 *  Fix possible buffer underflow in gdbmload.
 *  Ensure any padding bytes in avail_elem structure are filled with 0. This \ 
fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031276.
 *  Improve the documentation
   2024-05-02 10:10:18 by Aleksey Cheusov | Files touched by this commit (1)
Log message:
Sync including devel/gettext-lib/buildlink3.mk in buildlink3.mk and Makefile
   2024-05-02 00:06:33 by Aleksey Cheusov | Files touched by this commit (3)
Log message:
Add option "nls" enabled by default
   2022-02-15 10:26:47 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
gdbm: update to 1.23.

Version 1.23, 2022-02-04

* Bucket cache switched from balanced tree to hash table

Change suggested by Terence Kelly.

* Speed up flushing the changed buckets on disk

* New option codes for gdbm_setopt

** GDBM_GETDBFORMAT

Return the database format.

** GDBM_GETDIRDEPTH

Return the directory depth, i.e. the number of initial (most significant)
bits in hash value that are interpreted as index to the directory.

** GDBM_GETBUCKETSIZE

Return maximum number of keys per bucket.

** GDBM_GETCACHEAUTO

Return the status of the automatic cache adjustment.

** GDBM_SETCACHEAUTO

Enable or disable automatic cache adjustment.
   2021-11-01 19:37:06 by Thomas Klausner | Files touched by this commit (6) | Package removed
Log message:
gdbm: update to 1.22.

Version 1.22

* Fix file header validation

* Fix key verification in sequential access

* Fix testing with DejaGNU 1.6.3

* Fix stack overflow in print_usage

* Fix a leak of avail entry on pushing a new avail block

The leak would occur if the original avail table had odd number of entries.

* New gdbmtool variables: errorexit, errormask, trace, timing

"Errorexit" and "errormask" control which GDBM errors would \ 
cause the
program termination and emitting a diagnostic message,
correspondingly.  Both variables are comma-delimited lists of error
codes.

The "trace" variable enables tracing of the gdbmtool commands.

The "timing" variable, when set, instructs gdbmtool to print time
spent in each command it runs.

* New gdbmtool options: -t (--trace), and -T (--timing)
   2021-10-26 12:10:08 by Nia Alarie | Files touched by this commit (417)
Log message:
databases: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles could not be fetched (some may be only fetched
conditionally):

./databases/cstore/distinfo D6.data.ros.gz
./databases/cstore/distinfo cstore0.2.tar.gz
./databases/cstore/distinfo data4.tar.gz
   2021-10-07 15:35:53 by Nia Alarie | Files touched by this commit (417)
Log message:
databases: Remove SHA1 distfile hashes
   2021-09-14 15:32:50 by Amitai Schleier | Files touched by this commit (5)
Log message:
Apply upstream patch 32517af7 to check for st_mtim in struct stat. Fixes
macOS build.