head 1.7; access; symbols pkgsrc-2013Q2:1.7.0.40 pkgsrc-2013Q2-base:1.7 pkgsrc-2012Q4:1.7.0.38 pkgsrc-2012Q4-base:1.7 pkgsrc-2011Q4:1.7.0.36 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q2:1.7.0.34 pkgsrc-2011Q2-base:1.7 pkgsrc-2009Q4:1.7.0.32 pkgsrc-2009Q4-base:1.7 pkgsrc-2008Q4:1.7.0.30 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.28 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.26 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.24 pkgsrc-2008Q2-base:1.7 pkgsrc-2008Q1:1.7.0.22 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.20 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.18 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.16 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.14 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.12 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.10 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.8 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.6 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.4 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.7.0.2 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 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.7 date 2005.07.30.06.53.15; author wulf; state dead; branches; next 1.6; 1.6 date 2005.07.04.22.53.39; author wulf; state Exp; branches; next 1.5; 1.5 date 2005.07.03.15.23.34; author wulf; state dead; 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.7 log @Updated rrdtool to 1.2.11: Minor bug fix release Added --enable-perl-site-install configuration argument relevant to PR30719 @ text @$NetBSD: patch-at,v 1.6 2005/07/04 22:53:39 wulf Exp $ --- src/rrd_graph.c.orig 2005-07-05 09:33:44.000000000 +0930 +++ src/rrd_graph.c 2005-07-05 09:54:16.000000000 +0930 @@@@ -3150,7 +3150,7 @@@@ if(sscanf(optarg, "%10[A-Z]:%lf:%1000s", - prop,&size,font) == 3){ + prop,&size,font) >= 2){ int sindex,propidx; if((sindex=text_prop_conv(prop)) != -1){ for (propidx=sindex;propidx -#include -#include +#include +#include +/* #include */ +/* #include */ #include #ifdef WIN32 #include @@@@ -24,8 +26,10 @@@@ #include #endif -#define SmallFont gdLucidaNormal10 -#define LargeFont gdLucidaBold12 +/* #define SmallFont gdLucidaNormal10 */ +/* #define LargeFont gdLucidaBold12 */ +#define SmallFont gdFontTiny +#define LargeFont gdFontSmall d7 7 a13 39 /* #define DEBUG */ @@@@ -194,7 +198,6 @@@@ enum gf_en gf_conv(char *string){ enum if_en if_conv(char *string){ - conv_if(GIF,IF_GIF) conv_if(PNG,IF_PNG) conv_if(GD,IF_GD) @@@@ -2396,9 +2399,6 @@@@ int lazy_check(image_desc_t *im){ 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; @@@@ -2673,9 +2673,6 @@@@ graph_paint(image_desc_t *im, char ***ca } } switch (im->imgformat) { - case IF_GIF: - gdImageGif(gif, fo); - break; case IF_PNG: gdImagePng(gif, fo); break; @@@@ -2809,7 +2806,7 @@@@ rrd_graph(int argc, char **argv, char ** 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 */ im.bkg_image = NULL; /* do not put anything to background per default */ im.ovl_image = NULL; /* do not use anything as overlay per default */ @ 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 @d1 1 a1 1 $NetBSD$ @ 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-at,v 1.2 2000/12/05 11:15:42 wulf Exp $ d3 25 a27 3 --- contrib/rrdfetchnames/Makefile.in.orig Thu Sep 14 15:34:37 2000 +++ contrib/rrdfetchnames/Makefile.in Tue Dec 5 20:58:12 2000 @@@@ -87,7 +87,7 @@@@ d29 1 a29 1 EXTRA_DIST = rrdfetchnames.pl.in d31 37 a67 5 -contribdir = $(prefix)/contrib/rrdfetchnames +contribdir = $(prefix)/share/rrdtool/contrib/rrdfetchnames contrib_DATA = README contrib_SCRIPTS = rrdfetchnames.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-at,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/rrdfetchnames/Makefile.in.orig Tue Jun 27 01:57:15 2000 +++ contrib/rrdfetchnames/Makefile.in Tue Jun 27 01:57:24 2000 @@@@ -85,7 +85,7 @@@@ @