aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-09-09 13:44:58 +0800
committerrafan <rafan@FreeBSD.org>2007-09-09 13:44:58 +0800
commit83527b0b6f160a9d760e5ed540dffb54eeba06e4 (patch)
tree8cdb57aa4418bb9b5edde53b32d8867e495d33fb /mail
parent3c7bef97136ba8e5cbb19f55b7a6c4d57cd52a27 (diff)
downloadfreebsd-ports-graphics-83527b0b6f160a9d760e5ed540dffb54eeba06e4.tar.gz
freebsd-ports-graphics-83527b0b6f160a9d760e5ed540dffb54eeba06e4.tar.zst
freebsd-ports-graphics-83527b0b6f160a9d760e5ed540dffb54eeba06e4.zip
- Update to 1.01
PR: ports/116183 Submitted by: Xavier Beaudouin <kiwi at oav.net> (maintainer)
Diffstat (limited to 'mail')
-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 5b0560134d6..cae25e414cf 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 10245f93fa1..15182cde7ef 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 afbb831344d..0d8880cafd4 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 cb4ad3a3095..b4327d3a58a 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