From stone@tainet.lt  Wed Apr 20 10:06:10 2005
Return-Path: <stone@tainet.lt>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0C99516A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 20 Apr 2005 10:06:10 +0000 (GMT)
Received: from gigas.tainet.lt (55109.mokslas.lt [193.219.55.109])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1FA5843D41
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 20 Apr 2005 10:06:09 +0000 (GMT)
	(envelope-from stone@tainet.lt)
Received: from localhost (localhost [127.0.0.1])
	by gigas.tainet.lt (Postfix) with ESMTP id 27BEF10E
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 20 Apr 2005 13:06:07 +0300 (EEST)
Received: from gigas.tainet.lt ([127.0.0.1])
 by localhost (gigas.tainet.lt [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 18908-04 for <FreeBSD-gnats-submit@freebsd.org>;
 Wed, 20 Apr 2005 13:05:50 +0300 (EEST)
Received: by gigas.tainet.lt (Postfix, from userid 1000)
	id E3879112; Wed, 20 Apr 2005 13:05:48 +0300 (EEST)
Message-Id: <20050420100548.E3879112@gigas.tainet.lt>
Date: Wed, 20 Apr 2005 13:05:48 +0300 (EEST)
From: Mantas Kaulakys <stone@tainet.lt>
Reply-To: Mantas Kaulakys <stone@tainet.lt>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update port: security/amavis-stats
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         80134
>Category:       ports
>Synopsis:       Update port: security/amavis-stats
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 20 10:10:16 GMT 2005
>Closed-Date:    Wed Apr 20 15:12:31 GMT 2005
>Last-Modified:  Wed Apr 20 15:12:31 GMT 2005
>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@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@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:
State-Changed-From-To: open->closed 
State-Changed-By: leeym 
State-Changed-When: Wed Apr 20 15:12:30 GMT 2005 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80134 
>Unformatted:
