aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Devel-Leak
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2002-09-09 20:08:07 +0800
committerskv <skv@FreeBSD.org>2002-09-09 20:08:07 +0800
commitcc077b79687bd16414a2ade89b795ba3a88600b4 (patch)
tree4937d4483cc372d9531c1cac8ee32605f0bf2754 /devel/p5-Devel-Leak
parent0da0e96f64ff6fe73086492c4615e7a4319783b8 (diff)
downloadfreebsd-ports-graphics-cc077b79687bd16414a2ade89b795ba3a88600b4.tar.gz
freebsd-ports-graphics-cc077b79687bd16414a2ade89b795ba3a88600b4.tar.zst
freebsd-ports-graphics-cc077b79687bd16414a2ade89b795ba3a88600b4.zip
Add p5-Devel-Leak 0.02,
utility for looking for perl objects that are not reclaimed.
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 00000000000..7eeaed8dc45
--- /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 00000000000..236f543fc6e
--- /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 00000000000..c476a30b3e6
--- /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 00000000000..cd19efa26b2
--- /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 00000000000..e6e5586bfed
--- /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