From chinsan@chinsan.twbbs.org  Sun Mar  4 16:59:41 2007
Return-Path: <chinsan@chinsan.twbbs.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 52AD416A402
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 Mar 2007 16:59:41 +0000 (UTC)
	(envelope-from chinsan@chinsan.twbbs.org)
Received: from chinsan.twbbs.org (220-132-119-51.HINET-IP.hinet.net [220.132.119.51])
	by mx1.freebsd.org (Postfix) with ESMTP id E9FE413C4D0
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 Mar 2007 16:59:40 +0000 (UTC)
	(envelope-from chinsan@chinsan.twbbs.org)
Received: by chinsan.twbbs.org (Postfix, from userid 1001)
	id 4EEE711478; Mon,  5 Mar 2007 00:59:51 +0800 (CST)
Message-Id: <20070304165951.4EEE711478@chinsan.twbbs.org>
Date: Mon,  5 Mar 2007 00:59:51 +0800 (CST)
From: chinsan <chinsan@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] devel/pecl-vld: Dump the internal representation of PHP scripts
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:    rafan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 04 17:00:10 GMT 2007
>Closed-Date:    Tue Mar 06 07:33:17 GMT 2007
>Last-Modified:  Tue Mar  6 07:40:06 GMT 2007
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->rafan 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Mar 4 17:00:15 UTC 2007 
Responsible-Changed-Why:  
rafan@ wants this PRs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109857 
State-Changed-From-To: open->closed 
State-Changed-By: rafan 
State-Changed-When: Tue Mar 6 07:33:15 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/109857: commit references a PR
Date: Tue,  6 Mar 2007 07:31:54 +0000 (UTC)

 rafan       2007-03-06 07:31:49 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel                Makefile 
   Added files:
     devel/pecl-vld       Makefile distinfo pkg-descr 
     devel/pecl-vld/files patch-srm_oparray.c 
   Log:
   Add pecl-vld 0.8.0, dump the internal representation of PHP scripts.
   
   PR:             ports/109857
   Submitted by:   chinsan
   
   Revision  Changes    Path
   1.2676    +1 -0      ports/devel/Makefile
   1.1       +24 -0     ports/devel/pecl-vld/Makefile (new)
   1.1       +3 -0      ports/devel/pecl-vld/distinfo (new)
   1.1       +20 -0     ports/devel/pecl-vld/files/patch-srm_oparray.c (new)
   1.1       +4 -0      ports/devel/pecl-vld/pkg-descr (new)
 _______________________________________________
 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:
