Bug 80134

Summary: Update port: security/amavis-stats
Product: Ports & Packages Reporter: Mantas Kaulakys <stone>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

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 freebsd_triage 2005-04-20 16:12:30 UTC
State Changed
From-To: open->closed

Committed, thanks.