ports/183270: [NEW PORT] devel/php-memoize: PHP extension which transparently caches PHP functions
Gasol Wu
gasol.wu at gmail.com
Thu Oct 24 11:10:00 UTC 2013
>Number: 183270
>Category: ports
>Synopsis: [NEW PORT] devel/php-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 Oct 24 11:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Gasol Wu
>Release: FreeBSD 9.1-RELEASE-p7 amd64
>Organization:
>Environment:
System: FreeBSD goingmarry 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #0: Mon Sep 9 21:34:37 UTC
>Description:
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: https://github.com/arraypad/php-memoize
Generated with FreeBSD Port Tools 0.99_8 (mode: new)
>How-To-Repeat:
>Fix:
--- .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:
#
# php-memoize
# php-memoize/Makefile
# php-memoize/pkg-descr
# php-memoize/distinfo
#
echo c - php-memoize
mkdir -p php-memoize > /dev/null 2>&1
echo x - php-memoize/Makefile
sed 's/^X//' >php-memoize/Makefile << '9c1bb72854d623178f2b35a7007ae236'
X# Created by: Gasol Wu <gasol.wu at gmail.com>
X# $FreeBSD$
X
XPORTNAME= memoize
XPORTVERSION= 0.2.0b1
XCATEGORIES= devel
XPKGNAMEPREFIX= php-
X
XMAINTAINER= gasol.wu at gmail.com
XCOMMENT= PHP extension which transparently caches PHP functions
X
XUSE_GITHUB= yes
XGH_ACCOUNT= arraypad
XGH_PROJECT= ${UNIQUENAME}
XGH_TAGNAME= v${PORTVERSION}
XGH_COMMIT= cff0a58
X
XUSE_PHP= yes
XUSE_PHPEXT= yes
XUSE_PHPIZE= yes
XUSE_PHPBUILD= 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
XNO_STAGE= yes
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>
9c1bb72854d623178f2b35a7007ae236
echo x - php-memoize/pkg-descr
sed 's/^X//' >php-memoize/pkg-descr << '5e2b0b1e3fa3c885f38f6e7d4450bcdd'
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: https://github.com/arraypad/php-memoize
5e2b0b1e3fa3c885f38f6e7d4450bcdd
echo x - php-memoize/distinfo
sed 's/^X//' >php-memoize/distinfo << 'e6117e6e70bfb5c661ab1783ca47f50c'
XSHA256 (memoize-0.2.0b1.tar.gz) = c55bd2c0e684dfa35115250787065a79dfab9139499c509298c5fa3c76b51889
XSIZE (memoize-0.2.0b1.tar.gz) = 12078
e6117e6e70bfb5c661ab1783ca47f50c
exit
--- .shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list