The NetBSD Project

CVS log for pkgsrc/databases/rrdtool/Makefile.common

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / databases / rrdtool

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Aug 9 17:10:25 2026 UTC (3 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, HEAD
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
*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

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed May 27 07:50:53 2026 UTC (5 months, 2 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
rrdtool: updated to 1.10.3

RRDtool 1.10.3 - 2026-05-25

Bugfixes
- add missing cairo dependency for ubuntu packag

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun May 24 20:55:28 2026 UTC (5 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
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

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Aug 23 17:48:50 2024 UTC (2 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
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.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Nov 25 10:42:15 2022 UTC (3 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -3 lines
rrdtool: remove old comment

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Nov 25 10:41:15 2022 UTC (3 years, 11 months ago) by adam
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -4 lines
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

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Apr 24 11:41:25 2022 UTC (4 years, 6 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -2 lines
rrdtool: fix master site

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed May 29 17:49:36 2019 UTC (7 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
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

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Feb 11 08:22:44 2019 UTC (7 years, 9 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -5 lines
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

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Sep 4 18:08:19 2017 UTC (9 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3 lines
Follow some redirects.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Jul 27 18:32:06 2017 UTC (9 years, 3 months ago) by adam
Branches: MAIN
Makefile.common is also needed

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>