summaryrefslogtreecommitdiff
path: root/mail/mailgraph/files/patch-mailgraph.cgi
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-05-12 11:59:07 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-05-12 11:59:07 +0000
commitcad3d8096f76e1f2af8e3451490824d1afe07fa1 (patch)
tree9ca206135608b3c6837e35f6252feb7d4f83e308 /mail/mailgraph/files/patch-mailgraph.cgi
parentNeeds autoconf213 already at patch-time -> PATCH_DEPENDS. (diff)
- Modify mail/mailgraph to use rc.subr
- Change rrd database from to /var/db/mailgraph. PR: ports/66562 Submitted by: Rong-En Fan (maintainer)
Notes
Notes: svn path=/head/; revision=108998
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 = (