RRDtool 0.99.52 patch

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

RRDtool 0.99.52 patch

Blair Zajac
Hello Tobi,

Here's a patch that fixes problem in perl-shared/Makefile.PL and
a whole bunch of spelling mistakes.  Also, some more notes about
PNG are added to rrdgraph.pod.

Blair
diff -rc ../rrdtool-0.99.52/CHANGES ./CHANGES
*** ../rrdtool-0.99.52/CHANGES Wed Jul 14 07:33:46 1999
--- ./CHANGES Wed Jul 14 10:41:19 1999
***************
*** 5,14 ****
  From: Blair
  0) reduced number of syscalls in rrd_update by 30%
  From: Tobi
! 0) added <RRD:SETENV to rrdcgi ... allows you to setvariables like TZ
!    to do things in different timezones ...
  1) make sure no < and > are in data imported from cgi ...
!    replace occurences by _
  2) switched to gdlib 1.3
  3) added support for PNG output format ... (small changelog line for a lot of work ...)
  4) fixed default for -b option in rrd_create
--- 5,14 ----
  From: Blair
  0) reduced number of syscalls in rrd_update by 30%
  From: Tobi
! 0) added <RRD:SETENV to rrdcgi ... allows you to set variables like TZ
!    to do things in different time zones ...
  1) make sure no < and > are in data imported from cgi ...
!    replace occurrences by _
  2) switched to gdlib 1.3
  3) added support for PNG output format ... (small changelog line for a lot of work ...)
  4) fixed default for -b option in rrd_create
***************
*** 16,28 ****
 
  From: Alex
  0) fixed Last-Modified: and Expires: to output dates compatible with
!    http standard.
 
  0.99.50
  From: [hidden email]
  0) added Refresh: header to rrdcgi to make page reloadable ...
  From: Tobi
! 1) more timeparsing fixes ... now it does really work. You can now also
     specify absolute times like "27.03.1999 20:00", "7pm 3/27/99" or
     "19990721 00:00" the "seconds since epoc" still work obviously :-)
 
--- 16,28 ----
 
  From: Alex
  0) fixed Last-Modified: and Expires: to output dates compatible with
!    HTTP standard.
 
  0.99.50
  From: [hidden email]
  0) added Refresh: header to rrdcgi to make page reloadable ...
  From: Tobi
! 1) more time parsing fixes ... now it does really work. You can now also
     specify absolute times like "27.03.1999 20:00", "7pm 3/27/99" or
     "19990721 00:00" the "seconds since epoc" still work obviously :-)
 
diff -rc ../rrdtool-0.99.52/doc/bin_dec_hex.pod ./doc/bin_dec_hex.pod
*** ../rrdtool-0.99.52/doc/bin_dec_hex.pod Tue Jun 22 11:17:34 1999
--- ./doc/bin_dec_hex.pod Wed Jul 14 11:48:49 1999
***************
*** 338,344 ****
 
  For low values, try to do the calculations yourself, check them with
  a calculator. The more you do the calculations yourself, the more you
! find that you didn't make mistakes. In the end, you'll do calcula in
  other bases as easy as you do in decimal.
 
  When the numbers get bigger, you'll have to realize that a computer is
--- 338,344 ----
 
  For low values, try to do the calculations yourself, check them with
  a calculator. The more you do the calculations yourself, the more you
! find that you didn't make mistakes. In the end, you'll do calculi in
  other bases as easy as you do in decimal.
 
  When the numbers get bigger, you'll have to realize that a computer is
diff -rc ../rrdtool-0.99.52/doc/rrdcgi.pod ./doc/rrdcgi.pod
*** ../rrdtool-0.99.52/doc/rrdcgi.pod Wed Jul  7 12:21:43 1999
--- ./doc/rrdcgi.pod Wed Jul 14 11:50:11 1999
***************
*** 94,100 ****
   <IMG SRC="%s" WIDTH="%lu" HEIGHT="%lu">
 
  Note that %s stands for the filename part of the graph generated, all
