Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131690330
D6899.id17706.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D6899.id17706.diff
View Options
Index: sysutils/Makefile
===================================================================
--- sysutils/Makefile
+++ sysutils/Makefile
@@ -103,6 +103,7 @@
SUBDIR += bsdmoted
SUBDIR += bsdploy
SUBDIR += bsdstats
+ SUBDIR += bstack
SUBDIR += btsixad
SUBDIR += bulk_extractor
SUBDIR += burp
Index: sysutils/bstack/Makefile
===================================================================
--- /dev/null
+++ sysutils/bstack/Makefile
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME= bstack
+PORTVERSION= 0.1
+CATEGORIES= sysutils
+
+MAINTAINER= luca.pizzamiglio@gmail.com
+COMMENT= Debug tool that shows the stack trace of a running process
+
+LICENSE= BSD3CLAUSE
+
+RUN_DEPENDS= gdb:devel/gdb
+
+USE_GITHUB= yes
+GH_ACCOUNT= pizzamig
+NO_BUILD= yes
+NO_ARCH= yes
+
+PLIST_FILES= bin/bstack \
+ %%DATADIR%%/gdb_bstack
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|;' ${WRKSRC}/bstack
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/bstack \
+ ${STAGEDIR}${PREFIX}/bin/bstack
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/gdb_bstack \
+ ${STAGEDIR}${DATADIR}/gdb_bstack
+
+.include <bsd.port.mk>
Index: sysutils/bstack/distinfo
===================================================================
--- /dev/null
+++ sysutils/bstack/distinfo
@@ -0,0 +1,2 @@
+SHA256 (pizzamig-bstack-0.1_GH0.tar.gz) = 358ab23ba0ce99260a3239797bdc5fc10cf14bce00ec7b3ff1ab2f1fbe8ffccd
+SIZE (pizzamig-bstack-0.1_GH0.tar.gz) = 1868
Index: sysutils/bstack/pkg-descr
===================================================================
--- /dev/null
+++ sysutils/bstack/pkg-descr
@@ -0,0 +1,12 @@
+bstack - gstack for FreeBSD
+
+This is a port of gstack, a script build around gdb on RedHat and other
+Linux distros, to FreeBSD.
+
+bstack take a PID as only parameter and print out the back trace of that
+running process. If the process is multithread, the backtrace of all
+threads is printed.
+
+It works with the last version of GDB
+
+WWW: https://github.com/pizzamig/bstack
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 11, 9:15 AM (16 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23571243
Default Alt Text
D6899.id17706.diff (1 KB)
Attached To
Mode
D6899: New port: sysutils/bstack
Attached
Detach File
Event Timeline
Log In to Comment