Date: Thu, 1 Jan 2015 16:07:40 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375934 - in head/devel: . p5-Log-Dispatch-ArrayWithLimits Message-ID: <201501011607.t01G7eTF001746@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Thu Jan 1 16:07:39 2015 New Revision: 375934 URL: https://svnweb.freebsd.org/changeset/ports/375934 QAT: https://qat.redports.org/buildarchive/r375934/ Log: - Add p5-Log-Dispatch-ArrayWithLimits 0.03 Log::Dispatch::ArrayWithLimits functions similarly to Log::Dispatch::Array, with a few differences: - only the messages (strings) are stored - allow specifying array variable name (e.g. "My::array" instead of \@My:array) This makes it possible to use in Log::Log4perl configuration, which is a text file. - can apply some limits Currently only max_elems (the maximum number of elements in the array) is available. Future limits will be added (see "TODO"). Logging to an in-process array can be useful when debugging/testing, or when you want to let users of your program connect to your program to request viewing the ogs being produced. WWW: http://search.cpan.org/dist/Log-Dispatch-ArrayWithLimits/ Added: head/devel/p5-Log-Dispatch-ArrayWithLimits/ head/devel/p5-Log-Dispatch-ArrayWithLimits/Makefile (contents, props changed) head/devel/p5-Log-Dispatch-ArrayWithLimits/distinfo (contents, props changed) head/devel/p5-Log-Dispatch-ArrayWithLimits/pkg-descr (contents, props changed) head/devel/p5-Log-Dispatch-ArrayWithLimits/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu Jan 1 16:07:05 2015 (r375933) +++ head/devel/Makefile Thu Jan 1 16:07:39 2015 (r375934) @@ -2312,6 +2312,7 @@ SUBDIR += p5-Log-Defer SUBDIR += p5-Log-Dispatch SUBDIR += p5-Log-Dispatch-Array + SUBDIR += p5-Log-Dispatch-ArrayWithLimits SUBDIR += p5-Log-Dispatch-Colorful SUBDIR += p5-Log-Dispatch-Config SUBDIR += p5-Log-Dispatch-Configurator-Any Added: head/devel/p5-Log-Dispatch-ArrayWithLimits/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Log-Dispatch-ArrayWithLimits/Makefile Thu Jan 1 16:07:39 2015 (r375934) @@ -0,0 +1,22 @@ +# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= Log-Dispatch-ArrayWithLimits +PORTVERSION= 0.03 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Log to array, with some limits applied + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-Log-Dispatch>=0:${PORTSDIR}/devel/p5-Log-Dispatch +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USE_PERL5= configure +USES= perl5 + +.include <bsd.port.mk> Added: head/devel/p5-Log-Dispatch-ArrayWithLimits/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Log-Dispatch-ArrayWithLimits/distinfo Thu Jan 1 16:07:39 2015 (r375934) @@ -0,0 +1,2 @@ +SHA256 (Log-Dispatch-ArrayWithLimits-0.03.tar.gz) = e82579fe800747f264b87351b1349810d9501393d518b6a8fed5d6b741398fd9 +SIZE (Log-Dispatch-ArrayWithLimits-0.03.tar.gz) = 13107 Added: head/devel/p5-Log-Dispatch-ArrayWithLimits/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Log-Dispatch-ArrayWithLimits/pkg-descr Thu Jan 1 16:07:39 2015 (r375934) @@ -0,0 +1,15 @@ +Log::Dispatch::ArrayWithLimits functions similarly to Log::Dispatch::Array, with +a few differences: +- only the messages (strings) are stored +- allow specifying array variable name (e.g. "My::array" instead of \@My:array) + This makes it possible to use in Log::Log4perl configuration, which is a text + file. +- can apply some limits + Currently only max_elems (the maximum number of elements in the array) is + available. Future limits will be added (see "TODO"). + +Logging to an in-process array can be useful when debugging/testing, or when you +want to let users of your program connect to your program to request viewing the +ogs being produced. + +WWW: http://search.cpan.org/dist/Log-Dispatch-ArrayWithLimits/ Added: head/devel/p5-Log-Dispatch-ArrayWithLimits/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Log-Dispatch-ArrayWithLimits/pkg-plist Thu Jan 1 16:07:39 2015 (r375934) @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Log/Dispatch/ArrayWithLimits.pm +%%PERL5_MAN3%%/Log::Dispatch::ArrayWithLimits.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501011607.t01G7eTF001746>