pkgsrc/www/drraw/patches/patch-aa
kleink 984338c502 Update drraw to 2.2a2 [2007/01/14].
Changes since 2.2a1 [2006/07/20]:
- Added a dashboard style display for templates (with multiple selections).
- New "Format" parameter can be used in graph URL to override saved setting.
- PDF and SVG formats are now properly embedded in HTML.
- Added warning and check to avoid obscure error caused by misconfiguration.
- Minor JavaScript enhancements to the graph editor.
- Added notice about CGI.pm incompatibility.

Changes since 2.1.3 [2005/06/19]:
- Various improvements for the graph editor:
  + Extensive code rewrite/cleanup.
  + Added simple HTML tooltips to provide (some) contextual help.
  + Extended JavaScript automation.
  + Clarified creation of new Data Sources.
- rrdtool 1.2.x support:
  + Three new image formats: SVG, EPS and PDF.
  + GIF is no longer supported, automatically switch to PNG.
  + Removed support for deprecated --overlay parameter.
  + Added support for --no-gridfit.
  + Added support for new VDEF, TICK and SHIFT graph commands.
  + Deprecated use of HRULE, STACK and old style GPRINT graph command.
2007-01-21 16:46:06 +00:00

13 lines
521 B
Text

$NetBSD: patch-aa,v 1.2 2007/01/21 16:46:06 kleink Exp $
--- drraw.cgi.orig 2007-01-14 11:58:33.000000000 -0800
+++ drraw.cgi 2007-01-21 08:29:51.000000000 -0800
@@ -49,7 +49,7 @@
# The configuration file is expected to be found in the same directory
# as drraw itself. You may customize this to be elsewhere.
-my $config = (dirname($0) =~ /(.*)/)[0] . "/drraw.conf"; # Untaint
+my $config = "@PKG_SYSCONFDIR@/drraw.conf";
# This needs to be manually set for stupid stupid File::Find to work
# in tainted mode.