Sun Jan 18 12:24:46 2015 UTC ()
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.


(wen)
diff -r1.42 -r1.43 pkgsrc/devel/p5-Log-Dispatch/Makefile
diff -r1.21 -r1.22 pkgsrc/devel/p5-Log-Dispatch/distinfo

cvs diff -r1.42 -r1.43 pkgsrc/devel/p5-Log-Dispatch/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/p5-Log-Dispatch/Makefile 2014/10/09 13:44:42 1.42
+++ pkgsrc/devel/p5-Log-Dispatch/Makefile 2015/01/18 12:24:46 1.43
@@ -1,22 +1,22 @@ @@ -1,22 +1,22 @@
1# $NetBSD: Makefile,v 1.42 2014/10/09 13:44:42 wiz Exp $ 1# $NetBSD: Makefile,v 1.43 2015/01/18 12:24:46 wen Exp $
2 2
3DISTNAME= Log-Dispatch-2.40 3DISTNAME= Log-Dispatch-2.44
4PKGNAME= p5-${DISTNAME} 4PKGNAME= p5-${DISTNAME}
5PKGREVISION= 1 
6CATEGORIES= devel perl5 5CATEGORIES= devel perl5
7MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Log/} 6MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Log/}
8 7
9MAINTAINER= rhaen@NetBSD.org 8MAINTAINER= rhaen@NetBSD.org
10HOMEPAGE= http://search.cpan.org/dist/Log-Dispatch/ 9HOMEPAGE= http://search.cpan.org/dist/Log-Dispatch/
11COMMENT= Perl module for logging messages to multiple outputs 10COMMENT= Perl module for logging messages to multiple outputs
12LICENSE= artistic-2.0 11LICENSE= artistic-2.0
13 12
14DEPENDS+= p5-Class-Load-[0-9]*:../../devel/p5-Class-Load 13DEPENDS+= p5-Module-Runtime-[0-9]*:../../devel/p5-Module-Runtime
 14DEPENDS+= p5-Devel-GlobalDestruction>=0:../../devel/p5-Devel-GlobalDestruction
15DEPENDS+= p5-Dist-CheckConflicts>=0.02:../../devel/p5-Dist-CheckConflicts 15DEPENDS+= p5-Dist-CheckConflicts>=0.02:../../devel/p5-Dist-CheckConflicts
16DEPENDS+= p5-Params-Validate>=0.15:../../devel/p5-Params-Validate 16DEPENDS+= p5-Params-Validate>=0.15:../../devel/p5-Params-Validate
17# Sys::Syslog >= 0.25 is in Perl core since 5.10.1 17# Sys::Syslog >= 0.25 is in Perl core since 5.10.1
18 18
19PERL5_PACKLIST= auto/Log/Dispatch/.packlist 19PERL5_PACKLIST= auto/Log/Dispatch/.packlist
20 20
21.include "../../lang/perl5/module.mk" 21.include "../../lang/perl5/module.mk"
22.include "../../mk/bsd.pkg.mk" 22.include "../../mk/bsd.pkg.mk"

cvs diff -r1.21 -r1.22 pkgsrc/devel/p5-Log-Dispatch/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/p5-Log-Dispatch/distinfo 2013/07/03 06:17:38 1.21
+++ pkgsrc/devel/p5-Log-Dispatch/distinfo 2015/01/18 12:24:46 1.22
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.21 2013/07/03 06:17:38 sno Exp $ 1$NetBSD: distinfo,v 1.22 2015/01/18 12:24:46 wen Exp $
2 2
3SHA1 (Log-Dispatch-2.40.tar.gz) = 9f5cc22e2d5e90e9cdfd8bf1914b2238b42747b8 3SHA1 (Log-Dispatch-2.44.tar.gz) = a73627d56cd2ba4ab8cf91f030032438c3811a76
4RMD160 (Log-Dispatch-2.40.tar.gz) = 6644964488faaccfd313a60b60b6df1c1e243c88 4RMD160 (Log-Dispatch-2.44.tar.gz) = 0cecffb2a33687339b4aa5793308f51232e27a0c
5Size (Log-Dispatch-2.40.tar.gz) = 35057 bytes 5Size (Log-Dispatch-2.44.tar.gz) = 49540 bytes