summaryrefslogtreecommitdiff
path: root/devel/p5-Devel-Leak
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2002-09-09 12:08:07 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2002-09-09 12:08:07 +0000
commitef7fc9de4dcb0e71b6c8735a54d9bc231ca028b5 (patch)
tree5a20c63366e2e6fa934a018ceb5b09c7a8559426 /devel/p5-Devel-Leak
parentAdd p5-Devel-Profiler 0.04, a Perl profiler compatible with dprofpp. (diff)
Add p5-Devel-Leak 0.02,
utility for looking for perl objects that are not reclaimed.
Notes
Notes: svn path=/head/; revision=65912
Diffstat (limited to 'devel/p5-Devel-Leak')
-rw-r--r--devel/p5-Devel-Leak/Makefile22
-rw-r--r--devel/p5-Devel-Leak/distinfo1
-rw-r--r--devel/p5-Devel-Leak/pkg-comment1
-rw-r--r--devel/p5-Devel-Leak/pkg-descr17
-rw-r--r--devel/p5-Devel-Leak/pkg-plist7
5 files changed, 48 insertions, 0 deletions
diff --git a/devel/p5-Devel-Leak/Makefile b/devel/p5-Devel-Leak/Makefile
new file mode 100644
index 000000000000..7eeaed8dc45f
--- /dev/null
+++ b/devel/p5-Devel-Leak/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: Devel-Leak
+# Date created: 09 September 2002
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Devel-Leak
+PORTVERSION= 0.02
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Devel
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+
+PERL_CONFIGURE= yes
+
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Devel::Leak.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Devel-Leak/distinfo b/devel/p5-Devel-Leak/distinfo
new file mode 100644
index 000000000000..236f543fc6e4
--- /dev/null
+++ b/devel/p5-Devel-Leak/distinfo
@@ -0,0 +1 @@
+MD5 (Devel-Leak-0.02.tar.gz) = f4dece7cfb09a08840139ee3f54f84a0
diff --git a/devel/p5-Devel-Leak/pkg-comment b/devel/p5-Devel-Leak/pkg-comment
new file mode 100644
index 000000000000..c476a30b3e61
--- /dev/null
+++ b/devel/p5-Devel-Leak/pkg-comment
@@ -0,0 +1 @@
+Utility for looking for perl objects that are not reclaimed
diff --git a/devel/p5-Devel-Leak/pkg-descr b/devel/p5-Devel-Leak/pkg-descr
new file mode 100644
index 000000000000..cd19efa26b25
--- /dev/null
+++ b/devel/p5-Devel-Leak/pkg-descr
@@ -0,0 +1,17 @@
+Devel::Leak has two functions NoteSV and CheckSV.
+
+NoteSV walks the perl internal table of allocated SVs (scalar values) -
+(which actually contains arrays and hashes too), and records their
+addresses in a table. It returns a count of these "things", and stores
+a pointer to the table (which is obtained from the heap using malloc())
+in its argument.
+
+CheckSV is passed argument which holds a pointer to a table created by
+NoteSV. It re-walks the perl-internals and calls sv_dump() for any
+"things" which did not exist when NoteSV was called. It returns a count
+of the number of "things" now allocated.
+
+WWW: http://search.cpan.org/search?dist=Devel-Leak
+
+-- Sergey Skvortsov
+skv@FreeBSD.org
diff --git a/devel/p5-Devel-Leak/pkg-plist b/devel/p5-Devel-Leak/pkg-plist
new file mode 100644
index 000000000000..e6e5586bfedc
--- /dev/null
+++ b/devel/p5-Devel-Leak/pkg-plist
@@ -0,0 +1,7 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Devel/Leak/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Devel/Leak.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Devel/Leak/Leak.bs
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Devel/Leak/Leak.so
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Devel/Leak
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Devel 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Devel 2>/dev/null || true