From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DBDE9139694 for ; Tue, 4 Jul 2017 13:43:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46083274018; Tue, 4 Jul 2017 13:43:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 15AD2274018 for ; Tue, 4 Jul 2017 13:43:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3E4833416E8 for ; Tue, 4 Jul 2017 13:43:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DAAA77478 for ; Tue, 4 Jul 2017 13:43:26 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1499175802.10f5ce68a10f3db3459ce0d8e10f666b9c63e362.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/repmgr/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/repmgr/Manifest dev-db/repmgr/repmgr-3.3.2.ebuild X-VCS-Directories: dev-db/repmgr/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: 10f5ce68a10f3db3459ce0d8e10f666b9c63e362 X-VCS-Branch: master Date: Tue, 4 Jul 2017 13:43:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c5e0911f-b1f5-4063-9d4d-e09eec296cfe X-Archives-Hash: 1ad440a0edddd7199cd4fafd844f56f0 commit: 10f5ce68a10f3db3459ce0d8e10f666b9c63e362 Author: Patrick Lauer gentoo org> AuthorDate: Tue Jul 4 13:41:44 2017 +0000 Commit: Patrick Lauer gentoo 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" +}