ports/80134: Update port: security/amavis-stats
Mantas Kaulakys
stone at tainet.lt
Wed Apr 20 10:10:21 UTC 2005
>Number: 80134
>Category: ports
>Synopsis: Update port: security/amavis-stats
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 20 10:10:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Mantas Kaulakys
>Release: FreeBSD 5.3-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD gigas.tainet.lt 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #18: Sun Dec 12 13:08:14 EET 2004 stone at gigas.tainet.lt:/usr/obj/usr/src/sys/GIGAS i386
>Description:
Add dependency to php pcre extension.
Fix typo in comments.
Noticed by: Thomas Novin thnov at xyz.pp.se
>How-To-Repeat:
>Fix:
diff -ruN amavis-stats.bak/Makefile amavis-stats/Makefile
--- amavis-stats.bak/Makefile Fri Feb 18 12:02:09 2005
+++ amavis-stats/Makefile Wed Apr 20 11:47:23 2005
@@ -16,7 +16,7 @@
RUN_DEPENDS= ${SITE_PERL}/mach/RRDs.pm:${PORTSDIR}/net/rrdtool
USE_PERL5_RUN= yes
-USE_PHP= yes
+USE_PHP= pcre
MAN1= amavis-stats.1
diff -ruN amavis-stats.bak/files/pkg-message.in amavis-stats/files/pkg-message.in
--- amavis-stats.bak/files/pkg-message.in Fri Feb 18 12:02:09 2005
+++ amavis-stats/files/pkg-message.in Wed Apr 20 11:49:44 2005
@@ -2,10 +2,12 @@
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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list