aboutsummaryrefslogtreecommitdiff
path: root/mail/mailgraph/files/patch-mailgraph.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mailgraph/files/patch-mailgraph.cgi')
-rw-r--r--mail/mailgraph/files/patch-mailgraph.cgi13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/mailgraph/files/patch-mailgraph.cgi b/mail/mailgraph/files/patch-mailgraph.cgi
new file mode 100644
index 000000000000..15bd606d673e
--- /dev/null
+++ b/mail/mailgraph/files/patch-mailgraph.cgi
@@ -0,0 +1,13 @@
+--- mailgraph.cgi.orig Sat Feb 7 21:48:52 2004
++++ mailgraph.cgi Mon Apr 12 02:45:53 2004
+@@ -15,8 +15,8 @@
+ my $points_per_sample = 3;
+ my $ypoints = 150;
+ my $ypoints_err = 80;
+-my $rrd = 'mailgraph.rrd'; # path to where the RRD database is
+-my $rrd_virus = 'mailgraph_virus.rrd'; # path to where the Virus RRD database is
++my $rrd = '%%DATADIR%%/mailgraph.rrd'; # path to where the RRD database is
++my $rrd_virus = '%%DATADIR%%/mailgraph_virus.rrd'; # path to where the Virus RRD database is
+ my $tmp_dir = '/tmp/mailgraph'; # temporary directory where to store the images
+
+ my @graphs = (