From dean@odyssey.apana.org.au  Mon May 13 00:11:34 2002
Return-Path: <dean@odyssey.apana.org.au>
Received: from odyssey.apana.org.au (odyssey.apana.org.au [203.11.114.1])
	by hub.freebsd.org (Postfix) with ESMTP id 6470737B433
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 13 May 2002 00:09:34 -0700 (PDT)
Received: (from dean@localhost)
	by odyssey.apana.org.au (8.9.3/8.9.3) id PAA91188;
	Mon, 13 May 2002 15:09:32 +0800 (WST)
Message-Id: <200205130709.PAA91188@mail.wa.apana.org.au>
Date: Mon, 13 May 2002 15:09:32 +0800 (WST)
From: Dean Hollister <dean@odyssey.apana.org.au>
Reply-To: Dean Hollister <dean@odyssey.apana.org.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New Port: databases/fireprofile
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         38023
>Category:       ports
>Synopsis:       New Port: databases/fireprofile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 13 00:20:01 PDT 2002
>Closed-Date:    Thu Jan 16 23:36:42 PST 2003
>Last-Modified:  Thu Jan 16 23:36:42 PST 2003
>Originator:     Dean Hollister
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
Australian Public Access Network Association Inc
>Environment:
System: FreeBSD odyssey.apana.org.au 4.5-STABLE FreeBSD 4.5-STABLE #0: Sat Apr 20 17:14:31 WST 2002 root@odyssey.apana.org.au:/usr/obj/usr/src/sys/ODYSSEY i386
>Description:
Library to help profiling where programs are using MySQL
>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:
#
#	fireprofile
#	fireprofile/pkg-comment
#	fireprofile/pkg-descr
#	fireprofile/Makefile
#	fireprofile/distinfo
#	fireprofile/files
#	fireprofile/files/patch-Makefile
#	fireprofile/files/patch-aa
#	fireprofile/pkg-plist
#
echo c - fireprofile
mkdir -p fireprofile > /dev/null 2>&1
echo x - fireprofile/pkg-comment
sed 's/^X//' >fireprofile/pkg-comment << 'END-of-fireprofile/pkg-comment'
XLibrary to help profiling where programs are using MySQL
END-of-fireprofile/pkg-comment
echo x - fireprofile/pkg-descr
sed 's/^X//' >fireprofile/pkg-descr << 'END-of-fireprofile/pkg-descr'
XFrom libfireprofile(3):
X
Xlibfireprofile is a library to help profiling where programs
Xusing MySQL are spending their time. It intercepts MySQL queries
Xand provides EXPLAIN data about each query, as well as total
Xtime spent on each query.
X
XWWW: http://ares.penguinhosting.net/~ian/
X
X- Dean
X
Xdean@odyssey.apana.org.au
END-of-fireprofile/pkg-descr
echo x - fireprofile/Makefile
sed 's/^X//' >fireprofile/Makefile << 'END-of-fireprofile/Makefile'
X# New ports collection makefile for:	fireprofile
X# Date created:		Mon 13 May 15:00:00 WST 2002
X# Whom:			Dean Hollister <dean@odyssey.apana.org.au>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fireprofile
XPORTVERSION=    0.1.2
XCATEGORIES=     databases
XMASTER_SITES=   http://ares.penguinhosting.net/~ian/projects/ \
X		http://www.wa.apana.org.au/~dean/sources/ \
X		ftp://ftp.wa.apana.org.au/pub/pc/unix/packages/
XDISTNAME=	fireprofile
XEXTRACT_SUFX=   -0.1.2.tar.gz
X
XMAINTAINER=     dean@odyssey.apana.org.au
X
XBUILD_DEPENDS=	${LOCALBASE}/include/mysql/mysql.h:${PORTSDIR}/databases/mysql323-server
X
XMAN3=		libfireprofile.3
X
X.include <bsd.port.mk>
END-of-fireprofile/Makefile
echo x - fireprofile/distinfo
sed 's/^X//' >fireprofile/distinfo << 'END-of-fireprofile/distinfo'
XMD5 (fireprofile-0.1.2.tar.gz) = 7c7e59e7efe839116e7a0ce1fd245cee
END-of-fireprofile/distinfo
echo c - fireprofile/files
mkdir -p fireprofile/files > /dev/null 2>&1
echo x - fireprofile/files/patch-Makefile
sed 's/^X//' >fireprofile/files/patch-Makefile << 'END-of-fireprofile/files/patch-Makefile'
X--- Makefile.orig	Mon May 13 14:41:50 2002
X+++ Makefile	Mon May 13 14:41:04 2002
X@@ -4,7 +4,7 @@
X CC ?= cc
X INCFLAGS =
X INLDFLAGS = -nostdlib
X-INLIBS = -ldl
X+#INLIBS = -ldl
X 
X .PHONY: all install shared clean distclean install-shared install-man3
X 
END-of-fireprofile/files/patch-Makefile
echo x - fireprofile/files/patch-aa
sed 's/^X//' >fireprofile/files/patch-aa << 'END-of-fireprofile/files/patch-aa'
X--- fireprofile.orig	Mon May 13 14:42:59 2002
X+++ fireprofile.c	Mon May 13 14:40:46 2002
X@@ -21,7 +21,7 @@
X #include <sys/time.h>
X #include <sys/resource.h>
X #include <unistd.h>
X-#include <mysql/mysql.h>
X+#include </usr/local/include/mysql/mysql.h>
X #include <unistd.h>
X #define __USE_GNU
X #include <dlfcn.h>
END-of-fireprofile/files/patch-aa
echo x - fireprofile/pkg-plist
sed 's/^X//' >fireprofile/pkg-plist << 'END-of-fireprofile/pkg-plist'
Xlib/libfireprofile.so
END-of-fireprofile/pkg-plist
exit
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Thu Jan 16 23:36:31 PST 2003 
State-Changed-Why:  
Commited, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=38023 
>Unformatted:
