Add pflogstats 20030404, postfix Log Statistics Reporter.

PR:		51641
Submitted by:	Andrew J. Caines <A.J.Caines@halplant.com>
This commit is contained in:
Pete Fritchman 2003-05-11 15:01:13 +00:00
parent f503890a8c
commit 30c3b132b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80670
5 changed files with 67 additions and 0 deletions

View File

@ -203,6 +203,7 @@
SUBDIR += pear-Mail_Mime
SUBDIR += pear-mailparse
SUBDIR += perdition
SUBDIR += pflogstats
SUBDIR += pflogsumm
SUBDIR += pgen
SUBDIR += pgp4pine

41
mail/pflogstats/Makefile Normal file
View File

@ -0,0 +1,41 @@
# New ports collection makefile for: pflogstats
# Date created: 30 April 2003
# Whom: Andrew J. Caines <A.J.Caines@halplant.com>
#
# $FreeBSD$
#
PORTNAME= pflogstats
PORTVERSION= 20030404
CATEGORIES= mail
MASTER_SITES= ftp://ftp.aerasec.de/pub/linux/postfix/pflogsumm/pflogstats/
MAINTAINER= A.J.Caines@halplant.com
COMMENT= Postfix Log Statistics Reporter
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/IP.pm:${PORTSDIR}/net/p5-Net-IP \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Proc/ProcessTable.pm:${PORTSDIR}/devel/p5-Proc-ProcessTable \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Number/Format.pm:${PORTSDIR}/textproc/p5-Number-Format
NO_BUILD= yes
USE_PERL5= yes
USE_REINPLACE= yes
post-patch:
# fix location of PERL
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/*.pl
@${REINPLACE_CMD} -e 's|/usr/local/lib/pflogstats|${SITE_PERL}/Pflogstats|' ${WRKSRC}/*.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Pflogstats
${INSTALL_DATA} ${WRKSRC}/pflogstats-*.pm ${SITE_PERL}/Pflogstats
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/pflogstats
.for i in README INSTALL ChangeLog BUGS TODO LICENSE CREDITS
${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/pflogstats
.endfor
.endif
.include <bsd.port.mk>

1
mail/pflogstats/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (pflogstats-20030404.tar.gz) = ee0efe0a442245622ea68cb3bac6542f

View File

@ -0,0 +1,3 @@
Extended version of the pflogsumm Postfix log reporting utility.
FTP: ftp://ftp.aerasec.de/pub/linux/postfix/pflogsumm/pflogstats/

21
mail/pflogstats/pkg-plist Normal file
View File

@ -0,0 +1,21 @@
bin/pflogstats
%%SITE_PERL%%/Pflogstats/pflogstats-common-profiling.pm
%%SITE_PERL%%/Pflogstats/pflogstats-common-support.pm
%%SITE_PERL%%/Pflogstats/pflogstats-extensions-addressmapping.pm
%%SITE_PERL%%/Pflogstats/pflogstats-extensions-networking.pm
%%SITE_PERL%%/Pflogstats/pflogstats-extensions-verpmung.pm
%%SITE_PERL%%/Pflogstats/pflogstats-statistics-accounting.pm
%%SITE_PERL%%/Pflogstats/pflogstats-statistics-accpopimap.pm
%%SITE_PERL%%/Pflogstats/pflogstats-statistics-antivirus.pm
%%SITE_PERL%%/Pflogstats/pflogstats-statistics-reject.pm
%%SITE_PERL%%/Pflogstats/pflogstats-statistics-uce.pm
%%SITE_PERL%%/Pflogstats/pflogstats-template.pm
%%PORTDOCS%%share/doc/pflogstats/BUGS
%%PORTDOCS%%share/doc/pflogstats/CREDITS
%%PORTDOCS%%share/doc/pflogstats/ChangeLog
%%PORTDOCS%%share/doc/pflogstats/INSTALL
%%PORTDOCS%%share/doc/pflogstats/LICENSE
%%PORTDOCS%%share/doc/pflogstats/README
%%PORTDOCS%%share/doc/pflogstats/TODO
%%PORTDOCS%%@dirrm share/doc/pflogstats
@dirrm %%SITE_PERL%%/Pflogstats