Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2011 19:01:15 GMT
From:      Alexander Pyhalov <alp@sfedu.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/156479: databases/postgresql-repmgr update
Message-ID:  <201104181901.p3IJ1F8B025347@red.freebsd.org>
Resent-Message-ID: <201104181910.p3IJAB6a088255@freefall.freebsd.org>

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

>Number:         156479
>Category:       ports
>Synopsis:       databases/postgresql-repmgr update
>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 Apr 18 19:10:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Pyhalov
>Release:        8.2
>Organization:
SFEDU
>Environment:
>Description:
New version of postgresql repmgr is available. Attached patch updates port.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN postgresql-repmgr.old/Makefile postgresql-repmgr/Makefile
--- postgresql-repmgr.old/Makefile	2011-01-18 13:10:35.000000000 +0000
+++ postgresql-repmgr/Makefile	2011-04-18 17:11:30.016233290 +0000
@@ -4,7 +4,7 @@
 # $FreeBSD: ports/databases/postgresql-repmgr/Makefile,v 1.1 2011/01/18 13:10:35 wen Exp $
 
 PORTNAME=		postgresql-repmgr
-PORTVERSION=		1.0.0
+PORTVERSION=		1.1.0
 CATEGORIES=		databases
 MASTER_SITES=		http://projects.2ndquadrant.it/sites/default/files/
 DISTNAME=		repmgr-${PORTVERSION}
diff -ruN postgresql-repmgr.old/distinfo postgresql-repmgr/distinfo
--- postgresql-repmgr.old/distinfo	2011-01-18 13:10:35.000000000 +0000
+++ postgresql-repmgr/distinfo	2011-04-18 17:13:41.665936852 +0000
@@ -1,2 +1,2 @@
-SHA256 (repmgr-1.0.0.tar.gz) = b0345a9a32c3f3bab542c8d2ef72881f6f45b6c0d703f481998beb5755a1d79b
-SIZE (repmgr-1.0.0.tar.gz) = 35940
+SHA256 (repmgr-1.1.0.tar.gz) = 7862c90b18522f59a2a18881eeba355b2fbe1956523005a1449dcc768ab3794c
+SIZE (repmgr-1.1.0.tar.gz) = 48729
diff -ruN postgresql-repmgr.old/files/patch-repmgrd.c postgresql-repmgr/files/patch-repmgrd.c
--- postgresql-repmgr.old/files/patch-repmgrd.c	2011-01-18 13:10:35.000000000 +0000
+++ postgresql-repmgr/files/patch-repmgrd.c	1970-01-01 00:00:00.000000000 +0000
@@ -1,16 +0,0 @@
---- repmgrd.c  2010-12-06 05:09:48.000000000 +0300
-+++ repmgrd.c  2011-01-16 12:34:49.345998423 +0300
-@@ -173,7 +173,12 @@
-       }
- 
-     /* close the connection to the database and cleanup */
--    CloseConnections();
-+    if (PQisBusy(primaryConn) == 1) 
-+       CancelQuery(); 
-+    if (myLocalConn != NULL)  
-+      PQfinish(myLocalConn);
-+    if (primaryConn != NULL && myLocalMode != PRIMARY_MODE)  
-+      PQfinish(primaryConn);
- 
-     return 0;
- }


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



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