From gasolwu@kkbox.com  Thu Oct 24 11:00:17 2013
Return-Path: <gasolwu@kkbox.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 6DFACFAD
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 24 Oct 2013 11:00:17 +0000 (UTC)
	(envelope-from gasolwu@kkbox.com)
Received: from kkbox.com (ip-203-69-67-167.kkcube.com [203.69.67.167])
	by mx1.freebsd.org (Postfix) with ESMTP id 0D461237B
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 24 Oct 2013 11:00:16 +0000 (UTC)
Received: by goingmarry.kkbox.com (Postfix, from userid 1033)
	id 8B5187510B0; Thu, 24 Oct 2013 19:00:08 +0800 (CST)
Message-Id: <20131024110008.8B5187510B0@goingmarry.kkbox.com>
Date: Thu, 24 Oct 2013 19:00:08 +0800 (CST)
From: Gasol Wu <gasol.wu@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] devel/php-memoize: PHP extension which transparently caches PHP functions
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:    wg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 24 11:10:00 UTC 2013
>Closed-Date:    Fri Oct 25 18:34:02 UTC 2013
>Last-Modified:  Fri Oct 25 18:40:00 UTC 2013
>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@gmail.com>
X# $FreeBSD$
X
XPORTNAME=	memoize
XPORTVERSION=	0.2.0b1
XCATEGORIES=	devel
XPKGNAMEPREFIX=	php-
X
XMAINTAINER=	gasol.wu@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:
Responsible-Changed-From-To: freebsd-ports-bugs->wg 
Responsible-Changed-By: wg 
Responsible-Changed-When: Fri Oct 25 18:33:53 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183270 
State-Changed-From-To: open->closed 
State-Changed-By: wg 
State-Changed-When: Fri Oct 25 18:34:02 UTC 2013 
State-Changed-Why:  
New port added. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/183270: commit references a PR
Date: Fri, 25 Oct 2013 18:33:48 +0000 (UTC)

 Author: wg
 Date: Fri Oct 25 18:33:35 2013
 New Revision: 331622
 URL: http://svnweb.freebsd.org/changeset/ports/331622
 
 Log:
   devel/php-memoize: PHP extension which transparently caches PHP functions
   
   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
   
   PR:		ports/183270
   Submitted by:	Gasol Wu <gasol.wu gmail.com>
 
 Added:
   head/devel/php-memoize/
   head/devel/php-memoize/Makefile   (contents, props changed)
   head/devel/php-memoize/distinfo   (contents, props changed)
   head/devel/php-memoize/pkg-descr   (contents, props changed)
 Modified:
   head/devel/Makefile
 
 Modified: head/devel/Makefile
 ==============================================================================
 --- head/devel/Makefile	Fri Oct 25 18:25:55 2013	(r331621)
 +++ head/devel/Makefile	Fri Oct 25 18:33:35 2013	(r331622)
 @@ -3270,6 +3270,7 @@
      SUBDIR += perltidy
      SUBDIR += php-java-bridge
      SUBDIR += php-libawl
 +    SUBDIR += php-memoize
      SUBDIR += php-xdebug
      SUBDIR += php5-blitz
      SUBDIR += php5-blitz-devel
 
 Added: head/devel/php-memoize/Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/devel/php-memoize/Makefile	Fri Oct 25 18:33:35 2013	(r331622)
 @@ -0,0 +1,49 @@
 +# Created by: Gasol Wu <gasol.wu@gmail.com>
 +# $FreeBSD$
 +
 +PORTNAME=	memoize
 +PORTVERSION=	0.2.0b1
 +CATEGORIES=	devel
 +PKGNAMEPREFIX=	php-
 +
 +MAINTAINER=	gasol.wu@gmail.com
 +COMMENT=	PHP extension which transparently caches PHP functions
 +
 +USE_GITHUB=	yes
 +GH_ACCOUNT=	arraypad
 +GH_PROJECT=	${UNIQUENAME}
 +GH_TAGNAME=	v${PORTVERSION}
 +GH_COMMIT=	cff0a58
 +
 +USE_PHP=	yes
 +USE_PHPEXT=	yes
 +USE_PHPIZE=	yes
 +USE_PHPBUILD=	yes
 +CONFIGURE_ARGS=	--enable-memoize
 +
 +OPTIONS_DEFINE=	APC MEMCACHED MEMORY
 +OPTIONS_DEFAULT=	MEMORY
 +APC_DESC=	Enable memoize APC module
 +MEMCACHED_DESC=	Enable memcached storage module
 +MEMORY_DESC=	Enable the memoize memory storage module
 +
 +NO_STAGE=	yes
 +
 +.include <bsd.port.pre.mk>
 +
 +.if ${PORT_OPTIONS:MAPC}
 +CONFIGURE_ARGS+=	--enable-memoize-apc
 +BUILD_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:${PORTSDIR}/www/pecl-APC
 +.endif
 +
 +.if ${PORT_OPTIONS:MMEMCACHED}
 +CONFIGURE_ARGS+=	--with-memoize-memcached
 +BUILD_DEPENDS+=		libmemcached>0:${PORTSDIR}/databases/libmemcached
 +RUN_DEPENDS+=		libmemcached>0:${PORTSDIR}/databases/libmemcached
 +.endif
 +
 +.if empty(PORT_OPTIONS:MMEMORY)
 +CONFIGURE_ARGS+=	--disable-memoize-memory
 +.endif
 +
 +.include <bsd.port.post.mk>
 
 Added: head/devel/php-memoize/distinfo
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/devel/php-memoize/distinfo	Fri Oct 25 18:33:35 2013	(r331622)
 @@ -0,0 +1,2 @@
 +SHA256 (memoize-0.2.0b1.tar.gz) = c55bd2c0e684dfa35115250787065a79dfab9139499c509298c5fa3c76b51889
 +SIZE (memoize-0.2.0b1.tar.gz) = 12078
 
 Added: head/devel/php-memoize/pkg-descr
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/devel/php-memoize/pkg-descr	Fri Oct 25 18:33:35 2013	(r331622)
 @@ -0,0 +1,13 @@
 +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
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
