- 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
This commit is contained in:
Juergen Lock 2014-06-18 18:09:08 +00:00
parent 710d86650f
commit 5572d03ae3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358295
5 changed files with 36 additions and 0 deletions

View File

@ -711,6 +711,7 @@
SUBDIR += pslist
SUBDIR += psmisc
SUBDIR += pstack
SUBDIR += pstacku
SUBDIR += pstree
SUBDIR += ptools
SUBDIR += puppet

View File

@ -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

24
sysutils/pstacku/Makefile Normal file
View File

@ -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>

View File

@ -0,0 +1,2 @@
SHA256 (pstacku-0.9.2.tar.gz) = e5b1ea4ee6e07de2988f8d03da752097c887f204c84a0faac6271420f70639e8
SIZE (pstacku-0.9.2.tar.gz) = 303413

View File

@ -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