aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-04-20 23:12:23 +0800
committerleeym <leeym@FreeBSD.org>2005-04-20 23:12:23 +0800
commite201e05f93e1da3d44d9d0f7d830dc55f4e188f3 (patch)
tree07971483a800bea166dee0f9e217360863abd39a /security
parent0688a65da7c5e01937871ede573a8097a9cf8584 (diff)
downloadfreebsd-ports-gnome-e201e05f93e1da3d44d9d0f7d830dc55f4e188f3.tar.gz
freebsd-ports-gnome-e201e05f93e1da3d44d9d0f7d830dc55f4e188f3.tar.zst
freebsd-ports-gnome-e201e05f93e1da3d44d9d0f7d830dc55f4e188f3.zip
Add dependency to php pcre extension.
Fix typo in comments. Noticed by: Thomas Novin thnov@xyz.pp.se PR: 80134 Submitted by: Mantas Kaulakys <stone@tainet.lt> (maintainer)
Diffstat (limited to 'security')
-rw-r--r--security/amavis-stats/Makefile4
-rw-r--r--security/amavis-stats/files/pkg-message.in4
2 files changed, 5 insertions, 3 deletions
diff --git a/security/amavis-stats/Makefile b/security/amavis-stats/Makefile
index b1e27e32287e..f27ce9ef7998 100644
--- a/security/amavis-stats/Makefile
+++ b/security/amavis-stats/Makefile
@@ -16,7 +16,7 @@ COMMENT= A simple AMaViS statistics generator based on rrdtool
RUN_DEPENDS= ${SITE_PERL}/mach/RRDs.pm:${PORTSDIR}/net/rrdtool
USE_PERL5_RUN= yes
-USE_PHP= yes
+USE_PHP= pcre
MAN1= amavis-stats.1
@@ -40,7 +40,7 @@ SUB_LIST+= AMAVISUSER=${AMAVISUSER} AMAVISGROUP=${AMAVISGROUP}
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
-IGNORE= "Need at least perl 5.6.1 to build"
+IGNORE= Need at least perl 5.6.1 to build
.endif
pre-install: apply-slist
diff --git a/security/amavis-stats/files/pkg-message.in b/security/amavis-stats/files/pkg-message.in
index c811b585b018..f1872470d97b 100644
--- a/security/amavis-stats/files/pkg-message.in
+++ b/security/amavis-stats/files/pkg-message.in
@@ -2,11 +2,13 @@
To view the statistics via you browser you must:
create a symlink, like:
-cd /usr/local/www/data ; ln -s amavis-stats ../amavis-stats
+cd /usr/local/www/data ; ln -s ../amavis-stats amavis-stats
or modify your Apache httpd.conf including this line:
Alias /amavis-stats %%PREFIX%%/www/amavis-stats
+You can view then the statistics in http://your-site/amavis-stats
+
To update the statistics every 5 minutes, you also
can setup cronjob for amavis-stats by putting this line to /etc/crontab
*/5 * * * * amavis %%PREFIX%%/sbin/amavis-stats /var/log/maillog 2>&1 > /dev/null