mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
- Update to 1.1.0 [1]
- Fix typo in RUN_DEPENDS PR: ports/156479 [1] Submitted by: Alexander Pyhalov <alp@sfedu.ru> (maintainer)
This commit is contained in:
parent
376be6c1e4
commit
c859eb4c2d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=273131
@ -4,7 +4,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
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}
|
||||
@ -13,7 +13,7 @@ MAINTAINER= alp@sfedu.ru
|
||||
COMMENT= PostgreSQL replication manager
|
||||
|
||||
BUILD_DEPENDS+= postgresql-server>=9.0:${PORTSDIR}/databases/postgresql90-server
|
||||
RUN_DEPENDS= ${BUILD_DEPNDS} \
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS} \
|
||||
rsync:${PORTSDIR}/net/rsync
|
||||
|
||||
USE_GMAKE= yes
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user