Package: weathermap4rrd
Version: 1.1.999+1.2rc3-2
Severity: important
Tags: patch

Hello.

After an upgrade from lenny to squeeze, weathermap4rrd can't get any value from 
rrd files generated with rrdtool 1.4.3.

I made a patch for this issue. After applying this patch, the map is correctly 
generated with good values.

Regards,
Pierre Tourbeaux

-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-vserver-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages weathermap4rrd depends on:
ii  libgd-gd2-perl               1:2.39-2+b1 Perl module wrapper for libgd - gd
ii  librrds-perl                 1.4.3-1     time-series data storage and displ
ii  perl                         5.10.1-17   Larry Wall's Practical Extraction 

weathermap4rrd recommends no packages.

weathermap4rrd suggests no packages.

-- Configuration Files:
/etc/weathermap4rrd/weathermap.conf changed [not included]

-- no debconf information
--- weathermap4rrd      2008-11-24 10:18:52.000000000 +0100
+++ weathermap4rrd.patched      2011-02-06 14:46:03.000000000 +0100
@@ -101,7 +101,7 @@
                $DATE= RRDs::last "$data";
                $version=&rrdtool_getversion();
                print "RRDTool binary version detected : $version\n" if 
($DEBUG);
-               if ($version=="1.2" || $version=="1.3") {
+               if ($version=="1.2" || $version=="1.3" || $version=="1.4") {
                        $DATE= $DATE-300;
                }
                print "No date specified, last value will be read : ".scalar 
localtime($DATE)."\n" if ($DEBUG);

Reply via email to