mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-db/repmgr: drop 5.1.0, 5.1.0-r1, EAPI=7--
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST repmgr-5.1.0.tar.gz 426487 BLAKE2B 25157923f94b8bd27a2b57796f701e89e7d9acfc8dabc4368640068d5926934e5688b27147ae94b4bee7bad54d59353927b5b70cf5590c554c4eef35fadf29b9 SHA512 9fa8a43ee3920269d1c1d2e619939eb68cb7ba79effe11e87dd67c594bacfcde609949322ce968df328f3913111f27d0ebe2f7742a72e21f3df97b0e05c56cc7
|
||||
DIST repmgr-5.5.0.tar.gz 463431 BLAKE2B 12f118d47fc5b60e2037833c3f25c4c4e2d8616a2fe2285d3cdad4460f33f1534e78cf69a3f22af086fbcf09f94b2ca90cd6054e2a38a5ada9101c65de2b9452 SHA512 4ba75cf0d4263557c9ccdf73972c07ca06108d4a221a6d4e5cf9541a2bc2089c3aede17874c061798708902ff2e2a87d2d1f79b49cc5a1ef69a7bbccd76e79f2
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
# 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"
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2021 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 )
|
||||
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user