pkgsrc/devel/p5-Log-Dispatch/Makefile

21 lines
614 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.31 2010/12/17 18:30:10 rhaen Exp $
DISTNAME= Log-Dispatch-2.28
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5ldi
CATEGORIES= devel perl5
2009-10-12 12:18:09 +02:00
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/D/DR/DROLSKY/}
MAINTAINER= rhaen@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Log-Dispatch/
COMMENT= Perl module for logging messages to multiple outputs
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.
2009-09-19 18:44:15 +02:00
LICENSE= ${PERL5_LICENSE}
PKG_DESTDIR_SUPPORT= user-destdir
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
PERL5_PACKLIST= auto/Log/Dispatch/.packlist
2002-10-14 00:22:45 +02:00
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"