From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 10 06:50:14 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A516837B401 for ; Tue, 10 Jun 2003 06:50:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9324743FA3 for ; Tue, 10 Jun 2003 06:50:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5ADoDUp009421 for ; Tue, 10 Jun 2003 06:50:13 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5ADoDIK009420; Tue, 10 Jun 2003 06:50:13 -0700 (PDT) Resent-Date: Tue, 10 Jun 2003 06:50:13 -0700 (PDT) Resent-Message-Id: <200306101350.h5ADoDIK009420@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jens Rehsack Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1B2937B401 for ; Tue, 10 Jun 2003 06:46:34 -0700 (PDT) Received: from helo.liwing.de (helo.liwing.de [213.70.188.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id E91A543FEC for ; Tue, 10 Jun 2003 06:46:33 -0700 (PDT) (envelope-from root@helo.liwing.de) Received: from helo.liwing.de (localhost.liwing.de [127.0.0.1]) by helo.liwing.de (8.12.7/8.12.7) with ESMTP id h5ADkV3F064621; Tue, 10 Jun 2003 13:46:31 GMT (envelope-from root@helo.liwing.de) Received: (from root@localhost) by helo.liwing.de (8.12.7/8.12.7/Submit) id h5ADkUkW064620; Tue, 10 Jun 2003 13:46:30 GMT Message-Id: <200306101346.h5ADkUkW064620@helo.liwing.de> Date: Tue, 10 Jun 2003 13:46:30 GMT From: Jens Rehsack To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/53147: [new port] devel/php-xdebug X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jens Rehsack List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 13:50:15 -0000 >Number: 53147 >Category: ports >Synopsis: [new port] devel/php-xdebug >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: Tue Jun 10 06:50:10 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Jens Rehsack >Release: FreeBSD 5.1-BETA i386 >Organization: LiWing IT-Services >Environment: System: FreeBSD webdev.muppets.liwing.de 5.1-BETA FreeBSD 5.1-BETA #0: Mon May 26 14:11:55 GMT 2003 root@webdev.muppets.liwing.de:/usr/obj/usr/src/sys/WEBDEV i386 >Description: New port for another debugger for php scripts, maybe more useful because the debugger / profiler can be called from within the script. >How-To-Repeat: >Fix: --- php-xdebug.shar begins here --- # 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: # # devel/php-xdebug # devel/php-xdebug/Makefile # devel/php-xdebug/pkg-descr # devel/php-xdebug/pkg-message # devel/php-xdebug/pkg-plist # devel/php-xdebug/distinfo # echo c - devel/php-xdebug mkdir -p devel/php-xdebug > /dev/null 2>&1 echo x - devel/php-xdebug/Makefile sed 's/^X//' >devel/php-xdebug/Makefile << 'END-of-devel/php-xdebug/Makefile' X# New ports collection makefile for: xdebug X# Date created: Thu Apr 3 12:44:57 GMT 2003 X# Whom: Jens Rehsack X# X# $FreeBSD$ X# X XPORTNAME= xdebug XPORTVERSION= 1.2.0 XCATEGORIES= devel x11 XMASTER_SITES= http://files.derickrethans.nl/ XPKGNAMEPREFIX= php- XEXTRACT_SUFX= .tgz X XMAINTAINER= rehsack@liwing.de XCOMMENT= Xdebug extension for PHP X XUSE_PHPIZE= yes XCONFIGURE_ARGS= --enable-xdebug --with-php-config=${PREFIX}/bin/php-config XCONFIGURE_ENV= CFLAGS="${CFLAGS}" XPKGMESSAGE= ${WRKDIR}/pkg-message X X.include X.include "${.CURDIR}/../../lang/php4/bsd.php.mk" X Xpost-build: X @${SED} "s|%%PREFIX%%|${PREFIX}|g;s|%%PHP_EXT_DIR%%|${PHP_EXT_DIR}|g" \ X < ${.CURDIR}/pkg-message > ${PKGMESSAGE} X Xdo-install: X @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR} X @${INSTALL_DATA} ${WRKSRC}/modules/xdebug.so \ X ${PREFIX}/lib/php/${PHP_EXT_DIR} X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include END-of-devel/php-xdebug/Makefile echo x - devel/php-xdebug/pkg-descr sed 's/^X//' >devel/php-xdebug/pkg-descr << 'END-of-devel/php-xdebug/pkg-descr' XThe Xdebug extension helps you debugging your script by providing a lot of Xvaluable debug information. Xdebug can be used from inside a script or by Xa remote debugger. X XWWW: http://xdebug.derickrethans.nl/ END-of-devel/php-xdebug/pkg-descr echo x - devel/php-xdebug/pkg-message sed 's/^X//' >devel/php-xdebug/pkg-message << 'END-of-devel/php-xdebug/pkg-message' X***************************************************************************** XThe php debugger 'xdebug' has been installed successful. XAdd a line containing X X extension=%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/xdebug.so X Xor X X zend_extension=%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/xdebug.so X Xto your php.ini to load it. xdebug is not compatible with the extension X'Zend Optimizer' - you're only able to use one of them. So take care having Xat least the lesser required extension disabled by commenting out it's Xloader line in your php.ini. X XAdd following section to enable/disable whatever you need from xdebug: X X xdebug.auto_profile [1|On | 0|Off] X xdebug.auto_profile_mode [profile mode, integer] X xdebug.output_dir [string] X X***************************************************************************** END-of-devel/php-xdebug/pkg-message echo x - devel/php-xdebug/pkg-plist sed 's/^X//' >devel/php-xdebug/pkg-plist << 'END-of-devel/php-xdebug/pkg-plist' Xlib/php/%%PHP_EXT_DIR%%/xdebug.so X@unexec rmdir %D/lib/php/%%PHP_EXT_DIR%% 2>/dev/null || true END-of-devel/php-xdebug/pkg-plist echo x - devel/php-xdebug/distinfo sed 's/^X//' >devel/php-xdebug/distinfo << 'END-of-devel/php-xdebug/distinfo' XMD5 (xdebug-1.2.0.tgz) = a37cd618fa25e87e6f1aab5ff0b80742 END-of-devel/php-xdebug/distinfo exit --- php-xdebug.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: