1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

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)
This commit is contained in:
Yen-Ming Lee 2005-04-20 15:12:23 +00:00
parent 794e1823fc
commit dd440f1b16
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133787
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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