aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pstacku
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2014-06-18 18:09:08 +0000
committerJuergen Lock <nox@FreeBSD.org>2014-06-18 18:09:08 +0000
commit5572d03ae3e40b21fcee10ea128974e864baa932 (patch)
tree3a0583defe0b09d45fbf0d227c400b395ea50a11 /sysutils/pstacku
parent710d86650fb99bbf46cf9e842229e5dc8fae2c36 (diff)
downloadports-5572d03ae3e40b21fcee10ea128974e864baa932.tar.gz
ports-5572d03ae3e40b21fcee10ea128974e864baa932.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
Notes
Notes: svn path=/head/; revision=358295
Diffstat (limited to 'sysutils/pstacku')
-rw-r--r--sysutils/pstacku/Makefile24
-rw-r--r--sysutils/pstacku/distinfo2
-rw-r--r--sysutils/pstacku/pkg-descr8
3 files changed, 34 insertions, 0 deletions
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