Tue Feb 15 09:26:47 2022 UTC ()
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.


(wiz)
diff -r1.12 -r1.13 pkgsrc/databases/gdbm/Makefile.common
diff -r1.22 -r1.23 pkgsrc/databases/gdbm/distinfo
diff -r1.1 -r0 pkgsrc/databases/gdbm/patches/patch-src_Makefile.in

cvs diff -r1.12 -r1.13 pkgsrc/databases/gdbm/Makefile.common (expand / switch to unified diff)

--- pkgsrc/databases/gdbm/Makefile.common 2021/11/01 18:37:05 1.12
+++ pkgsrc/databases/gdbm/Makefile.common 2022/02/15 09:26:46 1.13
@@ -1,21 +1,22 @@ @@ -1,21 +1,22 @@
1# $NetBSD: Makefile.common,v 1.12 2021/11/01 18:37:05 wiz Exp $ 1# $NetBSD: Makefile.common,v 1.13 2022/02/15 09:26:46 wiz Exp $
2# 2#
3# used by databases/gdbm/Makefile 3# used by databases/gdbm/Makefile
4# used by databases/gdbm_compat/Makefile 4# used by databases/gdbm_compat/Makefile
5 5
6DISTNAME= gdbm-1.22 6DISTNAME= gdbm-1.23
7CATEGORIES= databases 7CATEGORIES= databases
8MASTER_SITES= ${MASTER_SITE_GNU:=gdbm/} 8MASTER_SITES= ${MASTER_SITE_GNU:=gdbm/}
9 9
10MAINTAINER?= pkgsrc-users@NetBSD.org 10MAINTAINER?= pkgsrc-users@NetBSD.org
11HOMEPAGE= https://www.gnu.org/software/gdbm/gdbm.html 11HOMEPAGE= https://www.gnu.org/software/gdbm/gdbm.html
12COMMENT= The GNU database manager 12COMMENT= The GNU database manager
13LICENSE= gnu-gpl-v3 13LICENSE= gnu-gpl-v3
14 14
15DISTINFO_FILE= ${.CURDIR}/../../databases/gdbm/distinfo 15DISTINFO_FILE= ${.CURDIR}/../../databases/gdbm/distinfo
16PATCHDIR= ${.CURDIR}/../../databases/gdbm/patches 16PATCHDIR= ${.CURDIR}/../../databases/gdbm/patches
17 17
18USE_LIBTOOL= yes 18USE_LIBTOOL= yes
 19USE_TOOLS+= gmake
19GNU_CONFIGURE= yes 20GNU_CONFIGURE= yes
20 21
21TEST_TARGET= check 22TEST_TARGET= check

cvs diff -r1.22 -r1.23 pkgsrc/databases/gdbm/distinfo (expand / switch to unified diff)

--- pkgsrc/databases/gdbm/distinfo 2021/11/01 18:37:05 1.22
+++ pkgsrc/databases/gdbm/distinfo 2022/02/15 09:26:46 1.23
@@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
1$NetBSD: distinfo,v 1.22 2021/11/01 18:37:05 wiz Exp $ 1$NetBSD: distinfo,v 1.23 2022/02/15 09:26:46 wiz Exp $
2 2
3BLAKE2s (gdbm-1.22.tar.gz) = c7562c7d917b7144d139e6746a7db3c3a57e83c6b4e8afa3b2868770025aa80c 3BLAKE2s (gdbm-1.23.tar.gz) = 569fadc9e8913bb217b666995f2673e29846602069d04b23cec02aed12dfbb7c
4SHA512 (gdbm-1.22.tar.gz) = 67461fc4f41e825d0134175ff99c913ccb4aa7ea3d0f64f32bdedbc7677b3ecabd2c525ac6b2ee47a9561e002e4224e492b72088d57bb4862a1f8c089521ec51 4SHA512 (gdbm-1.23.tar.gz) = 918080cb0225b221c11eb7339634a95e00c526072395f7a3d46ccf42ef020dea7c4c5bec34aff2c4f16033e1fff6583252b7e978f68b8d7f8736b0e025838e10
5Size (gdbm-1.22.tar.gz) = 1090100 bytes 5Size (gdbm-1.23.tar.gz) = 1115854 bytes
6SHA1 (patch-src_Makefile.in) = 52b47f3dcd381143d1cdae40f1972bd989dcce1f 

File Deleted: pkgsrc/databases/gdbm/patches/Attic/patch-src_Makefile.in