Fri May 23 20:49:15 2014 UTC ()
Update gdbm packages to 1.11, after martin@ diagnosed the compilation
problem. Thanks, martin!

Changes:
Version 1.11, 2013-12-25

* Improved dump format.

A new dump format is implemented, which encodes all data in base64 and
stores not only key/data pairs, but also the original database file
metadata, such as file name, mode and ownership.  Files in this format
can be sent without additional encapsulation over transmission
channels that normally allow only ASCII data.  Dumps in this format
allow for restoring an exact copy of the database, including file
ownership and privileges.

* New function: gdbm_count

    int gdbm_count (GDBM_FILE *file, gdbm_count *count);

Counts records in `file' and stores the result in the memory location
pointed to by `count'.

* New utilities: gdbm_dump and gdbm_load.

Gdbm_dump creates a plain-text dump of the GDBM database.  This dump
can be used to create an exact copy of the database afterward.

The gdbm_load performs the reverse: given the dump file, it creates a
GDBM database.  Apart from native GDBM dump formats, it also understands
the format generated by Berkeley DB db_dump utility.  Thus, an easy
way to convert a Berkeley DB database to GDBM is:

   db_dump input.db | gdbm_load output.db

* gdbmtool

The gdbmtool utility allows you to examine, modify or create GDBM
databases.  It provides an easy-to-use interactive shell and can
be used for scripting.  One of the unique features of gdbmtool is that
it allows to define datum structures for key and content parts, similarly
to the C "struct" declarations, and to input and display such
structured data.


(wiz)
diff -r1.49 -r1.50 pkgsrc/databases/gdbm/Makefile
diff -r1.2 -r1.3 pkgsrc/databases/gdbm/Makefile.common
diff -r1.11 -r1.12 pkgsrc/databases/gdbm/PLIST
diff -r1.8 -r1.9 pkgsrc/databases/gdbm/distinfo
diff -r1.5 -r1.6 pkgsrc/databases/gdbm_compat/Makefile
diff -r1.4 -r1.5 pkgsrc/databases/gdbm_compat/buildlink3.mk

cvs diff -r1.49 -r1.50 pkgsrc/databases/gdbm/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/gdbm/Makefile 2013/04/08 11:17:10 1.49
+++ pkgsrc/databases/gdbm/Makefile 2014/05/23 20:49:15 1.50
@@ -1,16 +1,15 @@ @@ -1,16 +1,15 @@
1# $NetBSD: Makefile,v 1.49 2013/04/08 11:17:10 rodent Exp $ 1# $NetBSD: Makefile,v 1.50 2014/05/23 20:49:15 wiz Exp $
2 2
3.include "Makefile.common" 3.include "Makefile.common"
4 4
5COMMENT= The GNU database manager 5COMMENT= The GNU database manager
6PKGREVISION= 3 
7 6
8PKG_INSTALLATION_TYPES= overwrite pkgviews 7PKG_INSTALLATION_TYPES= overwrite pkgviews
9 8
10INFO_FILES= yes 9INFO_FILES= yes
11MAKE_JOBS_SAFE= no 10MAKE_JOBS_SAFE= no
12 11
13.include "../../mk/bsd.prefs.mk" 12.include "../../mk/bsd.prefs.mk"
14 13
15.include "../../devel/gettext-lib/buildlink3.mk" 14.include "../../devel/gettext-lib/buildlink3.mk"
16.include "../../mk/bsd.pkg.mk" 15.include "../../mk/bsd.pkg.mk"

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

--- pkgsrc/databases/gdbm/Makefile.common 2012/01/08 09:22:52 1.2
+++ pkgsrc/databases/gdbm/Makefile.common 2014/05/23 20:49:15 1.3
@@ -1,19 +1,19 @@ @@ -1,19 +1,19 @@
1# $NetBSD: Makefile.common,v 1.2 2012/01/08 09:22:52 adam Exp $ 1# $NetBSD: Makefile.common,v 1.3 2014/05/23 20:49:15 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.10 6DISTNAME= gdbm-1.11
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= http://www.gnu.org/software/gdbm/gdbm.html 11HOMEPAGE= http://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
19GNU_CONFIGURE= yes 19GNU_CONFIGURE= yes

