Subject: CVS commit: pkgsrc/databases
From: Thomas Klausner
Date: 2014-05-23 22:49:15
Message id: 20140523204915.5EC4396@cvs.netbsd.org

Log Message:
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.

Files:
RevisionActionfile
1.50modifypkgsrc/databases/gdbm/Makefile
1.3modifypkgsrc/databases/gdbm/Makefile.common
1.12modifypkgsrc/databases/gdbm/PLIST
1.9modifypkgsrc/databases/gdbm/distinfo
1.6modifypkgsrc/databases/gdbm_compat/Makefile
1.5modifypkgsrc/databases/gdbm_compat/buildlink3.mk