ports/159988: New port: mail/postfix-logwatch Postfix MTA log parser
Alexander Moisseev
moiseev at mezonplus.ru
Mon Aug 22 09:20:12 UTC 2011
>Number: 159988
>Category: ports
>Synopsis: New port: mail/postfix-logwatch Postfix MTA 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: Mon Aug 22 09:20:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Alexander Moisseev
>Release:
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# 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:
#
# postfix-logwatch
# postfix-logwatch/Makefile
# postfix-logwatch/distinfo
# postfix-logwatch/pkg-plist
# postfix-logwatch/pkg-descr
#
echo c - postfix-logwatch
mkdir -p postfix-logwatch > /dev/null 2>&1
echo x - postfix-logwatch/Makefile
sed 's/^X//' >postfix-logwatch/Makefile << '643b28098784df570389ce425e575fc1'
X# New ports collection makefile for: postfix-logwatch
X# Date created: 19 Aug 2011
X# Whom: Alexander Moisseev <moiseev at mezonplus.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME= postfix-logwatch
XPORTVERSION= 1.39.05
XCATEGORIES= mail
XMASTER_SITES= SF
XMASTER_SITE_SUBDIR= logreporters/${PORTNAME}/release/${PORTVERSION}
XEXTRACT_SUFX= .tgz
X
XMAINTAINER= moiseev at mezonplus.ru
XCOMMENT= Postfix MTA log parser
X
XUSE_PERL_RUN= yes
X
XPORTDOCS= Bugs Changes LICENSE README
XPORTEXAMPLES= ${PORTNAME}.conf ${PORTNAME}.conf-topn
XMAN1= ${PORTNAME}.1
X
Xpost-patch:
X @cd ${WRKSRC} && ${REINPLACE_CMD} -e '\
X s!/usr/local/etc!${ETCDIR}!; \
X ' ${PORTNAME} ${PORTNAME}.1 README
X
Xdo-build:
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>
643b28098784df570389ce425e575fc1
echo x - postfix-logwatch/distinfo
sed 's/^X//' >postfix-logwatch/distinfo << '1ad2107f9395df05e2a12ee8df6925be'
XSHA256 (postfix-logwatch-1.39.05.tgz) = fb545253ce137c32e61c0a5a0c92eacc7785cb2e7973d2bd15562e52b626f96a
XSIZE (postfix-logwatch-1.39.05.tgz) = 99813
1ad2107f9395df05e2a12ee8df6925be
echo x - postfix-logwatch/pkg-plist
sed 's/^X//' >postfix-logwatch/pkg-plist << 'bfecfadbcf4d8a100a284070f69612a0'
X at unexec if cmp -s %D/%%ETCDIR%%/postfix-logwatch.conf.sample %D/%%ETCDIR%%/postfix-logwatch.conf; then rm -f %D/%%ETCDIR%%/postfix-logwatch.conf; fi
X%%ETCDIR%%/postfix-logwatch.conf.sample
X at exec if [ ! -f %B/postfix-logwatch.conf ] ; then cp -p %B/%f %B/postfix-logwatch.conf; fi
X at dirrmtry %%ETCDIR%%
Xbin/postfix-logwatch
bfecfadbcf4d8a100a284070f69612a0
echo x - postfix-logwatch/pkg-descr
sed 's/^X//' >postfix-logwatch/pkg-descr << '98953b59039c28cab1280453dba97951'
XThe postfix-logwatch(1) utility is a Postfix MTA log parser, that produces
Xsummaries, details, and statistics regarding the operation of Postfix.
X
XA key feature of postfix-logwatch is its ability to produce a very wide range of
Xreports with data grouped and sorted as much as possible to reduce noise and
Xhighlight patterns. Brief summary reports provide a quick overview of general
XPostfix operations and message delivery, calling out warnings that may require
Xattention. Detailed reports provide easy to scan, hierarchically-arranged and
Xorganized information, with as much or little detail as desired.
X
XWWW: http://logreporters.sourceforge.net
98953b59039c28cab1280453dba97951
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list