[gentoo-commits] repo/gentoo:master commit in: dev-db/repmgr/files/, dev-db/repmgr/

2023-08-22 Thread Joonas Niilola
commit: e66c27b7c9f88c5036a0511e9e08a92ae4785ef3
Author: Brahmajit Das  gmail  com>
AuthorDate: Sun Jul 23 07:35:11 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Aug 22 06:49:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e66c27b7

dev-db/repmgr: Fix incompatible integer to pointer conversion

Closes: https://bugs.gentoo.org/883237
Signed-off-by: Brahmajit Das  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32010
Signed-off-by: Joonas Niilola  gentoo.org>

 ...repmgr-5.1.0-fix-missing-getpwuid-clang16.patch | 12 ++
 dev-db/repmgr/repmgr-5.1.0-r1.ebuild   | 47 ++
 2 files changed, 59 insertions(+)

diff --git 
a/dev-db/repmgr/files/repmgr-5.1.0-fix-missing-getpwuid-clang16.patch 
b/dev-db/repmgr/files/repmgr-5.1.0-fix-missing-getpwuid-clang16.patch
new file mode 100644
index ..53eeb524c7c9
--- /dev/null
+++ b/dev-db/repmgr/files/repmgr-5.1.0-fix-missing-getpwuid-clang16.patch
@@ -0,0 +1,12 @@
+Bug: https://bugs.gentoo.org/883237
+--- a/repmgr-client.c
 b/repmgr-client.c
+@@ -54,6 +54,8 @@
+ #include 
+ #include 
+ #include 
++#include 
++#include 
+ 
+ 
+ #include "repmgr.h"

