- Fix PR pkg/49557 (by updating 1.4.9 to 1.5.4)
- Add including lang/python/application.mk (for REPLACE_PYTHON)
- Assign empty value to TEST_TARGET, to avoid
*** No rule to make target 'test' (when PKGSRC_RUN_TEST=yes is set)
(upstream)
- Update 1.4.9 to 1.5.4
-------------------------
RRDtool 1.5.4 - 2015-08-09
==========================
Bug Fixes
---------
* parse floating point numbers according to C locale in rrdtool create
arguments, regardless of the systems locale setting.
* include missing rrd_rados.h into distribution archive
* make rrdtool work on ARM again
* make rrdtool test suit pass on 32bit OSs
* fix --grid-dash option regression in graph
* fix systemd support
* fix link dependency for libpng since we are using functions directly
* fix python module name
* fix rrdtool tune to accept U in minimum and maximum options
* fi
* rrd_parsetime now uses a mutex lock to become thread safe
* rrd_xport is now thread safe
* stop using MAX_PATH and make everything dynamic and make rrdtool work on
Gnu HURD ... thanks nirgal!
Features
--------
* new RPN operators: STEPWIDTH, NEWDAY, NEWWEEK, NEWMONTH and NEWWEEK
together they allow to draw graphs where a rate is converted back to
absolute numbers and accumulated over a period..
RRDtool 1.5.3 - 2015-04-30
==========================
Bug Fixes
---------
* Brought commmand-line options and documentation back into sync.
* Make LINE dashes option work again
RRDtool 1.5.2 - 2015-04-23
==========================
Bug Fixes
---------
* paramters in VDEF are vnames and not data source names, hence
they can be 255 chars long and not only 20
RRDtool 1.5.1 - 2015-04-22
==========================
Bug Fixes
---------
* parse numbers up to 40 characters long ..
* fix install rules for Python and Lua
* include missing VERSION and LICENSE file
* unlink before rename in rrd_create when running on WIN32
RRDtool 1.5.0 - 2015-04-16
==========================
New Features
------------
* automatic x-axis labels that work from 1s to 30y on a single chart
* librados integration
* new datasource types: DCOUNTER and DDERIVE (they work the same as the
original DS, except that they can deal with floatingpoint numbers).
* compile without graphics libraries: ./configure --disable-rrd_graph
* updated windows port (see WIN32-BUILD-TIPS.txt)
* single step RRAs for MIN,MAX,LAST are generated virtually from
an AVERAGE RRA
* ignore updates in the past with rrdtool update --skip-past-updates
* ignore a LINE when scaling a chart using the skipscale option
* detect 32bit timeoverflows
* massive performance boost for charts with more than 100 DEF line by
switching form a linear search to a HASH when searching for data
* improved cross compilation support
* .Net bindings
* allow rrdtool graph to silently skip non-existing source files using the
--use-nan-for-all-missing-data option
* restore from a pipe (rrdtool restore - y.rrd)
* in rrdtool create, row count and step can be defined in absolute time
* all new "create on steroids" can pull both data and configuration from
existing rrd files
* use rrdtool graph to chart arbitrary data via a callback function for data fetching
support is integrated in the perl bindings.
* re-written parser for rrdtool graph commands. It now follows a simple key
value pattern, compatible with the previous syntax.
* MEDIAN op for CDEF expressions
* DEPTH,INDEX,COPY,ROL ops for CDEF (as seen in PostScript)
* gradient AREA backgrounds
* no more locale magic while reading numeric data.
Bugfixes
--------
all the bugs fixed in 1.4.x during 1.5 development
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
* rrd_graph now uses a map to lookup variable names causing graphs with many
items to be drawn magnitudes faster as the linear search of the variable
tables is gone now.
* the optional argument :skipscale allows for a LINE or AREA instruction to be
excluded from having an effect on the scaling of the graph
* TRENDNAN is now working properly and als not crashing anymore
* Added a no-op string positioning combo "\." this allows to write
COMMENT:OS\2\. which would otherwise not be possible.
* JSON output of xport is now actually json compilant by its keys
being properly quoted now.
* The label positioner in rrd_graph is now properly ignoring the current
state of DST.
* fixes and enhancements for Python, Ruby, TCL and Perl bindings
* improved error reporting in rrd_graph
* portability and cross compilation
Bugfixes:
* rrdcached: print \n at the end of log messages when running rrdcached in the
foreground -- Bernard Li
* rrdcached: Let the -s, -m and -P options affect the default socket as
well -- Sebastian Harl
* rrdgraph: font related memory leaks fixed#208 -- tobi
* rrdgraph-libdbi: print error message instead of dumping core on sql
problem -- Pavel Nikiforov
* rrdgraph-libdbi: properly allocated response buffer -- Pavel Nikiforov
* rrdtool: in remote mode, make argument count for remote commmands strict
-- Dave Peticolas
* rrdgraph: fix problems with second %s in right-axis format -- tobi
* and many more: for full changelog http://oss.oetiker.ch/rrdtool/pub/CHANGES
Enhancements:
* rrdcached: add hosts_access support added -- Shaun Reitan
* rrdfetch/graph: introduce "epoch" as a new base time reference, meaning
timestamp 0: you can now write epoch+11111111s or epoch+19711205s
-- Peter Stamfest
Bugfixes:
* compile: multiple fixes isnan and isinf defines to make rrdtool compile
with gcc on solaris (with --disable-nls)
* handle gettext/libintl like any other feature, do not try to supply
our own ... rrdtool can work fine without it
* rrd_client: fix potential segfaults
* rrd_client: resolve synmlinks properly
* compile: fix libtool and libtoolize names for OSX compiles
* compile: fix for HAVE_BROKEN_MS_ASYNC (old linux kernels)
* rrd_xport: fix --daemon handling
* rrd_client: explicitly close connection on error
* rrd_update: fix memory leak for COMPUTE datasources
* rrd_daemon: fix segfault when specifying a relative path (-j option)
* compile: make rrdtool compile with gcc 4.5
* portability: use %lld (long long int) for time_t *printf
* compile: link pangocairo and not pango since we do use pangocairo actually
* compile: re-integrate intl into compile dependency so that hosts with
old (or no) gettext can get access to the included copy.
* rrd_cached: exit with status !=0 on invalid cli
Enhancements:
* updated build files and instructions for win32 port by Chris Larsen
* legal: Relicense the RRDCacheD client interface under the MIT license
* legal: Updted FLOSS Exception for latest PHP license
* rrd_cached: better help output
- python bindings memory handling fix by Anders Hammarquist
(deb bug #529291)
- fix getopt_long integration on Solaris. Depending on the phase of
the moon this bug had caused rrdtool to crash reliably as soon as
it read its arguments. Especially when used in language bindings.
Thanks to Ihsan Dogan for helping with the debugging.
- rrd_restore used casting a bit to liberally this caused it to fail
horribly on 64bit platforms. Patch based in input provided by
poster of rrd bug #218.
- make ruby bindings compile with newer ruby versions. #217 patch
provided by rrd trac user
- Generate an error message when using RRDp with graph - this can
not work reliably. (Debian Bug#251701) patch by Sebastian Harl
The new release contains some rather influential changes.
* Holt-Winters rrds should see a drastic speedup.
* Front-ends relying on output from graph --lazy will work again
* updatev does not segfault on 32 bit platforms anymore.
* rrd_dump produces correct output with german locales.
Features:
- a second axis can now be displayed in rrd_graph. look for
documentation on second-axis. feature was sponsored by VoltWerk.
- win32 port of the source. see WIN32-BUILD-TIPS.txt for details.
contributed by exitgames
Bugfixes:
- rrd_fetch: is more careful when seeking. it should not try to seek
outside the file anymore.
- rrd_restore: works on platforms where "NaN" is not represented as
"NaN" works now (HPUX)
- rrd_graph: label ordering in --full-size is correct now.
- ruby bindings: fix for last method
- perl bindings: fix for build on MacOSX
- rrd_update: make sure time stamp of rrd files get updated even on
platforms with broken MS_ASYNC implementations (osx and old linux)
- rrd_graph: CDEF:x= raises an error now and does not segfault
- Solaris isfinite portability improved
- rrd_graph: --font TITLE:12: problem fixed (affecting cacti)
* detect short/truncated files on open (rrdtool used to crash later
on some platforms)
* stop rrd_resize from altering the original file (mmap side
effect)
* fix VDEF and SHIFT use. Now it returns correct data and does
not crash anymore.
* fix rrd_xport when used on datasources with different
resolutions. This has been broken from day 1 of this tools
exsitance.
* fixed default prefix for ruby install
* added rpath for perl bindings on bsd
* do not [fm]advise past the end of the file since this
causes crashes on sparc.
While 1.3.2 did fix the data corruption bug, and was much faster
with creating graphs, it did break badly when you tried to supply
your own font names and sizes. 1.3.3 fixes this regression.
* Do not crash when user tries to select a font in rrdgraph
* Another attempt at makeing it compile out-of-the box on solaris 8
MAJOR BUG-FIX:
* When running rrdtool update with multiple updates in one go and
MMAP enabled, there was a data corruption bug at wrap around.
See http://oss.oetiker.ch/rrdtool-trac/ticket/178 for details
Thanks to Kevin Brintnall
OTHER FIXES:
* Forward ported rra cur_row randomization patch from rrdtool
1.2.28 (it got lost in development).
* Contrary to the documentation imginfo did return the full path
of the image and not only the file name.
* Make --lazy mode work even when PRINT commands are present.
http://oss.oetiker.ch/rrdtool-trac/ticket/163
* Fix Ruby Bindings memory leak.
* Fix compilation on solaris 2.8
* Fix a ton of memory leaks in rrd_create and some in rrd_tool as
well. Based on valgrind analysis by Sven Engelhardt. Thanks!
* Fix handling of error conditions in rrd_tool.c (errno is not the
ideal indicator)
ENHANCEMENTS:
* Text Strings entered in the current locale will automatically be
transformed to utf8 for proper handling by Pango.
* Dramatically improved Pango Performance by introducing a static
fontmap. On my test system the persistent fontmap causes the
second graph with the same fonts in a single session to be
created about 0.18s faster than the first one. For a total graph
creation time of 0.21s this is a pretty substantial improvement.
With this patch, performance for the second graph is back to
1.2.x levels or even better.
* image size does get returned properly even with --lazy active
this broke a number of frontends which should work now.
* fix rrd_restore to be able to read rrd 1.0.x generated dumps again.
* several documetation fixes
* make rrdtool.spec work without php
* complain when someone tries to create an rrd file with step size zero.
* added filename to illegal updated interval error message.
* fix number of rows returned by python modules fetch implementation.
Local change warranting nb1 is to prefix some error messages from
rrdupdate with the name of the file the error relates to, carried
over from nb1 of 1.2.27.
Update loosely OKed by martti@
The announcement of 1.3.0 outlines the changes since 1.2.27:
NEW Fast file access methods (Bernhard Fischer / Tobi Oetiker)
----------------------------
* introduced file-accessor functions rrd_read/rrd_seek/rrd_write
* implemented full mmap-based file access with madvise hints for
improved scalability, much reduced memory-footprint and much less
blocking while accessing the disk
* implemented optional full file-descriptor access instead of FILE*
access
NEW Graphing (Tobi Oetiker)
------------
* libart has been replaced by cairo/pango
* pango markup is supported (--pango-markup)
* full grid fitting
* --graph-render-mode=mono for non anti aliased graphing
* --font-render-mode=mono for non anti aliased fonts
* fonts come through fontconfig, use the Pango font nameing scheme
-> 'Times 20' ... it is not possible to use truetype fonts
directly anymore.
* Tabs are position independent.
* TRENDNAN filter that ignores NAN values while calculating the
TREND data. (Timo Stripf)
* --full-size-mode to specify the outer border of the image and not
just of the graphing canvas (Matthew Chambers)
* TEXTALIGN command to alter default text alignment behavior
* C API in-memory graphing with rrd_graph_v (Evan Miller)
* draw dashed lines in graphs (Thomas Gutzler)
* new interface graphv which returns information using the rrd_info
interface (Tobi Oetiker and Mark Plaksin)
* improved horizontal grid. Have a bit more grid lines and y-axis
labels while keeping them far enough apart to not run into each
other.
NEW Forecasting (Evan Miller)
---------------
* the new MHWPREDICT consolidation function uses a variation of the
Holt-Winters method. It is a drop-in replacement for HWPREDICT,
and is better suited for data whose seasonal variations grow or
shrink in proportion to the average.
* If you create an RRD with the new MHWPREDICT function, the
resulting rrd file will be version 0004 and can only be used in
rrdtool 1.3.
Rewrites
--------
* rrd_restore now uses libxml for parsing which makes things much
more tolerant towards xml variations. The old code could mostly
just parse the XML as it was output by rrdtool dump. See also:
the note at the bottom of this document. (by Florian octo
Forster)
* rrd_update rewritten to make it more modular. Fixed two
longstanding HW bugs in the process (Evan Miller)
Internationalization (Takao Fujiwara and Tobi Oetiker)
--------------------
* The help output by rrdtool has been internationalized. There are
no real translations included with rrdtool yet, contributions are
welcome.
* The internationalization will only be compiled if libintl and
friends are available on your system. Use the configure option
--disable-libintl if you want to disable this feature
Language Bindings
-----------------
* ruby rrd_fetch will return step as a last property -- Mike Perham
RRDtool dump / restore incompatibility
--------------------------------------
* rrdtool dump 1.3 does emit completely legal XML. Basically this
means that it contains an XML header and a DOCTYPE definition.
Unfortunately this causes older versions of rrdtool restore to be
unhappy.
* To restore a new dump with an old rrdtool restore version, either
remove the XML header and the doctype by hand (both on the first
line of the dump) or use rrdtool dump --no-header.
error message, since rrdupdate may update more than one rrd database.
Submitted as a feature enhancement request upstream (#162).
Bump package revision.
Changes:
* doc/rrdcreate.pod, doc/rrdgraph.pod, doc/rrdgraph_graph.pod,
doc/rrdgraph_rpn.pod, doc/rrdtutorial.pod: fixes for better web
rendering
* COPYRIGHT: added ZPL 2.1 to floss exception
* src/rrd_graph.c, trunk/program/src/rrd_graph.c: fixed parsing of
fontnames with embeded spaces
* bindings/tcl/tclrrd.c, configure.ac, src/rrd_cgi.c: * fix fadvice
and madvice inclusion ... again * fix rrdcgi warning * fix
warnings in tcl bindings -- Peter Breitenlohner peb mppmu.mpg.de
* src/rrd_graph.c: weekday and time are too tight
* configure.ac: fixing the solaris build
* netware/Makefile, src/rrd_update.c, win32/Makefile: updates for
netware and mingw32 ... allows for crosscompilation
* src/rrd_update.c: make update compile for mingw32 3.4.5
* bindings/perl-shared/Makefile.PL, configure.ac, src/rrd_tool.h,
src/rrd_update.c: * improve portability of compile environment to
netbsd and solaris
* bindings/python/Makefile.am: libtool builds shared libraries
anyway, no need for extra LDFLAGS that bite non GNU ld versions
* src/rrd_tool.c: resolve snprintf overflow warning by using sizeof
The pwd command for server mode was added. Logarithmic graphs were revisited. GPRINT can now access the time component of VDEF values. DNAN and DINF are much faster through caching. Many bugs were killed.
Restoring from 1.0.x format XML dumps was enabled.
The stability of rrdtool fetch results was fixed.
A new rrdtool graph and rrdcgi functions were added.
The pipe mode interface was improved. Many bugfixes were made.
Major Changes between 1.0.x and 1.2.x
Graphing
--------
* rewritten graphics generation based on libart.
- anti-aliased output
- alpha transparency support
- truetype fonts
* additional graphics formats: EPS, PDF, SVG
* extended multi-part documentation
* VDEF support; define and use variables. Find, and use, the
maximum rate seen by rrdtool; compute and show the average
* Sliding window (trend) analysis
Compute a smoother average, for instance over the last 6 CDPs
* percentile (95th or other)
Remove peaks, 95 percent of all rates are at or below the returned value
Logging
-------
* a second logging interface: rrdtool updatev
Verbose updating of the database; show CPDs being created
* Aberrant Behavior Detection with Holt-Winters Forecasting
Compare current data with expected data, detect and log when
the rates are outside expected levels
* COMPUTE data type for artificial data-sources calculating their
input using RPN math and data from the other data-sources.
RRDs.so shared perl module is built and thus fix runtime failure
described in PR pkg/24292 by Michael van Elst <mlelstv at serpens dot de>.
Also fix sparc64 compilation warnings and runtime failure due to
time_t's size assumption: sizeof(time_t) != sizeof(long) on NetBSD/sparc64.
While here bl3ify, this somewhat simplify the package, and provide
a buildlink3.mk file.
Bump PKGREVISION.
With wulf@'s blessing.
Packages changes: use buildlink2 and perl5/module.mk, documentation
splitted in $PREFIX/share/doc/{rrdtool,html/rrdtool}/*.
Okay'ed by wulf@.
Changes since version 1.0.33:
- bugfix, + enhancement, * contrib, = RELEASE
---------------------------------------------
= 1.0.40 2002/10/11 -- Tobi
- 2002/10/11 Jeffrey Wheat <jeff@nt.cetlink.net>
updated php4 bindings to work with php 4.2.3
- 2002/10/07 Tomoyuki Murakami <tomoyuki@pobox.com>
-z does not take an option
- 2002/10/03 Gonzalo Augusto Arana Tagle <garana@uolsinectis.com.ar>
fix for PREV() operator
- 2002/08/01 Paul Clifford <paul.clifford@bbc.co.uk>
fix for segfault in print_calc function
+ 2002/07/31 "Nenad Antic (EAB)" <Nenad.Antic@era.ericsson.se>
rrdfetch manpage update
- 2002/07/12 Gonzalo Augusto Arana Tagle <garana@uolsinectis.com.ar>
PREV(xxx) match with DEF_NAM_FMT
- 2002/07/12 Joerg Mertin <mertinj@europe.psi.com>
fixed bindings for php4
- 2002/07/02 Philippe.Simonet@swisscom.com
fixed DINF for win32 compile
= 1.0.39 2002/06/20 -- Tobi
+ 2002/06/20 -- Gonzalo Augusto Arana Tagle <garana@uolsinectis.com.ar>
* new CDEF feature PREV(x) which allows for funky new filters
to be created easily
+ 2002/06/14 -- "Shipway, Steve" <steve.shipway@eds.com>
* Improved docs for rrd_resize
- Tobi
* increassed commandline buffer in rrd_tool.c to 100 kilo Byte
* in rrd_graph replace rint by ceil ...its more portable
* remove // comments and replace with /* .... */
* due to popular demand change strftime format to %V for weeks
+ 2002/05/24 -- Joe Griffin <joe.griffin@mscsoftware.com>
* config.guess and config.sub updates for IA64
= 1.0.38 2002/05/22 -- Tobi
- 2002/05/12 -- Tobi
* fix for crash in restore when used with existing file
- 2002/04/29 -- Alex
* fix for PRINT template parser in rrd_graph ...
- 2002/04/16 -- Milan Obuch <milan.obuch@in.nextra.sk>
* fix for --alt-mrtg
+ 2002/05/01 Wolfgang Schrimm <Wolfgang.Schrimm@urz.uni-heidelberg.de>
* new subcommand xport
= 1.0.37 2002/04/13 -- Tobi
- 2002/04/14 -- Thierry Nkaoua <tnka@linux-sottises.net>
* do not change LC_ALL but just LC_TIME ...
= 1.0.36 2002/04/13 -- Tobi
+ 2002/04/13 -- Milan Obuch <milan.obuch@in.nextra.sk>
* added new options to rrdgraph. Check the manpage for
--overlay, --background, --unit, GD (graph output format)
+ 2002/04/09 -- Tobi
* added setlocale and tzset calls to rrd_graph
- 2002/04/09 -- Tobi
* removed description of --goodfor and --refresh from rrdcgi
- 2002/04/02 -- Paul Vixie <paul@vix.com>
* rrd restore should not burn down existing files
- 2002/03/23 -- Oliver Cook <ollie@uk.clara.net>
* kill segfault in diff code for non digit input
- 2002/03/23 -- Ashok Mandala <chakri063@yahoo.com>
* make sure CDEFs work properly even when none of the contributing
data sources start at start of the cdef.
+ 2002/03/20 -- David Lee <t.d.lee@durham.ac.uk>
* Allow link builds through the ../configure syntax
= 1.0.35 2002/03/20 -- Tobi
- 2002/03/20 -- Tobi
* fixed longstanding off by 1 bug in CDEF for cases where RRDs with
different step sizes were mixed in one CDEF
- 2002/03/13 -- Tobi
* Deal with cases where Config{cc} contains an absolute path to perls
C compiler.
- 2002/03/14 -- Matt Galvin <mgalvin@dandd.com>
* new OS detector config files which can deal with macos X
= 1.0.34 2002/03/12 -- Tobi
- 2002/02/12 -- Tobi
* replaced zlib 1.1.3 with 1.1.4
- 2002/02/06 -- Alexander Schwartz <alexander.schwartz@gmx.net>
* allow rrdcgi to deal with umlauts
- 2001/12/27 -- Tom.Bertelson@gecapital.com
* fix overflow error in rrd_fetch
- 2001/11/28 -- Richard A. Steenbergen <ras@e-gerbil.net>
* allow + - and ' ' in printfsring
- 2001/03/31 -- Tobi
* added 'all' dependancy to site-perl-install rule as many seem to skip
this step when instaling cricket ... probably an incomplete cricket doku.
- 2001/03/02 -- Mike Franusich <mike@franusich.com>
* filedescriptor leak fixed in rrd_open for faild open attempts.
- 2001/03/01 -- Tobi
* test if compiler perl wants to use for building its modules is available on the system
* zlib wants to be linked with -fpic on HPUX or it breaks ...
Rearrange several bits of the rrdtool build mechanism so that we're not
cheating quite as much. The end result is that rrdtool now compiles on
both ELF and a.out.
Closes pkg/14606 from Tim Preston <tim at flibble dot org>