mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Add p5-Devel-Leak 0.02,
utility for looking for perl objects that are not reclaimed.
This commit is contained in:
parent
3932f696cc
commit
ef7fc9de4d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65912
@ -446,6 +446,7 @@
|
||||
SUBDIR += p5-DateConvert
|
||||
SUBDIR += p5-Devel-Constants
|
||||
SUBDIR += p5-Devel-DProf
|
||||
SUBDIR += p5-Devel-Leak
|
||||
SUBDIR += p5-Devel-Modlist
|
||||
SUBDIR += p5-Devel-Peek
|
||||
SUBDIR += p5-Devel-Profiler
|
||||
|
22
devel/p5-Devel-Leak/Makefile
Normal file
22
devel/p5-Devel-Leak/Makefile
Normal file
@ -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>
|
1
devel/p5-Devel-Leak/distinfo
Normal file
1
devel/p5-Devel-Leak/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (Devel-Leak-0.02.tar.gz) = f4dece7cfb09a08840139ee3f54f84a0
|
1
devel/p5-Devel-Leak/pkg-comment
Normal file
1
devel/p5-Devel-Leak/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Utility for looking for perl objects that are not reclaimed
|
17
devel/p5-Devel-Leak/pkg-descr
Normal file
17
devel/p5-Devel-Leak/pkg-descr
Normal file
@ -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
|
7
devel/p5-Devel-Leak/pkg-plist
Normal file
7
devel/p5-Devel-Leak/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user