Bug 80134 - Update port: security/amavis-stats
Summary: Update port: security/amavis-stats
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs mailing list
Depends on:
Reported: 2005-04-20 11:10 UTC by Mantas Kaulakys
Modified: 2005-04-20 16:12 UTC (History)
0 users

See Also:

file.diff (237 bytes, patch)
2005-04-20 11:10 UTC, Mantas Kaulakys
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mantas Kaulakys 2005-04-20 11:10:16 UTC

Add dependency to php pcre extension.
Fix typo in comments.

Noticed by:     Thomas Novin thnov@xyz.pp.se

Fix: USE_PERL5_RUN= yes
-USE_PHP=       yes
+USE_PHP=       pcre

 MAN1=          amavis-stats.1

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--40iMYJDoDBJ4Rocq5WA19sU1U8VIZGiPwWblw86cR6hAekdm
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

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
Comment 1 Yen-Ming Lee freebsd_committer 2005-04-20 16:12:30 UTC
State Changed
From-To: open->closed

Committed, thanks.