From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 24 06:01:24 2014 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org 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 ESMTPS id C0F1AAE4 for ; Mon, 24 Mar 2014 06:01:24 +0000 (UTC) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4E13D627 for ; Mon, 24 Mar 2014 06:01:23 +0000 (UTC) Received: by mail-wi0-f170.google.com with SMTP id bs8so2084549wib.5 for ; Sun, 23 Mar 2014 23:01:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:message-id:mime-version :subject:date:references:to:in-reply-to; bh=ZkByS33t4OrKfd5g3VVzAoV7s0uRrcZNSubUcSMJOTY=; b=l1chlkXrySN1hrN699UV97a3tIZJ6mP6ZXefEmR3EXQpPfs1wCQYZMVKACTko4uuXK UlSRCAzshEmFKUjOn4eraHTsqbHQaxLzGByaUz/ktMrTIwT2cAeSd/lJJTbU8w9Zbhhh Lc4AaBxwzn20laXRIi0mqmNV5I46X03lTdLHBUuuCOEiDORv+zuMvRFnp8OTu10VZqXm i84vl8WNMeKluSJuCOa06k5S5Oz0nQO5i7/c1CqQ9nrKxYOoGmmbP4PUjRu2bZzrTKWs 3vWhbkHs69Y2cqG2jzNtSusUP3frU/cfoxL4ihnwpfb/J3e7WmdCpkDEuuib2Ak7Wcc/ XNnA== X-Gm-Message-State: ALoCoQlRMS8lrTW79oMBwTMbYEwek0Pov9ECqSoJnz6gOQfpKux2au1Ts215zicjDnAERSMabO7x X-Received: by 10.180.149.143 with SMTP id ua15mr12161712wib.36.1395640875632; Sun, 23 Mar 2014 23:01:15 -0700 (PDT) Received: from [10.110.213.27] ([90.216.134.196]) by mx.google.com with ESMTPSA id fb6sm33566633wib.2.2014.03.23.23.01.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 23 Mar 2014 23:01:14 -0700 (PDT) From: =?utf-8?Q?Bart=C5=82omiej_Rutkowski?= Content-Type: multipart/mixed; boundary="Apple-Mail=_DB3627B0-E91E-4B56-AE0B-F77D9AE02D94" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: ports/185896: [port-update] deve/zookeeper updated to latest stable version Date: Mon, 24 Mar 2014 05:54:41 +0000 References: <201401192220.s0JMK0X5091130@freefall.freebsd.org> <822BB403-B276-432E-84D3-83C48D12993E@robakdesign.com> To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org In-Reply-To: X-Mailer: Apple Mail (2.1874) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2014 06:01:24 -0000 --Apple-Mail=_DB3627B0-E91E-4B56-AE0B-F77D9AE02D94 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Missed the past in last message. --Apple-Mail=_DB3627B0-E91E-4B56-AE0B-F77D9AE02D94 Content-Disposition: attachment; filename=zookeeper.txt Content-Type: text/plain; x-unix-mode=0644; name="zookeeper.txt" Content-Transfer-Encoding: quoted-printable diff -ruN zookeeper.orig/Makefile zookeeper/Makefile --- zookeeper.orig/Makefile 2014-03-22 08:07:50.474748600 +0100 +++ zookeeper/Makefile 2014-03-22 12:26:45.686756588 +0100 @@ -2,22 +2,18 @@ # $FreeBSD: head/devel/zookeeper/Makefile 343798 2014-02-11 18:51:26Z = skreuzer $ =20 PORTNAME=3D zookeeper -PORTVERSION=3D 3.3.6 +PORTVERSION=3D 3.4.6 CATEGORIES=3D devel java MASTER_SITES=3D ${MASTER_SITE_APACHE} MASTER_SITE_SUBDIR=3D zookeeper/zookeeper-${PORTVERSION} =20 MAINTAINER=3D skreuzer@FreeBSD.org -COMMENT=3D A Coordination Service for Distributed Applications +COMMENT=3D Service for maintaining distributed configuration, = naming and locks =20 LICENSE=3D APACHE20 =20 LIB_DEPENDS=3D libcppunit.so:${PORTSDIR}/devel/cppunit -RUN_DEPENDS:=3D ${BUILD_DEPENDS} - -OPTIONS_DEFINE=3D C PYTHON -C_DESC=3D Build C library bindings and command line tool -OPTIONS_DEFAULT=3D C PYTHON DOC +RUN_DEPENDS=3D bash:${PORTSDIR}/shells/bash =20 USE_JAVA=3D yes JAVA_VERSION=3D 1.7 @@ -26,14 +22,11 @@ =20 USE_RC_SUBR=3D zookeeper =20 -ZOOKEEPER_LOGDIR=3D /var/log/${PORTNAME} -ZOOKEEPER_RUNDIR=3D /var/run/${PORTNAME} - -PYTHON_BINDING_WRKSRC=3D ${WRKSRC}/src/contrib/zkpython -PYDISTUTILS_PKGNAME=3D ZooKeeper -PYDISTUTILS_PKGVERSION=3D 0.4 +OPTIONS_DEFINE=3D DOC +DOC_DESC=3D Install documentation +OPTIONS_DEFAULT=3D DOC =20 -CONFIGURE_WRKSRC=3D ${WRKSRC}/src/c +NO_BUILD=3D yes =20 SCRIPTS=3D zkCleanup.sh \ zkCli.sh \ @@ -41,76 +34,28 @@ zkServer.sh PORTDOCS=3D * =20 -PLIST_SUB=3D PORTVERSION=3D${PORTVERSION} -SUB_LIST=3D ZOOKEEPER_LOGDIR=3D${ZOOKEEPER_LOGDIR} \ - ZOOKEEPER_RUNDIR=3D${ZOOKEEPER_RUNDIR} - -NO_STAGE=3D yes -.include - -.if ${PORT_OPTIONS:MPYTHON} -USE_PYTHON=3D 2 -BUILD_DEPENDS+=3D ant:${PORTSDIR}/devel/apache-ant -PLIST_SUB+=3D WITH_PYTHON=3D"" -.else -PLIST_SUB+=3D WITH_PYTHON=3D"@comment " -.endif - -.if ${PORT_OPTIONS:MC} -USE_AUTOTOOLS=3D automake autoconf libtool -USE_LDCONFIG=3D yes -PLIST_SUB+=3D WITH_C=3D"" -.else -PLIST_SUB+=3D WITH_C=3D"@comment " -.endif +PLIST_SUB=3D PORTNAME=3D${PORTNAME} \ + PORTVERSION=3D${PORTVERSION} \ + RESETPREFIX=3D${PREFIX} =20 .include =20 -.if ${PORT_OPTIONS:MC} -#run-autotools: run-autotools-autoreconf - -#run-autotools-autoreconf: -run-autotools: - @cd ${CONFIGURE_WRKSRC} && \ - ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -if -.endif - -post-patch: - @${REINPLACE_CMD} -e = 's|executable=3D"python"|executable=3D"${PYTHON_CMD}"|' \ - ${PYTHON_BINDING_WRKSRC}/build.xml - -do-build: -.if ${PORT_OPTIONS:MC} - cd ${CONFIGURE_WRKSRC} && \ - ${MAKE} -.endif -.if ${PORT_OPTIONS:MPYTHON} - cd ${PYTHON_BINDING_WRKSRC} && \ - ant compile -.endif - do-install: - ${MKDIR} ${PREFIX}/${PORTNAME} - ${MKDIR} ${PREFIX}/${PORTNAME}/bin - ${MKDIR} ${ZOOKEEPER_LOGDIR} - ${MKDIR} ${ZOOKEEPER_RUNDIR} + ${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME} + ${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin .for f in ${SCRIPTS} - ${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${PREFIX}/${PORTNAME}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} = ${STAGEDIR}${PREFIX}/${PORTNAME}/bin .endfor - cd ${WRKSRC} && ${COPYTREE_SHARE} conf ${PREFIX}/${PORTNAME}/ - cd ${WRKSRC} && ${COPYTREE_SHARE} lib ${PREFIX}/${PORTNAME}/ - ${INSTALL_DATA} ${WRKSRC}/*.jar ${PREFIX}/${PORTNAME} -.if ${PORT_OPTIONS:MC} - cd ${CONFIGURE_WRKSRC} && \ - ${MAKE} install -.endif -.if ${PORT_OPTIONS:MPYTHON} - cd ${PYTHON_BINDING_WRKSRC} && \ - ant install -.endif + cd ${WRKSRC} && ${COPYTREE_SHARE} conf = ${STAGEDIR}${PREFIX}/${PORTNAME}/ + cd ${WRKSRC} && ${COPYTREE_SHARE} lib = ${STAGEDIR}${PREFIX}/${PORTNAME}/ + ${INSTALL_DATA} ${WRKSRC}/*.jar ${STAGEDIR}${PREFIX}/${PORTNAME} + +post-install: .if ${PORT_OPTIONS:MDOC} - ${MKDIR} ${DOCSDIR} - cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .endif + @${MKDIR} ${STAGEDIR}/var/log/${PORTNAME} + @${MKDIR} ${STAGEDIR}/var/run/${PORTNAME} =20 .include diff -ruN zookeeper.orig/distinfo zookeeper/distinfo --- zookeeper.orig/distinfo 2014-03-22 08:07:50.474748600 +0100 +++ zookeeper/distinfo 2014-03-22 11:51:22.103331590 +0100 @@ -1,2 +1,2 @@ -SHA256 (zookeeper-3.3.6.tar.gz) =3D = eb311ec0479a9447d075a20350ecfc5cf6a2a6d9842d13b59d7548430ac37521 -SIZE (zookeeper-3.3.6.tar.gz) =3D 11833706 +SHA256 (zookeeper-3.4.6.tar.gz) =3D = 01b3938547cd620dc4c93efe07c0360411f4a66962a70500b163b59014046994 +SIZE (zookeeper-3.4.6.tar.gz) =3D 17699306 diff -ruN zookeeper.orig/files/patch-src-c-src-zookeeper.c = zookeeper/files/patch-src-c-src-zookeeper.c --- zookeeper.orig/files/patch-src-c-src-zookeeper.c 2014-03-22 = 08:07:50.474748600 +0100 +++ zookeeper/files/patch-src-c-src-zookeeper.c 1970-01-01 = 01:00:00.000000000 +0100 @@ -1,21 +0,0 @@ -Index: zookeeper.c -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ---- src/c/src/zookeeper.c 2012-07-05 15:53:43.348806000 -0400 -+++ src/c/src/zookeeper.c 2012-07-05 15:55:12.800391000 -0400 -@@ -413,7 +413,6 @@ - static int getaddrinfo_errno(int rc) {=20 - switch(rc) { - case EAI_NONAME: -- case EAI_NODATA: - return ENOENT; - case EAI_MEMORY: - return ENOMEM; -@@ -546,7 +545,7 @@ - //EAI_BADFLAGS or EAI_ADDRFAMILY with AF_UNSPEC and=20 - // ai_flags as AI_ADDRCONFIG - if ((hints.ai_flags =3D=3D AI_ADDRCONFIG) &&=20 -- ((rc =3D=3DEAI_BADFLAGS) || (rc =3D=3D = EAI_ADDRFAMILY))) { -+ (rc =3D=3DEAI_BADFLAGS)) { - //reset ai_flags to null - hints.ai_flags =3D 0; - //retry getaddrinfo diff -ruN zookeeper.orig/pkg-descr zookeeper/pkg-descr --- zookeeper.orig/pkg-descr 2014-03-22 08:07:50.474748600 +0100 +++ zookeeper/pkg-descr 2014-03-22 10:51:50.229737592 +0100 @@ -1,16 +1,8 @@ -ZooKeeper: A Distributed Coordination Service for Distributed = Applications - ZooKeeper is a distributed, open-source coordination service for distributed applications. It exposes a simple set of primitives that -distributed applications can build upon to implement higher level -services for synchronization, configuration maintenance, and groups -and naming. It is designed to be easy to program to, and uses a data -model styled after the familiar directory tree structure of file -systems. It runs in Java and has bindings for both Java and C. - -Coordination services are notoriously hard to get right. They are -especially prone to errors such as race conditions and deadlock. The -motivation behind ZooKeeper is to relieve distributed applications the -responsibility of implementing coordination services from scratch. +applications can build upon to implement higher level services +for synchronization, configuration maintenance, and groups and naming. +It is designed to be easy to program to, and uses a data model +styled after the familiar directory tree structure of filesystems. =20 -WWW: http://zookeeper.apache.org/ +WWW: http://zookeeper.apache.org/ diff -ruN zookeeper.orig/pkg-plist zookeeper/pkg-plist --- zookeeper.orig/pkg-plist 2014-03-22 08:07:50.474748600 +0100 +++ zookeeper/pkg-plist 2014-03-23 03:49:14.592059548 +0100 @@ -1,40 +1,29 @@ -%%WITH_C%%bin/cli_mt -%%WITH_C%%bin/cli_st -%%WITH_C%%bin/load_gen -%%WITH_C%%include/c-client-src/recordio.h -%%WITH_C%%include/c-client-src/zookeeper.h -%%WITH_C%%include/c-client-src/zookeeper.jute.h -%%WITH_C%%include/c-client-src/zookeeper_log.h -%%WITH_C%%include/c-client-src/zookeeper_version.h -%%WITH_C%%lib/libzookeeper_mt.a -%%WITH_C%%lib/libzookeeper_mt.la -%%WITH_C%%lib/libzookeeper_mt.so -%%WITH_C%%lib/libzookeeper_mt.so.2 -%%WITH_C%%lib/libzookeeper_st.a -%%WITH_C%%lib/libzookeeper_st.la -%%WITH_C%%lib/libzookeeper_st.so -%%WITH_C%%lib/libzookeeper_st.so.2 -%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/ZooKeeper-0.4-py2.7.egg-info -%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/zookeeper.so -zookeeper/bin/zkCleanup.sh -zookeeper/bin/zkCli.sh -zookeeper/bin/zkEnv.sh -zookeeper/bin/zkServer.sh -zookeeper/conf/configuration.xsl -zookeeper/conf/log4j.properties -zookeeper/conf/zoo_sample.cfg -zookeeper/lib/cobertura/README.txt -zookeeper/lib/jdiff/zookeeper_3.1.1.xml -zookeeper/lib/jdiff/zookeeper_3.3.6.xml -zookeeper/lib/jline-0.9.94.LICENSE.txt -zookeeper/lib/jline-0.9.94.jar -zookeeper/lib/log4j-1.2.15.LICENSE.txt -zookeeper/lib/log4j-1.2.15.jar -zookeeper/zookeeper-%%PORTVERSION%%.jar -%%WITH_C%%@dirrm include/c-client-src -@dirrm zookeeper/lib/jdiff -@dirrm zookeeper/lib/cobertura -@dirrm zookeeper/lib -@dirrmtry zookeeper/conf -@dirrm zookeeper/bin -@dirrmtry zookeeper +%%PORTNAME%%/bin/zkCleanup.sh +%%PORTNAME%%/bin/zkCli.sh +%%PORTNAME%%/bin/zkEnv.sh +%%PORTNAME%%/bin/zkServer.sh +%%PORTNAME%%/conf/configuration.xsl +%%PORTNAME%%/conf/log4j.properties +%%PORTNAME%%/conf/zoo_sample.cfg +%%PORTNAME%%/lib/cobertura/README.txt +%%PORTNAME%%/lib/jdiff/%%PORTNAME%%_3.1.1.xml +%%PORTNAME%%/lib/jdiff/%%PORTNAME%%_3.4.6.xml +%%PORTNAME%%/lib/jdiff/%%PORTNAME%%_%%PORTVERSION%%-SNAPSHOT.xml +%%PORTNAME%%/lib/jline-0.9.94.LICENSE.txt +%%PORTNAME%%/lib/jline-0.9.94.jar +%%PORTNAME%%/lib/log4j-1.2.16.LICENSE.txt +%%PORTNAME%%/lib/log4j-1.2.16.jar +%%PORTNAME%%/lib/netty-3.7.0.Final.jar +%%PORTNAME%%/lib/slf4j-api-1.6.1.jar +%%PORTNAME%%/lib/slf4j-log4j12-1.6.1.jar +%%PORTNAME%%/%%PORTNAME%%-%%PORTVERSION%%.jar +@dirrm %%PORTNAME%%/lib/jdiff +@dirrm %%PORTNAME%%/lib/cobertura +@dirrm %%PORTNAME%%/lib +@dirrm %%PORTNAME%%/bin +@dirrmtry %%PORTNAME%%/conf +@dirrmtry %%PORTNAME%% +@cwd / +@dirrmtry var/log/%%PORTNAME%% +@dirrmtry var/run/%%PORTNAME%% +@cwd %%RESETPREFIX%% --Apple-Mail=_DB3627B0-E91E-4B56-AE0B-F77D9AE02D94 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Wiadomo=C5=9B=C4=87 napisana przez Bart=C5=82omiej Rutkowski = w dniu 23 mar 2014, o godz. 12:06: > Please, use the newest patch with following changes: >=20 > - fixed pkg-plist orphans >=20 > Redports report: = https://redports.org/buildarchive/20140323115501-35458/ >=20 > Kind regards, > Bartek Rutkowski >=20 > Wiadomo=C5=9B=C4=87 napisana przez Bart=C5=82omiej Rutkowski = w dniu 22 mar 2014, o godz. 20:42: >=20 >> Patch attached. >>=20 >> >>=20 >> Wiadomo=C5=9B=C4=87 napisana przez Bart=C5=82omiej Rutkowski = w dniu 22 mar 2014, o godz. 21:39: >>=20 >>> Please, use the newest patch with following changes: >>>=20 >>> - updated Zookeeper to latest 3.4.6 version >>> - support for STAGING >>> - fixes for port functionality (statup scripts were broken) >>> - removed C/Python bindings installation from the port >>> - updated description and comment >>> - portlint polishing >>>=20 >>> Redports report: = https://redports.org/buildarchive/20140322203001-2625/ >>>=20 >>> Kind regards, >>> Bartek Rutkowski >>>=20 >>> Wiadomo=C5=9B=C4=87 napisana przez FreeBSD-gnats-submit@FreeBSD.org = w dniu 19 sty 2014, o godz. 23:20: >>>=20 >>>> Thank you very much for your problem report. >>>> It has the internal identification `ports/185896'. >>>> The individual assigned to look at your >>>> report is: freebsd-ports-bugs.=20 >>>>=20 >>>> You can access the state of your problem report at any time >>>> via this link: >>>>=20 >>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D185896 >>>>=20 >>>>> Category: ports >>>>> Responsible: freebsd-ports-bugs >>>>> Synopsis: [port-update] deve/zookeeper updated to latest = stable version >>>>> Arrival-Date: Sun Jan 19 22:20:00 UTC 2014 >>>=20 >>=20 >=20 --Apple-Mail=_DB3627B0-E91E-4B56-AE0B-F77D9AE02D94--