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 context 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,9 +1,8 @@
-# $NetBSD: Makefile,v 1.49 2013/04/08 11:17:10 rodent Exp $
+# $NetBSD: Makefile,v 1.50 2014/05/23 20:49:15 wiz Exp $
 
 .include "Makefile.common"
 
 COMMENT=	The GNU database manager
-PKGREVISION=	3
 
 PKG_INSTALLATION_TYPES=	overwrite pkgviews
 

cvs diff -r1.2 -r1.3 pkgsrc/databases/gdbm/Makefile.common (expand / switch to context 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,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.2 2012/01/08 09:22:52 adam Exp $
+# $NetBSD: Makefile.common,v 1.3 2014/05/23 20:49:15 wiz Exp $
 #
 # used by databases/gdbm/Makefile
 # used by databases/gdbm_compat/Makefile
 
-DISTNAME=	gdbm-1.10
+DISTNAME=	gdbm-1.11
 CATEGORIES=	databases
 MASTER_SITES=	${MASTER_SITE_GNU:=gdbm/}
 

cvs diff -r1.11 -r1.12 pkgsrc/databases/gdbm/PLIST (expand / switch to context 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 @@
-@comment $NetBSD: PLIST,v 1.11 2012/01/24 02:44:30 sbd Exp $
-bin/testgdbm
+@comment $NetBSD: PLIST,v 1.12 2014/05/23 20:49:15 wiz Exp $
+bin/gdbm_dump
+bin/gdbm_load
+bin/gdbmtool
 include/gdbm.h
 info/gdbm.info
 lib/libgdbm.la
+man/man1/gdbm_dump.1
+man/man1/gdbm_load.1
+man/man1/gdbmtool.1
 man/man3/gdbm.3
 share/locale/de/LC_MESSAGES/gdbm.mo
+share/locale/eo/LC_MESSAGES/gdbm.mo
 share/locale/fi/LC_MESSAGES/gdbm.mo
+share/locale/fr/LC_MESSAGES/gdbm.mo
 share/locale/ja/LC_MESSAGES/gdbm.mo
 share/locale/pl/LC_MESSAGES/gdbm.mo
+share/locale/pt_BR/LC_MESSAGES/gdbm.mo
+share/locale/sr/LC_MESSAGES/gdbm.mo
 share/locale/uk/LC_MESSAGES/gdbm.mo
+share/locale/vi/LC_MESSAGES/gdbm.mo

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

cvs diff -r1.5 -r1.6 pkgsrc/databases/gdbm_compat/Makefile (expand / switch to context 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,10 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2013/04/06 03:45:08 rodent Exp $
-#
+# $NetBSD: Makefile,v 1.6 2014/05/23 20:49:15 wiz Exp $
 
 .include "../../databases/gdbm/Makefile.common"
 
 PKGNAME=	${DISTNAME:S/-/_compat-/}
-PKGREVISION=	1
 
 COMMENT+=	Compat library for dbm and ndbm
 

cvs diff -r1.4 -r1.5 pkgsrc/databases/gdbm_compat/buildlink3.mk (expand / switch to context 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,5 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2012/01/24 09:10:51 sbd Exp $
-#
+# $NetBSD: buildlink3.mk,v 1.5 2014/05/23 20:49:15 wiz Exp $
 
 BUILDLINK_TREE+=	gdbm_compat