diff options
-rw-r--r-- | devel/p5-Log-Dispatch/Makefile | 17 | ||||
-rw-r--r-- | devel/p5-Log-Dispatch/files/md5 | 3 | ||||
-rw-r--r-- | devel/p5-Log-Dispatch/files/patch-sum | 3 | ||||
-rw-r--r-- | devel/p5-Log-Dispatch/patches/patch-aa | 40 | ||||
-rw-r--r-- | devel/p5-Log-Dispatch/pkg/DESCR | 8 | ||||
-rw-r--r-- | devel/p5-Log-Dispatch/pkg/PLIST | 1 |
6 files changed, 72 insertions, 0 deletions
diff --git a/devel/p5-Log-Dispatch/Makefile b/devel/p5-Log-Dispatch/Makefile new file mode 100644 index 00000000000..7712a40dab6 --- /dev/null +++ b/devel/p5-Log-Dispatch/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/03/25 06:33:16 mjl Exp $ + +DISTNAME= Log-Dispatch-1.77 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Log/} + +MAINTAINER= packages@netbsd.org +COMMENT= perl module for logging messages to multiple outputs + +USE_PERL5= # defined +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Log/Dispatch/.packlist + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Log-Dispatch/files/md5 b/devel/p5-Log-Dispatch/files/md5 new file mode 100644 index 00000000000..0de68321d94 --- /dev/null +++ b/devel/p5-Log-Dispatch/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/03/25 06:33:16 mjl Exp $ + +SHA1 (Log-Dispatch-1.77.tar.gz) = ca79ace8b5dc1456869c0cc89ac2aac021982617 diff --git a/devel/p5-Log-Dispatch/files/patch-sum b/devel/p5-Log-Dispatch/files/patch-sum new file mode 100644 index 00000000000..ba8f51f8f26 --- /dev/null +++ b/devel/p5-Log-Dispatch/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1.1.1 2001/03/25 06:33:16 mjl Exp $ + +SHA1 (patch-aa) = baf49f317f0f9d61ce8c3440b439ac4e62f9833b diff --git a/devel/p5-Log-Dispatch/patches/patch-aa b/devel/p5-Log-Dispatch/patches/patch-aa new file mode 100644 index 00000000000..a5d3d705c09 --- /dev/null +++ b/devel/p5-Log-Dispatch/patches/patch-aa @@ -0,0 +1,40 @@ +$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") diff --git a/devel/p5-Log-Dispatch/pkg/DESCR b/devel/p5-Log-Dispatch/pkg/DESCR new file mode 100644 index 00000000000..4d335220346 --- /dev/null +++ b/devel/p5-Log-Dispatch/pkg/DESCR @@ -0,0 +1,8 @@ +Log::Dispatch is a suite of OO modules for logging messages to +multiple outputs, each of which can have a minimum and maximum log +level. It is designed to be easily subclassed, both for creating a +new dispatcher object and particularly for creating new outputs. + +It also allows both global (dispatcher level) and local (logging +object) message formatting callbacks which allows greater flexibility +and should reduce the need for subclassing. diff --git a/devel/p5-Log-Dispatch/pkg/PLIST b/devel/p5-Log-Dispatch/pkg/PLIST new file mode 100644 index 00000000000..c78a8a18d71 --- /dev/null +++ b/devel/p5-Log-Dispatch/pkg/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/25 06:33:16 mjl Exp $ |