--- weathermap4rrd-1.1.999+1.2rc3.orig/weathermap +++ weathermap4rrd-1.1.999+1.2rc3/weathermap @@ -101,7 +101,7 @@ $DATE= RRDs::last "$data"; $version=&rrdtool_getversion(); print "RRDTool binary version detected : $version\n" if ($DEBUG); - if ($version=="1.2") { + if ($version=="1.2" || $version=="1.3") { $DATE= $DATE-300; } print "No date specified, last value will be read : ".scalar localtime($DATE)."\n" if ($DEBUG); --- weathermap4rrd-1.1.999+1.2rc3.orig/debian/changelog +++ weathermap4rrd-1.1.999+1.2rc3/debian/changelog @@ -0,0 +1,29 @@ +weathermap4rrd (1.1.999+1.2rc3-2) unstable; urgency=low + + * Fix rrdtool version support (Closes: #506719) + * Bump standard version + * Set correct target for binary-indep in debian/rules + * Add copyright notice in debian/copyright + + -- Julien Danjou Mon, 24 Nov 2008 10:18:09 +0100 + +weathermap4rrd (1.1.999+1.2rc3-1) unstable; urgency=low + + * New upstream release + * Bump standards version + * Update FSF address + + -- Julien Danjou Sun, 6 Aug 2006 13:30:50 +0200 + +weathermap4rrd (1.1.1g-2) unstable; urgency=low + + * Change priority to `extra' + + -- Julien Danjou Thu, 28 Apr 2005 13:15:01 +0200 + +weathermap4rrd (1.1.1g-1) unstable; urgency=low + + * Initial Release. (Closes: #304554) + + -- Julien Danjou Fri, 15 Apr 2005 15:48:16 +0200 + --- weathermap4rrd-1.1.999+1.2rc3.orig/debian/control +++ weathermap4rrd-1.1.999+1.2rc3/debian/control @@ -0,0 +1,16 @@ +Source: weathermap4rrd +Section: net +Priority: extra +Maintainer: Julien Danjou +Build-Depends: debhelper (>= 4.0.0), perl (>= 5.6) +Standards-Version: 3.8.0 + +Package: weathermap4rrd +Architecture: all +Depends: ${perl:Depends}, libgd-gd2-perl | libgd-gd2-noxpm-perl, librrds-perl +Description: script that generates picture network links utilization + Network Weathermap4RRD is a perl script that generates picture network + links utilization. Data used to create graph are acquired from RRDTool + databases and are displayed as two ways colored arrows on a map + representing the logical topology of the network. + --- weathermap4rrd-1.1.999+1.2rc3.orig/debian/dirs +++ weathermap4rrd-1.1.999+1.2rc3/debian/dirs @@ -0,0 +1,2 @@ +etc/weathermap4rrd +usr/bin --- weathermap4rrd-1.1.999+1.2rc3.orig/debian/compat +++ weathermap4rrd-1.1.999+1.2rc3/debian/compat @@ -0,0 +1 @@ +4 --- weathermap4rrd-1.1.999+1.2rc3.orig/debian/rules +++ weathermap4rrd-1.1.999+1.2rc3/debian/rules @@ -0,0 +1,90 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + #$(MAKE) + #docbook-to-man debian/weathermap4rrd.sgml > weathermap4rrd.1 + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + #-$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/weathermap4rrd. + #$(MAKE) install DESTDIR=$(CURDIR)/debian/weathermap4rrd + install -m 755 weathermap $(CURDIR)/debian/weathermap4rrd/usr/bin/weathermap4rrd + install -m 644 weathermap.conf.example $(CURDIR)/debian/weathermap4rrd/etc/weathermap4rrd/weathermap.conf + perl -pi \ + -e "s[CONFIG\s*=\s*\".*\"\;][CONFIG = \"/etc/weathermap4rrd/weathermap.conf\"\;];" \ + debian/weathermap4rrd/usr/bin/weathermap4rrd + + +# Build architecture-independent files here. +binary-arch: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGELOG + dh_installdocs + dh_installexamples + dh_install + dh_link + dh_strip + dh_compress + dh_fixperms + dh_perl + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- weathermap4rrd-1.1.999+1.2rc3.orig/debian/docs +++ weathermap4rrd-1.1.999+1.2rc3/debian/docs @@ -0,0 +1 @@ +README --- weathermap4rrd-1.1.999+1.2rc3.orig/debian/copyright +++ weathermap4rrd-1.1.999+1.2rc3/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Julien Danjou on +Fri, 15 Apr 2005 15:48:16 +0200. + +It was downloaded from http://weathermap4rrd.tropicalex.net/ + +Copyright Holder: Alexandre Fontelle + +License: + + Copyright (C) 2006 Alexandre Fontelle + + This software is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This software is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this software; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. --- weathermap4rrd-1.1.999+1.2rc3.orig/debian/examples +++ weathermap4rrd-1.1.999+1.2rc3/debian/examples @@ -0,0 +1 @@ +weathermap.conf.example