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 Updated p5-Log-Dispatch to 2.08.
details: https://anonhg.NetBSD.org/pkgsrc/rev/42f451bc982e
branches: trunk
changeset: 465401:42f451bc982e
user: grant <grant%pkgsrc.org@localhost>
date: Mon Dec 29 12:20:48 2003 +0000
description:
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.
diffstat:
devel/p5-Log-Dispatch/Makefile | 10 +++++--
devel/p5-Log-Dispatch/PLIST | 33 +++++++++++++++++++++++++++-
devel/p5-Log-Dispatch/distinfo | 7 ++---
devel/p5-Log-Dispatch/patches/patch-aa | 40 ----------------------------------
4 files changed, 42 insertions(+), 48 deletions(-)
diffs (119 lines):
diff -r 6812083a2206 -r 42f451bc982e devel/p5-Log-Dispatch/Makefile
--- a/devel/p5-Log-Dispatch/Makefile Mon Dec 29 12:08:18 2003 +0000
+++ b/devel/p5-Log-Dispatch/Makefile Mon Dec 29 12:20:48 2003 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2003/07/21 16:43:39 martti Exp $
+# $NetBSD: Makefile,v 1.9 2003/12/29 12:20:48 grant Exp $
-DISTNAME= Log-Dispatch-1.79
+DISTNAME= Log-Dispatch-2.08
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5ldi
CATEGORIES= devel perl5
@@ -9,8 +9,12 @@
MAINTAINER= tech-pkg%NetBSD.org@localhost
COMMENT= Perl module for logging messages to multiple outputs
+BUILD_DEPENDS+= p5-Module-Build>=0.20:../../devel/p5-Module-Build
+
+DEPENDS+= p5-Params-Validate>=0.15:../../devel/p5-Params-Validate
+DEPENDS+= p5-Test-Simple>=0.17:../../devel/p5-Test-Simple
+
USE_BUILDLINK2= YES
-PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Log/Dispatch/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 6812083a2206 -r 42f451bc982e devel/p5-Log-Dispatch/PLIST
--- a/devel/p5-Log-Dispatch/PLIST Mon Dec 29 12:08:18 2003 +0000
+++ b/devel/p5-Log-Dispatch/PLIST Mon Dec 29 12:20:48 2003 +0000
@@ -1,1 +1,32 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 01:25:26 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2003/12/29 12:20:48 grant Exp $
+${PERL5_SITELIB}/Log/Dispatch.pm
+${PERL5_SITELIB}/Log/Dispatch/ApacheLog.pm
+${PERL5_SITELIB}/Log/Dispatch/Base.pm
+${PERL5_SITELIB}/Log/Dispatch/Email.pm
+${PERL5_SITELIB}/Log/Dispatch/Email/MIMELite.pm
+${PERL5_SITELIB}/Log/Dispatch/Email/MailSend.pm
+${PERL5_SITELIB}/Log/Dispatch/Email/MailSender.pm
+${PERL5_SITELIB}/Log/Dispatch/Email/MailSendmail.pm
+${PERL5_SITELIB}/Log/Dispatch/File.pm
+${PERL5_SITELIB}/Log/Dispatch/File/Locked.pm
+${PERL5_SITELIB}/Log/Dispatch/Handle.pm
+${PERL5_SITELIB}/Log/Dispatch/Output.pm
+${PERL5_SITELIB}/Log/Dispatch/Screen.pm
+${PERL5_SITELIB}/Log/Dispatch/Syslog.pm
+lib/perl5/site_perl/man/man3/Log::Dispatch.3
+lib/perl5/site_perl/man/man3/Log::Dispatch::ApacheLog.3
+lib/perl5/site_perl/man/man3/Log::Dispatch::Base.3
+lib/perl5/site_perl/man/man3/Log::Dispatch::Email.3
+lib/perl5/site_perl/man/man3/Log::Dispatch::Email::MIMELite.3
+lib/perl5/site_perl/man/man3/Log::Dispatch::Email::MailSend.3
+lib/perl5/site_perl/man/man3/Log::Dispatch::Email::MailSender.3
+lib/perl5/site_perl/man/man3/Log::Dispatch::Email::MailSendmail.3
+lib/perl5/site_perl/man/man3/Log::Dispatch::File.3
+lib/perl5/site_perl/man/man3/Log::Dispatch::File::Locked.3
+lib/perl5/site_perl/man/man3/Log::Dispatch::Handle.3
+lib/perl5/site_perl/man/man3/Log::Dispatch::Output.3
+lib/perl5/site_perl/man/man3/Log::Dispatch::Screen.3
+lib/perl5/site_perl/man/man3/Log::Dispatch::Syslog.3
+@dirrm ${PERL5_SITELIB}/Log/Dispatch/File
+@dirrm ${PERL5_SITELIB}/Log/Dispatch/Email
+@dirrm ${PERL5_SITELIB}/Log/Dispatch
diff -r 6812083a2206 -r 42f451bc982e devel/p5-Log-Dispatch/distinfo
--- a/devel/p5-Log-Dispatch/distinfo Mon Dec 29 12:08:18 2003 +0000
+++ b/devel/p5-Log-Dispatch/distinfo Mon Dec 29 12:20:48 2003 +0000
@@ -1,5 +1,4 @@
-$NetBSD: distinfo,v 1.3 2001/06/06 13:18:57 mjl Exp $
+$NetBSD: distinfo,v 1.4 2003/12/29 12:20:48 grant Exp $
-SHA1 (Log-Dispatch-1.79.tar.gz) = 4afe7ce294191be31733ec5854e262cf45b46f73
-Size (Log-Dispatch-1.79.tar.gz) = 16450 bytes
-SHA1 (patch-aa) = baf49f317f0f9d61ce8c3440b439ac4e62f9833b
+SHA1 (Log-Dispatch-2.08.tar.gz) = 73d54a548b4e04f06dc25e4f891bbf71a60794e4
+Size (Log-Dispatch-2.08.tar.gz) = 26987 bytes
diff -r 6812083a2206 -r 42f451bc982e devel/p5-Log-Dispatch/patches/patch-aa
--- a/devel/p5-Log-Dispatch/patches/patch-aa Mon Dec 29 12:08:18 2003 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/03/25 06:33:16 mjl Exp $
-
---- Makefile.PL.orig Wed Aug 30 17:54:08 2000
-+++ Makefile.PL Sun Mar 25 08:20:30 2001
-@@ -14,16 +14,16 @@
- }
-
- my %config;
-- $config{email_address} = prompt( q[
--To do a full test of the Log::Dispatch::* modules, we need
--to attempt to send an email. If you want these tests to
--be done please supply an address.
--Address?] );
--
-- $config{syslog} = prompt( q[
--Do you want to test Log::Dispatch::Syslog by sending a message as
--daemon.notice?
--Yes/No?], 'No' );
-+# $config{email_address} = prompt( q[
-+#To do a full test of the Log::Dispatch::* modules, we need
-+#to attempt to send an email. If you want these tests to
-+#be done please supply an address.
-+#Address?] );
-+
-+# $config{syslog} = prompt( q[
-+#Do you want to test Log::Dispatch::Syslog by sending a message as
-+#daemon.notice?
-+#Yes/No?], 'No' );
-
- delete $config{syslog} if $config{syslog} !~ /^y(?:es)?/i;
-
-@@ -91,7 +91,7 @@
-
- while (1)
- {
-- chomp (my $module = <STDIN>);
-+# chomp (my $module = <STDIN>);
- last unless $module;
-
- if (-e "./Dispatch/$module")
Home |
Main Index |
Thread Index |
Old Index