Subject: CVS commit: pkgsrc/databases
From: Adam Ciarcinski
Date: 2024-08-23 19:48:50
Message id: 20240823174851.185FAFC74@cvs.NetBSD.org

Log Message:
rrdtool py-rrdtool ruby-rrdtool: updated to 1.9.0

RRDtool 1.9.0

Bugfixes

Fix ytop and ybase adjustments for overlaping area issue on transparent areas @turban
Suppress warnings of implicit fall through @youpong
Update tarball download link in doc @c72578
Fix unsigned integer overflow in rrdtool first. Add test for rrd_first() @c72578
Fix tests under MSYS2 (Windows) @c72578
Fix BUILD_DATE in rrdtool help output @c72578
acinclude.m4: Include <stdlib.h> when using exit @ryandesign
rrdtool-release: Create NUMVERS from VERSION file @c72578
Avoids leaking of file descriptors in multi threaded programs by @ensc
Avoids potential unterminated string because of fixed PATH_MAX buffer
Fix extra reference of parameters of rrd_fetch_dbi_{long,double} @jamborm

Features

Remove autogenerated files from git repo (configure, Makefile.in, conftools, \ 
rrd_config.h.in)

Reads $RRD_LOCKING environment variable and adds --locking option to some tools. \ 
The updatex api has been also
updated to support setting locking related bits in its extra_flags parameter. @ensc

This allows now to choose between three kinds of locking:

none: no locking is done at all; caller has to do it manually and can implement \ 
e.g., a timeout with alarm(2) or so
try: fails when lock is hold by another process; users will see "ERROR: \ 
could not lock RRD". This is the default and the only possible mode with \ 
the old code
 block: waits until lock is available.

It can be used like
env RRD_LOCKING=block rrdupdate ...
or
rrdupdate --locking none ...
or
rrd_updatex_r(filename, tmplt, RRD_FLAGS_LOCKING_MODE_BLOCK, ...);

Add (remote) dump support to rrdcached @thz

Constify argv argument to library functions
Without this, users of library function that want to pass in const strings need \ 
to duplicate them to avoid compiler warnings

Avoid multiple implementations of asprintf
The locale-independent rrd_asprintf is equivalent to platform-provided snprintf \ 
when strings and integers are formatted.
There is no user of vasprintf-msvc that is locale-dependent, therefore this \ 
implementation can be replaced with rrd_vasprintf.

Files:
RevisionActionfile
1.25modifypkgsrc/databases/py-rrdtool/Makefile
1.2modifypkgsrc/databases/py-rrdtool/PLIST
1.7modifypkgsrc/databases/py-rrdtool/distinfo
1.161modifypkgsrc/databases/rrdtool/Makefile
1.8modifypkgsrc/databases/rrdtool/Makefile.common
1.62modifypkgsrc/databases/rrdtool/distinfo
1.2modifypkgsrc/databases/rrdtool/patches/patch-configure
1.46modifypkgsrc/databases/ruby-rrdtool/Makefile
1.13modifypkgsrc/databases/ruby-rrdtool/distinfo
1.1addpkgsrc/databases/rrdtool/patches/patch-src_compat-cloexec.c
1.1addpkgsrc/databases/rrdtool/patches/patch-src_compat-cloexec.h
1.1removepkgsrc/databases/rrdtool/patches/patch-const-argv.patch