ports/102325: Update port: sysutils/ltrace 0.3.6 -> 0.4
Amnon Aaronsohn
bla at cs.huji.ac.il
Sun Aug 20 15:10:17 UTC 2006
>Number: 102325
>Category: ports
>Synopsis: Update port: sysutils/ltrace 0.3.6 -> 0.4
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Aug 20 15:10:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Amnon Aaronsohn
>Release: FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD rnd 6.1-STABLE FreeBSD 6.1-STABLE #7: Fri Jun 16 14:09:18 IDT 2006 danny at bsd:/r+d/obj/bsd/i386/r+d/6.1/src/sys/HUJI i386
>Description:
Update ltrace to 0.4. The previous version didn't work at all
(see http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/100329)
Also change the maintainer to me since there's no current
maintainer.
Note that this program relies on the undocumented PT_SYSCALL
ptrace option. I'm not sure if it was implemented in versions
of FreeBSD prior to 6.1.
>How-To-Repeat:
>Fix:
diff -urN ltrace.old/Makefile ltrace/Makefile
--- ltrace.old/Makefile Sun Jul 30 14:17:28 2006
+++ ltrace/Makefile Sun Aug 20 17:46:50 2006
@@ -7,17 +7,16 @@
#
PORTNAME= ltrace
-PORTVERSION= 0.3.6
-PORTREVISION= 1
+PORTVERSION= 0.4
CATEGORIES= sysutils
-MASTER_SITES= http://utopia.knoware.nl/users/driehuis/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-fbsd
+MASTER_SITES= http://www.cs.huji.ac.il/~bla/ports/
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= bla at cs.huji.ac.il
COMMENT= Dynamic Library Tracer -- similar to strace, but trace library calls
-# Although there is sparc code under the Linux/ directory, there is nothing
-# other than i386 in the FreeBSD/ directory as of 2003-18-06.
+LIB_DEPENDS= elf.0:${PORTSDIR}/devel/libelf
+
+# The FreeBSD port exists only for i386
ONLY_FOR_ARCHS= i386
GNU_CONFIGURE= yes
@@ -29,9 +28,6 @@
MAN1= ltrace.1
post-patch:
- ${REINPLACE_CMD} \
- -e 's|"/etc/ltrace.conf"|"${PREFIX}/etc/ltrace.conf"|g' \
- ${WRKSRC}/ltrace.c
${REINPLACE_CMD} -e 's|^\(CC\)|#\1|' ${WRKSRC}/Makefile.in
do-install:
@@ -39,9 +35,4 @@
${INSTALL_DATA} ${WRKSRC}/etc/ltrace.conf ${PREFIX}/etc
${INSTALL_MAN} ${WRKSRC}/ltrace.1 ${PREFIX}/man/man1
-UP != uname -p
-.if ${UP} == "i386"
-CXXFLAGS += -O3 -funroll-loops -mtune=pentiumpro -fomit-frame-pointer -pipe
-CFLAGS += -O3 -funroll-loops -mtune=pentiumpro -fomit-frame-pointer -pipe
-.endif
.include <bsd.port.mk>
diff -urN ltrace.old/distinfo ltrace/distinfo
--- ltrace.old/distinfo Wed Nov 30 12:31:19 2005
+++ ltrace/distinfo Sun Aug 20 17:28:52 2006
@@ -1,3 +1,3 @@
-MD5 (ltrace-0.3.6-fbsd.tar.gz) = 305157fa70baaa10e917f5537ce47d1f
-SHA256 (ltrace-0.3.6-fbsd.tar.gz) = be1e51eca2ed41d76f7cfa3091a79cb0098c197c9e4f8ab30e234a97897def04
-SIZE (ltrace-0.3.6-fbsd.tar.gz) = 56425
+MD5 (ltrace-0.4.tar.gz) = 31da81c12ef3fc976c374b3a0cd1494f
+SHA256 (ltrace-0.4.tar.gz) = 22886749d621277adda5d404dedbb807a78d850c8246d35cb8cb491724d6d2c7
+SIZE (ltrace-0.4.tar.gz) = 155468
diff -urN ltrace.old/pkg-descr ltrace/pkg-descr
--- ltrace.old/pkg-descr Mon Oct 15 22:07:30 2001
+++ ltrace/pkg-descr Sun Aug 20 17:27:21 2006
@@ -1,4 +1,4 @@
ltrace is a dynamic library tracer. ltrace is a debugging tool, similar to
strace, but it traces library calls instead of system calls.
-WWW: http://utopia.knoware.nl/users/driehuis/
+WWW: http://packages.debian.org/unstable/utils/ltrace.html
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list