summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2024-01-19 13:56:56 +0000
committerPatrick Lauer <patrick@gentoo.org>2024-01-19 14:05:49 +0000
commitf06b8701194b06031a9cf87c9efb18714a5f8331 (patch)
tree8a55d0a6bb773a44d3c21552a72e241ea5f2472c /dev-db/pglogical
parentwww-apps/sonarr: drop 4.0.0.836 (diff)
downloadgentoo-f06b8701194b06031a9cf87c9efb18714a5f8331.tar.gz
gentoo-f06b8701194b06031a9cf87c9efb18714a5f8331.tar.bz2
gentoo-f06b8701194b06031a9cf87c9efb18714a5f8331.zip
dev-db/pglogical: add 2.4.4
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'dev-db/pglogical')
-rw-r--r--dev-db/pglogical/Manifest1
-rw-r--r--dev-db/pglogical/pglogical-2.4.4.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-db/pglogical/Manifest b/dev-db/pglogical/Manifest
index e276cb38f5fe..5741701297c1 100644
--- a/dev-db/pglogical/Manifest
+++ b/dev-db/pglogical/Manifest
@@ -1 +1,2 @@
DIST REL2_4_1.tar.gz 277428 BLAKE2B 51319e3b1491e1857e63e63640f2e6d2315ab72a0aabcfe7869456822a294bdb53fd0f4cc9bca0c60bfcf9e0926249acad86f09327c5656735b508851037ccaf SHA512 0d673e1a2b696e2cfbb94d8350bb15c280947f69b6512aa80f8ef7497e30cbd407a01b9a4f8fa9844b4ccb39377a6b2bee390a7887f3050074c2e6a11e6f3e3f
+DIST REL2_4_4.tar.gz 280564 BLAKE2B 67d9cf090117875f58d671987fcd5593b9db5b78b31c79fc44c23d4ce5ebfcb1eb7b970ebb026ca6dedefd958081a3bc4ef7ce502e7edda027a5d082f879e385 SHA512 163b5f6ea61fd83eadbde843745d72ebe7f1fb401d5506c9bbf3689871e5b81c85e7536103080a71fa6567942f4278326a0fb232e19f432665757e23132be94d
diff --git a/dev-db/pglogical/pglogical-2.4.4.ebuild b/dev-db/pglogical/pglogical-2.4.4.ebuild
new file mode 100644
index 000000000000..fa477e29562f
--- /dev/null
+++ b/dev-db/pglogical/pglogical-2.4.4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+POSTGRES_COMPAT=( {12..16} )
+
+RESTRICT="test" # connects to :5432 by default, not good
+
+inherit postgres-multi
+
+MY_PV=$(ver_rs 1- '_')
+MY_P="${PN}-${MY_PV}"
+S="${WORKDIR}/${PN}-REL${MY_PV}"
+
+DESCRIPTION="Logical replication for PostgreSQL"
+HOMEPAGE="https://github.com/2ndQuadrant/pglogical"
+SRC_URI="https://github.com/2ndQuadrant/pglogical/archive/REL${MY_PV}.tar.gz"
+
+LICENSE="POSTGRESQL"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="${POSTGRES_DEP}"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ postgres-multi_foreach emake USE_PGXS=1 || die "emake failed"
+}
+
+src_install() {
+ postgres-multi_foreach emake DESTDIR="${D}" USE_PGXS=1 install
+ postgres-multi_foreach dobin pglogical_create_subscriber
+}