summaryrefslogtreecommitdiff
path: root/www/p5-CatalystX-LeakChecker
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2009-08-09 13:31:28 +0000
committersno <sno@pkgsrc.org>2009-08-09 13:31:28 +0000
commit582c8b18efbfd583480c8872376835e0b7e887bd (patch)
tree40efd44829e1fc12c7aff324e169ec8144f4b27e /www/p5-CatalystX-LeakChecker
parent5baf9408acb41d46102eb83a651b63fc60454792 (diff)
downloadpkgsrc-582c8b18efbfd583480c8872376835e0b7e887bd.tar.gz
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 (limited to 'www/p5-CatalystX-LeakChecker')
-rw-r--r--www/p5-CatalystX-LeakChecker/DESCR11
-rw-r--r--www/p5-CatalystX-LeakChecker/Makefile33
-rw-r--r--www/p5-CatalystX-LeakChecker/distinfo5
3 files changed, 49 insertions, 0 deletions
diff --git a/www/p5-CatalystX-LeakChecker/DESCR b/www/p5-CatalystX-LeakChecker/DESCR
new file mode 100644
index 00000000000..c33a5667906
--- /dev/null
+++ b/www/p5-CatalystX-LeakChecker/DESCR
@@ -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 --git a/www/p5-CatalystX-LeakChecker/Makefile b/www/p5-CatalystX-LeakChecker/Makefile
new file mode 100644
index 00000000000..36f80628c2c
--- /dev/null
+++ b/www/p5-CatalystX-LeakChecker/Makefile
@@ -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
+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 --git a/www/p5-CatalystX-LeakChecker/distinfo b/www/p5-CatalystX-LeakChecker/distinfo
new file mode 100644
index 00000000000..df128ccd448
--- /dev/null
+++ b/www/p5-CatalystX-LeakChecker/distinfo
@@ -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