svn commit: r358295 - in head/sysutils: . pstack pstacku

Juergen Lock nox at FreeBSD.org
Wed Jun 18 18:09:10 UTC 2014


Author: nox
Date: Wed Jun 18 18:09:08 2014
New Revision: 358295
URL: http://svnweb.freebsd.org/changeset/ports/358295
QAT: https://qat.redports.org/buildarchive/r358295/

Log:
  - 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

Added:
  head/sysutils/pstacku/
  head/sysutils/pstacku/Makefile   (contents, props changed)
  head/sysutils/pstacku/distinfo   (contents, props changed)
  head/sysutils/pstacku/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile
  head/sysutils/pstack/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Wed Jun 18 17:55:33 2014	(r358294)
+++ head/sysutils/Makefile	Wed Jun 18 18:09:08 2014	(r358295)
@@ -711,6 +711,7 @@
     SUBDIR += pslist
     SUBDIR += psmisc
     SUBDIR += pstack
+    SUBDIR += pstacku
     SUBDIR += pstree
     SUBDIR += ptools
     SUBDIR += puppet

Modified: head/sysutils/pstack/Makefile
==============================================================================
--- head/sysutils/pstack/Makefile	Wed Jun 18 17:55:33 2014	(r358294)
+++ head/sysutils/pstack/Makefile	Wed Jun 18 18:09:08 2014	(r358295)
@@ -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

Added: head/sysutils/pstacku/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/pstacku/Makefile	Wed Jun 18 18:09:08 2014	(r358295)
@@ -0,0 +1,24 @@
+# Created by: Juergen Lock <nox at 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 at 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>

Added: head/sysutils/pstacku/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/pstacku/distinfo	Wed Jun 18 18:09:08 2014	(r358295)
@@ -0,0 +1,2 @@
+SHA256 (pstacku-0.9.2.tar.gz) = e5b1ea4ee6e07de2988f8d03da752097c887f204c84a0faac6271420f70639e8
+SIZE (pstacku-0.9.2.tar.gz) = 303413

Added: head/sysutils/pstacku/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/pstacku/pkg-descr	Wed Jun 18 18:09:08 2014	(r358295)
@@ -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


More information about the svn-ports-head mailing list