From cd41d2fadc9725e9e37f3137799dd0499fb1dde2 Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 6 Sep 2008 10:33:51 +0000 Subject: [PATCH] import p5-Catalyst-Plugin-LogWarnings This plugin redirects perl's warn() warnings to a Catalyst log ($c->log->warn), allowing you to filter warnings, log warnings to a database, Log4Perl, etc. --- www/p5-Catalyst-Plugin-LogWarnings/Makefile | 24 ++++++++++++++++++++ www/p5-Catalyst-Plugin-LogWarnings/distinfo | 5 ++++ www/p5-Catalyst-Plugin-LogWarnings/pkg/DESCR | 3 +++ www/p5-Catalyst-Plugin-LogWarnings/pkg/PLIST | 3 +++ 4 files changed, 35 insertions(+) create mode 100644 www/p5-Catalyst-Plugin-LogWarnings/Makefile create mode 100644 www/p5-Catalyst-Plugin-LogWarnings/distinfo create mode 100644 www/p5-Catalyst-Plugin-LogWarnings/pkg/DESCR create mode 100644 www/p5-Catalyst-Plugin-LogWarnings/pkg/PLIST diff --git a/www/p5-Catalyst-Plugin-LogWarnings/Makefile b/www/p5-Catalyst-Plugin-LogWarnings/Makefile new file mode 100644 index 00000000000..ada3fbbc21e --- /dev/null +++ b/www/p5-Catalyst-Plugin-LogWarnings/Makefile @@ -0,0 +1,24 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2008/09/06 10:33:51 simon Exp $ + +COMMENT = log Perl warnings to your Catalyst log object + +MODULES = cpan +DISTNAME = Catalyst-Plugin-LogWarnings-0.02 +CATEGORIES = www + +MAINTAINER = Simon Bertrang + +# Perl +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM = Yes +PERMIT_DISTFILES_FTP = Yes + +RUN_DEPENDS = ::converters/p5-JSON-Any \ + ::devel/p5-Catalyst-Plugin-C3 \ + ::www/p5-Catalyst-Runtime +BUILD_DEPENDS = ${RUN_DEPENDS} + +MAKE_ENV += TEST_POD=1 + +.include diff --git a/www/p5-Catalyst-Plugin-LogWarnings/distinfo b/www/p5-Catalyst-Plugin-LogWarnings/distinfo new file mode 100644 index 00000000000..8621e19b075 --- /dev/null +++ b/www/p5-Catalyst-Plugin-LogWarnings/distinfo @@ -0,0 +1,5 @@ +MD5 (Catalyst-Plugin-LogWarnings-0.02.tar.gz) = nrJFf57rmbYH0xaZ9WAO9Q== +RMD160 (Catalyst-Plugin-LogWarnings-0.02.tar.gz) = x80kv1YQbVl36Ca6Pr9HkAEQaBk= +SHA1 (Catalyst-Plugin-LogWarnings-0.02.tar.gz) = UEJkT0ospDTwvOvtRLfcrZUEv8E= +SHA256 (Catalyst-Plugin-LogWarnings-0.02.tar.gz) = kSTvlI4BHuLHsHGCx7BxW0ct0keqlF1urRqukbHP52Y= +SIZE (Catalyst-Plugin-LogWarnings-0.02.tar.gz) = 4152 diff --git a/www/p5-Catalyst-Plugin-LogWarnings/pkg/DESCR b/www/p5-Catalyst-Plugin-LogWarnings/pkg/DESCR new file mode 100644 index 00000000000..590f63a33d7 --- /dev/null +++ b/www/p5-Catalyst-Plugin-LogWarnings/pkg/DESCR @@ -0,0 +1,3 @@ +This plugin redirects perl's warn() warnings to a Catalyst log +($c->log->warn), allowing you to filter warnings, log warnings to a +database, Log4Perl, etc. diff --git a/www/p5-Catalyst-Plugin-LogWarnings/pkg/PLIST b/www/p5-Catalyst-Plugin-LogWarnings/pkg/PLIST new file mode 100644 index 00000000000..70506da442a --- /dev/null +++ b/www/p5-Catalyst-Plugin-LogWarnings/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2008/09/06 10:33:51 simon Exp $ +${P5SITE}/Catalyst/Plugin/LogWarnings.pm +@man man/man3p/Catalyst::Plugin::LogWarnings.3p