head	1.11;
access;
symbols
	pkgsrc-2026Q2:1.10.0.2
	pkgsrc-2026Q2-base:1.10
	pkgsrc-2026Q1:1.8.0.14
	pkgsrc-2026Q1-base:1.8
	pkgsrc-2025Q4:1.8.0.12
	pkgsrc-2025Q4-base:1.8
	pkgsrc-2025Q3:1.8.0.10
	pkgsrc-2025Q3-base:1.8
	pkgsrc-2025Q2:1.8.0.8
	pkgsrc-2025Q2-base:1.8
	pkgsrc-2025Q1:1.8.0.6
	pkgsrc-2025Q1-base:1.8
	pkgsrc-2024Q4:1.8.0.4
	pkgsrc-2024Q4-base:1.8
	pkgsrc-2024Q3:1.8.0.2
	pkgsrc-2024Q3-base:1.8
	pkgsrc-2024Q2:1.7.0.14
	pkgsrc-2024Q2-base:1.7
	pkgsrc-2024Q1:1.7.0.12
	pkgsrc-2024Q1-base:1.7
	pkgsrc-2023Q4:1.7.0.10
	pkgsrc-2023Q4-base:1.7
	pkgsrc-2023Q3:1.7.0.8
	pkgsrc-2023Q3-base:1.7
	pkgsrc-2023Q2:1.7.0.6
	pkgsrc-2023Q2-base:1.7
	pkgsrc-2023Q1:1.7.0.4
	pkgsrc-2023Q1-base:1.7
	pkgsrc-2022Q4:1.7.0.2
	pkgsrc-2022Q4-base:1.7
	pkgsrc-2022Q3:1.5.0.4
	pkgsrc-2022Q3-base:1.5
	pkgsrc-2022Q2:1.5.0.2
	pkgsrc-2022Q2-base:1.5
	pkgsrc-2022Q1:1.4.0.24
	pkgsrc-2022Q1-base:1.4
	pkgsrc-2021Q4:1.4.0.22
	pkgsrc-2021Q4-base:1.4
	pkgsrc-2021Q3:1.4.0.20
	pkgsrc-2021Q3-base:1.4
	pkgsrc-2021Q2:1.4.0.18
	pkgsrc-2021Q2-base:1.4
	pkgsrc-2021Q1:1.4.0.16
	pkgsrc-2021Q1-base:1.4
	pkgsrc-2020Q4:1.4.0.14
	pkgsrc-2020Q4-base:1.4
	pkgsrc-2020Q3:1.4.0.12
	pkgsrc-2020Q3-base:1.4
	pkgsrc-2020Q2:1.4.0.10
	pkgsrc-2020Q2-base:1.4
	pkgsrc-2020Q1:1.4.0.6
	pkgsrc-2020Q1-base:1.4
	pkgsrc-2019Q4:1.4.0.8
	pkgsrc-2019Q4-base:1.4
	pkgsrc-2019Q3:1.4.0.4
	pkgsrc-2019Q3-base:1.4
	pkgsrc-2019Q2:1.4.0.2
	pkgsrc-2019Q2-base:1.4
	pkgsrc-2019Q1:1.3.0.2
	pkgsrc-2019Q1-base:1.3
	pkgsrc-2018Q4:1.2.0.14
	pkgsrc-2018Q4-base:1.2
	pkgsrc-2018Q3:1.2.0.12
	pkgsrc-2018Q3-base:1.2
	pkgsrc-2018Q2:1.2.0.10
	pkgsrc-2018Q2-base:1.2
	pkgsrc-2018Q1:1.2.0.8
	pkgsrc-2018Q1-base:1.2
	pkgsrc-2017Q4:1.2.0.6
	pkgsrc-2017Q4-base:1.2
	pkgsrc-2017Q3:1.2.0.4
	pkgsrc-2017Q3-base:1.2;
locks; strict;
comment	@# @;


1.11
date	2026.08.09.17.10.25;	author wiz;	state Exp;
branches;
next	1.10;
commitid	d47HMFbV9c3R9ZQG;

1.10
date	2026.05.27.07.50.53;	author adam;	state Exp;
branches;
next	1.9;
commitid	EV9w0yxybBgIrqHG;

1.9
date	2026.05.24.20.55.28;	author wiz;	state Exp;
branches;
next	1.8;
commitid	0zfBl1mp9YnJS6HG;

