pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases
Module Name: pkgsrc
Committed By: wiz
Date: Fri May 23 20:49:15 UTC 2014
Modified Files:
pkgsrc/databases/gdbm: Makefile Makefile.common PLIST distinfo
pkgsrc/databases/gdbm_compat: Makefile buildlink3.mk
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.
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 pkgsrc/databases/gdbm/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/gdbm/Makefile.common
cvs rdiff -u -r1.11 -r1.12 pkgsrc/databases/gdbm/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/databases/gdbm/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/databases/gdbm_compat/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/databases/gdbm_compat/buildlink3.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index