! directories given in the gif file argument will get dropped.
 
  =item RRD::PRINT I<number>
 
--- 94,100 ----
   <IMG SRC="%s" WIDTH="%lu" HEIGHT="%lu">
 
  Note that %s stands for the filename part of the graph generated, all
! directories given in the GIF file argument will get dropped.
 
  =item RRD::PRINT I<number>
 
diff -rc ../rrdtool-0.99.52/doc/rrddump.pod ./doc/rrddump.pod
*** ../rrdtool-0.99.52/doc/rrddump.pod Sat Jun 26 11:35:07 1999
--- ./doc/rrddump.pod Wed Jul 14 11:50:22 1999
***************
*** 12,18 ****
  readable (?) XML format. This format can be read by rrdrestore.
  Together they allow you to transfer your files from one architecture
  to another as well as manipulating the contents of an B<RRD> file in a
! somewhat more conveniant manner.
 
 
 
--- 12,18 ----
  readable (?) XML format. This format can be read by rrdrestore.
  Together they allow you to transfer your files from one architecture
  to another as well as manipulating the contents of an B<RRD> file in a
! somewhat more convenient manner.
 
 
 
diff -rc ../rrdtool-0.99.52/doc/rrdfetch.pod ./doc/rrdfetch.pod
*** ../rrdtool-0.99.52/doc/rrdfetch.pod Thu Jul  8 15:21:52 1999
--- ./doc/rrdfetch.pod Wed Jul 14 11:51:01 1999
***************
*** 40,60 ****
  when should the data begin. A time in seconds since epoch (1970-01-01)
  is required. Negative numbers are relative to the current time. By default
  one day worth of data will be fetched. See also AT-STYLE TIME SPECIFICATION
! section for a detaild explanation on  ways to specify start time.
 
  =item B<--end>|B<-e> I<end> (default now)
 
  when should the data end. Time in seconds since epoch. See also
! AT-STYLE TIME SPECIFICATION section for a detaild explanation of how to specify
  end time.
 
  =back
 
  =head2 AT-STYLE TIME SPECIFICATION
 
! Apart from the traditionsl I<Seconds since epoch>, rrdtool does also
  understand at-style time specification.  The specification is called
! "at-style" after unix command at(1) that has moderately complex ways
  to specify time to run your job at.  The at-style specification
  consists of two parts: B<TIME REFERENCE> specification and B<TIME
  OFFSET> specification.
--- 40,60 ----
  when should the data begin. A time in seconds since epoch (1970-01-01)
  is required. Negative numbers are relative to the current time. By default
  one day worth of data will be fetched. See also AT-STYLE TIME SPECIFICATION
! section for a detailed explanation on  ways to specify start time.
 
  =item B<--end>|B<-e> I<end> (default now)
 
  when should the data end. Time in seconds since epoch. See also
! AT-STYLE TIME SPECIFICATION section for a detailed explanation of how to specify
  end time.
 
  =back
 
  =head2 AT-STYLE TIME SPECIFICATION
 
! Apart from the traditional I<Seconds since epoch>, rrdtool does also
  understand at-style time specification.  The specification is called
! "at-style" after Unix command at(1) that has moderately complex ways
  to specify time to run your job at.  The at-style specification
  consists of two parts: B<TIME REFERENCE> specification and B<TIME
  OFFSET> specification.
***************
*** 183,189 ****
  I<start+6hours> or I<s+6h> -- 6 hours after start time
  (may be used as end time specification)
 
! I<931225537> -- 18:45  Julu 5th, 1999
  (yes, seconds since 1970 are valid as well)
 
 
--- 183,189 ----
  I<start+6hours> or I<s+6h> -- 6 hours after start time
  (may be used as end time specification)
 
! I<931225537> -- 18:45  July 5th, 1999
  (yes, seconds since 1970 are valid as well)
 
 