cvs diff -r1.11 -r1.12 pkgsrc/databases/gdbm/PLIST (expand / switch to unified diff)

--- pkgsrc/databases/gdbm/PLIST 2012/01/24 02:44:30 1.11
+++ pkgsrc/databases/gdbm/PLIST 2014/05/23 20:49:15 1.12
@@ -1,11 +1,21 @@ @@ -1,11 +1,21 @@
1@comment $NetBSD: PLIST,v 1.11 2012/01/24 02:44:30 sbd Exp $ 1@comment $NetBSD: PLIST,v 1.12 2014/05/23 20:49:15 wiz Exp $
2bin/testgdbm 2bin/gdbm_dump
 3bin/gdbm_load
 4bin/gdbmtool
3include/gdbm.h 5include/gdbm.h
4info/gdbm.info 6info/gdbm.info
5lib/libgdbm.la 7lib/libgdbm.la
 8man/man1/gdbm_dump.1
 9man/man1/gdbm_load.1
 10man/man1/gdbmtool.1
6man/man3/gdbm.3 11man/man3/gdbm.3
7share/locale/de/LC_MESSAGES/gdbm.mo 12share/locale/de/LC_MESSAGES/gdbm.mo
 13share/locale/eo/LC_MESSAGES/gdbm.mo
8share/locale/fi/LC_MESSAGES/gdbm.mo 14share/locale/fi/LC_MESSAGES/gdbm.mo
 15share/locale/fr/LC_MESSAGES/gdbm.mo
9share/locale/ja/LC_MESSAGES/gdbm.mo 16share/locale/ja/LC_MESSAGES/gdbm.mo
10share/locale/pl/LC_MESSAGES/gdbm.mo 17share/locale/pl/LC_MESSAGES/gdbm.mo
 18share/locale/pt_BR/LC_MESSAGES/gdbm.mo
 19share/locale/sr/LC_MESSAGES/gdbm.mo
11share/locale/uk/LC_MESSAGES/gdbm.mo 20share/locale/uk/LC_MESSAGES/gdbm.mo
 21share/locale/vi/LC_MESSAGES/gdbm.mo

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

--- pkgsrc/databases/gdbm/distinfo 2012/01/08 09:22:52 1.8
+++ pkgsrc/databases/gdbm/distinfo 2014/05/23 20:49:15 1.9
@@ -1,5 +1,11 @@ @@ -1,5 +1,11 @@
1$NetBSD: distinfo,v 1.8 2012/01/08 09:22:52 adam Exp $ 1$NetBSD: distinfo,v 1.9 2014/05/23 20:49:15 wiz Exp $
2 2
3SHA1 (gdbm-1.10.tar.gz) = 441201e9145f590ba613f8a1e952455d620e0860 3SHA1 (gdbm-1.11.tar.gz) = ce433d0f192c21d41089458ca5c8294efe9806b4
4RMD160 (gdbm-1.10.tar.gz) = 32207388952acc2e9123fd1fd1f8880031cfb8d6 4RMD160 (gdbm-1.11.tar.gz) = f3d38a31ed509fdbfe52674e55585c2e570938c5
5Size (gdbm-1.10.tar.gz) = 655599 bytes 5Size (gdbm-1.11.tar.gz) = 811662 bytes
 6SHA1 (patch-src_gdbmtool.c) = 3f96f09d42dc4942b55da698d4853a3f175e6a44
 7SHA1 (patch-src_gdbmtool.h) = 0301c08bbf66a3c4249bf32666f04a355803247b
 8SHA1 (patch-tests_create00.at) = 2ce3d6ebac588b25699a6f38b298d4fb63965714
 9SHA1 (patch-tests_dbmcreate00.at) = 5d5030b9ff6b9f5a4141abec82a066afba5c557f
 10SHA1 (patch-tests_dbmdel00.at) = 3a472a1b0b45e315823dc5a505ddd656f2d8c469
 11SHA1 (patch-tests_delete00.at) = 6ba7832eaf118d9b7380b0459ddcf786d497f431

