Date: Thu, 7 Feb 2013 12:56:23 +0800 (CST) From: Gea-Suan Lin <gslin@gslin.org> To: FreeBSD-gnats-submit@freebsd.org Cc: gslin@gslin.org Subject: ports/175917: [NEW PORT] devel/pecl-zookeeper: PHP extension for interfacing with Apache ZooKeeper Message-ID: <20130207045623.0A68A7E827@colo-p.gslin.org> Resent-Message-ID: <201302070500.r17500Kx009591@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 175917 >Category: ports >Synopsis: [NEW PORT] devel/pecl-zookeeper: PHP extension for interfacing with Apache ZooKeeper >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 Feb 07 05:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Gea-Suan Lin >Release: FreeBSD 9.1-RELEASE i386 >Organization: >Environment: System: FreeBSD colo-p.gslin.org 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 >Description: This extension provides API for communicating with ZooKeeper service. WWW: http://pecl.php.net/package/zookeeper Generated with FreeBSD Port Tools 0.99_6 (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: # # pecl-zookeeper # pecl-zookeeper/Makefile # pecl-zookeeper/pkg-descr # pecl-zookeeper/distinfo # pecl-zookeeper/files # pecl-zookeeper/files/patch-php_zookeeper.c # pecl-zookeeper/pkg-plist # echo c - pecl-zookeeper mkdir -p pecl-zookeeper > /dev/null 2>&1 echo x - pecl-zookeeper/Makefile sed 's/^X//' >pecl-zookeeper/Makefile << 'dc376ae9fc4ee5b350581fa9f377fa27' X# $FreeBSD$ X XPORTNAME= zookeeper XPORTVERSION= 0.2.1 XCATEGORIES= devel XMASTER_SITES= http://pecl.php.net/get/ XPKGNAMEPREFIX= pecl- XEXTRACT_SUFX= .tgz XDIST_SUBDIR= PECL X XMAINTAINER= gslin@gslin.org XCOMMENT= PHP extension for interfacing with Apache ZooKeeper X XLIB_DEPENDS= zookeeper_st:${PORTSDIR}/devel/zookeeper X XUSE_PHP= session XUSE_PHP_BUILD= session XUSE_PHPEXT= yes X Xpost-install: X ${MKDIR} ${DATADIR} X ${INSTALL_DATA} ${WRKSRC}/zookeeper-api.php ${DATADIR}/ X X.include <bsd.port.mk> dc376ae9fc4ee5b350581fa9f377fa27 echo x - pecl-zookeeper/pkg-descr sed 's/^X//' >pecl-zookeeper/pkg-descr << 'f72e69490761857b93b1b0b277b85c27' XThis extension provides API for communicating with ZooKeeper service. X XWWW: http://pecl.php.net/package/zookeeper f72e69490761857b93b1b0b277b85c27 echo x - pecl-zookeeper/distinfo sed 's/^X//' >pecl-zookeeper/distinfo << 'c8fc3c8e85783e8247f62caaa51d881a' XSHA256 (PECL/zookeeper-0.2.1.tgz) = 17352a58a216273cb0883eddd0a8bbcefb00a73817a99649f42baea128f398d6 XSIZE (PECL/zookeeper-0.2.1.tgz) = 17974 c8fc3c8e85783e8247f62caaa51d881a echo c - pecl-zookeeper/files mkdir -p pecl-zookeeper/files > /dev/null 2>&1 echo x - pecl-zookeeper/files/patch-php_zookeeper.c sed 's/^X//' >pecl-zookeeper/files/patch-php_zookeeper.c << 'a1038b4de58c7e82008ed9834bf1ad5f' X--- php_zookeeper.c.orig 2012-01-14 06:08:49.000000000 +0800 X+++ php_zookeeper.c 2013-01-12 16:24:08.000000000 +0800 X@@ -715,7 +715,11 @@ X X i_obj = ecalloc(1, sizeof(*i_obj)); X zend_object_std_init( &i_obj->zo, ce TSRMLS_CC ); X+#if PHP_VERSION_ID < 50399 X zend_hash_copy(i_obj->zo.properties, &ce->default_properties, (copy_ctor_func_t) zval_add_ref, (void *) &tmp, sizeof(zval *)); X+#else X+ object_properties_init(&(i_obj->zo), ce); X+#endif X X retval.handle = zend_objects_store_put(i_obj, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t)php_zk_free_storage, NULL TSRMLS_CC); X retval.handlers = zend_get_std_object_handlers(); a1038b4de58c7e82008ed9834bf1ad5f echo x - pecl-zookeeper/pkg-plist sed 's/^X//' >pecl-zookeeper/pkg-plist << 'df9a8d4788179b7afef77db23c8acee6' X@comment $FreeBSD$ X%%DATADIR%%/zookeeper-api.php X@dirrmtry %%DATADIR%% df9a8d4788179b7afef77db23c8acee6 exit --- .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?20130207045623.0A68A7E827>