diff options
author | wen <wen@FreeBSD.org> | 2010-07-09 11:47:44 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2010-07-09 11:47:44 +0800 |
commit | 235d957502cb32f9f99456542288741979a619e2 (patch) | |
tree | 2d64fcd5e647a993d1d54bf51e17bd1f2c9780b4 /devel | |
parent | ebde5c7d2c57cfe0404b0d79fa36132ba056fc65 (diff) | |
download | freebsd-ports-gnome-235d957502cb32f9f99456542288741979a619e2.tar.gz freebsd-ports-gnome-235d957502cb32f9f99456542288741979a619e2.tar.zst freebsd-ports-gnome-235d957502cb32f9f99456542288741979a619e2.zip |
Sys::Trace provides a way to programmatically run or trace a program
and see the system calls it makes.
This can be useful during testing as a way to ensure a particular file
is actually opened, or another hard to test interaction actually occurs.
Currently supported tracing mechanisms are ktrace, strace and truss.
WWW: http://search.cpan.org/dist/Sys-Trace/
PR: ports/148395
Submitted by: Ju Pengfei <jupengfei@gmail.com>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Sys-Trace/Makefile | 25 | ||||
-rw-r--r-- | devel/p5-Sys-Trace/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Sys-Trace/pkg-descr | 9 | ||||
-rw-r--r-- | devel/p5-Sys-Trace/pkg-plist | 11 |
5 files changed, 49 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 144d848b1ec8..119159eddff6 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2116,6 +2116,7 @@ SUBDIR += p5-Sys-Sig SUBDIR += p5-Sys-SigAction SUBDIR += p5-Sys-Syscall + SUBDIR += p5-Sys-Trace SUBDIR += p5-System2 SUBDIR += p5-TAP-Formatter-JUnit SUBDIR += p5-TAP-Harness-JUnit diff --git a/devel/p5-Sys-Trace/Makefile b/devel/p5-Sys-Trace/Makefile new file mode 100644 index 000000000000..b77528244dd8 --- /dev/null +++ b/devel/p5-Sys-Trace/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: Sys-Trace +# Date created: 06 July 2010 +# Whom: Ju Pengfei <jupengfei@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= Sys-Trace +PORTVERSION= 0.03 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= jupengfei@gmail.com +COMMENT= Interface to system call tracing interfaces + +PERL_CONFIGURE= yes + +MAN3= Sys::Trace.3 \ + Sys::Trace::Impl::Ktrace.3 \ + Sys::Trace::Impl::Strace.3 \ + Sys::Trace::Impl::Truss.3 \ + Sys::Trace::Results.3 + +.include <bsd.port.mk> diff --git a/devel/p5-Sys-Trace/distinfo b/devel/p5-Sys-Trace/distinfo new file mode 100644 index 000000000000..5d34926383c6 --- /dev/null +++ b/devel/p5-Sys-Trace/distinfo @@ -0,0 +1,3 @@ +MD5 (Sys-Trace-0.03.tar.gz) = b33557f2f520add773de94fed1f2e507 +SHA256 (Sys-Trace-0.03.tar.gz) = f1eb9726b10a2c2a28e226f70f4cb45249d38ea15215d8f68d18960ca9b6c723 +SIZE (Sys-Trace-0.03.tar.gz) = 27355 diff --git a/devel/p5-Sys-Trace/pkg-descr b/devel/p5-Sys-Trace/pkg-descr new file mode 100644 index 000000000000..d92f0b0786f5 --- /dev/null +++ b/devel/p5-Sys-Trace/pkg-descr @@ -0,0 +1,9 @@ +Sys::Trace provides a way to programmatically run or trace a program +and see the system calls it makes. + +This can be useful during testing as a way to ensure a particular file +is actually opened, or another hard to test interaction actually occurs. + +Currently supported tracing mechanisms are ktrace, strace and truss. + +WWW: http://search.cpan.org/dist/Sys-Trace/ diff --git a/devel/p5-Sys-Trace/pkg-plist b/devel/p5-Sys-Trace/pkg-plist new file mode 100644 index 000000000000..1c12fe85f2aa --- /dev/null +++ b/devel/p5-Sys-Trace/pkg-plist @@ -0,0 +1,11 @@ +%%SITE_PERL%%/Sys/Trace/Impl/Ktrace.pm +%%SITE_PERL%%/Sys/Trace/Impl/Strace.pm +%%SITE_PERL%%/Sys/Trace/Impl/Truss.pm +%%SITE_PERL%%/Sys/Trace/Results.pm +%%SITE_PERL%%/Sys/Trace.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Trace/.packlist +@dirrm %%SITE_PERL%%/Sys/Trace/Impl +@dirrm %%SITE_PERL%%/Sys/Trace +@dirrmtry %%SITE_PERL%%/Sys +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Trace +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys |