Bug 176320

Summary: [NEW PORT] devel/php5-ZendOptimizerPlus: Faster PHP opcode caching and optimization
Product: Ports & Packages Reporter: Gasol Wu <gasol.wu>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
.shar none

Description Gasol Wu 2013-02-21 12:50:00 UTC
The Zend Optimizer+ provides faster PHP execution through opcode caching and
optimization. It improves PHP performance by storing precompiled script
bytecode in the shared memory. This eliminates the stages of reading code from
the disk and compiling it on future access. In addition, it applies a few
bytecode optimization patterns that make code execution faster.

WWW: https://github.com/zend-dev/ZendOptimizerPlus/

Generated with FreeBSD Port Tools 0.99_6 (mode: new)
Comment 1 admin 2013-02-22 18:11:49 UTC
please, commit this
it's needed software
Comment 2 Xin LI freebsd_committer freebsd_triage 2013-02-22 19:00:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->delphij

Take.
Comment 3 Gasol Wu 2013-03-04 15:17:07 UTC
>Submitter-Id:	current-users
>Originator:	Gasol Wu
>Organization
>Confidential:	no
>Synopsis:	Re: ports/176320: [NEW PORT] devel/php5-ZendOptimizerPlus: Faster PHP opcode caching and optimization
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		change-request
>Release:	FreeBSD 9.1-RC1 amd64
>Environment:
System: FreeBSD goingmarry 9.1-RC1 FreeBSD 9.1-RC1 #0: Tue Aug 14 04:25:06 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:

>How-To-Repeat:
>Fix:
--- pecl-ZendOptimizerPlus-7.0.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:
#
#	.
#	./Makefile
#	./pkg-descr
#	./distinfo
#	./files
#	./files/pkg-message.in
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19'
X# Created by: Gasol Wu <gasol.wu@gmail.com>
X# $FreeBSD$
X
XPORTNAME=	ZendOptimizerPlus
XPORTVERSION=	7.0.0
XCATEGORIES=	devel
XMASTER_SITES=	http://pecl.php.net/get/
XPKGNAMEPREFIX=	pecl-
XDISTNAME=	zendoptimizerplus-${PORTVERSION}
XEXTRACT_SUFX=	.tgz
XDIST_SUBDIR=	PECL
X
XMAINTAINER=	gasol.wu@gmail.com
XCOMMENT=	Faster PHP opcode caching and optimization
X
XCONFIGURE_ARGS=	--enable-optimizer-plus
XUSE_PHP=	yes
XUSE_PHPEXT=	yes
XSUB_FILES=	pkg-message
XSUB_LIST+=	PHP_MODNAME=${PHP_MODNAME}
X
XPKGMESSAGE=	${WRKDIR}/pkg-message
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
464ef7c6571951809b23e262cbe26e19
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5'
XThe Zend Optimizer+ provides faster PHP execution through opcode caching and
Xoptimization. It improves PHP performance by storing precompiled script
Xbytecode in the shared memory. This eliminates the stages of reading code from
Xthe disk and compiling it on future access. In addition, it applies a few
Xbytecode optimization patterns that make code execution faster.
X
XWWW: https://github.com/zend-dev/ZendOptimizerPlus/
0e313719ff012ceaf97a028d51caa8f5
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2'
XSHA256 (PECL/zendoptimizerplus-7.0.0.tgz) = c32aa8c75434f8f64d116694612adf6d2b40864feabbd8466b9561869ba97cfa
XSIZE (PECL/zendoptimizerplus-7.0.0.tgz) = 82376
aec8793adfd5b7c3f00e62ae41a09ac2
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/pkg-message.in
sed 's/^X//' >./files/pkg-message.in << 'f63be51668f70461c30a5539f7c148ef'
X****************************************************************************
X
XPlease replace extension with zend_extension in %%PREFIX%%/etc/php/extensions.ini
Xas following:
X
Xzend_extension=%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/%%PHP_MODNAME%%.so
X
XNOTE:
X
XIn case you are going to use Zend Optimizer+ together with Xdebug,
Xbe sure that Xdebug is loaded after Optimizer+. "php -v" must show Xdebug
Xafter Optimizer+.
X
X****************************************************************************
f63be51668f70461c30a5539f7c148ef
exit
--- pecl-ZendOptimizerPlus-7.0.0.shar ends here ---
Comment 4 Xin LI freebsd_committer freebsd_triage 2013-03-11 17:11:44 UTC
State Changed
From-To: open->closed

Alex have committed a different version for ZendOptimizer+, 
thanks for your submission! 


Comment 5 Xin LI freebsd_committer freebsd_triage 2013-03-11 17:11:44 UTC
Responsible Changed
From-To: delphij->ale

Assign to ale@ as he is the maintainer.