1.8
date	2024.08.23.17.48.50;	author adam;	state Exp;
branches;
next	1.7;
commitid	nVbhBNiZOUgaoYmF;

1.7
date	2022.11.25.10.42.15;	author adam;	state Exp;
branches;
next	1.6;
commitid	NYduAq9ATIYvv43E;

1.6
date	2022.11.25.10.41.15;	author adam;	state Exp;
branches;
next	1.5;
commitid	dHWYUnbwKcI4v43E;

1.5
date	2022.04.24.11.41.25;	author tnn;	state Exp;
branches;
next	1.4;
commitid	XDC551GEEU0gKrBD;

1.4
date	2019.05.29.17.49.36;	author adam;	state Exp;
branches;
next	1.3;
commitid	GQKXSyrWhO0QS7pB;

1.3
date	2019.02.11.08.22.44;	author adam;	state Exp;
branches;
next	1.2;
commitid	HuyqcokY9dtBbkbB;

1.2
date	2017.09.04.18.08.19;	author wiz;	state Exp;
branches;
next	1.1;
commitid	H3CpyvMOZDCWiU5A;

1.1
date	2017.07.27.18.32.06;	author adam;	state Exp;
branches;
next	;
commitid	6WDKcyPIYemSGT0A;


desc
@@


1.11
log
@*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
@
text
@# $NetBSD: Makefile.common,v 1.10 2026/05/27 07:50:53 adam Exp $
# used by databases/rrdtool/Makefile
# used by databases/py-rrdtool/Makefile
# used by databases/ruby-rrdtool/Makefile

DISTNAME=	rrdtool-1.11.0
CATEGORIES=	databases graphics net
MASTER_SITES=	${MASTER_SITE_GITHUB:=oetiker/}
GITHUB_PROJECT=	rrdtool-1.x
GITHUB_RELEASE=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://oss.oetiker.ch/rrdtool/
COMMENT=	Data analysis tool generating graphical representations
LICENSE=	gnu-gpl-v2
@


1.10
log
@rrdtool: updated to 1.10.3

RRDtool 1.10.3 - 2026-05-25

Bugfixes
- add missing cairo dependency for ubuntu packag
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.9 2026/05/24 20:55:28 wiz Exp $
d6 1
a6 1
DISTNAME=	rrdtool-1.10.3
@


1.9
log
@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
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.8 2024/08/23 17:48:50 adam Exp $
d6 1
a6 1
DISTNAME=	rrdtool-1.10.2
@


1.8
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.7 2022/11/25 10:42:15 adam Exp $
d6 1
a6 1
DISTNAME=	rrdtool-1.9.0
@


1.7
log
@rrdtool: remove old comment
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.6 2022/11/25 10:41:15 adam Exp $
d6 1
a6 1
DISTNAME=	rrdtool-1.8.0
@


1.6
log
@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
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.5 2022/04/24 11:41:25 tnn Exp $
a7 2
#MASTER_SITES=	https://oss.oetiker.ch/rrdtool/pub/archive/
# When updating past 1.8.0 use this instead:
@


1.5
log
@rrdtool: fix master site
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.4 2019/05/29 17:49:36 adam Exp $
d6 1
a6 1
DISTNAME=	rrdtool-1.7.2
d8 1
a8 1
MASTER_SITES=	https://oss.oetiker.ch/rrdtool/pub/archive/
d10 3
a12 1
#MASTER_SITES=	${MASTER_SITE_GITHUB:=oetiker/}
@


1.4
log
@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
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.3 2019/02/11 08:22:44 adam Exp $
d8 3
a10 1
MASTER_SITES=	https://oss.oetiker.ch/rrdtool/pub/
@


1.3
log
@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
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.2 2017/09/04 18:08:19 wiz Exp $
d6 1
a6 1
DISTNAME=	rrdtool-1.7.1
@


1.2
log
@Follow some redirects.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.1 2017/07/27 18:32:06 adam Exp $
d6 1
a6 1
DISTNAME=	rrdtool-1.7.0
a13 3

#DISTINFO_FILE=	${.CURDIR}/../../databases/rrdtool/distinfo
#PATCHDIR=	${.CURDIR}/../../databases/rrdtool/patches
@


1.1
log
@Makefile.common is also needed
@
text
@d1 1
a1 1
# $NetBSD$
d8 1
a8 1
MASTER_SITES=	http://oss.oetiker.ch/rrdtool/pub/
d11 1
a11 1
HOMEPAGE=	http://oss.oetiker.ch/rrdtool/
@

