From josh@tcbug.org  Fri Jul 20 04:58:59 2007
Return-Path: <josh@tcbug.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D47C116A418
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Jul 2007 04:58:59 +0000 (UTC)
	(envelope-from josh@tcbug.org)
Received: from cenn-smtp.mc.mpls.visi.com (cenn.mc.mpls.visi.com [208.42.156.9])
	by mx1.freebsd.org (Postfix) with ESMTP id 8D42913C442
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Jul 2007 04:58:59 +0000 (UTC)
	(envelope-from josh@tcbug.org)
Received: from mail.tcbug.org (mail.tcbug.org [208.42.70.163])
	by cenn-smtp.mc.mpls.visi.com (Postfix) with ESMTP id 44D4F815A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 19 Jul 2007 23:58:58 -0500 (CDT)
Received: from homebase.tcbug.org (unknown [192.168.2.1])
	by mail.tcbug.org (Postfix) with ESMTP id 1E718341C0C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 19 Jul 2007 23:58:58 -0500 (CDT)
Message-Id: <1184907538.30316@homebase.tcbug.org>
Date: Thu, 19 Jul 2007 23:58:58 -0500
From: "User &" <josh@tcbug.org>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: [NEW PORT] devel/php-dbg2: php debugger that works with php5 & gcc 4.x (depricates devel/php-dbg)
X-Send-Pr-Version: gtk-send-pr 0.4.8 
X-GNATS-Notify:

>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:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 20 05:00:08 GMT 2007
>Closed-Date:    Sun Aug 05 08:20:24 GMT 2007
>Last-Modified:  Sun Aug  5 08:30:02 GMT 2007
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Thu Aug 2 16:33:38 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114757 
State-Changed-From-To: open->feedback 
State-Changed-By: miwi 
State-Changed-When: Thu Aug 2 16:36:17 UTC 2007 
State-Changed-Why:  
Ask for maintainer fix. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114757 

From: Josh Paetzel <josh@tcbug.org>
To: bug-followup@freebsd.org
Cc: josh@tcbug.org, miwi@freebsd.org
Subject: Re: ports/114757: [NEW PORT] devel/php-dbg2: php debugger that works with php5 & gcc 4.x (depricates devel/php-dbg)
Date: Thu, 2 Aug 2007 12:00:09 -0500

 --cPi+lWm09sJ+d57q
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 miwi@FreeBSD.org wrote:
 > Synopsis: [NEW PORT] devel/php-dbg2: php debugger that works with php5 & =
 gcc 4.x (depricates devel/php-dbg)
 >=20
 > State-Changed-From-To: open->feedback
 > State-Changed-By: miwi
 > State-Changed-When: Thu Aug 2 16:36:17 UTC 2007
 > State-Changed-Why:=20
 > Ask for maintainer fix.
 >=20
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D114757
 
 Not sure which maintainer you are referring to.  I maintain
 devel/php-dbg. The upstream maintainers of php-dbg are the same as the
 upstream maintainers of this new port.  This is sort of an xmms/xmms2
 situation, php-dbg doesn't work with PHP5, nor will it compile with
 gcc 4.x and rather than try and kludge in fixes they redesigned it.
 
 Once this port is accepted I was planning on changing php-dbg so that
 it gives a 'You really should be installing devel/php-dbg2' message,
 and when the upstream people finally cut it loose removing it from the
 ports tree.
 
 --=20
 Thanks,
 
 Josh Paetzel
 
 --cPi+lWm09sJ+d57q
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.3 (FreeBSD)
 
 iD8DBQFGsg2XJvkB8SevrssRAikFAJ9wxYjzlNgy7GxLksVbxYrp+529egCfZiSc
 k/a1drtik0yuvwoGhWNaHrY=
 =1/KU
 -----END PGP SIGNATURE-----
 
 --cPi+lWm09sJ+d57q--
State-Changed-From-To: feedback->repocopy 
State-Changed-By: miwi 
State-Changed-When: Thu Aug 2 17:25:51 UTC 2007 
State-Changed-Why:  
Please repocopy devel/php-dbg to devel/php-dbg2. 






Responsible-Changed-From-To: miwi->portmgr 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Thu Aug 2 17:25:51 UTC 2007 
Responsible-Changed-Why:  
Over to portmgr for repocopy 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114757 
State-Changed-From-To: repocopy->open 
State-Changed-By: marcus 
State-Changed-When: Sat Aug 4 06:26:36 UTC 2007 
State-Changed-Why:  
Repocopy complete. 


Responsible-Changed-From-To: portmgr->miwi 
Responsible-Changed-By: marcus 
Responsible-Changed-When: Sat Aug 4 06:26:36 UTC 2007 
Responsible-Changed-Why:  
Repocopy complete. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114757 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sun Aug 5 08:20:22 UTC 2007 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114757 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/114757: commit references a PR
Date: Sun,  5 Aug 2007 08:20:09 +0000 (UTC)

 miwi        2007-08-05 08:20:04 UTC
 
   FreeBSD ports repository
 
   Modified files:
     .                    modules 
     devel                Makefile 
     devel/php-dbg2       Makefile distinfo pkg-descr pkg-message 
   Log:
   - Update to 2.15.5
   - Connect to build
   
   PR:             114757
   Submitted by:   Josh Paetzel <josh@tcbug.org>
   
   Revision  Changes    Path
   1.18479   +1 -0      CVSROOT/modules
   1.2834    +1 -0      ports/devel/Makefile
   1.15      +14 -30    ports/devel/php-dbg2/Makefile
   1.8       +3 -3      ports/devel/php-dbg2/distinfo
   1.3       +1 -1      ports/devel/php-dbg2/pkg-descr
   1.5       +8 -8      ports/devel/php-dbg2/pkg-message
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
