aboutsummaryrefslogtreecommitdiff
path: root/mail/couriergraph/files
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-08-08 15:11:44 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-08-08 15:11:44 +0000
commit146d538f1d3f6af31f2e1b3a651cf8360f11ac17 (patch)
tree2f36fe220db7c9d20f4ee57cd7d2617828a9989e /mail/couriergraph/files
parent2480db729fa96c5e2a1f1f2fd3198d3a413e68a0 (diff)
downloadports-146d538f1d3f6af31f2e1b3a651cf8360f11ac17.tar.gz
ports-146d538f1d3f6af31f2e1b3a651cf8360f11ac17.zip
Notes
Diffstat (limited to 'mail/couriergraph/files')
-rw-r--r--mail/couriergraph/files/couriergraph.sh.in1
-rw-r--r--mail/couriergraph/files/patch-couriergraph.cgi12
-rw-r--r--mail/couriergraph/files/patch-couriergraph.pl12
3 files changed, 8 insertions, 17 deletions
diff --git a/mail/couriergraph/files/couriergraph.sh.in b/mail/couriergraph/files/couriergraph.sh.in
index 3ce36484e285..6aa96cc61c16 100644
--- a/mail/couriergraph/files/couriergraph.sh.in
+++ b/mail/couriergraph/files/couriergraph.sh.in
@@ -4,6 +4,7 @@
#
# PROVIDE: couriergraph
# REQUIRE: DAEMON
+# BEFORE: mail
#
# Add the following line to /etc/rc.conf to enable mailgraph:
#
diff --git a/mail/couriergraph/files/patch-couriergraph.cgi b/mail/couriergraph/files/patch-couriergraph.cgi
index d1ca7da8ab67..e6c6798fd565 100644
--- a/mail/couriergraph/files/patch-couriergraph.cgi
+++ b/mail/couriergraph/files/patch-couriergraph.cgi
@@ -1,15 +1,11 @@
---- couriergraph.cgi.orig Thu Dec 29 07:42:00 2005
-+++ couriergraph.cgi Thu Dec 29 07:44:42 2005
-@@ -18,9 +18,10 @@
+--- couriergraph.cgi.orig Tue Aug 8 11:56:47 2006
++++ couriergraph.cgi Tue Aug 8 11:57:09 2006
+@@ -18,7 +18,7 @@
my $points_per_sample = 3;
my $ypoints = 160;
my $ypoints_err = 96;
-my $rrd = '/etc/postfix/couriergraph.rrd'; # path to where the RRD database is
--my $rrd_virus = '/etc/postfix/mailgraph_virus.rrd'; # path to where the Virus RRD database is
-+my $rrd = '%%DATADIR%%/etc/postfix/couriergraph.rrd'; # path to where the RRD database is
-+my $rrd_virus = '%%DATADIR%%/etc/postfix/mailgraph_virus.rrd'; # path to where the Virus RRD database is
++my $rrd = '%%DATADIR%%/couriergraph.rrd'; # path to where the RRD database is
my $tmp_dir = '/tmp/couriergraph'; # temporary directory where to store the images
-+my $rrdtool_1_0 = ($RRDs::VERSION < 1.199908);
my @graphs = (
- { title => 'Day Graphs', seconds => 3600*24, },
diff --git a/mail/couriergraph/files/patch-couriergraph.pl b/mail/couriergraph/files/patch-couriergraph.pl
index 3c5436b5f495..f08d3c751cd2 100644
--- a/mail/couriergraph/files/patch-couriergraph.pl
+++ b/mail/couriergraph/files/patch-couriergraph.pl
@@ -1,5 +1,5 @@
---- couriergraph.pl.orig Thu Dec 29 07:47:47 2005
-+++ couriergraph.pl Thu Dec 29 07:48:36 2005
+--- couriergraph.pl.orig Tue Jun 20 11:11:39 2006
++++ couriergraph.pl Tue Aug 8 12:02:45 2006
@@ -314,11 +314,11 @@
my $daemon_logfile = '/var/log/couriergraph.log';
@@ -23,7 +23,7 @@
print " --daemon-log=FILE write verbose-log to FILE instead of /var/log/mailgraph.log\n";
print " --rrd-name=NAME use NAME.rrd for the rrd files\n";
-@@ -473,12 +473,12 @@
+@@ -473,7 +473,7 @@
my $prog = $sl->[2];
my $text = $sl->[4];
@@ -32,9 +32,3 @@
if($text =~ /LOGIN,/) {
event($time, 'pop3d_login');
}
- }
-- elsif ($prog eq 'imaplogin') {
-+ elsif ($prog eq 'imap') {
- if($text =~ /LOGIN,/) {
- event($time, 'imapd_login');
- }