diff -rc ../rrdtool-0.99.52/doc/rrdgraph.pod ./doc/rrdgraph.pod
*** ../rrdtool-0.99.52/doc/rrdgraph.pod Tue Jul 13 11:17:06 1999
--- ./doc/rrdgraph.pod Wed Jul 14 11:55:57 1999
***************
*** 45,54 ****
  =item I<filename>
 
  The name of the graph to generate. Since B<rrdtool> outputs
! GIFs, it's recommended that the filename end in F<.gif>.
! B<rrdtool> does not enforce this, however. If the  I<filename>
! is et to '-' the gif file will be written to standard out. All
! other output will get suppressed.
 
  If no graph functions are called, the graph will not be created.
 
--- 45,57 ----
  =item I<filename>
 
  The name of the graph to generate. Since B<rrdtool> outputs
! GIFs and PNGs, it's recommended that the filename end in either
! F<.gif> or F<.png>.  B<rrdtool> does not enforce this, however.
! If the  I<filename> is set to '-' the image file will be written
! to standard out.  All other output will get suppressed.
!
! PNG output is recommended, since it takes up to 40% less disk space
! and 20-30% less time to generate than a GIF file.
 
  If no graph functions are called, the graph will not be created.
 
***************
*** 58,70 ****
  epoch (1970-01-01) is required. Negative numbers are relative to the
  current time. By default one day worth of data will be graphed.
  See also AT-STYLE TIME SPECIFICATION section in the I<rrdfetch>
! documentation for a detaild explanation on how to specify time.
 
  =item B<-e>|B<--end> I<seconds> (default now)
 
  The time when the graph should end. Time in seconds since epoch.
  See also AT-STYLE TIME SPECIFICATION section in the I<rrdfetch>
! documentation for a detaild explanation of ways to specify time.
 
  =item B<-x>|B<--x-grid> I<x-axis grid and label> (default autoconfigure)
 
--- 61,73 ----
  epoch (1970-01-01) is required. Negative numbers are relative to the
  current time. By default one day worth of data will be graphed.
  See also AT-STYLE TIME SPECIFICATION section in the I<rrdfetch>
! documentation for a detailed explanation on how to specify time.
 
  =item B<-e>|B<--end> I<seconds> (default now)
 
  The time when the graph should end. Time in seconds since epoch.
  See also AT-STYLE TIME SPECIFICATION section in the I<rrdfetch>
! documentation for a detailed explanation of ways to specify time.
 
  =item B<-x>|B<--x-grid> I<x-axis grid and label> (default autoconfigure)
 
***************
*** 145,150 ****
--- 148,154 ----
  =item B<-a>|B<--imgformat> B<GIF>|B<PNG> (default: GIF)
 
  Allows you to produce PNG output from rrdtool.
+
  =item B<-z>|B<--lazy> (default: false)
 
  Only generate the graph, if the current gif is out of date or not
diff -rc ../rrdtool-0.99.52/perl-shared/Makefile.PL ./perl-shared/Makefile.PL
*** ../rrdtool-0.99.52/perl-shared/Makefile.PL Tue Jul 13 16:40:55 1999
--- ./perl-shared/Makefile.PL Wed Jul 14 10:27:28 1999
***************
*** 9,14 ****
      'depend'   => {'RRDs.c' => '../src/librrd.a'},
      # where to look for the necessary libraries
      # Perl will figure out which one is valid
!     'LIBS'         => [ '-L../src -lrrd  -L../gd1.3 -lgd -L../libpng-1.1.3 -lpng -L../zlib-1.1.3 -lz -lm' ],
      'realclean'    => {FILES => 't/demo?.rrd t/demo?.gif' }
  );
--- 9,14 ----
      'depend'   => {'RRDs.c' => '../src/librrd.a'},
      # where to look for the necessary libraries
      # Perl will figure out which one is valid
!     'LIBS'         => [ '-L../src -lrrd  -L../gd1.3 -lgd -L../libpng-1.0.3 -lpng -L../zlib-1.1.3 -lz -lm' ],
      'realclean'    => {FILES => 't/demo?.rrd t/demo?.gif' }
  );

bzajac.vcf (311 bytes) Download Attachment