From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 24 10:50:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A7421065673 for ; Fri, 24 Sep 2010 10:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 27A728FC21 for ; Fri, 24 Sep 2010 10:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8OAo2TU048792 for ; Fri, 24 Sep 2010 10:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8OAo1S5048791; Fri, 24 Sep 2010 10:50:02 GMT (envelope-from gnats) Resent-Date: Fri, 24 Sep 2010 10:50:02 GMT Resent-Message-Id: <201009241050.o8OAo1S5048791@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, Mikhail Tsatsenko Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D482D106566C for ; Fri, 24 Sep 2010 10:42:13 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id A9A1B8FC19 for ; Fri, 24 Sep 2010 10:42:13 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o8OAgDaC039485 for ; Fri, 24 Sep 2010 10:42:13 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o8OAgDhX039484; Fri, 24 Sep 2010 10:42:13 GMT (envelope-from nobody) Message-Id: <201009241042.o8OAgDhX039484@www.freebsd.org> Date: Fri, 24 Sep 2010 10:42:13 GMT From: Mikhail Tsatsenko To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/150907: [PATCH] upgrade databases/pgpool-II to 3.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2010 10:50:02 -0000 >Number: 150907 >Category: ports >Synopsis: [PATCH] upgrade databases/pgpool-II to 3.0 >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: Fri Sep 24 10:50:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Mikhail Tsatsenko >Release: 9.0 >Organization: >Environment: FreeBSD amnezia 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r213054: Thu Sep 23 16:16:04 MSD 2010 >Description: New version supporting postgresql's 9.0 streaming replication is out >How-To-Repeat: >Fix: use the patch attached Patch attached with submission follows: diff -urN pgpool-II.orig/Makefile pgpool-II/Makefile --- pgpool-II.orig/Makefile 2010-09-24 14:25:55.000000000 +0400 +++ pgpool-II/Makefile 2010-09-24 14:31:10.000000000 +0400 @@ -6,9 +6,9 @@ # PORTNAME= pgpool-II -PORTVERSION= 2.3.2.2 +PORTVERSION= 3.0 CATEGORIES= databases -MASTER_SITES= http://pgfoundry.org/frs/download.php/2572/ +MASTER_SITES= http://pgfoundry.org/frs/download.php/2798/ MAINTAINER= kuriyama@FreeBSD.org COMMENT= A connection pool server for PostgreSQL diff -urN pgpool-II.orig/distinfo pgpool-II/distinfo --- pgpool-II.orig/distinfo 2010-09-24 14:25:55.000000000 +0400 +++ pgpool-II/distinfo 2010-09-24 14:32:36.000000000 +0400 @@ -1,3 +1,3 @@ -MD5 (pgpool-II-2.3.2.2.tar.gz) = e362a8c125e4638345ef1bd67708f2a8 -SHA256 (pgpool-II-2.3.2.2.tar.gz) = 45cefbbda7499b61bf3485e2b86e96aba174d49effc043a7c2e588e4b5fe7e0c -SIZE (pgpool-II-2.3.2.2.tar.gz) = 1149899 +MD5 (pgpool-II-3.0.tar.gz) = d93a896ce185bff7920d4b603a4e9111 +SHA256 (pgpool-II-3.0.tar.gz) = b1f3f2fb84b06e8d6f0691deac324e90f5d82fbf5c143c1f53d55f50bee6c466 +SIZE (pgpool-II-3.0.tar.gz) = 1223872 diff -urN pgpool-II.orig/files/patch-recovery.c pgpool-II/files/patch-recovery.c --- pgpool-II.orig/files/patch-recovery.c 2010-09-24 14:25:55.000000000 +0400 +++ pgpool-II/files/patch-recovery.c 2010-09-24 14:36:32.000000000 +0400 @@ -1,15 +1,15 @@ ---- recovery.c.orig 2009-08-14 15:15:08.000000000 +0900 -+++ recovery.c 2009-08-14 18:00:38.000000000 +0900 -@@ -91,7 +91,7 @@ +--- recovery.c.orig 2010-08-31 03:09:32.000000000 +0400 ++++ recovery.c 2010-09-24 14:35:31.000000000 +0400 +@@ -96,7 +96,7 @@ - pool_log("1st stage is done"); + if (REPLICATION) + { +- pool_log("starting 2nd stage"); ++ pool_log("starting 2nd stage. waiting connections from clients to be closed"); -- pool_log("starting 2nd stage"); -+ pool_log("starting 2nd stage. waiting connections from clients to be closed"); - - /* 2nd stage */ - *InRecovery = 1; -@@ -332,6 +332,6 @@ + /* 2nd stage */ + *InRecovery = 1; +@@ -384,6 +384,6 @@ sleep(3); } while (i++ < WAIT_RETRY_COUNT); >Release-Note: >Audit-Trail: >Unformatted: