head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.40 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.38 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.36 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.34 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.32 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.30 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.28 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.26 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.24 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.22 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.20 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.18 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.16 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.14 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.12 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.10 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.8 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.6 pkgsrc-2006Q1-base:1.6 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.14 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.12 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.10 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.8 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.6 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.5.0.4 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.5.0.2 pkgsrc-2003Q4-base:1.5 netbsd-1-6-1:1.4.0.6 netbsd-1-6-1-base:1.4 netbsd-1-6:1.4.0.8 netbsd-1-6-RELEASE-base:1.4 pkgviews:1.4.0.4 pkgviews-base:1.4 buildlink2:1.4.0.2 buildlink2-base:1.4 netbsd-1-5-PATCH003:1.4 netbsd-1-5-PATCH001:1.3 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2 netbsd-1-4-PATCH002:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.6 date 2005.07.03.15.23.34; author wulf; state dead; branches; next 1.5; 1.5 date 2003.02.16.23.08.58; author seb; state Exp; branches; next 1.4; 1.4 date 2001.09.24.13.10.48; author wulf; state Exp; branches; next 1.3; 1.3 date 2000.12.05.11.15.42; author wulf; state Exp; branches; next 1.2; 1.2 date 2000.05.07.12.50.52; author wulf; state Exp; branches; next 1.1; 1.1 date 99.11.17.17.34.39; author wennmach; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.11.17.17.34.39; author wennmach; state Exp; branches; next ; desc @@ 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 @$NetBSD: patch-ai,v 1.5 2003/02/16 23:08:58 seb Exp $ --- doc/Makefile.am.orig Tue May 7 21:51:19 2002 +++ doc/Makefile.am @@@@ -25,9 +25,9 @@@@ PDF = $(MAN:.1=.pdf) EXTRA_DIST= $(POD) $(HTML) $(TXT) # some install rules -idocdir = $(prefix)/doc +idocdir = $(prefix)/share/doc/rrdtool idoc_DATA = $(POD) $(TXT) -ihtmldir = $(prefix)/html +ihtmldir = $(prefix)/share/doc/html/rrdtool ihtml_DATA = $(HTML) imandir = $(prefix)/man/man1 iman_DATA = $(MAN) @ 1.5 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 @d1 1 a1 1 $NetBSD$ @ 1.4 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 @d3 14 a16 75 --- src/rrd_graph.c.orig Thu Feb 22 12:02:47 2001 +++ src/rrd_graph.c @@@@ -6,16 +6,26 @@@@ #include "rrd_tool.h" #include +#ifdef __NetBSD__ +#include +#include +#else #include #include +#endif #include #ifdef WIN32 #include #include #endif +#ifdef __NetBSD__ +#define SmallFont gdFontTiny +#define LargeFont gdFontSmall +#else #define SmallFont gdLucidaNormal10 #define LargeFont gdLucidaBold12 +#endif /* #define DEBUG */ @@@@ -45,7 +55,7 @@@@ OP_MIN,OP_MAX,OP_LIMIT, OP_FLOOR, OP_CEIL, OP_UN,OP_END}; -enum if_en {IF_GIF=0,IF_PNG=1}; +enum if_en {IF_PNG=0}; typedef struct rpnp_t { enum op_en op; @@@@ -354,7 +364,6 @@@@ enum if_en if_conv(char *string){ - conv_if(GIF,IF_GIF) conv_if(PNG,IF_PNG) return (-1); @@@@ -2437,9 +2446,6 @@@@ if ((fd = fopen(im->graphfile,"rb")) == NULL) return 0; /* the file does not exist */ switch (im->imgformat) { - case IF_GIF: - size = GifSize(fd,&(im->xgif),&(im->ygif)); - break; case IF_PNG: size = PngSize(fd,&(im->xgif),&(im->ygif)); break; @@@@ -2703,9 +2709,6 @@@@ } } switch (im->imgformat) { - case IF_GIF: - gdImageGif(gif, fo); - break; case IF_PNG: gdImagePng(gif, fo); break; @@@@ -2828,7 +2831,7 @@@@ im.prt_c = 0; im.gdes_c = 0; im.gdes = NULL; - im.imgformat = IF_GIF; /* we default to GIF output */ + im.imgformat = IF_PNG; /* we default to PNG output */ for(i=0;i -#include d12 4 a15 1 +#include d17 4 d22 1 a22 2 -#define SmallFont gdLucidaNormal10 -#define LargeFont gdLucidaBold12 d25 4 d32 1 a32 1 @@@@ -38,7 +38,7 @@@@ d41 1 a41 1 @@@@ -340,7 +340,6 @@@@ d49 1 a49 1 @@@@ -2309,9 +2308,6 @@@@ d59 1 a59 1 @@@@ -2570,9 +2566,6 @@@@ d69 1 a69 1 @@@@ -2687,7 +2680,7 @@@@ @ 1.2 log @Fixed build problem and updated rrdtool to version 1.0.21 @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.1.1.1 1999/11/17 17:34:39 wennmach Exp $ d3 2 a4 2 --- src/rrd_graph.c.orig Tue May 2 04:51:47 2000 +++ src/rrd_graph.c Wed May 3 21:04:46 2000 d23 1 a23 1 OP_MIN,OP_MAX,OP_LIMIT, d39 1 a39 1 @@@@ -2291,9 +2290,6 @@@@ d49 1 a49 1 @@@@ -2552,9 +2548,6 @@@@ d59 1 a59 1 @@@@ -2669,7 +2662,7 @@@@ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- src/rrd_graph.c.orig Sun Nov 7 21:46:02 1999 +++ src/rrd_graph.c Sun Nov 7 21:47:13 1999 d22 2 a23 2 @@@@ -37,7 +37,7 @@@@ OP_COS,OP_LOG,OP_EXP,OP_LT,OP_LE,OP_GT,OP_GE,OP_EQ,OP_IF, d31 1 a31 1 @@@@ -305,7 +305,6 @@@@ d39 1 a39 1 @@@@ -2129,9 +2128,6 @@@@ d44 1 a44 1 - GifSize(fd,&(im->xgif),&(im->ygif)); d47 1 a47 1 PngSize(fd,&(im->xgif),&(im->ygif)); d49 1 a49 1 @@@@ -2389,9 +2385,6 @@@@ d59 1 a59 1 @@@@ -2506,7 +2499,7 @@@@ @ 1.1.1.1 log @Initial import of rrdtool-1.0.7: A data analysis tool generating graphical representations. (Round Robin Database Tools) Provided in PR 8716 by Berndt Josef Wulf . Heavily reworked by Berndt with some modifications by myself. @ text @@