Up to [cvs.NetBSD.org] / pkgsrc / databases / ruby-rrdtool
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*rrdtool: update to 1.11.0
Bugfixes
hardening: size the rrd_diff scratch buffer for its largest input @somethingwithproof
rrdtool dump now uses a numeric UTC offset (%z, e.g. +0900) instead
of the locale timezone name (%Z) in XML comments. Locale timezone names
can be encoded in a non-UTF-8 encoding (e.g. CJK locales), which breaks
the XML declaration and causes rrdtool restore to fail with
"Input is not proper UTF-8". The numeric offset is always ASCII.
Note: existing dump files already containing locale timezone names remain
valid XML as long as their encoding matches; newly created dumps will
always contain pure ASCII in these comments. Issue #1173
reported by @k79e, fix by @oetiker.
Fix segfault when --x-grid is given without a trailing date-format
field. The %n conversion in sscanf() is not counted in its return
value, so stroff remained uninitialized when the input ended before
the final : separator; the subsequent stroff != 0 guard read
garbage and could branch into strdup() with a bogus offset. Fixed by
initialising stroff = 0 so a partial match safely falls through to
the existing "invalid x-grid format" error path. Issue #1291
reported by @anvilvapre, fixed by @oetiker
libdbi /derive now returns 0 instead of NaN when the underlying
counter is constant (zero delta). Previously the strict d_value > 0
guard skipped zero deltas the same way it skips negative ones (counter
resets). Changed to d_value >= 0. Issue #550 reported by
@bitionaire, fix by @oetiker.
Fix a 1-byte heap buffer overflow in checkUnusedValues() that
triggered *** buffer overflow detected *** SIGABRT under glibc
fortified strcat() when reporting unused graph arguments. The
function under-allocated by one byte and silently relied on that
overflow to make its trailing : strip land on the right index.
Refactored to size buffers correctly and prepend the separator
rather than build-then-strip, so the two no longer have to agree.
Reported and original fix attempt in PR #1329 by @ppisar,
refactored fix by @oetiker
Pad the Perl $RRDs::VERSION / $RRDp::VERSION numeric encoding so
two-digit minor releases compare monotonically. The numeric version
now uses three-digit zero-padded minor and patch fields, e.g.
1.10.3 -> 1.010003 (previously 1.10003, which was numerically less
than 1.9.0 -> 1.9000). The same encoding is now used by NUMVERS
in configure.ac and win32/rrd_config.h. Note: consumers that
previously tested $RRDs::VERSION >= 1.2 need to update their
checks (use >= 1.002 or compare against the X.Y.Z string via the
version pragma) -- this is unavoidable given the existing format
could not represent two-digit minors monotonically. Issue #1330
reported by @ppisar, fixed by @oetiker
Y-axis labels keep enough fractional precision when the gridstep is
fractional after SI scaling (e.g. values around 10G+), avoiding
duplicate labels on tall graphs. Issue #1326 reported by @muusik,
fixed by @oetiker
Detect nroff support for -Wbreak at configure time, so building the
text documentation works on systems with BSD-derived nroff (e.g.
macOS /usr/bin/nroff). Issue #1323 reported by @gigaimage, fixed by
@oetiker
Fix SIGFPE divide-by-zero crash in rrdtool dump when processing
fuzz-crafted RRD files that contain an RRA with pdp_cnt or
pdp_step equal to zero. The modulo operation at the heart of the
timestamp calculation is now guarded: such files are rejected with
a descriptive error message instead of crashing.
Issue #783 reported by @rwhitworth, fix by @oetiker.
Features
rrdgraph: new --vertical-label-angle and --right-axis-label-angle options
to rotate the two y axis legends independently at run time. The compile
time RRDGRAPH_YLEGEND_ANGLE remains the default for both, so existing
graphs are unchanged. Use --right-axis-label-angle 270 to have the right
hand legend read from the top down. Suggested by @blappm in #1377,
implemented by @oetiker
rrdgraph: new --right-axis-range min:max option to suppress right axis
labels outside the given range, so a bounded right axis is no longer
labelled with values it cannot reach when the left axis range does not
line up. Either end may be left empty for unbounded. Suggested by @blappm
in #1377, implemented by @oetiker
*rrdtool: update distinfo for 1.10.3 update
ruby-rrdtool: update to 1.10.2. Match rrdtool.
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.
rrdtool: updated to 1.8.0 RRDtool 1.8.0 - 2022-03-13 Bugfixes python bindings: properly convert double values of rrd info failed to expand 'Py_UNUSED', Invalid usage when expanding 'Py_UNUSED' document --showtime in xport help output fix --use-nan-for-all-missing-data update rrdruby.pod add missing rrdruby.pod and rrdpython.pod to dist Set first_weekday to 0 (Sunday), when HAVE__NL_TIME_WEEK_1STDAY is not defined fix median calculation for all NaN inputs fix potential leak in xport during failure fix many warnings raised by Cppcheck fix many compiler warnings from latest gcc ensure proper initialization in rrd_daemon cleanup testsuite better testing avoid invalid read in rrd_client add symbols from rrdc to librrd Fix duplicate write_changes_to_disk() calls when HAVE_LIBRADOS is true and HAVE_MMAP is false documentation updates for SMIN example in docs fix for pyton3 compatibility freemem only for valid status <Christian Kr"oger> fix double meaning of time 0 as uninitialized value fix for zfs not supporting fallocate. this makes resize work on zfs add rrdrados.pod to dist fetch - do not call rrd_freemem on uninitialized pointers use separate pango fontmap per thread switch to python 3 do not leak filename when opening a broken file fix leaks in rrdcached avoid segfault when flushing cache escape json in legend entries fix leak in xport make rrdcgi param parsing more robust fix race in journal_write Features ROUND function for rrd RPN vcpkg support for MSVC builds (see WIN32-BUILD-TIPS.txt) add first_weekday for Windows port add x64 platform for win32 build add --add-jsontime for graphv add --utc to graph add automated testing for win32 builds support TUNE command in rrdcached
databases: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes The following distfiles could not be fetched (some may be only fetched conditionally): ./databases/cstore/distinfo D6.data.ros.gz ./databases/cstore/distinfo cstore0.2.tar.gz ./databases/cstore/distinfo data4.tar.gz
databases: Remove SHA1 distfile hashes
rrdtool: updated to 1.7.2 RRDtool 1.7.2: Bugfixes * Updated the Makefiles to properly include all needed files into the distribution tar * Cleand up Compiler Warnings * Improved compilation in MinGW environment * fix segfault on non-existent RRD file when using rrdcached * fix bounds handling, documentation and checking on rrdtool xport * Fix %s/%S unit autoscaling in gprint for json/xml * Optimized PDP Calculation
rrdtool: updated to 1.7.1 RRDtool 1.7.1: Bugfixes * about 38949 assorted fixes for the windows build of rrdtool * fix many compile time warnings * Re-enable 0-width lines * Include rrd_pdpcalc.pod in Makefile.am also * Lots of spelling fixes for rrdtool source and documentation * fix off by one issue in rrdtool xport output * fix lua extension build * fix python bindings * fix multiple static variable issues in conflict with MT * make translations actually work * Fixed configure --enable / --disable options * rrd_daemon stability fixes * fix tcl bindings * do not call umask ever (not MT safe) Features * Multiline Titles * French translation * Added support for --allow-shrink with --rigid flag * Added SUSPEND/RESUME/SUSPENDALL/RESUMEALL commands for rrd_cached * include the daemon name in the error messag
RRDtool 1.7.0 Bugfixes -------- * made rrd_fetch_cb_wrapper in RRDs more careful with its arguments * many bugfixes to resolve issues identified Coverty scan * fix build issues with libdbl * take the ds step into account while caching data in rrd graph DEF statements * never 'exit' from librrd (even when DEBUG is on) Features -------- * new command rrd list to show rrd files in a directory * configurable log-level for rrdcached * hungarian translation (hu.po) API --- * New Exported funtions: rrd_lcd, rrd_reduce_data, rrd_cf_conf and rrd_list * rrd_list support for perl and python binding * all new and much more complete python bindings working on both python 2.6+ and 3.3+ * extended documentation in rrdlib.pod
RRDtool 1.6.0 Features * librrd is now fully thread-safe. librrd_th is gone * make lua bindings work with lua 5.1 * configure option to disable doc building --enable-docs=no * new CDEF function SMIN: a,b,c,3,SMIN -> min(a,b,c) * new CDEF function SMAX: a,b,c,3,SMAX -> max(a,b,c) * new CDEF function STDEV: a,b,c,3,STDEV -> stdev(a,b,c) * new CDEF function POW: a,b,POW -> a**b * new CDEF function PERCENT: a,b,c,95,3,PERCENT -> find 95percentile of a,b,c * re-introducted --showtime option on rrdxport * be more careful in determining the locales idea of first day of the week * lots of spelling fixes all around
Fix rpath problem
Changes 1.5.5: Bugfixes -------- * fix JSON output in xport with legend and gprint blocks * fix parse_time mutex unlocking in the error case * don't crash on invalid variable names in CDEF * add mutex locking in rrdc_fetch * fix buffer overflow in rrd_restore * shorten test precision to 7 digits ... * never exit from a library function * buffer overflow in rrd_restore.c
Add SHA512 digests for distfiles for databases category Problems found with existing distfiles: distfiles/D6.data.ros.gz distfiles/cstore0.2.tar.gz distfiles/data4.tar.gz distfiles/sphinx-2.2.7-release.tar.gz No changes made to the cstore or mariadb55-client distinfo files. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Changes 1.4.9: New Features ------------ * allows rrdrestore to read input from stdin * add documentation for RRDs::xport * RPN operators MINNAN and MAXNAN * --left-axis-format option to rrd_graph Bugfixes -------- * properly verify validity of user suplied format strings * remove graph functions from python module when compiled without graphing support * verify that only short integers are used in COMPUTE rpn expressions * eliminate duplicate setlocale calls * fixed endless loop and double frees in rrd_restore * fixed missing variable initializations in rrd_graph * fixed JSON output format to actually be valid JSON * detect failing fallocate and fall back to seeking * fixed format string in ruby bindings
Importing databases/ruby-rrdtool version 1.4.5. This package contains Ruby extension module for rrdtool (Round Robin Database Tools).
Initial revision