The amavis-logwatch(1) utility is an Amavisd-new log parser

that produces summaries, details, and statistics regarding
the operation of Amavisd-new (henceforth, simply called Amavis).

A key feature of amavis-logwatch is its ability to produce
a very wide range of reports with data grouped and sorted as
much as possible to reduce noise and highlight patterns. Brief
summary reports provide a quick overview of general Amavis
operations and message delivery, calling out warnings that
may require attention. Detailed reports provide easy to scan,
hierarchically-arranged and organized information, with as
much or little detail as desired.

WWW: http://logreporters.sourceforge.net/

PR:		ports/162223
Submitted by:	Masaki TAGAWA <masaki@club.kyutech.ac.jp>
This commit is contained in:
Martin Wilke 2011-11-06 12:10:00 +00:00
parent 71abe8b0fd
commit 8bf89fab9e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285142
5 changed files with 74 additions and 0 deletions

View file

@ -11,6 +11,7 @@
SUBDIR += alpine SUBDIR += alpine
SUBDIR += altermime SUBDIR += altermime
SUBDIR += althea SUBDIR += althea
SUBDIR += amavis-logwatch
SUBDIR += annoyance-filter SUBDIR += annoyance-filter
SUBDIR += anomy-sanitizer SUBDIR += anomy-sanitizer
SUBDIR += antivirus-milter SUBDIR += antivirus-milter

View file

@ -0,0 +1,52 @@
# New ports collection makefile for: amavis-logwatch
# Date created: 2011-11-01
# Whom: Masaki TAGAWA <masaki@club.kyutech.ac.jp>
#
# $FreeBSD$
#
PORTNAME= amavis-logwatch
PORTVERSION= 1.50.04
CATEGORIES= mail
MASTER_SITES= SF/logreporters/${PORTNAME}/release/${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= masaki@club.kyutech.ac.jp
COMMENT= Amavisd-new log parser
LICENSE= GPLv2
PORTDOCS= Bugs Changes README
PORTEXAMPLES= ${PORTNAME}.conf
MAN1= ${PORTNAME}.1
USE_PERL5_RUN= yes
NO_BUILD= yes
post-patch:
@cd ${WRKSRC} && ${REINPLACE_CMD} -e '\
s!/usr/local/etc!${ETCDIR}! \
' ${PORTNAME} ${PORTNAME}.1 README
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
@${CP} ${WRKSRC}/${PORTNAME}.conf ${WRKSRC}/${PORTNAME}.conf.sample
@${MKDIR} ${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample ${ETCDIR}
post-install:
@if [ ! -f ${ETCDIR}/${PORTNAME}.conf ]; then \
${CP} -p ${ETCDIR}/${PORTNAME}.conf.sample ${ETCDIR}/${PORTNAME}.conf; \
fi
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (amavis-logwatch-1.50.04.tgz) = b7807dbc715152373207e1f15be72b1ea1fc392ab4e9d135c59e98e5c6ed5a08
SIZE (amavis-logwatch-1.50.04.tgz) = 82384

View file

@ -0,0 +1,14 @@
The amavis-logwatch(1) utility is an Amavisd-new log parser
that produces summaries, details, and statistics regarding
the operation of Amavisd-new (henceforth, simply called Amavis).
A key feature of amavis-logwatch is its ability to produce
a very wide range of reports with data grouped and sorted as
much as possible to reduce noise and highlight patterns. Brief
summary reports provide a quick overview of general Amavis
operations and message delivery, calling out warnings that
may require attention. Detailed reports provide easy to scan,
hierarchically-arranged and organized information, with as
much or little detail as desired.
WWW: http://logreporters.sourceforge.net/

View file

@ -0,0 +1,5 @@
@unexec if cmp -s %D/%%ETCDIR%%/amavis-logwatch.conf.sample %D/%%ETCDIR%%/amavis-logwatch.conf; then rm -f %D/%%ETCDIR%%/amavis-logwatch.conf; fi
%%ETCDIR%%/amavis-logwatch.conf.sample
@exec if [ ! -f %B/amavis-logwatch.conf ] ; then cp -p %B/%f %B/amavis-logwatch.conf; fi
@dirrmtry %%ETCDIR%%
bin/amavis-logwatch