Date: Thu, 15 Apr 2004 19:09:18 +0200 (CEST) From: Simon Barner <barner@in.tum.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: dfr@FreeBSD.org Subject: ports/65585: new port: devel/valgrind: an advanced debugger and profiler Message-ID: <20040415170918.33DDB474C@zi025.glhnet.mhn.de> Resent-Message-ID: <200404151720.i3FHK3nH087412@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65585 >Category: ports >Synopsis: new port: devel/valgrind: an advanced debugger and profiler >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 15 10:20:03 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Simon Barner >Release: FreeBSD 4.9 i386 >Organization: >Environment: System: FreeBSD zi025.glhnet.mhn.de 4.9-STABLE FreeBSD 4.9-STABLE #0: Tue Feb 10 01:57:14 CET 2004 simon@zi025.glhnet.mhn.de:/usr/src/sys/compile/KISTE i386 >Description: Doug, I've created a FreeBSD port for your Valgrind snapshot. This will make it easier for people who want to test it, and there are also all the other benefits from using a ports vs. manual installation. I've entered your FreeBSD email address into the maintainer field, since it was you who made all the serious work. If you'd prefer not to have to care about the port collection, but about the porting itself, I volunteer to take the maintainership (barner@gmx.de). Simon >How-To-Repeat: N/A >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # valgrind # valgrind/Makefile # valgrind/distinfo # valgrind/pkg-descr # valgrind/pkg-plist # echo c - valgrind mkdir -p valgrind > /dev/null 2>&1 echo x - valgrind/Makefile sed 's/^X//' >valgrind/Makefile << 'END-of-valgrind/Makefile' X# Ports collection makefile for: valgrind X# Date created: April 15 2004 X# Whom: Simon Barner <barner@gmx.de> X# X# $FreeBSD$ X# X XPORTNAME= valgrind XPORTVERSION= 327 XCATEGORIES= devel XMASTER_SITES= http://www.rabson.org/ XDISTNAME= ${PORTNAME}-stable-${PORTVERSION} X XMAINTAINER= dfr@FreeBSD.org XCOMMENT= A (memory) debugging and profiling tool X XWRKSRC= ${WRKDIR}/${DISTNAME} XUSE_GMAKE= yes XGNU_CONFIGURE= yes XUSE_REINPLACE= yes X X.include <bsd.port.pre.mk> X XPROCFS!= /sbin/mount | ${GREP} '^procfs' | ${AWK} '{print $1}' X Xpre-everything:: X X.if ${PROCFS} X @${ECHO_CMD} "" X @${ECHO_CMD} "Check if procfs is running: YES" X.else X @${ECHO_CMD} "-----------------------------------------------------------" X @${ECHO_CMD} "" X @${ECHO_CMD} "Valgrind needs a running procfs, which is not" X @${ECHO_CMD} "activated on your system. Please read the procfs\(5\)" X @${ECHO_CMD} "manpage and add the following line to /etc/fstab:" X @${ECHO_CMD} "" X @${ECHO_CMD} "proc /proc procfs rw 0 0" X @${ECHO_CMD} "" X @${ECHO_CMD} "-----------------------------------------------------------" X @${FALSE} X.endif X Xpre-patch: X.ifdef(NOPORTDOCS) X ${FIND} ${WRKSRC} -name "Makefile.in" -exec \ X ${REINPLACE_CMD} -e "s/docs//g" {} \; X.endif X X.include <bsd.port.post.mk> END-of-valgrind/Makefile echo x - valgrind/distinfo sed 's/^X//' >valgrind/distinfo << 'END-of-valgrind/distinfo' XMD5 (valgrind-stable-327.tar.gz) = 56aabe03a41c4ebbb0cf2fbda3f4656a XSIZE (valgrind-stable-327.tar.gz) = 1161744 END-of-valgrind/distinfo echo x - valgrind/pkg-descr sed 's/^X//' >valgrind/pkg-descr << 'END-of-valgrind/pkg-descr' XValgrind is a system for debugging and profiling un*x programs. With the tools Xthat come with Valgrind, you can automatically detect many memory management Xand threading bugs, avoiding hours of frustrating bug-hunting, making your Xprograms more stable. You can also perform detailed profiling, to speed up and Xreduce memory use of your programs. X XThe Valgrind distribution includes five tools: two memory error detectors, a Xthread error detector, a cache profiler and a heap profiler. Several other Xtools have been built with Valgrind. X XWWW: http://valgrind.kde.org/ END-of-valgrind/pkg-descr echo x - valgrind/pkg-plist sed 's/^X//' >valgrind/pkg-plist << 'END-of-valgrind/pkg-plist' Xbin/cg_annotate Xbin/valgrind Xbin/valgrind-listener Xinclude/valgrind/helgrind.h Xinclude/valgrind/memcheck.h Xinclude/valgrind/valgrind.h Xinclude/valgrind/vg_constants_skin.h Xinclude/valgrind/vg_kerneliface.h Xinclude/valgrind/vg_skin.h Xlib/valgrind/default.supp Xlib/valgrind/glibc-2.1.supp Xlib/valgrind/glibc-2.2.supp Xlib/valgrind/glibc-2.3.supp Xlib/valgrind/libc_r.so.5 Xlib/valgrind/libkse.so.1 Xlib/valgrind/libpthread.so Xlib/valgrind/libpthread.so.0 Xlib/valgrind/libpthread.so.1 Xlib/valgrind/libthr.so.1 Xlib/valgrind/stage2 Xlib/valgrind/valgrind Xlib/valgrind/vg_inject.so Xlib/valgrind/vg_symtabd Xlib/valgrind/vgpreload_addrcheck.so Xlib/valgrind/vgpreload_helgrind.so Xlib/valgrind/vgpreload_memcheck.so Xlib/valgrind/vgskin_addrcheck.so Xlib/valgrind/vgskin_cachegrind.so Xlib/valgrind/vgskin_corecheck.so Xlib/valgrind/vgskin_helgrind.so Xlib/valgrind/vgskin_lackey.so Xlib/valgrind/vgskin_memcheck.so Xlib/valgrind/vgskin_none.so Xlib/valgrind/xfree-3.supp Xlib/valgrind/xfree-4.supp Xlibdata/pkgconfig/valgrind.pc X%%PORTDOCS%%%%DOCSDIR%%/ac_main.html X%%PORTDOCS%%%%DOCSDIR%%/cc_main.html X%%PORTDOCS%%%%DOCSDIR%%/cg_main.html X%%PORTDOCS%%%%DOCSDIR%%/cg_techdocs.html X%%PORTDOCS%%%%DOCSDIR%%/coregrind_core.html X%%PORTDOCS%%%%DOCSDIR%%/coregrind_intro.html X%%PORTDOCS%%%%DOCSDIR%%/coregrind_tools.html X%%PORTDOCS%%%%DOCSDIR%%/hg_main.html X%%PORTDOCS%%%%DOCSDIR%%/lk_main.html X%%PORTDOCS%%%%DOCSDIR%%/manual.html X%%PORTDOCS%%%%DOCSDIR%%/mc_main.html X%%PORTDOCS%%%%DOCSDIR%%/mc_techdocs.html X%%PORTDOCS%%%%DOCSDIR%%/nl_main.html X%%PORTDOCS%%@dirrm %%DOCSDIR%% X@dirrm lib/valgrind X@dirrm include/valgrind END-of-valgrind/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040415170918.33DDB474C>