cvs diff -r1.5 -r1.6 pkgsrc/databases/gdbm_compat/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/gdbm_compat/Makefile 2013/04/06 03:45:08 1.5
+++ pkgsrc/databases/gdbm_compat/Makefile 2014/05/23 20:49:15 1.6
@@ -1,20 +1,18 @@ @@ -1,20 +1,18 @@
1# $NetBSD: Makefile,v 1.5 2013/04/06 03:45:08 rodent Exp $ 1# $NetBSD: Makefile,v 1.6 2014/05/23 20:49:15 wiz Exp $
2# 
3 2
4.include "../../databases/gdbm/Makefile.common" 3.include "../../databases/gdbm/Makefile.common"
5 4
6PKGNAME= ${DISTNAME:S/-/_compat-/} 5PKGNAME= ${DISTNAME:S/-/_compat-/}
7PKGREVISION= 1 
8 6
9COMMENT+= Compat library for dbm and ndbm 7COMMENT+= Compat library for dbm and ndbm
10 8
11DEPENDS+= gdbm-${PKGVERSION_NOREV}{,nb[0-9]*}:../../databases/gdbm 9DEPENDS+= gdbm-${PKGVERSION_NOREV}{,nb[0-9]*}:../../databases/gdbm
12 10
13PKG_INSTALLATION_TYPES= overwrite pkgviews 11PKG_INSTALLATION_TYPES= overwrite pkgviews
14 12
15CONFIGURE_ARGS+= --enable-libgdbm-compat 13CONFIGURE_ARGS+= --enable-libgdbm-compat
16 14
17BUILD_DIRS= compat 15BUILD_DIRS= compat
18 16
19.include "../../databases/gdbm/buildlink3.mk" 17.include "../../databases/gdbm/buildlink3.mk"
20post-extract: 18post-extract:

cvs diff -r1.4 -r1.5 pkgsrc/databases/gdbm_compat/buildlink3.mk (expand / switch to unified diff)

--- pkgsrc/databases/gdbm_compat/buildlink3.mk 2012/01/24 09:10:51 1.4
+++ pkgsrc/databases/gdbm_compat/buildlink3.mk 2014/05/23 20:49:15 1.5
@@ -1,15 +1,14 @@ @@ -1,15 +1,14 @@
1# $NetBSD: buildlink3.mk,v 1.4 2012/01/24 09:10:51 sbd Exp $ 1# $NetBSD: buildlink3.mk,v 1.5 2014/05/23 20:49:15 wiz Exp $
2# 
3 2
4BUILDLINK_TREE+= gdbm_compat 3BUILDLINK_TREE+= gdbm_compat
5 4
6.if !defined(GDBM_COMPAT_BUILDLINK3_MK) 5.if !defined(GDBM_COMPAT_BUILDLINK3_MK)
7GDBM_COMPAT_BUILDLINK3_MK:= 6GDBM_COMPAT_BUILDLINK3_MK:=
8 7
9BUILDLINK_API_DEPENDS.gdbm_compat+= gdbm_compat>=1.8.3 8BUILDLINK_API_DEPENDS.gdbm_compat+= gdbm_compat>=1.8.3
10BUILDLINK_ABI_DEPENDS.gdbm_compat+= gdbm_compat>=1.10 9BUILDLINK_ABI_DEPENDS.gdbm_compat+= gdbm_compat>=1.10
11BUILDLINK_PKGSRCDIR.gdbm_compat?= ../../databases/gdbm_compat 10BUILDLINK_PKGSRCDIR.gdbm_compat?= ../../databases/gdbm_compat
12 11
13# Look like real ndbm. 12# Look like real ndbm.
14BUILDLINK_TRANSFORM+= l:ndbm:gdbm_compat:gdbm 13BUILDLINK_TRANSFORM+= l:ndbm:gdbm_compat:gdbm
15 14