Date: Thu, 19 Jul 2007 23:58:58 -0500 From: "User &" <josh@tcbug.org> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/114757: [NEW PORT] devel/php-dbg2: php debugger that works with php5 & gcc 4.x (depricates devel/php-dbg) Message-ID: <1184907538.30316@homebase.tcbug.org> Resent-Message-ID: <200707200500.l6K509cJ068728@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114757 >Category: ports >Synopsis: [NEW PORT] devel/php-dbg2: php debugger that works with php5 & gcc 4.x (depricates devel/php-dbg) >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: Fri Jul 20 05:00:08 GMT 2007 >Closed-Date: >Last-Modified: >Originator: User & >Release: FreeBSD 6.2-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD 6.2-RELEASE-p5 #0: Mon Jul 2 19:20:57 UTC 2007 root@:/usr/obj/usr/src/sys/HOMEBASE >Description: devel/php-dbg does not work with php 5.x and doesn't compile with gcc 4.x The upstream maintainers have been transitioning to calling the newest release of dbg dbg2 even though the version numbers incremented from 2.11.x to 2.15.5 >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: # # /usr/ports/devel/php-dbg2 # /usr/ports/devel/php-dbg2/pkg-plist # /usr/ports/devel/php-dbg2/pkg-message # /usr/ports/devel/php-dbg2/pkg-descr # /usr/ports/devel/php-dbg2/distinfo # /usr/ports/devel/php-dbg2/Makefile # echo c - /usr/ports/devel/php-dbg2 mkdir -p /usr/ports/devel/php-dbg2 > /dev/null 2>&1 echo x - /usr/ports/devel/php-dbg2/pkg-plist sed 's/^X//' >/usr/ports/devel/php-dbg2/pkg-plist << 'END-of-/usr/ports/devel/php-dbg2/pkg-plist' Xlib/php/%%PHP_EXT_DIR%%/dbg.so X@dirrmtry lib/php/%%PHP_EXT_DIR%% END-of-/usr/ports/devel/php-dbg2/pkg-plist echo x - /usr/ports/devel/php-dbg2/pkg-message sed 's/^X//' >/usr/ports/devel/php-dbg2/pkg-message << 'END-of-/usr/ports/devel/php-dbg2/pkg-message' X***************************************************************************** XThis product includes DBG PHP Debugger, Copyright(C) 1999, 2000, 2001, X2002 Nusphere Corporation, http://www.nusphere.com/dbg X XThe php debugger has been installed successful. XAdd a line containing X X extension=dbg.so X Xto your %%LOCALBASE%%/etc/php/extensions.ini to load it. XIf you have the Zend Optimizer installed, add the line X X zend_extension=%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/dbg.so X Xto your [zend] section in the php.ini file, too. XAdd following section to enable/disable whatever you need from the debugger: X X [Debugger] X debugger.enabled=on X debugger.profiler_enabled=on X debugger.enable_session_cookie=on X debugger.JIT_enabled=on X debugger.JIT_port=7869 X X***************************************************************************** END-of-/usr/ports/devel/php-dbg2/pkg-message echo x - /usr/ports/devel/php-dbg2/pkg-descr sed 's/^X//' >/usr/ports/devel/php-dbg2/pkg-descr << 'END-of-/usr/ports/devel/php-dbg2/pkg-descr' XThe DBG Php Debugger is a comprehensive software tool that helps you Xdebugging your php scripts. X XWWW: http://dd.cron.ru/dbg/ END-of-/usr/ports/devel/php-dbg2/pkg-descr echo x - /usr/ports/devel/php-dbg2/distinfo sed 's/^X//' >/usr/ports/devel/php-dbg2/distinfo << 'END-of-/usr/ports/devel/php-dbg2/distinfo' XMD5 (dbg-2.15.5.tar.gz) = 1183c5d87635adf77b416787e4916965 XSHA256 (dbg-2.15.5.tar.gz) = 84dc46495610cd6ca96ff32578ee5df75aad672228cb63d593e72796bd11d77a XSIZE (dbg-2.15.5.tar.gz) = 252533 END-of-/usr/ports/devel/php-dbg2/distinfo echo x - /usr/ports/devel/php-dbg2/Makefile sed 's/^X//' >/usr/ports/devel/php-dbg2/Makefile << 'END-of-/usr/ports/devel/php-dbg2/Makefile' X# New ports collection makefile for: php-dbg2 X# Date created: 19 July 2007 X# Whom: Josh Paetzel <josh@tcbug.org> X# X# $FreeBSD$ X# X XPORTNAME= dbg2 XPORTVERSION= 2.15.5 XCATEGORIES= devel XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/%SUBDIR%/dbg2/} XPKGNAMEPREFIX= php- XDISTNAME= dbg-${PORTVERSION} X XMAINTAINER= josh@tcbug.org XCOMMENT= Debugger for PHP X XWRKSRC= ${WRKDIR}/dbg-${PORTVERSION} XUSE_PHP= yes XUSE_PHPIZE= yes XDEFAULT_PHP_VER=5 XCONFIGURE_ARGS= --enable-dbg=shared --with-dbg-profiler \ X --with-php-config=${PREFIX}/bin/php-config \ X --prefix=${PREFIX}/lib/php/${PHP_EXT_DIR} XPKGMESSAGE= pkg-message X X.include <bsd.port.pre.mk> X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.post.mk> END-of-/usr/ports/devel/php-dbg2/Makefile exit Also available for download from http://www.rogueadmin.org/FreeBSD/php-dbg2.shar >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1184907538.30316>