pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Log-Dispatch Updating devel/p5-Log-Dispatch f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d5502dd3164
branches:  trunk
changeset: 565254:3d5502dd3164
user:      sno <sno%pkgsrc.org@localhost>
date:      Sat Sep 19 16:44:15 2009 +0000

description:
Updating devel/p5-Log-Dispatch from 2.22 to 2.25

pkgsrc changes:
  - Adding license definition

Upstream changes:
2.25 Sep 15, 2009

- Added a workaround for a weird tainting issue with Params::Validate. This
  caused a taint exception when a Log::Dispatch::Syslog was created under
  taint mode. Note that there is still a problem in Params::Validate itself,
  this is just a hack.


2.24 Sep 13, 2009

- Simplified new constructor API (the 2.23 API is still silently supported but
  not documented):

      Log::Dispatch->new( outputs => [ [ 'File', ... ],
                                       [ 'Screen', ... ],
                                     ]
                        );

  Implemented by Jon Swartz.

- All of the mail sending modules now warn unconditionally if sending mail
  fails. This removes the incorrect use of warnings::enabled() in some
  modules. RT #43516.


2.23 Sep 12, 2009

- A new constructor API that simplifies creating your Log::Dispatch object:

      Log::Dispatch->new( outputs => [ File   => { ... },
                                       Screen => { ... },
                                     ],
                        );

  Implemented by Jon Swartz.

- Made name parameter optional. We now auto-generate a unique name if one is
  not given. Implemented by Jon Swartz.

- Added a newline parameter that causes a newline to be added to each message,
  and updated the documentation regarding newlines. Implemented by Jon Swartz.

- Removed repetitive boilerplate documentation from each output
  class. Implemented by Jon Swartz.

- The level_names and level_numbers used internally are now computed once and
  shared between output objects. Implemented by Jon Swartz.

- Updated repo url - now at http://hg.urth.org/hg/Log-Dispatch

- Explicitly depend on Sys::Syslog 0.16.

- Added warn as a synonym for warning. RT #44821. Requested by Dylan Martin.

- Added an add_callback method to Log::Dispatch and
  Log::Dispatch::Output. This lets you add a new formatting callback after an
  object is created. Based on a patch from Ricardo Signes. RT #48283.

- The Log::Dispatch docs mistakenly told you to provide a log() method when
  creating a new output class. RT #40561.

- Made all modules have the same version as Log::Dispatch itself.

diffstat:

 devel/p5-Log-Dispatch/Makefile |  5 +++--
 devel/p5-Log-Dispatch/distinfo |  8 ++++----
 2 files changed, 7 insertions(+), 6 deletions(-)

diffs (33 lines):

diff -r eb870b92d134 -r 3d5502dd3164 devel/p5-Log-Dispatch/Makefile
--- a/devel/p5-Log-Dispatch/Makefile    Sat Sep 19 16:39:01 2009 +0000
+++ b/devel/p5-Log-Dispatch/Makefile    Sat Sep 19 16:44:15 2009 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2008/12/10 16:50:21 rhaen Exp $
+# $NetBSD: Makefile,v 1.27 2009/09/19 16:44:15 sno Exp $
 
-DISTNAME=      Log-Dispatch-2.22
+DISTNAME=      Log-Dispatch-2.25
 PKGNAME=       p5-${DISTNAME}
 SVR4_PKGNAME=  p5ldi
 CATEGORIES=    devel perl5
@@ -9,6 +9,7 @@
 MAINTAINER=    rhaen%NetBSD.org@localhost
 HOMEPAGE=      http://search.cpan.org/dist/Log-Dispatch/
 COMMENT=       Perl module for logging messages to multiple outputs
+LICENSE=       ${PERL5_LICENSE}
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 DEPENDS+=      p5-Params-Validate>=0.15:../../devel/p5-Params-Validate
diff -r eb870b92d134 -r 3d5502dd3164 devel/p5-Log-Dispatch/distinfo
--- a/devel/p5-Log-Dispatch/distinfo    Sat Sep 19 16:39:01 2009 +0000
+++ b/devel/p5-Log-Dispatch/distinfo    Sat Sep 19 16:44:15 2009 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2008/12/10 16:50:21 rhaen Exp $
+$NetBSD: distinfo,v 1.14 2009/09/19 16:44:15 sno Exp $
 
-SHA1 (Log-Dispatch-2.22.tar.gz) = 631344dc1dcde24ef4f7063b4600b33c6c7e3668
-RMD160 (Log-Dispatch-2.22.tar.gz) = 29e50eff13542cf8d2be4b863bd69b8c54e44458
-Size (Log-Dispatch-2.22.tar.gz) = 32582 bytes
+SHA1 (Log-Dispatch-2.25.tar.gz) = 191394fe43583766aeb9dff9bc33e35b06552ada
+RMD160 (Log-Dispatch-2.25.tar.gz) = 23248b2c600b810d1b06796eb28572fa5f7bf41e
+Size (Log-Dispatch-2.25.tar.gz) = 41668 bytes



Home | Main Index | Thread Index | Old Index