Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  5 Mar 2007 00:59:51 +0800 (CST)
From:      chinsan <chinsan@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/109857: [NEW PORT] devel/pecl-vld: Dump the internal representation of PHP scripts
Message-ID:  <20070304165951.4EEE711478@chinsan.twbbs.org>
Resent-Message-ID: <200703041700.l24H0Ais058324@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         109857
>Category:       ports
>Synopsis:       [NEW PORT] devel/pecl-vld: Dump the internal representation of PHP scripts
>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:   Sun Mar 04 17:00:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     chinsan
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
Taiwan
>Environment:
System: FreeBSD chinsan.twbbs.org 6.2-STABLE FreeBSD 6.2-STABLE #6: Mon Feb  5 23:22:25 CST
>Description:
The Vulcan Logic Disassembler hooks into the Zend Engine and
dumps all the opcodes (execution units) of a script.

WWW: http://pecl.php.net/package/vld/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- pecl-vld-0.8.0.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:
#
#	pecl-vld
#	pecl-vld/Makefile
#	pecl-vld/distinfo
#	pecl-vld/pkg-descr
#	pecl-vld/files
#	pecl-vld/files/patch-srm_oparray.c
#
echo c - pecl-vld
mkdir -p pecl-vld > /dev/null 2>&1
echo x - pecl-vld/Makefile
sed 's/^X//' >pecl-vld/Makefile << 'END-of-pecl-vld/Makefile'
X# New ports collection makefile for:	pecl-vld
X# Date created:			2007/03/02
X# Whom:				chinsan
X#
X# $FreeBSD$
X#
X
XPORTNAME=	vld
XPORTVERSION=	0.8.0
XCATEGORIES=	devel pear
XMASTER_SITES=	http://pecl.php.net/get/
XPKGNAMEPREFIX=	pecl-
XEXTRACT_SUFX=	.tgz
XDIST_SUBDIR=	PECL
X
XMAINTAINER=	chinsan@FreeBSD.org
XCOMMENT=	Dump the internal representation of PHP scripts
X
XUSE_PHP=	yes
XUSE_PHPEXT=	yes
X
XCONFIGURE_ARGS=	--enable-vld
X
X.include <bsd.port.mk>
END-of-pecl-vld/Makefile
echo x - pecl-vld/distinfo
sed 's/^X//' >pecl-vld/distinfo << 'END-of-pecl-vld/distinfo'
XMD5 (PECL/vld-0.8.0.tgz) = 00351344ed03a6eea6219e1db25aa660
XSHA256 (PECL/vld-0.8.0.tgz) = 0bf913e6cfd676de47704b22574711783909cef2318776db006f991f2246593a
XSIZE (PECL/vld-0.8.0.tgz) = 8796
END-of-pecl-vld/distinfo
echo x - pecl-vld/pkg-descr
sed 's/^X//' >pecl-vld/pkg-descr << 'END-of-pecl-vld/pkg-descr'
XThe Vulcan Logic Disassembler hooks into the Zend Engine and
Xdumps all the opcodes (execution units) of a script.
X
XWWW: http://pecl.php.net/package/vld/
END-of-pecl-vld/pkg-descr
echo c - pecl-vld/files
mkdir -p pecl-vld/files > /dev/null 2>&1
echo x - pecl-vld/files/patch-srm_oparray.c
sed 's/^X//' >pecl-vld/files/patch-srm_oparray.c << 'END-of-pecl-vld/files/patch-srm_oparray.c'
X--- srm_oparray.c.orig	Mon Mar  5 00:55:20 2007
X+++ srm_oparray.c	Mon Mar  5 00:55:20 2007
X@@ -350,7 +350,8 @@
X 			op->op2.u.opline_num = (zend_uint)((zend_op*)base_address + op->op2.u.opline_num);
X 			op->op2.op_type = VLD_IS_OPLINE;
X 			break;
X-
X+/* use ZEND_JMP_NO_CTOR only when it is available (php < 5.1) */
X+#ifdef ZEND_JMP_NO_CTOR
X 		case ZEND_JMP_NO_CTOR:
X 			flags = OP2_USED;
X 			if (op->op1.op_type != IS_UNUSED) {
X@@ -361,6 +362,7 @@
X #endif
X 			op->op2.op_type = VLD_IS_OPLINE;
X 			break;
X+#endif
X 
X #ifdef ZEND_ENGINE_2
X 		case ZEND_FETCH_CLASS:
END-of-pecl-vld/files/patch-srm_oparray.c
exit
--- pecl-vld-0.8.0.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070304165951.4EEE711478>