mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-db/repmgr: Bump
Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
@@ -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
|
||||
|
||||
40
dev-db/repmgr/repmgr-3.3.2.ebuild
Normal file
40
dev-db/repmgr/repmgr-3.3.2.ebuild
Normal file
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user