pkgsrc/devel/p5-Log-Dispatch/Makefile

28 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.66 2019/10/26 06:47:23 mef Exp $
DISTNAME= Log-Dispatch-2.69
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Log/}
2016-05-03 12:54:52 +02:00
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://metacpan.org/release/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-9]*:../../devel/p5-Devel-GlobalDestruction
DEPENDS+= p5-IPC-Run3-[0-9]*:../../devel/p5-IPC-Run3
DEPENDS+= p5-Dist-CheckConflicts>=0.02:../../devel/p5-Dist-CheckConflicts
Updated devel/p5-Log-Dispatch to 2.63 ------------------------------------- 2.63 2017-02-19 - Updated the conflicting version for Log::Dispatch::File::Stamped in metadata (due to changes in handling of close_after_write). Patch by Karen Etheridge. GitHub #41. 2.62 2017-02-13 - Devel::Confess was accidentally being loaded in Log::Dispatch. Fixed by Karen Etheridge. GitHub #39. 2.61 2017-02-13 - The 2.60 release would throw an exception if the logged message was empty. While this makes sense, it also breaks backwards compatibility, so it has been reverted. Reported by Greg Oschwald. GitHub #38. - The 2.60 release would throw an exception if you tried to create a Syslog output where the ident was an empty string. Reported by Greg Oschwald. GitHub #38. 2.60 2017-02-12 - Same as 2.59 ... Switched from Params::Validate to Params::ValidationCompiler. This should speed up constructors and logging a little bit. This also allows Log::Dispatch::File to accept things like Path::Tiny objects for filenames. Reported by Joel Berger. GitHub #36. 2.59 2017-02-05 (TRIAL RELEASE) - Switched from Params::Validate to Params::ValidationCompiler. This should speed up constructors and logging a little bit. This also allows Log::Dispatch::File to accept things like Path::Tiny objects for filenames. Reported by Joel Berger. GitHub #36. (pkgsrc changes) -DEPENDS+= p5-Params-Validate>=1.03:../../devel/p5-Params-Validate +DEPENDS+= p5-Params-ValidationCompiler-[0-9]*:../../devel/p5-Params-ValidationCompiler # for make test +BUILD_DEPENDS+= p5-namespace-autoclean-[0-9]*:../../devel/p5-namespace-autoclean +BUILD_DEPENDS+= p5-Specio-[0-9]*:../../devel/p5-Specio
2017-03-20 22:28:07 +01:00
DEPENDS+= p5-Params-ValidationCompiler-[0-9]*:../../devel/p5-Params-ValidationCompiler
DEPENDS+= p5-namespace-autoclean-[0-9]*:../../devel/p5-namespace-autoclean
DEPENDS+= p5-Specio-[0-9]*:../../devel/p5-Specio
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
TEST_DEPENDS+= p5-Test-Requires-[0-9]*:../../devel/p5-Test-Requires
TEST_DEPENDS+= p5-Test-Needs-[0-9]*:../../devel/p5-Test-Needs
PERL5_PACKLIST= auto/Log/Dispatch/.packlist
2002-10-14 00:22:45 +02:00
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"