Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2013 12:24:02 GMT
From:      Alexey Babutin <a.babutin@rambler-co.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/179004: update zookeeper
Message-ID:  <201305271224.r4RCO2ew059530@oldred.FreeBSD.org>
Resent-Message-ID: <201305271230.r4RCU09p034776@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179004
>Category:       ports
>Synopsis:       update zookeeper
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 27 12:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Babutin
>Release:        9.1
>Organization:
RAmbler
>Environment:
FreeBSD 9.1-STABLE #0 r248215: Wed Mar 13 12:56:47 UTC 2013     asn@builder.rambler.ru:/usr/obj/usr/src/sys/R0  amd64
>Description:
update for zookeper from version 3.3.6 to 3.4.5
>How-To-Repeat:

>Fix:
patch at attach

Patch attached with submission follows:

Diff mode was set to SVN, but there's no .svn directory
Trying /usr/ports ... found
===> Generating patch
===> Viewing diff with more
diff -ruN /usr/ports/devel/zookeeper/Makefile ./Makefile
--- /usr/ports/devel/zookeeper/Makefile	2012-11-17 09:57:07.000000000 +0400
+++ ./Makefile	2013-05-22 15:23:02.000000000 +0400
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	zookeeper
-PORTVERSION=	3.3.6
+PORTVERSION=	3.4.5
 CATEGORIES=	devel java
 MASTER_SITES=	${MASTER_SITE_APACHE}
 MASTER_SITE_SUBDIR=	zookeeper/zookeeper-${PORTVERSION}
diff -ruN /usr/ports/devel/zookeeper/distinfo ./distinfo
--- /usr/ports/devel/zookeeper/distinfo	2012-09-25 18:47:21.000000000 +0400
+++ ./distinfo	2013-05-22 15:23:55.000000000 +0400
@@ -1,2 +1,2 @@
-SHA256 (zookeeper-3.3.6.tar.gz) = eb311ec0479a9447d075a20350ecfc5cf6a2a6d9842d13b59d7548430ac37521
-SIZE (zookeeper-3.3.6.tar.gz) = 11833706
+SHA256 (zookeeper-3.4.5.tar.gz) = e92b634e99db0414c6642f6014506cc22eefbea42cc912b57d7d0527fb7db132
+SIZE (zookeeper-3.4.5.tar.gz) = 16402010
diff -ruN /usr/ports/devel/zookeeper/files/patch-src-c-src-zookeeper.c ./files/patch-src-c-src-zookeeper.c
--- /usr/ports/devel/zookeeper/files/patch-src-c-src-zookeeper.c	2012-07-07 00:27:35.000000000 +0400
+++ ./files/patch-src-c-src-zookeeper.c	1970-01-01 03:00:00.000000000 +0300
@@ -1,21 +0,0 @@
-Index: zookeeper.c
-===================================================================
---- 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) { 
-     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 
-             // ai_flags as AI_ADDRCONFIG
-             if ((hints.ai_flags == AI_ADDRCONFIG) && 
--                ((rc ==EAI_BADFLAGS) || (rc == EAI_ADDRFAMILY))) {
-+                (rc ==EAI_BADFLAGS)) {
-                 //reset ai_flags to null
-                 hints.ai_flags = 0;
-                 //retry getaddrinfo
diff -ruN /usr/ports/devel/zookeeper/patch.txt ./patch.txt
--- /usr/ports/devel/zookeeper/patch.txt	1970-01-01 03:00:00.000000000 +0300
+++ ./patch.txt	2013-05-27 16:09:51.000000000 +0400
@@ -0,0 +1,3 @@
+Diff mode was set to SVN, but there's no .svn directory
+Trying /usr/ports ... found
+===> Generating patch
===> Done


>Release-Note:
>Audit-Trail:
>Unformatted:



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