head 1.9; access; symbols pkgsrc-2013Q2:1.9.0.18 pkgsrc-2013Q2-base:1.9 pkgsrc-2012Q4:1.9.0.16 pkgsrc-2012Q4-base:1.9 pkgsrc-2011Q4:1.9.0.14 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q2:1.9.0.12 pkgsrc-2011Q2-base:1.9 pkgsrc-2009Q4:1.9.0.10 pkgsrc-2009Q4-base:1.9 pkgsrc-2008Q4:1.9.0.8 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.6 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.4 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.2 pkgsrc-2008Q2-base:1.9 pkgsrc-2008Q1:1.8.0.16 pkgsrc-2008Q1-base:1.8 pkgsrc-2007Q4:1.8.0.14 pkgsrc-2007Q4-base:1.8 pkgsrc-2007Q3:1.8.0.12 pkgsrc-2007Q3-base:1.8 pkgsrc-2007Q2:1.8.0.10 pkgsrc-2007Q2-base:1.8 pkgsrc-2007Q1:1.8.0.8 pkgsrc-2007Q1-base:1.8 pkgsrc-2006Q4:1.8.0.6 pkgsrc-2006Q4-base:1.8 pkgsrc-2006Q3:1.8.0.4 pkgsrc-2006Q3-base:1.8 pkgsrc-2006Q2:1.8.0.2 pkgsrc-2006Q2-base:1.8 pkgsrc-2006Q1:1.7.0.2 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.6.0.4 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.2 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.5.0.12 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.10 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.8 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.6 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.4 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.5.0.2 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 buildlink2-base:1.3 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.1 netbsd-1-4-PATCH003:1.1; locks; strict; comment @# @; 1.9 date 2008.06.23.16.24.30; author he; state dead; branches; next 1.8; 1.8 date 2006.05.05.17.42.07; author adam; state Exp; branches; next 1.7; 1.7 date 2006.01.24.22.22.16; author adam; state Exp; branches; next 1.6; 1.6 date 2005.07.03.15.23.34; author wulf; state Exp; branches; next 1.5; 1.5 date 2004.02.07.17.44.10; author seb; state Exp; branches; next 1.4; 1.4 date 2003.02.16.23.09.00; author seb; state Exp; branches; next 1.3; 1.3 date 2001.09.24.13.10.49; author wulf; state dead; branches; next 1.2; 1.2 date 2000.12.05.11.15.42; author wulf; state Exp; branches; next 1.1; 1.1 date 2000.06.27.01.32.13; author hubertf; state Exp; branches; next ; desc @@ 1.9 log @Update rrdtool from 1.2.27nb1 to 1.3.0nb1. 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. @ text @$NetBSD: patch-as,v 1.8 2006/05/05 17:42:07 adam Exp $ --- src/rrd_cgi.c.orig 2006-05-04 15:26:28.000000000 +0200 +++ src/rrd_cgi.c @@@@ -418,7 +418,7 @@@@ int main(int argc, char *argv[]) { if (!filter) { printf ("Content-Type: text/html\n" - "Content-Length: %d\n", + "Content-Length: %zd\n", strlen(buffer)); if (labs(goodfor) > 0) { @ 1.8 log @Changes 1.2.13: 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. @ text @d1 1 a1 1 $NetBSD$ @ 1.7 log @Changes 1.2.12: * Bug fixes @ text @d3 1 a3 1 --- src/rrd_cgi.c.orig 2005-12-18 21:30:45.000000000 +0100 d5 1 a5 1 @@@@ -413,7 +413,7 @@@@ int main(int argc, char *argv[]) { @ 1.6 log @Update of rrdtool to 1.2.9: 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. @ text @d1 1 a1 1 $NetBSD: patch-as,v 1.5 2004/02/07 17:44:10 seb Exp $ d3 3 a5 3 --- src/rrd_cgi.c.orig 2005-05-28 22:31:55.000000000 +0930 +++ src/rrd_cgi.c 2005-06-19 14:03:09.000000000 +0930 @@@@ -352,7 +352,7 @@@@ @ 1.5 log @Now that lang/perl5/module.mk fiddles with OTHERLDFLAGS fix the way RRDs.so shared perl module is built and thus fix runtime failure described in PR pkg/24292 by Michael van Elst . 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. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 4 --- src/rrd_cgi.c.orig Fri Oct 11 18:39:46 2002 +++ src/rrd_cgi.c @@@@ -12,7 +12,7 @@@@ #define MEMBLK 1024 d7 5 a11 3 /* global variable for libcgi */ -s_cgi **cgiArg; +s_cgi *cgiArg; d13 1 a13 11 /* in arg[0] find tags beginning with arg[1] call arg[2] on them and replace by result of arg[2] call */ @@@@ -168,7 +168,7 @@@@ int main(int argc, char *argv[]) { if (filter==0){ printf ("Content-Type: text/html\n" - "Content-Length: %d\n", strlen(buffer)); + "Content-Length: %zd\n", strlen(buffer)); if (labs(goodfor) > 0){ time_t now; now = time(NULL); @ 1.4 log @Update to version 1.0.40. See changes below. 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 updated php4 bindings to work with php 4.2.3 - 2002/10/07 Tomoyuki Murakami -z does not take an option - 2002/10/03 Gonzalo Augusto Arana Tagle fix for PREV() operator - 2002/08/01 Paul Clifford fix for segfault in print_calc function + 2002/07/31 "Nenad Antic (EAB)" rrdfetch manpage update - 2002/07/12 Gonzalo Augusto Arana Tagle PREV(xxx) match with DEF_NAM_FMT - 2002/07/12 Joerg Mertin 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 * new CDEF feature PREV(x) which allows for funky new filters to be created easily + 2002/06/14 -- "Shipway, Steve" * 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 * 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 * fix for --alt-mrtg + 2002/05/01 Wolfgang Schrimm * new subcommand xport = 1.0.37 2002/04/13 -- Tobi - 2002/04/14 -- Thierry Nkaoua * do not change LC_ALL but just LC_TIME ... = 1.0.36 2002/04/13 -- Tobi + 2002/04/13 -- Milan Obuch * 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 * rrd restore should not burn down existing files - 2002/03/23 -- Oliver Cook * kill segfault in diff code for non digit input - 2002/03/23 -- Ashok Mandala * make sure CDEFs work properly even when none of the contributing data sources start at start of the cdef. + 2002/03/20 -- David Lee * 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 * 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 * 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 * 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 * 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 ... @ text @d14 9 @ 1.3 log @Updated rrdtool to 1.0.33 Several bugfixes since 1.0.28 Fixed libgd interdependency problems that caused execution of perl scripts to fail. @ text @d1 1 a1 1 $NetBSD: patch-as,v 1.2 2000/12/05 11:15:42 wulf Exp $ d3 4 a6 3 --- contrib/killspike/Makefile.in.orig Thu Sep 14 15:34:36 2000 +++ contrib/killspike/Makefile.in Tue Dec 5 20:58:09 2000 @@@@ -87,7 +87,7 @@@@ d8 3 a10 1 EXTRA_DIST = killspike.pl.in d12 2 a13 5 -contribdir = $(prefix)/contrib/killspike +contribdir = $(prefix)/share/rrdtool/contrib/killspike contrib_DATA = README contrib_SCRIPTS = killspike.pl mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs @ 1.2 log @Update to rrdtool-1.0.28 that since has seen several bugfixes @ text @d1 1 a1 1 $NetBSD: patch-as,v 1.1 2000/06/27 01:32:13 hubertf Exp $ @ 1.1 log @Fix to confirm to hier(7), PKGLIBTOOL->LIBTOOL @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- contrib/killspike/Makefile.in.orig Tue Jun 27 01:55:42 2000 +++ contrib/killspike/Makefile.in Tue Jun 27 01:56:05 2000 @@@@ -85,7 +85,7 @@@@ @