pkgsrc/devel/p5-Log-Dispatch/Makefile

23 lines
797 B
Makefile
Raw Normal View History

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.
2015-01-18 13:24:46 +01:00
# $NetBSD: Makefile,v 1.43 2015/01/18 12:24:46 wen Exp $
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.
2015-01-18 13:24:46 +01:00
DISTNAME= Log-Dispatch-2.44
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Log/}
MAINTAINER= rhaen@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Log-Dispatch/
COMMENT= Perl module for logging messages to multiple outputs
LICENSE= artistic-2.0
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.
2015-01-18 13:24:46 +01:00
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
Updated p5-Log-Dispatch to 2.08. changes since 1.79: 2.08 Nov 27, 2003 - Added Log::Dispatch->would_log method, which indicates whether logging will be done for a given log level. - Switched tests to use Test::More. 2.07 Sep 27, 2003 - Added Log::Dispatch::File::Locked. Based on code from JAA Klunder. - Check all system call return values. - Fix warning from Log::Dispatch::File if it was loaded after Attribute::Handlers. Reported by Mike Schilli. - Fixed up POD to pass pod tests. 2.06 May 1, 2003 - Added a permissions parameter to Log::Dispatch::File->new. Based on a patch from James FitzGibbon. 2.05 Apr 18, 2003 - Changed a code construct that seems to provoke a bug for Meng Wong, but no one else ;) - Switched to Module::Build and removed interactive portion of installation process. - Log::Dispatch::Email::MailSender was causing Mail::Sender to send debug output to STDERR if warnings were on. Now it's not. 2.04 Mar 21, 2003 (the "not in my name" release) - The close_after_write option didn't actually do anything. Fixed by JAA Klunder. 2.03 Feb 27, 2003 - Log::Dispatch::ApacheLog would break if a log level was specified as a number. Reported by Kevin Goess. 2.02 Feb 20, 2003 - Added close_after_write option to Log::Dispatch::File. Based on patch from JAA Klunder. 2.01 Jun 21, 2002 - Added new module Log::Dispatch::Email::MailSender, provided by Joseph Annino. - Log::Dispatch::Output now contains "use Log::Dispatch". - Now requires Params::Validate, which is used to validate parameter for constructors and some other methods. - Add an 'autoflush' option to Log::Dispatch::File objects. Suggested by Jerrad Pierce. - Added some error checking to ::Email::MailSend. - Changed a carp to a warn in ::Email::MailSendmail. - Only warn if $^W is true. 2.00 Apr 11, 2002 ** BACKWARDS INCOMPATIBILITY ALERT ** - Use a standard hash reference for objects instead of pseudo-hashes. ** THIS MAY BREAK EXISTING SUBCLASSES **. - Log::Dispatch::Screen claimed it defaulted to using STDERR but it was lying, it defaulted to using STDOUT. This has been changed so that it really does default to STDERR. Reported by James FitzGibbon. 1.80 Oct 27, 2001 - Log::Dispatch::Syslog no longer requires syslog.ph for Perl >=5.006. Patch by Benoit Beausejour. - If you passed a mode parameter to Log::Dispatch::File it always thought the mode was append, no matter what was passed. Patch from Luke Bakken. - Log::Dispatch::File no longer uses IO::File internally.
2003-12-29 13:20:48 +01:00
DEPENDS+= p5-Params-Validate>=0.15:../../devel/p5-Params-Validate
# Sys::Syslog >= 0.25 is in Perl core since 5.10.1
Updated p5-Log-Dispatch to 2.08. changes since 1.79: 2.08 Nov 27, 2003 - Added Log::Dispatch->would_log method, which indicates whether logging will be done for a given log level. - Switched tests to use Test::More. 2.07 Sep 27, 2003 - Added Log::Dispatch::File::Locked. Based on code from JAA Klunder. - Check all system call return values. - Fix warning from Log::Dispatch::File if it was loaded after Attribute::Handlers. Reported by Mike Schilli. - Fixed up POD to pass pod tests. 2.06 May 1, 2003 - Added a permissions parameter to Log::Dispatch::File->new. Based on a patch from James FitzGibbon. 2.05 Apr 18, 2003 - Changed a code construct that seems to provoke a bug for Meng Wong, but no one else ;) - Switched to Module::Build and removed interactive portion of installation process. - Log::Dispatch::Email::MailSender was causing Mail::Sender to send debug output to STDERR if warnings were on. Now it's not. 2.04 Mar 21, 2003 (the "not in my name" release) - The close_after_write option didn't actually do anything. Fixed by JAA Klunder. 2.03 Feb 27, 2003 - Log::Dispatch::ApacheLog would break if a log level was specified as a number. Reported by Kevin Goess. 2.02 Feb 20, 2003 - Added close_after_write option to Log::Dispatch::File. Based on patch from JAA Klunder. 2.01 Jun 21, 2002 - Added new module Log::Dispatch::Email::MailSender, provided by Joseph Annino. - Log::Dispatch::Output now contains "use Log::Dispatch". - Now requires Params::Validate, which is used to validate parameter for constructors and some other methods. - Add an 'autoflush' option to Log::Dispatch::File objects. Suggested by Jerrad Pierce. - Added some error checking to ::Email::MailSend. - Changed a carp to a warn in ::Email::MailSendmail. - Only warn if $^W is true. 2.00 Apr 11, 2002 ** BACKWARDS INCOMPATIBILITY ALERT ** - Use a standard hash reference for objects instead of pseudo-hashes. ** THIS MAY BREAK EXISTING SUBCLASSES **. - Log::Dispatch::Screen claimed it defaulted to using STDERR but it was lying, it defaulted to using STDOUT. This has been changed so that it really does default to STDERR. Reported by James FitzGibbon. 1.80 Oct 27, 2001 - Log::Dispatch::Syslog no longer requires syslog.ph for Perl >=5.006. Patch by Benoit Beausejour. - If you passed a mode parameter to Log::Dispatch::File it always thought the mode was append, no matter what was passed. Patch from Luke Bakken. - Log::Dispatch::File no longer uses IO::File internally.
2003-12-29 13:20:48 +01:00
PERL5_PACKLIST= auto/Log/Dispatch/.packlist
2002-10-14 00:22:45 +02:00
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"