public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick Lauer" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/repmgr/
Date: Tue,  4 Jul 2017 13:43:26 +0000 (UTC)	[thread overview]
Message-ID: <1499175802.10f5ce68a10f3db3459ce0d8e10f666b9c63e362.patrick@gentoo> (raw)

commit:     10f5ce68a10f3db3459ce0d8e10f666b9c63e362
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  4 13:41:44 2017 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Tue Jul  4 13:43:22 2017 +0000
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 00000000000..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"
+}


             reply	other threads:[~2017-07-04 13:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-04 13:43 Patrick Lauer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-03 21:39 [gentoo-commits] repo/gentoo:master commit in: dev-db/repmgr/ David Seifert
2021-01-03 21:39 David Seifert
2020-07-18  6:46 罗百科
2018-01-02 19:15 Amy Liffey
2015-10-25 22:34 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1499175802.10f5ce68a10f3db3459ce0d8e10f666b9c63e362.patrick@gentoo \
    --to=patrick@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox