svn commit: r365203 - in head/devel: . p5-Log-Defer
Kurt Jaeger
pi at FreeBSD.org
Sun Aug 17 16:49:46 UTC 2014
Author: pi
Date: Sun Aug 17 16:49:45 2014
New Revision: 365203
URL: http://svnweb.freebsd.org/changeset/ports/365203
QAT: https://qat.redports.org/buildarchive/r365203/
Log:
New port: devel/p5-Log-Defer
This module lets you defer log processing in two ways:
- Defer recording of log messages until some "transaction" has completed
- Defer rendering of log messages
This module doesn't actually write out logs! To use this module for normal
logging purposes you also need a logging library.
WWW: http://search.cpan.org/dist/Log-Defer/
PR: 192263
Submitted by: bill.brinzer at gmail.com
Added:
head/devel/p5-Log-Defer/
head/devel/p5-Log-Defer/Makefile (contents, props changed)
head/devel/p5-Log-Defer/distinfo (contents, props changed)
head/devel/p5-Log-Defer/pkg-descr (contents, props changed)
head/devel/p5-Log-Defer/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sun Aug 17 16:45:25 2014 (r365202)
+++ head/devel/Makefile Sun Aug 17 16:49:45 2014 (r365203)
@@ -2287,6 +2287,7 @@
SUBDIR += p5-Log-Any-Adapter-Syslog
SUBDIR += p5-Log-Any-App
SUBDIR += p5-Log-Contextual
+ SUBDIR += p5-Log-Defer
SUBDIR += p5-Log-Dispatch
SUBDIR += p5-Log-Dispatch-Array
SUBDIR += p5-Log-Dispatch-Colorful
Added: head/devel/p5-Log-Defer/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Log-Defer/Makefile Sun Aug 17 16:49:45 2014 (r365203)
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME= Log-Defer
+PORTVERSION= 0.311
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= bill.brinzer at gmail.com
+COMMENT= Deferred logs and timers
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+RUN_DEPENDS= p5-Guard>=0:${PORTSDIR}/devel/p5-Guard
+BUILD_DEPENDS:= ${RUN_DEPENDS}
+
+NO_ARCH= yes
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
Added: head/devel/p5-Log-Defer/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Log-Defer/distinfo Sun Aug 17 16:49:45 2014 (r365203)
@@ -0,0 +1,2 @@
+SHA256 (Log-Defer-0.311.tar.gz) = 9f2f6a7b413b9ce514cfb3b5929b94f9569bc80f4eccadeef8cb9dbbec3f9319
+SIZE (Log-Defer-0.311.tar.gz) = 10044
Added: head/devel/p5-Log-Defer/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Log-Defer/pkg-descr Sun Aug 17 16:49:45 2014 (r365203)
@@ -0,0 +1,22 @@
+I believe a lot of log processing is done too early.
+
+This module lets you defer log processing in two ways:
+
+* Defer recording of log messages until some "transaction" has completed
+
+ Typically this transaction is something like an HTTP request or a cron job.
+ Generally log messages are easier to read if they are recorded atomically and
+ are not intermingled with log messages created by other transactions.
+
+* Defer rendering of log messages
+
+ Sometimes you don't know how logs should be rendered until long after the
+ message has been written. If you aren't sure what information you'll want to
+ display, or you expect to display the same logs in multiple formats, it makes
+ sense to store your logs in a highly structured format so they can be
+ reliably parsed and processed later.
+
+This module doesn't actually write out logs! To use this module for normal
+logging purposes you also need a logging library.
+
+WWW: http://search.cpan.org/dist/Log-Defer/
Added: head/devel/p5-Log-Defer/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Log-Defer/pkg-plist Sun Aug 17 16:49:45 2014 (r365203)
@@ -0,0 +1,8 @@
+%%PERL5_MAN3%%/Log::Defer.3.gz
+%%PERL5_MAN3%%/Log::README.3.gz
+%%SITE_PERL%%/Log/Defer.pm
+%%SITE_PERL%%/Log/README.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Log/Defer/.packlist
+ at dirrmtry %%SITE_PERL%%/Log
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Log/Defer
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Log
More information about the svn-ports-all
mailing list