diff --git a/dev-db/repmgr/repmgr-5.1.0-r1.ebuild 
b/dev-db/repmgr/repmgr-5.1.0-r1.ebuild
new file mode 100644
index ..7d986cfa5fc3
--- /dev/null
+++ b/dev-db/repmgr/repmgr-5.1.0-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="PostgreSQL Replication Manager"
+HOMEPAGE="http://www.repmgr.org/;
+SRC_URI="http://www.repmgr.org/download/${P}.tar.gz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dev-db/postgresql:*[server,static-libs]"
+RDEPEND="${DEPEND}
+   net-misc/rsync"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-fno-common.patch
+   "${FILESDIR}"/${P}-fix-missing-getpwuid-clang16.patch
+)
+
+src_compile() {
+   emake USE_PGXS=1
+}
+
+src_install() {
+   emake DESTDIR="${D}" USE_PGXS=1 install
+   dodoc CREDITS HISTORY COPYRIGHT *.md
+
+   local PGSLOT="$(postgresql-config show)"
+   einfo "PGSLOT: ${PGSLOT}"
+
+   dodir /usr/share/postgresql-${PGSLOT}/contrib
+   dodir /usr/$(get_libdir)/postgresql-${PGSLOT}
+
+   local repmgr="/usr/bin/repmgr${PGSLOT//.}"
+   local repmgrd="/usr/bin/repmgrd${PGSLOT//.}"
+   dosym ../$(get_libdir)/postgresql-${PGSLOT}/bin/repmgr ${repmgr}
+   dosym ../$(get_libdir)/postgresql-${PGSLOT}/bin/repmgrd ${repmgrd}
+
+   insinto /etc
+   newins repmgr.conf.sample repmgr.conf
+
+   fowners postgres:postgres /etc/repmgr.conf
+   ewarn "Remember to modify /etc/repmgr.conf"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/repmgr/

2021-01-03 Thread David Seifert
commit: 587e9497f336eafc712e3b3ebb27fb13224590e4
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sun Jan  3 21:39:24 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jan  3 21:39:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=587e9497

dev-db/repmgr: Remove old

Closes: https://github.com/gentoo/gentoo/pull/18918
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 dev-db/repmgr/Manifest|  2 --
 dev-db/repmgr/repmgr-3.0.1.ebuild | 40 ---
 dev-db/repmgr/repmgr-3.3.2.ebuild | 40 ---
 3 files changed, 82 deletions(-)

diff --git a/dev-db/repmgr/Manifest b/dev-db/repmgr/Manifest
index ca615167c8d..ffc24343d19 100644
--- a/dev-db/repmgr/Manifest
+++ b/dev-db/repmgr/Manifest
@@ -1,3 +1 @@
-DIST repmgr-3.0.1.tar.gz 91724 BLAKE2B 
be0ac2d54dbaae7a45abaa90ed1a851e22f05a1bb0969a1c5d95e58d7c3f89513cc47555b77cc57bb5cd5baf60c21c9c44375363a757510f07b111ec78f87441
 SHA512 
5655745df18132ee53ff36f80b3a2bb8caa6cedd8091350464cf343386baa31c47d46b25c171dda0fd1f4c3402babea9864f4557a10659111449a2eb2e1fa2b9
-DIST repmgr-3.3.2.tar.gz 162107 BLAKE2B 
b1029297fa548241dc5d58bcdcffc0a6f749725eba2d3c7d2cb70b1f46a96b491dc27deb7baf8459e91eae9663df000a1713e80f05e7e0e39afc020b4136c9a4
 SHA512 
98fba8fc0d9074e496c66762dbec45734fe279f39c9c51adb3e66dca929ac37f66a609789c8c658545856fd81f5afc5b35f6b5e389e52bce8c04ce8c52acd8dd
 DIST repmgr-5.1.0.tar.gz 426487 BLAKE2B 
25157923f94b8bd27a2b57796f701e89e7d9acfc8dabc4368640068d5926934e5688b27147ae94b4bee7bad54d59353927b5b70cf5590c554c4eef35fadf29b9
 SHA512 
9fa8a43ee3920269d1c1d2e619939eb68cb7ba79effe11e87dd67c594bacfcde609949322ce968df328f3913111f27d0ebe2f7742a72e21f3df97b0e05c56cc7

diff --git a/dev-db/repmgr/repmgr-3.0.1.ebuild 
b/dev-db/repmgr/repmgr-3.0.1.ebuild
deleted file mode 100644
index 7a82e8739f2..000
--- a/dev-db/repmgr/repmgr-3.0.1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils multilib
-DESCRIPTION="PostgreSQL Replication Manager"
-HOMEPAGE="http://www.repmgr.org/;
-SRC_URI="http://www.repmgr.org/download/${P}.tar.gz;
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE=""
-
-DEPEND=">=dev-db/postgresql-9.3[server,static-libs]"
-RDEPEND="${DEPEND}
-   net-misc/rsync"
-
-src_compile() {
-   emake USE_PGXS=1
-}
-
-src_install() {
-   emake DESTDIR="${D}" USE_PGXS=1 install
-   export PGSLOT="$(postgresql-config show)"
-   einfo "PGSLOT: ${PGSLOT}"
-   PGBASEDIR=/usr/$(get_libdir)/postgresql-${PGSLOT}
-   PGBINDIR=${PGBASEDIR}/bin/
-   PGCONTRIB=/usr/share/postgresql-${PGSLOT}/contrib/
-   dodir $PGCONTRIB $PGBINDIR
-   insinto $PGCONTRIB
-   doins sql/repmgr2_repmgr3.sql
-   dosym $PGBINDIR/repmgr /usr/bin/repmgr${PGSLOT//.}
-   dosym $PGBINDIR/repmgrd /usr/bin/repmgrd${PGSLOT//.}
-   dodoc  CREDITS HISTORY COPYRIGHT TODO *.md *.rst
-   insinto /etc
-   newins repmgr.conf.sample repmgr.conf
-   fowners postgres:postgres /etc/repmgr.conf
-   ewarn "Remember to modify /etc/repmgr.conf"
-}

diff --git a/dev-db/repmgr/repmgr-3.3.2.ebuild 
b/dev-db/repmgr/repmgr-3.3.2.ebuild
deleted file mode 100644
index 8aa275358e4..000
--- a/dev-db/repmgr/repmgr-3.3.2.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils multilib
-DESCRIPTION="PostgreSQL Replication Manager"
-HOMEPAGE="http://www.repmgr.org/;
-SRC_URI="http://www.repmgr.org/download/${P}.tar.gz;
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE=""
-
-DEPEND=">=dev-db/postgresql-9.3[server,static-libs]"
-RDEPEND="${DEPEND}
-   net-misc/rsync"
-
-src_compile() {
-   emake USE_PGXS=1
-}
-
-src_install() {
-   emake DESTDIR="${D}" USE_PGXS=1 install
-   export PGSLOT="$(postgresql-config show)"
-   einfo "PGSLOT: ${PGSLOT}"
-   PGBASEDIR=/usr/$(get_libdir)/postgresql-${PGSLOT}
-   PGBINDIR=${PGBASEDIR}/bin/
-   PGCONTRIB=/usr/share/postgresql-${PGSLOT}/contrib/
-   dodir $PGCONTRIB $PGBINDIR
-   insinto $PGCONTRIB
-   doins sql/repmgr2_repmgr3.sql
-   dosym $PGBINDIR/repmgr /usr/bin/repmgr${PGSLOT//.}
-   dosym $PGBINDIR/repmgrd /usr/bin/repmgrd${PGSLOT//.}
-   dodoc  CREDITS HISTORY COPYRIGHT TODO *.md *.rst
-   insinto /etc
-   newins repmgr.conf.sample repmgr.conf
-   fowners postgres:postgres /etc/repmgr.conf
-   ewarn "Remember to modify /etc/repmgr.conf"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-db/repmgr/, dev-db/repmgr/files/

2021-01-03 Thread David Seifert
commit: ac2eef59aae978a9c5c530de067bc4b28ab37ff0
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sun Jan  3 21:39:23 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jan  3 21:39:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac2eef59

dev-db/repmgr: Fix build with gcc-10

Closes: https://bugs.gentoo.org/733304
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 dev-db/repmgr/files/repmgr-5.1.0-fno-common.patch | 51 +++
 dev-db/repmgr/repmgr-5.1.0.ebuild | 32 --
 2 files changed, 70 insertions(+), 13 deletions(-)

diff --git a/dev-db/repmgr/files/repmgr-5.1.0-fno-common.patch 
b/dev-db/repmgr/files/repmgr-5.1.0-fno-common.patch
new file mode 100644
index 000..c5450291dbb
--- /dev/null
+++ b/dev-db/repmgr/files/repmgr-5.1.0-fno-common.patch
@@ -0,0 +1,51 @@
+--- a/repmgr-action-cluster.c
 b/repmgr-action-cluster.c
+@@ -26,6 +26,7 @@
+ 
+ #define SHOW_HEADER_COUNT 9
+ 
++extern t_conninfo_param_list source_conninfo;
+ typedef enum
+ {
+   SHOW_ID = 0,
+--- a/repmgr-action-node.c
 b/repmgr-action-node.c
+@@ -32,6 +32,7 @@
+ #include "repmgr-action-node.h"
+ #include "repmgr-action-standby.h"
+ 
++extern t_conninfo_param_list source_conninfo;
+ static bool copy_file(const char *src_file, const char *dest_file);
+ static void format_archive_dir(PQExpBufferData *archive_dir);
+ static t_server_action parse_server_action(const char *action);
+--- a/repmgr-action-service.c
 b/repmgr-action-service.c
+@@ -26,6 +26,7 @@
+ #include "repmgr-client-global.h"
+ #include "repmgr-action-service.h"
+ 
++extern t_conninfo_param_list source_conninfo;
+ 
+ /*
+  * Possibly also show:
+--- a/repmgr-action-witness.c
 b/repmgr-action-witness.c
+@@ -28,6 +28,7 @@
+ #include "repmgr-client-global.h"
+ #include "repmgr-action-witness.h"
+ 
++extern t_conninfo_param_list source_conninfo;
+ static char   repmgr_user[MAXLEN];
+ static char   repmgr_db[MAXLEN];
+ 
+--- a/repmgr-client-global.h
 b/repmgr-client-global.h
+@@ -236,7 +236,7 @@ typedef struct ColHeader
+ extern t_runtime_options runtime_options;
+ extern t_configuration_options config_file_options;
+ 
+-t_conninfo_param_list source_conninfo;
++extern t_conninfo_param_list source_conninfo;
+ 
+ 
+ extern bool config_file_required;

diff --git a/dev-db/repmgr/repmgr-5.1.0.ebuild 
b/dev-db/repmgr/repmgr-5.1.0.ebuild
index 06a26ac1e9b..2691cff5714 100644
--- a/dev-db/repmgr/repmgr-5.1.0.ebuild
+++ b/dev-db/repmgr/repmgr-5.1.0.ebuild
@@ -1,38 +1,44 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit eutils multilib
+
 DESCRIPTION="PostgreSQL Replication Manager"
 HOMEPAGE="http://www.repmgr.org/;
 SRC_URI="http://www.repmgr.org/download/${P}.tar.gz;
+
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-IUSE=""
-
-DEPEND=">=dev-db/postgresql-9.3[server,static-libs]"
+DEPEND="dev-db/postgresql:*[server,static-libs]"
 RDEPEND="${DEPEND}
net-misc/rsync"
 
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
+
 src_compile() {
emake USE_PGXS=1
 }
 
 src_install() {
emake DESTDIR="${D}" USE_PGXS=1 install
-   export PGSLOT="$(postgresql-config show)"
+   dodoc CREDITS HISTORY COPYRIGHT *.md
+
+   local PGSLOT="$(postgresql-config show)"
einfo "PGSLOT: ${PGSLOT}"
-   PGBASEDIR=/usr/$(get_libdir)/postgresql-${PGSLOT}
-   PGBINDIR=${PGBASEDIR}/bin/
-   PGCONTRIB=/usr/share/postgresql-${PGSLOT}/contrib/
-   dodir $PGCONTRIB $PGBINDIR
-   dosym $PGBINDIR/repmgr /usr/bin/repmgr${PGSLOT//.}
-   dosym $PGBINDIR/repmgrd /usr/bin/repmgrd${PGSLOT//.}
-   dodoc  CREDITS HISTORY COPYRIGHT *.md
+
+   dodir /usr/share/postgresql-${PGSLOT}/contrib
+   dodir /usr/$(get_libdir)/postgresql-${PGSLOT}
+
+   local repmgr="/usr/bin/repmgr${PGSLOT//.}"
+   local repmgrd="/usr/bin/repmgrd${PGSLOT//.}"
+   dosym ../$(get_libdir)/postgresql-${PGSLOT}/bin/repmgr ${repmgr}
+   dosym ../$(get_libdir)/postgresql-${PGSLOT}/bin/repmgrd ${repmgrd}
+
insinto /etc
newins repmgr.conf.sample repmgr.conf
+
fowners postgres:postgres /etc/repmgr.conf
ewarn "Remember to modify /etc/repmgr.conf"
 }



[gentoo-commits] repo/gentoo:master commit in: dev-db/repmgr/

2021-01-03 Thread David Seifert
commit: 25e440cde2ec0a1a7e0f5063a5c3d9bf3f83ec89
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jan  3 21:39:22 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jan  3 21:39:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25e440cd

dev-db/repmgr: Fix metadata.xml formatting

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: David Seifert  gentoo.org>

 dev-db/repmgr/metadata.xml | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-db/repmgr/metadata.xml b/dev-db/repmgr/metadata.xml
index d8c0e2f2db1..1291c4cfa4d 100644
--- a/dev-db/repmgr/metadata.xml
+++ b/dev-db/repmgr/metadata.xml
@@ -1,7 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-robb...@gentoo.org
-  
-  
+   
+   robb...@gentoo.org
+   
+



[gentoo-commits] repo/gentoo:master commit in: dev-db/repmgr/

2020-07-18 Thread 罗百科
commit: c363b522cb4d112b43dd97efb6f6c0ebff712ecd
Author: Patrick Lauer  gentoo  org>
AuthorDate: Sat Jul 18 05:26:31 2020 +
Commit: 罗百科  gentoo  org>
CommitDate: Sat Jul 18 05:26:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c363b522

dev-db/repmgr: Bump

Older versions don't build with newer postgres

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Patrick Lauer  gentoo.org>

 dev-db/repmgr/Manifest|  1 +
 dev-db/repmgr/repmgr-5.1.0.ebuild | 38 ++
 2 files changed, 39 insertions(+)

diff --git a/dev-db/repmgr/Manifest b/dev-db/repmgr/Manifest
index e60b7b71d26..ca615167c8d 100644
--- a/dev-db/repmgr/Manifest
+++ b/dev-db/repmgr/Manifest
@@ -1,2 +1,3 @@
 DIST repmgr-3.0.1.tar.gz 91724 BLAKE2B 
be0ac2d54dbaae7a45abaa90ed1a851e22f05a1bb0969a1c5d95e58d7c3f89513cc47555b77cc57bb5cd5baf60c21c9c44375363a757510f07b111ec78f87441
 SHA512 
5655745df18132ee53ff36f80b3a2bb8caa6cedd8091350464cf343386baa31c47d46b25c171dda0fd1f4c3402babea9864f4557a10659111449a2eb2e1fa2b9
 DIST repmgr-3.3.2.tar.gz 162107 BLAKE2B 
b1029297fa548241dc5d58bcdcffc0a6f749725eba2d3c7d2cb70b1f46a96b491dc27deb7baf8459e91eae9663df000a1713e80f05e7e0e39afc020b4136c9a4
 SHA512 
98fba8fc0d9074e496c66762dbec45734fe279f39c9c51adb3e66dca929ac37f66a609789c8c658545856fd81f5afc5b35f6b5e389e52bce8c04ce8c52acd8dd
+DIST repmgr-5.1.0.tar.gz 426487 BLAKE2B 
25157923f94b8bd27a2b57796f701e89e7d9acfc8dabc4368640068d5926934e5688b27147ae94b4bee7bad54d59353927b5b70cf5590c554c4eef35fadf29b9
 SHA512 
9fa8a43ee3920269d1c1d2e619939eb68cb7ba79effe11e87dd67c594bacfcde609949322ce968df328f3913111f27d0ebe2f7742a72e21f3df97b0e05c56cc7

diff --git a/dev-db/repmgr/repmgr-5.1.0.ebuild 
b/dev-db/repmgr/repmgr-5.1.0.ebuild
new file mode 100644
index 000..06a26ac1e9b
--- /dev/null
+++ b/dev-db/repmgr/repmgr-5.1.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit eutils multilib
+DESCRIPTION="PostgreSQL Replication Manager"
+HOMEPAGE="http://www.repmgr.org/;
+SRC_URI="http://www.repmgr.org/download/${P}.tar.gz;
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+
+DEPEND=">=dev-db/postgresql-9.3[server,static-libs]"
+RDEPEND="${DEPEND}
+   net-misc/rsync"
+
+src_compile() {
+   emake USE_PGXS=1
+}
+
+src_install() {
+   emake DESTDIR="${D}" USE_PGXS=1 install
+   export PGSLOT="$(postgresql-config show)"
+   einfo "PGSLOT: ${PGSLOT}"
+   PGBASEDIR=/usr/$(get_libdir)/postgresql-${PGSLOT}
+   PGBINDIR=${PGBASEDIR}/bin/
+   PGCONTRIB=/usr/share/postgresql-${PGSLOT}/contrib/
+   dodir $PGCONTRIB $PGBINDIR
+   dosym $PGBINDIR/repmgr /usr/bin/repmgr${PGSLOT//.}
+   dosym $PGBINDIR/repmgrd /usr/bin/repmgrd${PGSLOT//.}
+   dodoc  CREDITS HISTORY COPYRIGHT *.md
+   insinto /etc
+   newins repmgr.conf.sample repmgr.conf
+   fowners postgres:postgres /etc/repmgr.conf
+   ewarn "Remember to modify /etc/repmgr.conf"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/repmgr/

2018-01-02 Thread Amy Liffey
commit: 68597e6cf06ab297c3da14f82da2032bac837cc5
Author: Amy Liffey  gentoo  org>
AuthorDate: Tue Jan  2 19:13:06 2018 +
Commit: Amy Liffey  gentoo  org>
CommitDate: Tue Jan  2 19:14:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68597e6c

dev-db/repmgr: retirement betelgeuse

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-db/repmgr/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-db/repmgr/metadata.xml b/dev-db/repmgr/metadata.xml
index 06d2f4bd93e..d8c0e2f2db1 100644
--- a/dev-db/repmgr/metadata.xml
+++ b/dev-db/repmgr/metadata.xml
@@ -4,7 +4,4 @@
   
 robb...@gentoo.org
   
-  
-betelge...@gentoo.org
-  
-
+  



[gentoo-commits] repo/gentoo:master commit in: dev-db/repmgr/

2017-07-04 Thread Patrick Lauer
commit: 10f5ce68a10f3db3459ce0d8e10f666b9c63e362
Author: Patrick Lauer  gentoo  org>
AuthorDate: Tue Jul  4 13:41:44 2017 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Tue Jul  4 13:43:22 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10f5ce68

dev-db/repmgr: Bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-db/repmgr/Manifest|  1 +
 dev-db/repmgr/repmgr-3.3.2.ebuild | 40 +++
 2 files changed, 41 insertions(+)

diff --git a/dev-db/repmgr/Manifest b/dev-db/repmgr/Manifest
index 836db3c5ac1..2fbc8b69010 100644
--- a/dev-db/repmgr/Manifest
+++ b/dev-db/repmgr/Manifest
@@ -1 +1,2 @@
 DIST repmgr-3.0.1.tar.gz 91724 SHA256 
27656442aacc1c97a006039a50cf6da84b4d38fc11542a555df24d93ae6b02bc SHA512 
5655745df18132ee53ff36f80b3a2bb8caa6cedd8091350464cf343386baa31c47d46b25c171dda0fd1f4c3402babea9864f4557a10659111449a2eb2e1fa2b9
 WHIRLPOOL 
48383f717c1ab4f6b07d724af3b52bf7d257855300b289a887d1cb88c66ef7ae434a609e233168ad4cd7310cdb7a47e2101baf5d0ea52436d2576f02eec55a83
+DIST repmgr-3.3.2.tar.gz 162107 SHA256 
3ca93e58aee941967c4088cd8f4535a0096949234cbdc8629e2447e7dbe2e610 SHA512 
98fba8fc0d9074e496c66762dbec45734fe279f39c9c51adb3e66dca929ac37f66a609789c8c658545856fd81f5afc5b35f6b5e389e52bce8c04ce8c52acd8dd
 WHIRLPOOL 
f82b65f74a2e4ce2e767b71984553ee4727e7bc0608ef2840ee488cc649292f7bd26dd59f43ba4c3ca50a902e0f85c431ab4d75b2b1315d79d266f4c6ebfab8c

diff --git a/dev-db/repmgr/repmgr-3.3.2.ebuild 
b/dev-db/repmgr/repmgr-3.3.2.ebuild
new file mode 100644
index 000..8aa275358e4
--- /dev/null
+++ b/dev-db/repmgr/repmgr-3.3.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils multilib
+DESCRIPTION="PostgreSQL Replication Manager"
+HOMEPAGE="http://www.repmgr.org/;
+SRC_URI="http://www.repmgr.org/download/${P}.tar.gz;
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+
+DEPEND=">=dev-db/postgresql-9.3[server,static-libs]"
+RDEPEND="${DEPEND}
+   net-misc/rsync"
+
+src_compile() {
+   emake USE_PGXS=1
+}
+
+src_install() {
+   emake DESTDIR="${D}" USE_PGXS=1 install
+   export PGSLOT="$(postgresql-config show)"
+   einfo "PGSLOT: ${PGSLOT}"
+   PGBASEDIR=/usr/$(get_libdir)/postgresql-${PGSLOT}
+   PGBINDIR=${PGBASEDIR}/bin/
+   PGCONTRIB=/usr/share/postgresql-${PGSLOT}/contrib/
+   dodir $PGCONTRIB $PGBINDIR
+   insinto $PGCONTRIB
+   doins sql/repmgr2_repmgr3.sql
+   dosym $PGBINDIR/repmgr /usr/bin/repmgr${PGSLOT//.}
+   dosym $PGBINDIR/repmgrd /usr/bin/repmgrd${PGSLOT//.}
+   dodoc  CREDITS HISTORY COPYRIGHT TODO *.md *.rst
+   insinto /etc
+   newins repmgr.conf.sample repmgr.conf
+   fowners postgres:postgres /etc/repmgr.conf
+   ewarn "Remember to modify /etc/repmgr.conf"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/repmgr/

2015-10-25 Thread Michał Górny
commit: 1370ae595e3e96a50b3ed92ea9707aed901978e6
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Oct 25 22:34:15 2015 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Oct 25 22:34:15 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1370ae59

dev-db/repmgr: Fix typo in betelgeuse's e-mail address

 dev-db/repmgr/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/repmgr/metadata.xml b/dev-db/repmgr/metadata.xml
index ed88a44..48b021f 100644
--- a/dev-db/repmgr/metadata.xml
+++ b/dev-db/repmgr/metadata.xml
@@ -5,7 +5,7 @@
 robb...@gentoo.org
   
   
-betelgu...@gentoo.org
+betelge...@gentoo.org