Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Feb 2013 09:20:05 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/175917: commit references a PR
Message-ID:  <201302080920.r189K54s039988@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/175917; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/175917: commit references a PR
Date: Fri,  8 Feb 2013 09:10:01 +0000 (UTC)

 Author: miwi
 Date: Fri Feb  8 09:09:47 2013
 New Revision: 311924
 URL: http://svnweb.freebsd.org/changeset/ports/311924
 
 Log:
   This extension provides API for communicating with ZooKeeper service.
   
   WWW: http://pecl.php.net/package/zookeeper
   
   PR:		ports/175917
   Submitted by:	Gea-Suan Lin <gslin@gslin.org>
 
 Added:
   head/devel/pecl-zookeeper/
   head/devel/pecl-zookeeper/Makefile   (contents, props changed)
   head/devel/pecl-zookeeper/distinfo   (contents, props changed)
   head/devel/pecl-zookeeper/files/
   head/devel/pecl-zookeeper/files/patch-php_zookeeper.c   (contents, props changed)
   head/devel/pecl-zookeeper/pkg-descr   (contents, props changed)
   head/devel/pecl-zookeeper/pkg-plist   (contents, props changed)
 Modified:
   head/devel/Makefile
 
 Modified: head/devel/Makefile
 ==============================================================================
 --- head/devel/Makefile	Fri Feb  8 09:08:19 2013	(r311923)
 +++ head/devel/Makefile	Fri Feb  8 09:09:47 2013	(r311924)
 @@ -3178,6 +3178,7 @@
      SUBDIR += pecl-uuid
      SUBDIR += pecl-vld
      SUBDIR += pecl-xhprof
 +    SUBDIR += pecl-zookeeper
      SUBDIR += pep8
      SUBDIR += performance
      SUBDIR += perlconsole
 
 Added: head/devel/pecl-zookeeper/Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/devel/pecl-zookeeper/Makefile	Fri Feb  8 09:09:47 2013	(r311924)
 @@ -0,0 +1,25 @@
 +# Created by: Gea-Suan Lin <gslin@gslin.org>
 +# $FreeBSD$
 +
 +PORTNAME=	zookeeper
 +PORTVERSION=	0.2.1
 +CATEGORIES=	devel
 +MASTER_SITES=	http://pecl.php.net/get/
 +PKGNAMEPREFIX=	pecl-
 +EXTRACT_SUFX=	.tgz
 +DIST_SUBDIR=	PECL
 +
 +MAINTAINER=	gslin@gslin.org
 +COMMENT=	PHP extension for interfacing with Apache ZooKeeper
 +
 +LIB_DEPENDS=	zookeeper_st:${PORTSDIR}/devel/zookeeper
 +
 +USE_PHP=	session
 +USE_PHP_BUILD=	session
 +USE_PHPEXT=	yes
 +
 +post-install:
 +	${MKDIR} ${DATADIR}
 +	${INSTALL_DATA} ${WRKSRC}/zookeeper-api.php ${DATADIR}/
 +
 +.include <bsd.port.mk>
 
 Added: head/devel/pecl-zookeeper/distinfo
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/devel/pecl-zookeeper/distinfo	Fri Feb  8 09:09:47 2013	(r311924)
 @@ -0,0 +1,2 @@
 +SHA256 (PECL/zookeeper-0.2.1.tgz) = 17352a58a216273cb0883eddd0a8bbcefb00a73817a99649f42baea128f398d6
 +SIZE (PECL/zookeeper-0.2.1.tgz) = 17974
 
 Added: head/devel/pecl-zookeeper/files/patch-php_zookeeper.c
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/devel/pecl-zookeeper/files/patch-php_zookeeper.c	Fri Feb  8 09:09:47 2013	(r311924)
 @@ -0,0 +1,14 @@
 +--- php_zookeeper.c.orig	2012-01-14 06:08:49.000000000 +0800
 ++++ php_zookeeper.c	2013-01-12 16:24:08.000000000 +0800
 +@@ -715,7 +715,11 @@
 + 
 +     i_obj = ecalloc(1, sizeof(*i_obj));
 + 	zend_object_std_init( &i_obj->zo, ce TSRMLS_CC );
 ++#if PHP_VERSION_ID < 50399
 +     zend_hash_copy(i_obj->zo.properties, &ce->default_properties, (copy_ctor_func_t) zval_add_ref, (void *) &tmp, sizeof(zval *));
 ++#else
 ++	object_properties_init(&(i_obj->zo), ce);
 ++#endif
 + 
 +     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);
 +     retval.handlers = zend_get_std_object_handlers();
 
 Added: head/devel/pecl-zookeeper/pkg-descr
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/devel/pecl-zookeeper/pkg-descr	Fri Feb  8 09:09:47 2013	(r311924)
 @@ -0,0 +1,3 @@
 +This extension provides API for communicating with ZooKeeper service.
 +
 +WWW: http://pecl.php.net/package/zookeeper
 
 Added: head/devel/pecl-zookeeper/pkg-plist
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/devel/pecl-zookeeper/pkg-plist	Fri Feb  8 09:09:47 2013	(r311924)
 @@ -0,0 +1,3 @@
 +@comment $FreeBSD$
 +%%DATADIR%%/zookeeper-api.php
 +@dirrmtry %%DATADIR%%
 _______________________________________________
 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"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302080920.r189K54s039988>