summaryrefslogtreecommitdiff
path: root/dev-db/repmgr
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-db/repmgr
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-db/repmgr')
-rw-r--r--dev-db/repmgr/Manifest7
-rw-r--r--dev-db/repmgr/metadata.xml10
-rw-r--r--dev-db/repmgr/repmgr-3.0.1.ebuild40
-rw-r--r--dev-db/repmgr/repmgr-3.3.2.ebuild40
4 files changed, 97 insertions, 0 deletions
diff --git a/dev-db/repmgr/Manifest b/dev-db/repmgr/Manifest
new file mode 100644
index 000000000000..5365bfe400fd
--- /dev/null
+++ b/dev-db/repmgr/Manifest
@@ -0,0 +1,7 @@
+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
+EBUILD repmgr-3.0.1.ebuild 1093 SHA256 2de6df19869f44cb7158db6a8dde8fc4cd4490d9057ba654d19d0e5c479d5fd8 SHA512 20196fa1f8819d40fb9eb2d72b76e4fe152ed1ac4ee4c35fd6b052af19ad8f3704888ffcae008869635661880a9e81076b012a2ecbd271e4553f74db1904930f WHIRLPOOL 25ada57023dcddaba5cb505531ab85faf977b9b8e6e3ffca50e2060b214438eca416683de37eff5492e0fea432198dbdeb0c0857d6064b67ce7b797ef372321e
+EBUILD repmgr-3.3.2.ebuild 1093 SHA256 cdc491a3576b370945cc24bcaabab36927ff2e4b2c761c1d3dbb433a5450ffe4 SHA512 6412c5cc1a9bde4fc6cac191146c0a529a67016690353b733547270198515b13ac56f9ecc081fb58eebe93b4afd03095001a9b4986e5f2ce55e3175c6893955b WHIRLPOOL 0a6cdcea55f39faa4988d919a63bc3ea0fdb4313ff64be6dd38b8682b4ef6f4009140a014878138422b5aecfe76362ca295bede14fcae663afc7f91ae9b023f1
+MISC ChangeLog 2278 SHA256 20b75b84f79f25faa31403a34094ee4cfc1dd5ce92e1efb6924ec60fed448679 SHA512 0cdff6c6cb07bb1d60d44a41ee3d06edb26ffcdb5a61419380ce7b61ffc527c7eb5d485d3c40e24587f3d217ff7cb45eb25518975d278934cd4cd0326a4339dd WHIRLPOOL 7b6c48aaaaaaab1a22416772d0b14ce7440a328f7fc2b94f1c808b27f2841470319e132ce917ed3875e3b4395a3e6227f5bcd9651c5249672592c03f63d8acfe
+MISC ChangeLog-2015 844 SHA256 32b7bff092f6fee6ff70b256ecabe820db56f5990776e86ba38d970c9974d305 SHA512 811e92e877fbe3ed486577475b0e2d68254a951770a4faabf2e0d41cfa92c9f541366447d8a07eb266a73181e9cab8f7bc9872595c266943c3c1f8d29a86c8cf WHIRLPOOL 448c97e108f53d89c5efe8c2194960e0c0fd31fcde00da75204147e095b9813aea0c47892e1823f702772bd256c8365655e11dc01b72cbbd9da6b3b097080287
+MISC metadata.xml 308 SHA256 475c243a282c51fca857fef7c5dd3fa0c36e18bed4399c1f7d30efdaa9f49316 SHA512 ac1061c181c1cd49f0c7e4e3769d46969132c10ff6d44c35bdb8d504b6e25acc80c5f19d43fdb3cd6226baad6703412e6b42604645e8b286270a8aac623eec5a WHIRLPOOL 069193c583cdb91ddf30ddf9670bd3519866c4829755e3e57948914db4049acaedb925749118ec2efc0dc15b8e2960251e85c7692c5ac813d18740aa872a51f6
diff --git a/dev-db/repmgr/metadata.xml b/dev-db/repmgr/metadata.xml
new file mode 100644
index 000000000000..06d2f4bd93e4
--- /dev/null
+++ b/dev-db/repmgr/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ </maintainer>
+ <maintainer type="person">
+ <email>betelgeuse@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-db/repmgr/repmgr-3.0.1.ebuild b/dev-db/repmgr/repmgr-3.0.1.ebuild
new file mode 100644
index 000000000000..7a82e8739f28
--- /dev/null
+++ b/dev-db/repmgr/repmgr-3.0.1.ebuild
@@ -0,0 +1,40 @@
+# 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
new file mode 100644
index 000000000000..8aa275358e43
--- /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"
+}