Up to [cvs.NetBSD.org] / pkgsrc / databases / 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: updated to 1.10.3 RRDtool 1.10.3 - 2026-05-25 Bugfixes - add missing cairo dependency for ubuntu packag
rrdtool: update to 1.10.2.
RRDtool 1.10.2 - 2026-05-19
Bugfixes
The Linux .deb packages were missing the Lua language binding @oetiker
The Python binding is now installed with pip into a consistent, distribution-independent location @oetiker
Features
RPM releases now ship matching debuginfo and debugsource packages @oetiker
RRDtool 1.10.1 - 2026-05-19
Bugfixes
Modernize obsolete autoconf macros so configure regenerates cleanly with current autotools @oetiker
Features
Add more DEB and RPM package variants: Ubuntu 26.04, Debian 13, AlmaLinux 8/10, Fedora @oetiker
RRDtool 1.10.0 - 2026-05-19
Bugfixes
Mark the Ruby bindings as Ractor safe @LevitatingBusinessMan
Fix Compatiblity with TCL-9 @yselkowitz
Correctly link Ruby Bindings @LevitatingBusinessMan
Fix MacOS Build error (no SOCK_CLOEXEC on mac) @ensc fixes #1261
Fix build on 32bits platforms (like armhf) when time_t is 64bits, fixes #1264
Fix compilation on illumos @hadfl
Python2.3 is deprecated and therefore, the Python bindings should use Python3 as default @pticon
Fix issue where RRDtool detects a LINE or AREA with a constant numeric value as being exportable
Fix broken argc overflow check in rrdcached tune handler that rejected all tune commands @somethingwithproof
Harden rrdcached pid file parsing and daemon options with strtol validation @somethingwithproof
Add NULL, bounds, and zero-division safety guards in xport, graph, and graph_helper @somethingwithproof
Escape control characters in JSON xport output per RFC 7159 @somethingwithproof fixes #1311
Add pkg-config fallback for Perl and Ruby bindings when building standalone @somethingwithproof
Export ABS_TOP_BUILDDIR to environment for Ruby extconf.rb during in-tree builds @somethingwithproof
Fix parse_tick: shift the legend by 2 spaces for the "coloured-box" @neo954 #1314
Features
Add Georgian translation @NorwayFun
Add -S short option for --step in rrdtool xport @somethingwithproof fixes #1310
Automated release workflow: a single workflow_dispatch on master computes
the next SemVer, bumps version strings in-place, builds source tarball +
Windows MSVC zips + RPM (AlmaLinux) + DEB (Ubuntu/Debian) — the binary
packages install under /opt/rrdtool so they coexist with distro-maintained
rrdtool packages without touching the system. See .github/workflows/release.yml. @oetiker
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: remove old comment
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
rrdtool: fix master site
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
Follow some redirects.
Makefile.common is also needed