aboutsummaryrefslogtreecommitdiffstats
path: root/mail/ovs
diff options
context:
space:
mode:
Diffstat (limited to 'mail/ovs')
-rw-r--r--mail/ovs/Makefile4
-rw-r--r--mail/ovs/distinfo6
-rw-r--r--mail/ovs/files/patch-ovs.cgi13
-rw-r--r--mail/ovs/pkg-plist3
4 files changed, 20 insertions, 6 deletions
diff --git a/mail/ovs/Makefile b/mail/ovs/Makefile
index 5b0560134d65..cae25e414cfb 100644
--- a/mail/ovs/Makefile
+++ b/mail/ovs/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ovs
-PORTVERSION= 1.00
+PORTVERSION= 1.01
CATEGORIES= mail
MASTER_SITES= ftp://ftp.oav.net/openvisp/stats/
@@ -43,10 +43,12 @@ post-patch:
do-install:
@${MKDIR} ${PREFIX}/www/cgi-bin
+ @${MKDIR} ${PREFIX}/www/data/ovs
@${MKDIR} ${DATADIR}
@${CHOWN} -R ${OVS_USER}:${OVS_GROUP} ${DATADIR}
@${INSTALL_SCRIPT} ${WRKSRC}/ovs.pl ${PREFIX}/sbin
@${INSTALL_SCRIPT} ${WRKSRC}/ovs.cgi ${PREFIX}/www/cgi-bin
+ @${INSTALL_SCRIPT} ${WRKSRC}/ovs.css ${PREFIX}/www/data/ovs
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
for f in ${DOCS}; do \
diff --git a/mail/ovs/distinfo b/mail/ovs/distinfo
index 10245f93fa13..15182cde7efb 100644
--- a/mail/ovs/distinfo
+++ b/mail/ovs/distinfo
@@ -1,3 +1,3 @@
-MD5 (ovs-1.00.tar.gz) = b442036010df9710e330d5d5d4822698
-SHA256 (ovs-1.00.tar.gz) = f80ceeef0c3c3076e70f2930ab6aaf41c2d51967046704cf76acffb738d125fc
-SIZE (ovs-1.00.tar.gz) = 24253
+MD5 (ovs-1.01.tar.gz) = 8b4619fe227f5d0ced5162d48f4a5e05
+SHA256 (ovs-1.01.tar.gz) = 5431a48c908311e28206d0516fb0d9fee496e49cbb9de19ab114c94a705336ab
+SIZE (ovs-1.01.tar.gz) = 25492
diff --git a/mail/ovs/files/patch-ovs.cgi b/mail/ovs/files/patch-ovs.cgi
index afbb831344d3..0d8880cafd4b 100644
--- a/mail/ovs/files/patch-ovs.cgi
+++ b/mail/ovs/files/patch-ovs.cgi
@@ -1,5 +1,5 @@
---- ovs.cgi.old Sun Aug 26 23:55:10 2007
-+++ ovs.cgi Sun Aug 26 23:56:44 2007
+--- ovs.cgi.orig Mon Sep 3 18:19:22 2007
++++ ovs.cgi Fri Sep 7 20:28:39 2007
@@ -25,9 +25,9 @@
my $points_per_sample = 3;
my $ypoints = 160;
@@ -13,3 +13,12 @@
my $tmp_dir = '/tmp/ovs'; # temporary directory where to store the images
my @graphs = (
+@@ -310,7 +310,7 @@
+ <title>Mail statistics for $host</title>
+ <meta http-equiv="Refresh" content="300" />
+ <meta http-equiv="Pragma" content="no-cache" />
+-<link rel="stylesheet" href="ovs.css" type="text/css" />
++<link rel="stylesheet" href="/ovs/ovs.css" type="text/css" />
+ </head>
+ <body>
+ HEADER
diff --git a/mail/ovs/pkg-plist b/mail/ovs/pkg-plist
index cb4ad3a30950..b4327d3a58aa 100644
--- a/mail/ovs/pkg-plist
+++ b/mail/ovs/pkg-plist
@@ -1,3 +1,6 @@
www/cgi-bin/ovs.cgi
+www/data/ovs/ovs.css
sbin/ovs.pl
@dirrmtry www/cgi-bin
+@dirrmtry www/data/ovs
+@dirrmtry www/data