Bug 189775 - [PATCH] databases/postgresql-repmgr: update to 2.0, take maintainership
Summary: [PATCH] databases/postgresql-repmgr: update to 2.0, take maintainership
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-13 17:40 UTC by Muhammad Moinur Rahman
Modified: 2014-05-24 17:03 UTC (History)
1 user (show)

See Also:


Attachments
postgresql-repmgr-2.0.patch (3.16 KB, patch)
2014-05-13 17:40 UTC, Muhammad Moinur Rahman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Muhammad Moinur Rahman freebsd_committer freebsd_triage 2014-05-13 17:40:00 UTC
- Update to 2.0
- Take maintainership

For Committer's reference:
http://pdr.s.ubze.ro/bulk/latest-per-pkg/postgresql-repmgr/2.0/

Requesting maintainership as current maintainer no longer wants to maintain it ports@

Port maintainer (alp@sfedu.ru) is cc'd.

Generated with FreeBSD Port Tools 1.02 (mode: update, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-13 17:40:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

sunpoet@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-13 17:40:06 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-13 17:40:06 UTC
Maintainer of databases/postgresql-repmgr,

Please note that PR ports/189775 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/189775

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-05-24 15:11:54 UTC
Author: sunpoet
Date: Sat May 24 14:11:50 2014
New Revision: 355026
URL: http://svnweb.freebsd.org/changeset/ports/355026
QAT: https://qat.redports.org/buildarchive/r355026/

Log:
  - Update to 2.0
  - Pass maintainership to submitter
  
  Changes:	http://www.repmgr.org/release-notes-2.0.html
  PR:		ports/189775
  Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>

Modified:
  head/databases/postgresql-repmgr/Makefile
  head/databases/postgresql-repmgr/distinfo
  head/databases/postgresql-repmgr/files/patch-repmgr.c
  head/databases/postgresql-repmgr/pkg-plist

Modified: head/databases/postgresql-repmgr/Makefile
==============================================================================
--- head/databases/postgresql-repmgr/Makefile	Sat May 24 14:11:44 2014	(r355025)
+++ head/databases/postgresql-repmgr/Makefile	Sat May 24 14:11:50 2014	(r355026)
@@ -2,19 +2,19 @@
 # $FreeBSD$
 
 PORTNAME=	postgresql-repmgr
-PORTVERSION=	1.2.0
+PORTVERSION=	2.0
 CATEGORIES=	databases
 MASTER_SITES=	http://www.repmgr.org/download/
 DISTNAME=	repmgr-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	5u623l20@gmail.com
 COMMENT=	PostgreSQL replication manager
 
 LICENSE=	GPLv3
 
 RUN_DEPENDS=	rsync:${PORTSDIR}/net/rsync
 
-USES=	gmake
+USES=		gmake
 USE_PGSQL=	yes
 WANT_PGSQL_VER=	90+
 MAKE_ENV=	USE_PGXS=1
@@ -29,7 +29,7 @@ do-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}
 	@${MKDIR} ${STAGEDIR}${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/repmgr.conf ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/repmgr.conf.sample ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/repmgr.sql ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>

Modified: head/databases/postgresql-repmgr/distinfo
==============================================================================
--- head/databases/postgresql-repmgr/distinfo	Sat May 24 14:11:44 2014	(r355025)
+++ head/databases/postgresql-repmgr/distinfo	Sat May 24 14:11:50 2014	(r355026)
@@ -1,2 +1,2 @@
-SHA256 (repmgr-1.2.0.tar.gz) = 191c077a15b9f7fa729b8f1c4e5ace8b340fda6285c7b552545f94ca4490ec5b
-SIZE (repmgr-1.2.0.tar.gz) = 51608
+SHA256 (repmgr-2.0.tar.gz) = b891d8a98700f73a58ce9580377978a1e43834f3bdcf6992e565b4aacddee887
+SIZE (repmgr-2.0.tar.gz) = 72227

Modified: head/databases/postgresql-repmgr/files/patch-repmgr.c
==============================================================================
--- head/databases/postgresql-repmgr/files/patch-repmgr.c	Sat May 24 14:11:44 2014	(r355025)
+++ head/databases/postgresql-repmgr/files/patch-repmgr.c	Sat May 24 14:11:50 2014	(r355026)
@@ -1,35 +1,6 @@
---- ./repmgr.c.orig	2012-07-28 02:30:35.000000000 +1000
-+++ ./repmgr.c	2012-12-04 19:41:06.157429458 +1100
-@@ -28,6 +28,7 @@
- 
- #include <stdio.h>
- #include <stdlib.h>
-+#include <sys/wait.h>
- #include <time.h>
- #include <unistd.h>
- 
-@@ -1603,11 +1604,18 @@
- 	char script[MAXLEN];
- 	int	 r;
- 
-+/* On some OS, true is located in a different place than in Linux */
-+#ifdef __FreeBSD__
-+#define TRUEBIN_PATH "/usr/bin/true"
-+#else
-+#define TRUEBIN_PATH "/bin/true"
-+#endif
-+
- 	/* Check if we have ssh connectivity to host before trying to rsync */
- 	if (!remote_user[0])
--		maxlen_snprintf(script, "ssh -o Batchmode=yes %s /bin/true", host);
-+		maxlen_snprintf(script, "ssh -o Batchmode=yes %s %s", host, TRUEBIN_PATH);
- 	else
--		maxlen_snprintf(script, "ssh -o Batchmode=yes %s -l %s /bin/true", host, remote_user);
-+		maxlen_snprintf(script, "ssh -o Batchmode=yes %s -l %s %s", host, remote_user, TRUEBIN_PATH);
- 
- 	log_debug(_("command is: %s"), script);
- 	r = system(script);
-@@ -1625,7 +1633,7 @@
+--- repmgr.c.orig	2014-03-17 21:27:40.000000000 +0800
++++ repmgr.c	2014-05-24 17:55:10.996404127 +0800
+@@ -1871,7 +1871,7 @@
  	char host_string[MAXLEN];
  	int	 r;
  

Modified: head/databases/postgresql-repmgr/pkg-plist
==============================================================================
--- head/databases/postgresql-repmgr/pkg-plist	Sat May 24 14:11:44 2014	(r355025)
+++ head/databases/postgresql-repmgr/pkg-plist	Sat May 24 14:11:50 2014	(r355026)
@@ -1,5 +1,5 @@
 bin/repmgr
 sbin/repmgrd
-%%PORTDATA%%%%DATADIR%%/repmgr.conf
+%%PORTDATA%%%%DATADIR%%/repmgr.conf.sample
 %%PORTDATA%%%%DATADIR%%/repmgr.sql
 %%PORTDATA%%@dirrm %%DATADIR%%
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Po-Chuan Hsieh freebsd_committer freebsd_triage 2014-05-24 17:03:44 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!