pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/p5-CatalystX-LeakChecker Importing package for p5 ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c58271c06330
branches:  trunk
changeset: 397222:c58271c06330
user:      sno <sno%pkgsrc.org@localhost>
date:      Sun Aug 09 13:31:28 2009 +0000

description:
Importing package for p5 module CatalystX::LeakChecker version 0.02 to
support Catalyst Developers using pkgsrc a bit better.

It's easy to create memory leaks in Catalyst applications and often they're
hard to find. This module tries to help you finding them by automatically
checking for common causes of leaks.

Right now, only one cause for leaks is looked for: putting a closure, that
closes over the Catalyst context (often called $ctx or $c), onto the stash,
without weakening the reference first. More checks might be implemented in
the future.

This module is intended for debugging only. I suggest to not enable it in a
production environment.

diffstat:

 www/p5-CatalystX-LeakChecker/DESCR    |  11 +++++++++++
 www/p5-CatalystX-LeakChecker/Makefile |  33 +++++++++++++++++++++++++++++++++
 www/p5-CatalystX-LeakChecker/distinfo |   5 +++++
 3 files changed, 49 insertions(+), 0 deletions(-)

diffs (61 lines):

diff -r 08adc4b35db5 -r c58271c06330 www/p5-CatalystX-LeakChecker/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-CatalystX-LeakChecker/DESCR        Sun Aug 09 13:31:28 2009 +0000
@@ -0,0 +1,11 @@
+It's easy to create memory leaks in Catalyst applications and often they're
+hard to find. This module tries to help you finding them by automatically
+checking for common causes of leaks.
+
+Right now, only one cause for leaks is looked for: putting a closure, that
+closes over the Catalyst context (often called $ctx or $c), onto the stash,
+without weakening the reference first. More checks might be implemented in
+the future.
+
+This module is intended for debugging only. I suggest to not enable it in a
+production environment.
diff -r 08adc4b35db5 -r c58271c06330 www/p5-CatalystX-LeakChecker/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-CatalystX-LeakChecker/Makefile     Sun Aug 09 13:31:28 2009 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/09 13:31:28 sno Exp $
+
+DISTNAME=      CatalystX-LeakChecker-0.02
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel www
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=CatalystX/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/CatalystX-LeakChecker/
+COMMENT=       Debug memory leaks in Catalyst applications
+LICENSE=       ${PERL5_LICENSE}
+
+DEPENDS+=      p5-Catalyst-Runtime>=5.80000:../../www/p5-Catalyst-Runtime
+DEPENDS+=      p5-Data-Visitor-[0-9]*:../../devel/p5-Data-Visitor
+DEPENDS+=      p5-Moose-[0-9]*:../../devel/p5-Moose
+DEPENDS+=      p5-MooseX-AttributeHelpers-[0-9]*:../../devel/p5-MooseX-AttributeHelpers
+DEPENDS+=      p5-MooseX-Types-[0-9]*:../../devel/p5-MooseX-Types
+DEPENDS+=      p5-PadWalker>=1:../../devel/p5-PadWalker
+DEPENDS+=      p5-Task-Weaken-[0-9]*:../../devel/p5-Task-Weaken
+DEPENDS+=      p5-Text-SimpleTable-[0-9]*:../../textproc/p5-Text-SimpleTable
+DEPENDS+=      p5-aliased-[0-9]*:../../devel/p5-aliased
+DEPENDS+=      p5-namespace-autoclean-[0-9]*:../../devel/p5-namespace-autoclean
+DEPENDS+=      p5-namespace-clean>=0.05:../../devel/p5-namespace-clean
+
+BUILD_DEPENDS+=        p5-Test-Simple>=0.88:../../devel/p5-Test-Simple
+
+USE_LANGUAGES=         # empty
+PERL5_PACKLIST=                auto/CatalystX/LeakChecker/.packlist
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 08adc4b35db5 -r c58271c06330 www/p5-CatalystX-LeakChecker/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-CatalystX-LeakChecker/distinfo     Sun Aug 09 13:31:28 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/09 13:31:28 sno Exp $
+
+SHA1 (CatalystX-LeakChecker-0.02.tar.gz) = 764901dbfb1f841bdd1b8fc616d552e04b15bf25
+RMD160 (CatalystX-LeakChecker-0.02.tar.gz) = 2326f11e8964717b08de929d799cfe69ef83fbfd
+Size (CatalystX-LeakChecker-0.02.tar.gz) = 9908 bytes



Home | Main Index | Thread Index | Old Index