diff options
author | nox <nox@FreeBSD.org> | 2014-06-19 02:09:08 +0800 |
---|---|---|
committer | nox <nox@FreeBSD.org> | 2014-06-19 02:09:08 +0800 |
commit | 70da40346f9b47560596bf61d62254117606baa9 (patch) | |
tree | 3a0583defe0b09d45fbf0d227c400b395ea50a11 /sysutils | |
parent | 25100a3fdb286e20877d02972e93d485580c8f2a (diff) | |
download | freebsd-ports-gnome-70da40346f9b47560596bf61d62254117606baa9.tar.gz freebsd-ports-gnome-70da40346f9b47560596bf61d62254117606baa9.tar.zst freebsd-ports-gnome-70da40346f9b47560596bf61d62254117606baa9.zip |
- Add new port sysutils/pstacku using libunwind and written by kib.
- Add CONFLICTS with sysutils/pstack.
"pstack" is a workalike for the Solaris program of the same name.
Running pstack on a process produces a stack trace of
each thread in that process.
It's useful for finding out what wedged processes are up to, getting
profiles of applications, and just satisfying one's curiosity.
WWW: https://www.kib.kiev.ua/git/gitweb.cgi?p=pstacku.git;a=tree
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/pstack/Makefile | 1 | ||||
-rw-r--r-- | sysutils/pstacku/Makefile | 24 | ||||
-rw-r--r-- | sysutils/pstacku/distinfo | 2 | ||||
-rw-r--r-- | sysutils/pstacku/pkg-descr | 8 |
5 files changed, 36 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 63e5522645d6..905fcbee8d91 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -711,6 +711,7 @@ SUBDIR += pslist SUBDIR += psmisc SUBDIR += pstack + SUBDIR += pstacku SUBDIR += pstree SUBDIR += ptools SUBDIR += puppet diff --git a/sysutils/pstack/Makefile b/sysutils/pstack/Makefile index 23a73d9c3ec9..0b72fe68776f 100644 --- a/sysutils/pstack/Makefile +++ b/sysutils/pstack/Makefile @@ -17,6 +17,7 @@ GH_COMMIT= 874a052 GH_TAGNAME= 874a052 USES= uidfix ONLY_FOR_ARCHS= amd64 i386 +CONFLICTS= pstacku-[0-9]* MAKE_ARGS+= BINDIR=${PREFIX}/bin MAKE_ARGS+= MANDIR=${PREFIX}/man/man MAKE_ARGS+= LIBDIR=${PREFIX}/lib diff --git a/sysutils/pstacku/Makefile b/sysutils/pstacku/Makefile new file mode 100644 index 000000000000..189b64c96849 --- /dev/null +++ b/sysutils/pstacku/Makefile @@ -0,0 +1,24 @@ +# Created by: Juergen Lock <nox@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= pstacku +PORTVERSION= 0.9.2 +CATEGORIES= sysutils +MASTER_SITES= https://kib.kiev.ua/kib/${PORTNAME}/ \ + http://kib.kiev.ua/kib/${PORTNAME}/ + +MAINTAINER= nox@FreeBSD.org +COMMENT= Retrieve process stack traces + +LICENSE= BSD2CLAUSE + +LIB_DEPENDS= libunwind.so:${PORTSDIR}/devel/libunwind + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+=--with-libunwind=${LOCALBASE} +ONLY_FOR_ARCHS= amd64 i386 +CONFLICTS= pstack-[0-9]* + +PLIST_FILES= bin/pstack man/man1/pstack.1.gz + +.include <bsd.port.mk> diff --git a/sysutils/pstacku/distinfo b/sysutils/pstacku/distinfo new file mode 100644 index 000000000000..9bdea5472b65 --- /dev/null +++ b/sysutils/pstacku/distinfo @@ -0,0 +1,2 @@ +SHA256 (pstacku-0.9.2.tar.gz) = e5b1ea4ee6e07de2988f8d03da752097c887f204c84a0faac6271420f70639e8 +SIZE (pstacku-0.9.2.tar.gz) = 303413 diff --git a/sysutils/pstacku/pkg-descr b/sysutils/pstacku/pkg-descr new file mode 100644 index 000000000000..ffa220b87ed9 --- /dev/null +++ b/sysutils/pstacku/pkg-descr @@ -0,0 +1,8 @@ +"pstack" is a workalike for the Solaris program of the same name. +Running pstack on a process produces a stack trace of +each thread in that process. + +It's useful for finding out what wedged processes are up to, getting +profiles of applications, and just satisfying one's curiosity. + +WWW: https://www.kib.kiev.ua/git/gitweb.cgi?p=pstacku.git;a=tree |