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 Update to 2.44



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4f61c245ac40
branches:  trunk
changeset: 644833:4f61c245ac40
user:      wen <wen%pkgsrc.org@localhost>
date:      Sun Jan 18 12:24:46 2015 +0000

description:
Update to 2.44
Update DEPENDS

Upstream changes:
2.44     2014-10-18

- The fix for a buffered email output in the last release introduced a bug
  with _non-buffered_ email outputs. This would cause a fatal error during
  global destruction when the DESTROY method was called. Reported by Christ
  Hutchinson. RT #99474.


2.43     2014-10-05

- Fixed the thread locking in Log::Dispatch::Syslog (I hope). The previous
  version caused Perl to crash when per-thread locking was enabled. Note that
  I don't use threads so I haven't tested this. Patch by Sergio Fernndez
  Muoz. RT # 99208.

- If a buffered email output is being destroyed during global destruction and
  still has messages in the buffer, we warn and do not attempt to send the
  messages. During global destruction, the package we use to send email may
  already be destroyed, leading to weird errors when we try to use
  it. Reported by Mark Overmeer. RT #97733.

- In 2.42 I added the ability to pass a hashref for the socket parameter given
  to Log::Dispatch::Syslog, but I forgot to mention this here. This is
  necessary to support remote logging. Patch by David Coppit. RT #93045.

2.42     2014-08-12

- Added a Log::Dispatch->clone() method. This returns shallow clone. The
  outputs and callbacks are shared, but changes to outputs and callbacks in
  the clone do not affect the original, or vice versa.

- Added Log::Dispatch->outputs() method. This returns all the output objects
  in a dispatch object.

- Added Log::Dispatch->callbacks() method. This returns all the callback subs
  in a dispatch object.

- The Syslog output now calls Sys::Syslog::setlogsock() every time a message
  is logged, since something else could have called it in between logging two
  messages.

- Added a lock parameter to the Syslog output. If this is true, then logging
  is done in the scope of a per-thread lock. Reported by Cedric Carree and
  Franck Youssef. RT #67988 and #85013.

- Replaced Class::Load with Module::Runtime.


2.41     2013-07-22

- An error is now thrown if you call Log::Dispatch->log without a
  level. Previously you'd just get a warning and then execution would continue
  (without logging anything). Patch by Ross Attrill. RT #87133.

diffstat:

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

diffs (37 lines):

diff -r a065a2102555 -r 4f61c245ac40 devel/p5-Log-Dispatch/Makefile
--- a/devel/p5-Log-Dispatch/Makefile    Sun Jan 18 10:31:26 2015 +0000
+++ b/devel/p5-Log-Dispatch/Makefile    Sun Jan 18 12:24:46 2015 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.42 2014/10/09 13:44:42 wiz Exp $
+# $NetBSD: Makefile,v 1.43 2015/01/18 12:24:46 wen Exp $
 
-DISTNAME=      Log-Dispatch-2.40
+DISTNAME=      Log-Dispatch-2.44
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Log/}
 
@@ -11,7 +10,8 @@
 COMMENT=       Perl module for logging messages to multiple outputs
 LICENSE=       artistic-2.0
 
-DEPENDS+=      p5-Class-Load-[0-9]*:../../devel/p5-Class-Load
+DEPENDS+=      p5-Module-Runtime-[0-9]*:../../devel/p5-Module-Runtime
+DEPENDS+=      p5-Devel-GlobalDestruction>=0:../../devel/p5-Devel-GlobalDestruction
 DEPENDS+=      p5-Dist-CheckConflicts>=0.02:../../devel/p5-Dist-CheckConflicts
 DEPENDS+=      p5-Params-Validate>=0.15:../../devel/p5-Params-Validate
 # Sys::Syslog >= 0.25 is in Perl core since 5.10.1
diff -r a065a2102555 -r 4f61c245ac40 devel/p5-Log-Dispatch/distinfo
--- a/devel/p5-Log-Dispatch/distinfo    Sun Jan 18 10:31:26 2015 +0000
+++ b/devel/p5-Log-Dispatch/distinfo    Sun Jan 18 12:24:46 2015 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.21 2013/07/03 06:17:38 sno Exp $
+$NetBSD: distinfo,v 1.22 2015/01/18 12:24:46 wen Exp $
 
-SHA1 (Log-Dispatch-2.40.tar.gz) = 9f5cc22e2d5e90e9cdfd8bf1914b2238b42747b8
-RMD160 (Log-Dispatch-2.40.tar.gz) = 6644964488faaccfd313a60b60b6df1c1e243c88
-Size (Log-Dispatch-2.40.tar.gz) = 35057 bytes
+SHA1 (Log-Dispatch-2.44.tar.gz) = a73627d56cd2ba4ab8cf91f030032438c3811a76
+RMD160 (Log-Dispatch-2.44.tar.gz) = 0cecffb2a33687339b4aa5793308f51232e27a0c
+Size (Log-Dispatch-2.44.tar.gz) = 49540 bytes



Home | Main Index | Thread Index | Old Index