From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 7 05:00:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2585E536 for ; Thu, 7 Feb 2013 05:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 0EC92118 for ; Thu, 7 Feb 2013 05:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r17500bL009596 for ; Thu, 7 Feb 2013 05:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r17500Kx009591; Thu, 7 Feb 2013 05:00:00 GMT (envelope-from gnats) Resent-Date: Thu, 7 Feb 2013 05:00:00 GMT Resent-Message-Id: <201302070500.r17500Kx009591@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gea-Suan Lin Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5F2A0506 for ; Thu, 7 Feb 2013 04:56:24 +0000 (UTC) (envelope-from gslin@colo-p.gslin.org) Received: from colo-p.gslin.org (112-121-80-241.mwsrv.com [112.121.80.241]) by mx1.freebsd.org (Postfix) with ESMTP id F2D4D102 for ; Thu, 7 Feb 2013 04:56:23 +0000 (UTC) Received: by colo-p.gslin.org (Postfix, from userid 1000) id 0A68A7E827; Thu, 7 Feb 2013 12:56:23 +0800 (CST) Message-Id: <20130207045623.0A68A7E827@colo-p.gslin.org> Date: Thu, 7 Feb 2013 12:56:23 +0800 (CST) From: Gea-Suan Lin To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/175917: [NEW PORT] devel/pecl-zookeeper: PHP extension for interfacing with Apache ZooKeeper Cc: gslin@gslin.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2013 05:00:01 -0000 >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 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: