head 1.15; access; symbols pkgsrc-2023Q4:1.15.0.24 pkgsrc-2023Q4-base:1.15 pkgsrc-2023Q3:1.15.0.22 pkgsrc-2023Q3-base:1.15 pkgsrc-2023Q2:1.15.0.20 pkgsrc-2023Q2-base:1.15 pkgsrc-2023Q1:1.15.0.18 pkgsrc-2023Q1-base:1.15 pkgsrc-2022Q4:1.15.0.16 pkgsrc-2022Q4-base:1.15 pkgsrc-2022Q3:1.15.0.14 pkgsrc-2022Q3-base:1.15 pkgsrc-2022Q2:1.15.0.12 pkgsrc-2022Q2-base:1.15 pkgsrc-2022Q1:1.15.0.10 pkgsrc-2022Q1-base:1.15 pkgsrc-2021Q4:1.15.0.8 pkgsrc-2021Q4-base:1.15 pkgsrc-2021Q3:1.15.0.6 pkgsrc-2021Q3-base:1.15 pkgsrc-2021Q2:1.15.0.4 pkgsrc-2021Q2-base:1.15 pkgsrc-2021Q1:1.15.0.2 pkgsrc-2021Q1-base:1.15 pkgsrc-2020Q4:1.14.0.4 pkgsrc-2020Q4-base:1.14 pkgsrc-2020Q3:1.14.0.2 pkgsrc-2020Q3-base:1.14 pkgsrc-2020Q2:1.13.0.26 pkgsrc-2020Q2-base:1.13 pkgsrc-2020Q1:1.13.0.6 pkgsrc-2020Q1-base:1.13 pkgsrc-2019Q4:1.13.0.28 pkgsrc-2019Q4-base:1.13 pkgsrc-2019Q3:1.13.0.24 pkgsrc-2019Q3-base:1.13 pkgsrc-2019Q2:1.13.0.22 pkgsrc-2019Q2-base:1.13 pkgsrc-2019Q1:1.13.0.20 pkgsrc-2019Q1-base:1.13 pkgsrc-2018Q4:1.13.0.18 pkgsrc-2018Q4-base:1.13 pkgsrc-2018Q3:1.13.0.16 pkgsrc-2018Q3-base:1.13 pkgsrc-2018Q2:1.13.0.14 pkgsrc-2018Q2-base:1.13 pkgsrc-2018Q1:1.13.0.12 pkgsrc-2018Q1-base:1.13 pkgsrc-2017Q4:1.13.0.10 pkgsrc-2017Q4-base:1.13 pkgsrc-2017Q3:1.13.0.8 pkgsrc-2017Q3-base:1.13 pkgsrc-2017Q2:1.13.0.4 pkgsrc-2017Q2-base:1.13 pkgsrc-2017Q1:1.13.0.2 pkgsrc-2017Q1-base:1.13 pkgsrc-2016Q4:1.12.0.22 pkgsrc-2016Q4-base:1.12 pkgsrc-2016Q3:1.12.0.20 pkgsrc-2016Q3-base:1.12 pkgsrc-2016Q2:1.12.0.18 pkgsrc-2016Q2-base:1.12 pkgsrc-2016Q1:1.12.0.16 pkgsrc-2016Q1-base:1.12 pkgsrc-2015Q4:1.12.0.14 pkgsrc-2015Q4-base:1.12 pkgsrc-2015Q3:1.12.0.12 pkgsrc-2015Q3-base:1.12 pkgsrc-2015Q2:1.12.0.10 pkgsrc-2015Q2-base:1.12 pkgsrc-2015Q1:1.12.0.8 pkgsrc-2015Q1-base:1.12 pkgsrc-2014Q4:1.12.0.6 pkgsrc-2014Q4-base:1.12 pkgsrc-2014Q3:1.12.0.4 pkgsrc-2014Q3-base:1.12 pkgsrc-2014Q2:1.12.0.2 pkgsrc-2014Q2-base:1.12 pkgsrc-2014Q1:1.11.0.18 pkgsrc-2014Q1-base:1.11 pkgsrc-2013Q4:1.11.0.16 pkgsrc-2013Q4-base:1.11 pkgsrc-2013Q3:1.11.0.14 pkgsrc-2013Q3-base:1.11 pkgsrc-2013Q2:1.11.0.12 pkgsrc-2013Q2-base:1.11 pkgsrc-2013Q1:1.11.0.10 pkgsrc-2013Q1-base:1.11 pkgsrc-2012Q4:1.11.0.8 pkgsrc-2012Q4-base:1.11 pkgsrc-2012Q3:1.11.0.6 pkgsrc-2012Q3-base:1.11 pkgsrc-2012Q2:1.11.0.4 pkgsrc-2012Q2-base:1.11 pkgsrc-2012Q1:1.11.0.2 pkgsrc-2012Q1-base:1.11 pkgsrc-2011Q4:1.8.0.4 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.8.0.2 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.7.0.46 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.44 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.42 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.40 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.38 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.36 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.34 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.32 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.30 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.28 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.7.0.26 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.24 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.22 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.20 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.18 pkgsrc-2008Q1:1.7.0.16 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.14 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.12 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.10 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.8 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.6 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.4 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.2 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.6.0.12 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.10 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.8 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.6 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.4 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.2 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.5.0.6 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.4 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.5.0.2 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.3.0.2 netbsd-1-6-1-base:1.3 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2; locks; strict; comment @# @; 1.15 date 2021.01.04.10.41.13; author wiz; state Exp; branches; next 1.14; commitid TzGUwFATIg0eGoCC; 1.14 date 2020.08.24.07.59.02; author wiz; state Exp; branches; next 1.13; commitid C3dOxKaC4weE3ilC; 1.13 date 2017.03.20.06.02.26; author adam; state Exp; branches; next 1.12; commitid H0uygYziLiiKGfKz; 1.12 date 2014.05.23.20.49.15; author wiz; state Exp; branches; next 1.11; commitid 0kj6Pi1IabHsLHBx; 1.11 date 2012.01.24.02.44.30; author sbd; state Exp; branches; next 1.10; 1.10 date 2012.01.24.00.28.17; author abs; state Exp; branches; next 1.9; 1.9 date 2012.01.23.07.04.15; author sbd; state Exp; branches; next 1.8; 1.8 date 2011.08.17.07.17.15; author adam; state Exp; branches; next 1.7; 1.7 date 2006.03.30.03.44.41; author jlam; state Exp; branches; next 1.6; 1.6 date 2004.09.22.08.09.22; author jlam; state Exp; branches; next 1.5; 1.5 date 2004.01.20.18.45.24; author seb; state Exp; branches; next 1.4; 1.4 date 2003.06.29.11.13.49; author seb; state Exp; branches; next 1.3; 1.3 date 2002.11.01.00.31.18; author wiz; state Exp; branches; next 1.2; 1.2 date 2002.02.18.15.14.06; author seb; state Exp; branches; next 1.1; 1.1 date 2001.11.01.00.11.40; author zuntum; state Exp; branches; next ; desc @@ 1.15 log @gdbm: update to 1.19. Version 1.19 - 2020-12-23 * Pre-read the memory mapped regions on systems that support it. This speeds up operations on big databases. * gdbmtool: tagged initialization of structured data Initializers for structured data can be given in tagged form, e.g.: store somekey { status=2, id={a,u,x}, name="foo" } * Bugfixes: ** Preserve locking type during database reorganization @ text @@@comment $NetBSD$ 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/da/LC_MESSAGES/gdbm.mo share/locale/de/LC_MESSAGES/gdbm.mo share/locale/eo/LC_MESSAGES/gdbm.mo share/locale/es/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/ru/LC_MESSAGES/gdbm.mo share/locale/sr/LC_MESSAGES/gdbm.mo share/locale/sv/LC_MESSAGES/gdbm.mo share/locale/uk/LC_MESSAGES/gdbm.mo share/locale/vi/LC_MESSAGES/gdbm.mo @ 1.14 log @gdbm: update to 1.18.1. Version 1.18.1 - 2018-10-27 * Fix debian bug 910911 This restores backward compatibility with databases created by version 1.8 (and some later versions, with mmapped I/O disabled). See https://bugs.debian.org/910911 for a detailed description. Version 1.18 - 2018-08-21 * Bugfixes: ** Fix directory entry validation See https://puszcza.gnu.org.ua/bugs/?402 Directory validation function would falsely report corruption after several directory reallocations. ** Fix improper use of GDBM_DEBUG macro See https://puszcza.gnu.org.ua/bugs/?401 ** Fix spurious error from gdbm_dump and gdbm_export The functions incorrectly reported as error the GDBM_ITEM_NOT_FOUND status, which is reported when upon normal termination of iteration over the database keys. ** Make sure gdbm_sync always returns a meaningful value See https://puszcza.gnu.org.ua/bugs/?400 Version 1.17 - 2018-07-30 * int gdbm_close and gdbm_sync Both functions now return 0 on success. On error, they return -1 and set gdbm_errno and errno to the appropriate error codes. * Fix bug in gdbm_dump function The function did not clear the GDBM_ITEM_NOT_FOUND error marker, which is set upon its normal termination. Version 1.16 - 2018-06-27 * Maintain sorting order of the available block list after coalescing This is a very long-standing bug, dated back to the time when optional coalescing of available blocks with the newly released block was introduced. Merging the released block with an adjacent block of available space would clobber the sorting order of the available list. The bug was discovered due to strict database consistency checks, introduced in version 1.15. The fix introduced in this version will silently restore the proper sorting order of available block list before its use. * Improve block merging algorithm New implementation of block merging algorithm will correctly handle both left and right-adjacent blocks. Version 1.15 - 2018-06-15 * Extensive database consistency checking GDBM tries to detect inconsistencies in input database files as early as possible. When an inconcistency is detected, a helpful diagnostics is returned and the database is marked as needing recovery. From this moment on, any GDBM function trying to access the database will immediately return error code (instead of eventually segfaulting as previous versions did). In order to reconstruct the database and return it to healthy state, the gdbm_recover function should be used. Special thanks to Lionel Debroux and Craig Young for investing their time and efforts in testing and providing valuable feedback. * Improved error checking * Removed gdbm-1.8.3 compatibility layer * Commands can be given to gdbmtool in the command line The syntax is: gdbmtool DBNAME COMMAND [ARGS...] Multiple commands are separated by semicolon (take care to escape it), e.g.: gdbmtool t.db count\; avail * Fixed data conversion bugs in storing structured keys or content * New member in the gdbm_recovery structure: duplicate_keys. Upon return from gdbm_recover, this member holds the number of keys that has not been recovered, because the same key had already been stored in the database. The actual number of stored keys is thus recovered_keys - duplicate_keys. * New error codes. GDBM_BAD_BUCKET "Malformed bucket header" GDBM_BAD_HEADER "Malformed database file header" GDBM_BAD_AVAIL "Malformed avail_block" GDBM_BAD_HASH_TABLE "Malformed hash table" GDBM_BAD_DIR_ENTRY "Invalid directory entry" @ text @d21 1 @ 1.13 log @Version 1.13 - 2017-03-11 * gdbm_fetch, gdbm_firstkey, and gdbm_nextkey behavior If the requested key was not found, these functions return datum with dptr pointing to NULL and set gdbm_errno to GDBM_ITEM_NOT_FOUND (in prior releases, gdbm_errno was set to GDBM_NO_ERROR), If an error occurred, dptr is set to NULL, and gdbm_errno to the error code. In any case gdbm_errno is guaranteed to have meaningful value upon return. * Error handling In previous versions of GDBM, fatal errors (such as write error while storing the key/data pair or bucket) caused immediate termination of the program via call to exit(3). This is no longer the case. Starting from this version, if a fatal error occurrs while modifying the database file, that database is marked as needing recovery and gdbm_errno is set to GDBM_NEED_RECOVERY. Calls to any GDBM functions, except gdbm_recover, will then return immediately with the same error code. The function gdbm_recover examines the database file and fixes eventual inconsistencies. Upon successful return it clears the error state and makes the database operational again. For backward compatibility, the fatal_func argument to gdbm_open is retained and its functionality is not changed. If it is not NULL, the new error handling procedures are disabled, the function it points to will be called upon fatal errors. When it returns, exit(1) will be called. * Per-database error codes In addition to gdbm_error global variable, the most recent error state is saved in the GDBM_FILE structure. This facilitates error handling when operating multiple GDBM databases simultaneously. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.12 2014/05/23 20:49:15 wiz Exp $ d15 1 d22 1 @ 1.12 log @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. @ text @d1 1 a1 1 @@comment $NetBSD$ d12 1 @ 1.11 log @Pullin gettext-lib buildlink3 so that nls files are built. Unconditionalise the nls files. Bump PKGREVISION @ text @d1 4 a4 2 @@comment $NetBSD: PLIST,v 1.10 2012/01/24 00:28:17 abs Exp $ bin/testgdbm d8 3 d13 1 d15 1 d18 2 d21 1 @ 1.10 log @Fo gdbm 'NLS' seems to mean 'can find _nl_expand_alias', which has a certain Linux flavour to it. Conditionalise the nls files in the PLIST to Linux for now Bump PKGREVISION. Fixes build on at least NetBSD @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.9 2012/01/23 07:04:15 sbd Exp $ d7 5 a11 5 ${PLIST.nls}share/locale/de/LC_MESSAGES/gdbm.mo ${PLIST.nls}share/locale/fi/LC_MESSAGES/gdbm.mo ${PLIST.nls}share/locale/ja/LC_MESSAGES/gdbm.mo ${PLIST.nls}share/locale/pl/LC_MESSAGES/gdbm.mo ${PLIST.nls}share/locale/uk/LC_MESSAGES/gdbm.mo @ 1.9 log @Add missing LC_MESSAGES files. Bump PKGREVISION @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.8 2011/08/17 07:17:15 adam Exp $ d7 5 a11 5 share/locale/de/LC_MESSAGES/gdbm.mo share/locale/fi/LC_MESSAGES/gdbm.mo share/locale/ja/LC_MESSAGES/gdbm.mo share/locale/pl/LC_MESSAGES/gdbm.mo share/locale/uk/LC_MESSAGES/gdbm.mo @ 1.8 log @Changes 1.9.1: * Bugfix: Improperly used preprocessor directive caused compilation failure when using gcc 4.4.4 or newer. Changes 1.9: * Use of mmap * Changes in compatibility mode * Locking is disabled. * Do not link pag to dir. * gdbm_setopt * The testgdbm program is installed * A testsuite is provided. * Improved documentation. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.7 2006/03/30 03:44:41 jlam Exp $ d7 5 @ 1.7 log @* Honor PKGINFODIR. * List the info files directly in the PLIST. @ text @d1 2 a2 1 @@comment $NetBSD: PLIST,v 1.6 2004/09/22 08:09:22 jlam Exp $ @ 1.6 log @Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST. All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes". @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.5 2004/01/20 18:45:24 seb Exp $ d3 1 @ 1.5 log @Remove info files entries from PLIST files. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.4 2003/06/29 11:13:49 seb Exp $ a2 1 lib/libgdbm.a a3 3 lib/libgdbm.so lib/libgdbm.so.3 lib/libgdbm.so.3.0 @ 1.4 log @Convert to USE_NEW_TEXINFO. Note: distributed gdbm.info now has a *DIR-{SECTION,ENTRY} hence post-extract target no more required. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.3 2002/11/01 00:31:18 wiz Exp $ a2 1 info/gdbm.info @ 1.3 log @Update to 1.8.3: CHANGES from 1.8.2 to 1.8.3 1. Various configure related changes and additional updates. CHANGES from 1.8.1 to 1.8.2 1. Allow `NEWDB'-opened databases to actually, well, store records. CHANGES from 1.8 to 1.8.1 1. Lots of bug fixes, including a data corruption bug. 2. Updated to current autoconf and libtool. 3. Moved the dbm/ndbm compatibility routines to libgdbm_compat. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.2 2002/02/18 15:14:06 seb Exp $ a2 1 @@unexec ${INSTALL_INFO} --delete %D/info/gdbm.info %D/info/dir a3 1 @@exec ${INSTALL_INFO} %D/info/gdbm.info %D/info/dir @ 1.2 log @Introduce new framework for handling info files generation and installation. Summary of changes: - removal of USE_GTEXINFO - addition of mk/texinfo.mk - inclusion of this file in package Makefiles requiring it - `install-info' substituted by `${INSTALL_INFO}' in PLISTs - tuning of mk/bsd.pkg.mk: removal of USE_GTEXINFO INSTALL_INFO added to PLIST_SUBST `${INSTALL_INFO}' replace `install-info' in target rules print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info' - a couple of new patch files added for a handful of packages - setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it - devel/cssc marked requiring texinfo 4.0 - a couple of packages Makefiles were tuned with respect of INFO_FILES and makeinfo command usage See -newly added by this commit- section 10.24 of Packages.txt for further information. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:11:40 zuntum Exp $ d5 1 a5 1 @@exec ${INSTALL_INFO} %D/info/gdbm.info %D/info/dir d9 2 a10 2 lib/libgdbm.so.2 lib/libgdbm.so.2.0 @ 1.1 log @Move pkg/ files into package's toplevel directory @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.10 2001/01/04 15:10:24 agc Exp $ d3 1 a3 1 @@unexec install-info --delete %D/info/gdbm.info %D/info/dir d5 1 a5 1 @@exec install-info %D/info/gdbm.info %D/info/dir @