ports/162223: New port: mail/amavis-logwatch Amavisd-new log parser

Masaki TAGAWA masaki at club.kyutech.ac.jp
Tue Nov 1 10:20:10 UTC 2011


>Number:         162223
>Category:       ports
>Synopsis:       New port: mail/amavis-logwatch Amavisd-new log parser
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 01 10:20:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Masaki TAGAWA
>Release:        FreeBSD 8.2-RELEASE-p1 amd64
>Organization:
Kyushu Institute of Technology
>Environment:
System: FreeBSD rose.club.kyutech.ac.jp 8.2-RELEASE-p1 FreeBSD 8.2-RELEASE-p1 #1: Mon Apr 25 03:31:52 JST 2011 root at rose.club.kyutech.ac.jp:/usr/obj/usr/src/sys/MASAKIKERNEL amd64


	
>Description:
The amavis-logwatch(1) utility is an Amavisd-new log parser,
that produces summaries, details, and statistics regarding
the operation of Amavisd-new.
>How-To-Repeat:
	
>Fix:

	

--- amavis-logwatch.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	amavis-logwatch
#	amavis-logwatch/pkg-descr
#	amavis-logwatch/pkg-plist
#	amavis-logwatch/distinfo
#	amavis-logwatch/Makefile
#
echo c - amavis-logwatch
mkdir -p amavis-logwatch > /dev/null 2>&1
echo x - amavis-logwatch/pkg-descr
sed 's/^X//' >amavis-logwatch/pkg-descr << '550f0126b35a41b5dd756703b8aacba6'
XThe amavis-logwatch(1) utility is an Amavisd-new log parser
Xthat produces summaries, details, and statistics regarding
Xthe operation of Amavisd-new (henceforth, simply called Amavis).
X
XA key feature of amavis-logwatch is its ability to produce
Xa very wide range of reports with data grouped and sorted as
Xmuch as possible to reduce noise and highlight patterns. Brief
Xsummary reports provide a quick overview of general Amavis
Xoperations and message delivery, calling out warnings that
Xmay require attention. Detailed reports provide easy to scan,
Xhierarchically-arranged and organized information, with as
Xmuch or little detail as desired.
X
XWWW: http://logreporters.sourceforge.net/
550f0126b35a41b5dd756703b8aacba6
echo x - amavis-logwatch/pkg-plist
sed 's/^X//' >amavis-logwatch/pkg-plist << '168a3a84ddbf68d923ce7fd801ef69ac'
X at unexec if cmp -s %D/%%ETCDIR%%/amavis-logwatch.conf.sample %D/%%ETCDIR%%/amavis-logwatch.conf; then rm -f %D/%%ETCDIR%%/amavis-logwatch.conf; fi
X%%ETCDIR%%/amavis-logwatch.conf.sample
X at exec if [ ! -f %B/amavis-logwatch.conf ] ; then cp -p %B/%f %B/amavis-logwatch.conf; fi
X at dirrmtry %%ETCDIR%%
Xbin/amavis-logwatch
168a3a84ddbf68d923ce7fd801ef69ac
echo x - amavis-logwatch/distinfo
sed 's/^X//' >amavis-logwatch/distinfo << '26374532b8bdba236ec3a0861b0f82db'
XSHA256 (amavis-logwatch-1.50.04.tgz) = b7807dbc715152373207e1f15be72b1ea1fc392ab4e9d135c59e98e5c6ed5a08
XSIZE (amavis-logwatch-1.50.04.tgz) = 82384
26374532b8bdba236ec3a0861b0f82db
echo x - amavis-logwatch/Makefile
sed 's/^X//' >amavis-logwatch/Makefile << '0c08faea0fc08c028cd7abe53cb78d8f'
X# New ports collection makefile for:	amavis-logwatch
X# Date created:				2011-11-01
X# Whom:					Masaki TAGAWA <masaki at club.kyutech.ac.jp>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	amavis-logwatch
XPORTVERSION=	1.50.04
XCATEGORIES=	mail
XMASTER_SITES=	SF/logreporters/${PORTNAME}/release/${PORTVERSION}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	masaki at club.kyutech.ac.jp
XCOMMENT=	Amavisd-new log parser
X
XLICENSE=	GPLv2
X
XPORTDOCS=	Bugs Changes README
XPORTEXAMPLES=	${PORTNAME}.conf
X
XMAN1=		${PORTNAME}.1
X
XUSE_PERL5_RUN=	yes
XNO_BUILD=	yes
X
Xpost-patch:
X	@cd ${WRKSRC} && ${REINPLACE_CMD} -e '\
X		s!/usr/local/etc!${ETCDIR}! \
X		' ${PORTNAME} ${PORTNAME}.1 README
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
X	@${CP} ${WRKSRC}/${PORTNAME}.conf ${WRKSRC}/${PORTNAME}.conf.sample
X	@${MKDIR} ${ETCDIR}
X	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample ${ETCDIR}
X
Xpost-install:
X	@if [ ! -f ${ETCDIR}/${PORTNAME}.conf ]; then \
X		${CP} -p ${ETCDIR}/${PORTNAME}.conf.sample ${ETCDIR}/${PORTNAME}.conf; \
X	fi
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${DOCSDIR}
X.endif
X.if !defined(NOPORTEXAMPLES)
X	@${MKDIR} ${EXAMPLESDIR}
X	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
X.endif
X
X.include <bsd.port.mk>
0c08faea0fc08c028cd7abe53cb78d8f
exit
--- amavis-logwatch.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list