Date: Wed, 20 Apr 2005 13:05:48 +0300 (EEST) From: Mantas Kaulakys <stone@tainet.lt> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/80134: Update port: security/amavis-stats Message-ID: <20050420100548.E3879112@gigas.tainet.lt> Resent-Message-ID: <200504201010.j3KAAGRY054012@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050420100548.E3879112>