diff options
author | petef <petef@FreeBSD.org> | 2003-05-11 23:01:13 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2003-05-11 23:01:13 +0800 |
commit | 4828a49205dd880b9059426c67515d6be84df726 (patch) | |
tree | b2bc69eb34b0fbd0827e1243f80bf15d10b2dd8c /mail | |
parent | 3260d9ce964635df8b6a31c6ce3c54f2b6fcd03e (diff) | |
download | freebsd-ports-gnome-4828a49205dd880b9059426c67515d6be84df726.tar.gz freebsd-ports-gnome-4828a49205dd880b9059426c67515d6be84df726.tar.zst freebsd-ports-gnome-4828a49205dd880b9059426c67515d6be84df726.zip |
Add pflogstats 20030404, postfix Log Statistics Reporter.
PR: 51641
Submitted by: Andrew J. Caines <A.J.Caines@halplant.com>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/pflogstats/Makefile | 41 | ||||
-rw-r--r-- | mail/pflogstats/distinfo | 1 | ||||
-rw-r--r-- | mail/pflogstats/pkg-descr | 3 | ||||
-rw-r--r-- | mail/pflogstats/pkg-plist | 21 |
5 files changed, 67 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index ad1a5a9d7786..37e618917c7b 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -203,6 +203,7 @@ SUBDIR += pear-Mail_Mime SUBDIR += pear-mailparse SUBDIR += perdition + SUBDIR += pflogstats SUBDIR += pflogsumm SUBDIR += pgen SUBDIR += pgp4pine diff --git a/mail/pflogstats/Makefile b/mail/pflogstats/Makefile new file mode 100644 index 000000000000..6ac445fca4ea --- /dev/null +++ b/mail/pflogstats/Makefile @@ -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> diff --git a/mail/pflogstats/distinfo b/mail/pflogstats/distinfo new file mode 100644 index 000000000000..c4f227cc1af5 --- /dev/null +++ b/mail/pflogstats/distinfo @@ -0,0 +1 @@ +MD5 (pflogstats-20030404.tar.gz) = ee0efe0a442245622ea68cb3bac6542f diff --git a/mail/pflogstats/pkg-descr b/mail/pflogstats/pkg-descr new file mode 100644 index 000000000000..8c0191ec5abd --- /dev/null +++ b/mail/pflogstats/pkg-descr @@ -0,0 +1,3 @@ +Extended version of the pflogsumm Postfix log reporting utility. + +FTP: ftp://ftp.aerasec.de/pub/linux/postfix/pflogsumm/pflogstats/ diff --git a/mail/pflogstats/pkg-plist b/mail/pflogstats/pkg-plist new file mode 100644 index 000000000000..4f6e29eebaa9 --- /dev/null +++ b/mail/pflogstats/pkg-plist @@ -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 |