Date: Thu, 22 May 2014 16:33:35 +0800 (CST) From: Gasol Wu <gasol.wu@gmail.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/190098: [NEW PORT] devel/pecl-memoize: PHP extension which transparently caches PHP functions Message-ID: <20140522083335.9732875A052@goingmarry.kkbox.com> Resent-Message-ID: <201405220840.s4M8e06R087954@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 190098 >Category: ports >Synopsis: [NEW PORT] devel/pecl-memoize: PHP extension which transparently caches PHP functions >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: Thu May 22 08:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Gasol Wu >Release: FreeBSD 9.2-RELEASE-p5 amd64 >Organization: >Environment: System: FreeBSD goingmarry 9.2-RELEASE-p5 FreeBSD 9.2-RELEASE-p5 #0: Tue Apr 29 19:09:13 UTC 2014 >Description: The memoize has been submitted to pecl.php.net, Therefore, devel/php-memoize should be move to devel/pecl-memoize. php-memoize is a PHP extension which transparently caches PHP functions, much like Perl's Memoize module. It comes with the following storage modules which can be enabled at compile time: - memory: Simple per-request module with no dependencies. Since this is a per-request cache, neither TTLs specified in the `memoize()` call or `memoize.default_ttl` are used. - memcached: Uses libmemcached or the memcached PHP extension - apc: Uses the APC PHP extension WWW: http://pecl.php.net/package/memoize Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: new) >How-To-Repeat: >Fix: --- pecl-memoize-0.2.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-memoize # pecl-memoize/Makefile # pecl-memoize/pkg-descr # pecl-memoize/distinfo # echo c - pecl-memoize mkdir -p pecl-memoize > /dev/null 2>&1 echo x - pecl-memoize/Makefile sed 's/^X//' >pecl-memoize/Makefile << '5bc0d84132421fbd466f23988ecbf980' X# Created by: Gasol Wu <gasol.wu@gmail.com> X# $FreeBSD: head/devel/php-memoize/Makefile 344672 2014-02-17 06:55:05Z miwi $ X XPORTNAME= memoize XPORTVERSION= 0.2.0 XCATEGORIES= devel XMASTER_SITES= http://pecl.php.net/get/ XPKGNAMEPREFIX= pecl- XDIST_SUBDIR= PECL X XMAINTAINER= gasol.wu@gmail.com XCOMMENT= PHP extension which transparently caches PHP functions X XLICENSE= PHP301 X XUSES= tar:tgz XUSE_PHP= yes XUSE_PHPEXT= yes XCONFIGURE_ARGS= --enable-memoize X XOPTIONS_DEFINE= APC MEMCACHED MEMORY XOPTIONS_DEFAULT= MEMORY XAPC_DESC= Enable memoize APC module XMEMCACHED_DESC= Enable memcached storage module XMEMORY_DESC= Enable the memoize memory storage module X X.include <bsd.port.pre.mk> X X.if ${PORT_OPTIONS:MAPC} XCONFIGURE_ARGS+= --enable-memoize-apc XBUILD_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:${PORTSDIR}/www/pecl-APC X.endif X X.if ${PORT_OPTIONS:MMEMCACHED} XCONFIGURE_ARGS+= --with-memoize-memcached XBUILD_DEPENDS+= libmemcached>0:${PORTSDIR}/databases/libmemcached XRUN_DEPENDS+= libmemcached>0:${PORTSDIR}/databases/libmemcached X.endif X X.if empty(PORT_OPTIONS:MMEMORY) XCONFIGURE_ARGS+= --disable-memoize-memory X.endif X X.include <bsd.port.post.mk> 5bc0d84132421fbd466f23988ecbf980 echo x - pecl-memoize/pkg-descr sed 's/^X//' >pecl-memoize/pkg-descr << 'bab0f13cd6366f142291b71c784134ba' Xphp-memoize is a PHP extension which transparently caches PHP functions, much Xlike Perl's Memoize module. X XIt comes with the following storage modules which can be enabled at compile Xtime: X X- memory: Simple per-request module with no dependencies. X Since this is a per-request cache, neither TTLs specified in the X `memoize()` call or `memoize.default_ttl` are used. X- memcached: Uses libmemcached or the memcached PHP extension X- apc: Uses the APC PHP extension X XWWW: http://pecl.php.net/package/memoize bab0f13cd6366f142291b71c784134ba echo x - pecl-memoize/distinfo sed 's/^X//' >pecl-memoize/distinfo << '39c167b39c77710ed2f532718885f69f' XSHA256 (PECL/memoize-0.2.0.tgz) = 9da97c4b8edbb3452b3e9f429d5cf51c13692b9be90d43cf36d213d073bd39c9 XSIZE (PECL/memoize-0.2.0.tgz) = 13016 39c167b39c77710ed2f532718885f69f exit --- pecl-memoize-0.2.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?20140522083335.9732875A052>