aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorsbz <sbz@FreeBSD.org>2012-08-08 19:20:14 +0800
committersbz <sbz@FreeBSD.org>2012-08-08 19:20:14 +0800
commit2bf84d672fb170d17c1710552fb37c9edac3dd20 (patch)
tree6c9b0a6c4c9faa1ba2d980da611aba414a45c9c8 /sysutils
parentd3bc4ff6fcedba984d11dd071c7547135164dbd8 (diff)
downloadfreebsd-ports-gnome-2bf84d672fb170d17c1710552fb37c9edac3dd20.tar.gz
freebsd-ports-gnome-2bf84d672fb170d17c1710552fb37c9edac3dd20.tar.zst
freebsd-ports-gnome-2bf84d672fb170d17c1710552fb37c9edac3dd20.zip
ltrace intercepts and records dynamic library calls which are called by an
executed process and the signals received by that process. It can also intercept and print the system calls executed by the program. WWW: http://ltrace.org/ PR: ports/170477 Submitted by: sbz (myself)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/ltrace/Makefile38
-rw-r--r--sysutils/ltrace/distinfo2
-rw-r--r--sysutils/ltrace/pkg-descr5
-rw-r--r--sysutils/ltrace/pkg-plist3
5 files changed, 49 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 487537bc234d..19d0e947570a 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -489,6 +489,7 @@
SUBDIR += lookupd
SUBDIR += lookupd_ldap
SUBDIR += lsof
+ SUBDIR += ltrace
SUBDIR += luckybackup
SUBDIR += luma
SUBDIR += lxinput
diff --git a/sysutils/ltrace/Makefile b/sysutils/ltrace/Makefile
new file mode 100644
index 000000000000..4779b6104722
--- /dev/null
+++ b/sysutils/ltrace/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: ltrace
+# Date created: 2012-07-31
+# Whom: Sofian Brabez <sbz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ltrace
+PORTVERSION= 0.4
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_FREEBSD_ORG:S,%SUBDIR%,distfiles,} \
+ ${MASTER_SITE_LOCAL:S,%SUBDIR%,sbz,}
+
+MAINTAINER= sbz@FreeBSD.org
+COMMENT= Track runtime library calls in dynamically linked programs
+
+LIB_DEPENDS= elf:${PORTSDIR}/devel/libelf
+
+LICENCE= GPLv2
+LICENCE_FILE= ${WRKSRC}/COPYING
+
+ONLY_FOR_ARCH= i386
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+MAN1= ${PORTNAME}.1
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|^\(CC\)|#\1|' ${WRKSRC}/Makefile.in
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.conf ${PREFIX}/etc
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/sysutils/ltrace/distinfo b/sysutils/ltrace/distinfo
new file mode 100644
index 000000000000..8a3963f51752
--- /dev/null
+++ b/sysutils/ltrace/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ltrace-0.4.tar.gz) = 22886749d621277adda5d404dedbb807a78d850c8246d35cb8cb491724d6d2c7
+SIZE (ltrace-0.4.tar.gz) = 155468
diff --git a/sysutils/ltrace/pkg-descr b/sysutils/ltrace/pkg-descr
new file mode 100644
index 000000000000..c5deb4c67f73
--- /dev/null
+++ b/sysutils/ltrace/pkg-descr
@@ -0,0 +1,5 @@
+ltrace intercepts and records dynamic library calls which are called by an
+executed process and the signals received by that process. It can also intercept
+and print the system calls executed by the program.
+
+WWW: http://ltrace.org/
diff --git a/sysutils/ltrace/pkg-plist b/sysutils/ltrace/pkg-plist
new file mode 100644
index 000000000000..b0cb6419472c
--- /dev/null
+++ b/sysutils/ltrace/pkg-plist
@@ -0,0 +1,3 @@
+@comment $FreeBSD$
+bin/ltrace
+etc/ltrace.conf