From owner-freebsd-ports Sat Dec 23 2:30:15 2000 From owner-freebsd-ports@FreeBSD.ORG Sat Dec 23 02:30:10 2000 Return-Path: Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 85B6337B402 for ; Sat, 23 Dec 2000 02:30:10 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eBNAUAW47734; Sat, 23 Dec 2000 02:30:10 -0800 (PST) (envelope-from gnats) Resent-Date: Sat, 23 Dec 2000 02:30:10 -0800 (PST) Resent-Message-Id: <200012231030.eBNAUAW47734@freefall.freebsd.org> Resent-From: gnats-admin@FreeBSD.org (GNATS Management) Resent-To: freebsd-ports@FreeBSD.org Resent-Reply-To: gnats-admin@FreeBSD.org, Jeremy Shaffner Received: from indigo.external.org (c1118643-b.chmpgn1.il.home.com [24.181.130.163]) by hub.freebsd.org (Postfix) with ESMTP id DEB9C37B400 for ; Sat, 23 Dec 2000 02:21:53 -0800 (PST) Received: (from jeremy@localhost) by indigo.external.org (8.11.1/8.11.1) id eBNALBR02279; Sat, 23 Dec 2000 04:21:11 -0600 (CST) (envelope-from jeremy) Message-Id: <200012231021.eBNALBR02279@indigo.external.org> Date: Sat, 23 Dec 2000 04:21:11 -0600 (CST) From: Jeremy Shaffner Sender: jeremy@indigo.external.org Reply-To: Jeremy Shaffner To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/23792: New Port: devel/dmalloc Resent-Sender: gnats@FreeBSD.org Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 23792 >Category: ports >Synopsis: New Port: devel/dmalloc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Dec 23 02:30:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Jeremy Shaffner >Release: FreeBSD 4.2-20001106-BETA i386 >Organization: >Environment: >Description: Dmalloc is a malloc library designed as a drop in replacement for the default malloc(3) but adds debugging facilities. This is required for another port which is forthcoming. >How-To-Repeat: >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: # # dmalloc # dmalloc/Makefile # dmalloc/pkg-descr # dmalloc/pkg-comment # dmalloc/pkg-plist # dmalloc/distinfo # echo c - dmalloc mkdir -p dmalloc > /dev/null 2>&1 echo x - dmalloc/Makefile sed 's/^X//' >dmalloc/Makefile << 'END-of-dmalloc/Makefile' X# New ports collection makefile for: dmalloc X# Date created: 7 December 2000 X# Whom: Jeremy Shaffner X# X# $FreeBSD$ X XPORTNAME= dmalloc XPORTVERSION= 4.8.1 XCATEGORIES= devel XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= dmalloc XEXTRACT_SUFX= .tgz X X# Original from: Gray Watson http://256.com/gray/email.html XMAINTAINER= jeremy@external.org X XINSTALLS_SHLIB= YES XGNU_CONFIGURE= YES XCONFIGURE_ARGS+=--enable-threads --enable-shlib X X# NOTE: we make the test program first because otherwise it screws up X# and tried to use the .so instead of the .a for some stupid reason XALL_TARGET= dmalloc_t all light X Xpre-patch: X @${PERL} -pi -e 's|-lpthread|-pthread|g' ${WRKSRC}/configure X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/dmalloc ${PREFIX}/bin X ${INSTALL_DATA} ${WRKSRC}/dmalloc.h ${PREFIX}/include X ${INSTALL_DATA} ${WRKSRC}/libdmallocthcxx.so ${PREFIX}/lib/libdmallocthcxx.so.1 X @${LN} -sf ${PREFIX}/lib/libdmallocthcxx.so.1 ${PREFIX}/lib/libdmallocthcxx.so X ${INSTALL_DATA} ${WRKSRC}/libdmallocthcxx.a ${PREFIX}/lib X ${INSTALL_DATA} ${WRKSRC}/libdmallocth.so ${PREFIX}/lib/libdmallocth.so.1 X @${LN} -sf ${PREFIX}/lib/libdmallocth.so.1 ${PREFIX}/lib/libdmallocth.so X ${INSTALL_DATA} ${WRKSRC}/libdmallocth.a ${PREFIX}/lib X ${INSTALL_DATA} ${WRKSRC}/libdmalloc.so ${PREFIX}/lib/libdmalloc.so.1 X @${LN} -sf ${PREFIX}/lib/libdmalloc.so.1 ${PREFIX}/lib/libdmalloc.so X ${INSTALL_DATA} ${WRKSRC}/libdmalloc.a ${PREFIX}/lib X ${INSTALL_DATA} ${WRKSRC}/libdmalloclp.a ${PREFIX}/lib X.if !defined(NOPORTDOCS) X @${MKDIR} ${PREFIX}/share/doc/dmalloc X ${INSTALL_DATA} ${WRKSRC}/dmalloc.html ${PREFIX}/share/doc/dmalloc X.endif X Xpost-install: X ${INSTALL_DATA} ${WRKSRC}/dmalloc.info ${PREFIX}/info X @install-info ${PREFIX}/info/dmalloc.info ${PREFIX}/info/dir X X.include END-of-dmalloc/Makefile echo x - dmalloc/pkg-descr sed 's/^X//' >dmalloc/pkg-descr << 'END-of-dmalloc/pkg-descr' XThe debug memory allocation or dmalloc library has been designed as a Xportable drop in replacement for the system's memory management Xroutines while providing powerful debugging facilities configurable at Xruntime. These facilities include such things as memory-leak Xtracking, fence-post write detection, file/line number reporting, and Xgeneral logging of statistics. Online documentation is available at: X XWWW: http://dmalloc.com/ END-of-dmalloc/pkg-descr echo x - dmalloc/pkg-comment sed 's/^X//' >dmalloc/pkg-comment << 'END-of-dmalloc/pkg-comment' XPortable debug memory allocation library END-of-dmalloc/pkg-comment echo x - dmalloc/pkg-plist sed 's/^X//' >dmalloc/pkg-plist << 'END-of-dmalloc/pkg-plist' Xbin/dmalloc Xinclude/dmalloc.h X@unexec install-info --delete %D/info/dmalloc.info %D/info/dir Xinfo/dmalloc.info X@exec install-info %D/info/dmalloc.info %D/info/dir Xlib/libdmalloc.a Xlib/libdmalloc.so Xlib/libdmalloc.so.1 Xlib/libdmalloclp.a Xlib/libdmallocth.a Xlib/libdmallocth.so Xlib/libdmallocth.so.1 Xlib/libdmallocthcxx.a Xlib/libdmallocthcxx.so Xlib/libdmallocthcxx.so.1 Xshare/doc/dmalloc/dmalloc.html X@dirrm share/doc/dmalloc END-of-dmalloc/pkg-plist echo x - dmalloc/distinfo sed 's/^X//' >dmalloc/distinfo << 'END-of-dmalloc/distinfo' XMD5 (dmalloc-4.8.1.tgz) = 730a802f991f4ca293a02bccaa3cf031 END-of-dmalloc/distinfo exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message