[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2024-03-11 Thread Sam James
commit: d95ee1cbbc41757a732d55abc1b3fa335a2b76b9
Author: Eli Schwartz  gmail  com>
AuthorDate: Sun Mar 10 22:45:41 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 11 14:22:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d95ee1cb

dev-db/slony1: fix typo in ebuild variables

REQUIRE_USE isn't a thing. Due to this failing to be set properly, the
build faild during setup with:

 * ERROR: dev-db/slony1-2.2.10-r1::gentoo failed (setup phase):
 *   One of the postgres_targets_postgresSL_OT use flags must be enabled

I'm not sure why that error message exists at all though, since it's
supposed to be handled before setup via REQUIRED_USE. And... it usually
would be. ;)

Make this sane again.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-db/slony1/slony1-2.2.10-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/slony1/slony1-2.2.10-r1.ebuild 
b/dev-db/slony1/slony1-2.2.10-r1.ebuild
index 81ec3602d9bd..89281ba1f3aa 100644
--- a/dev-db/slony1/slony1-2.2.10-r1.ebuild
+++ b/dev-db/slony1/slony1-2.2.10-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -27,7 +27,7 @@ DEPEND="${POSTGRES_DEP}
 "
 RDEPEND=${DEPEND}
 
-REQUIRE_USE="${POSTGRES_REQ_USE}"
+REQUIRED_USE="${POSTGRES_REQ_USE}"
 
 # Testing requires a more complex setup than we benefit from being able
 # to perform.



[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2024-03-11 Thread Sam James
commit: 16acb2753fdf09e64dc87859db5cf07eacccaca3
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Mar 11 00:19:39 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 11 14:22:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16acb275

dev-db/slony1: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/855251
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-db/slony1/slony1-2.2.10-r1.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-db/slony1/slony1-2.2.10-r1.ebuild 
b/dev-db/slony1/slony1-2.2.10-r1.ebuild
index 89281ba1f3aa..1115cf1c6835 100644
--- a/dev-db/slony1/slony1-2.2.10-r1.ebuild
+++ b/dev-db/slony1/slony1-2.2.10-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 POSTGRES_COMPAT=( 9.6 {10..14} )
 POSTGRES_USEDEP="server,threads(+)"
 
-inherit postgres-multi
+inherit flag-o-matic postgres-multi
 
 IUSE="doc perl"
 
@@ -47,6 +47,11 @@ src_unpack() {
 }
 
 src_configure() {
+   # -Werror=lto-type-mismatch
+   # https://bugs.gentoo.org/855251
+   # https://github.com/ssinger/slony1-engine/issues/21
+   filter-lto
+
local slot_bin_dir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/bin"
use perl && myconf=" --with-perltools=\"${slot_bin_dir}\""
postgres-multi_foreach econf ${myconf} \



[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2023-09-18 Thread Sam James
commit: 1fd570cb131ea7f51a63dee06ae81b857af91c4b
Author: Sam James  gentoo  org>
AuthorDate: Mon Sep 18 10:58:13 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep 18 10:58:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fd570cb

dev-db/slony1: prepare for postgresql to remove USE=threads

It's always available in newer versions.

Bug: https://bugs.gentoo.org/868393
Signed-off-by: Sam James  gentoo.org>

 dev-db/slony1/{slony1-2.2.10.ebuild => slony1-2.2.10-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/slony1/slony1-2.2.10.ebuild 
b/dev-db/slony1/slony1-2.2.10-r1.ebuild
similarity index 96%
rename from dev-db/slony1/slony1-2.2.10.ebuild
rename to dev-db/slony1/slony1-2.2.10-r1.ebuild
index 1e64c0ebe7bd..81ec3602d9bd 100644
--- a/dev-db/slony1/slony1-2.2.10.ebuild
+++ b/dev-db/slony1/slony1-2.2.10-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 POSTGRES_COMPAT=( 9.6 {10..14} )
-POSTGRES_USEDEP="server,threads"
+POSTGRES_USEDEP="server,threads(+)"
 
 inherit postgres-multi
 



[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2022-05-23 Thread 罗百科
commit: 58df538363b8334c7681b500062555e46ef7d973
Author: Patrick Lauer  gentoo  org>
AuthorDate: Mon May 23 08:12:54 2022 +
Commit: 罗百科  gentoo  org>
CommitDate: Mon May 23 08:13:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58df5383

dev-db/slony1: Support postgresql:14

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Patrick Lauer  gentoo.org>

 dev-db/slony1/slony1-2.2.10.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/slony1/slony1-2.2.10.ebuild 
b/dev-db/slony1/slony1-2.2.10.ebuild
index f78c2c8e6a18..1e64c0ebe7bd 100644
--- a/dev-db/slony1/slony1-2.2.10.ebuild
+++ b/dev-db/slony1/slony1-2.2.10.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-POSTGRES_COMPAT=( 9.6 {10..13} )
+POSTGRES_COMPAT=( 9.6 {10..14} )
 POSTGRES_USEDEP="server,threads"
 
 inherit postgres-multi



[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2021-08-22 Thread David Seifert
commit: 47e1b67b28e534bf7b61580c77ff6082d1c02888
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sun Aug 22 21:53:38 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Aug 22 21:53:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47e1b67b

dev-db/slony1: Remove postgres9_5

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 dev-db/slony1/slony1-2.2.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/slony1/slony1-2.2.10.ebuild 
b/dev-db/slony1/slony1-2.2.10.ebuild
index 944ca9c7115..f78c2c8e6a1 100644
--- a/dev-db/slony1/slony1-2.2.10.ebuild
+++ b/dev-db/slony1/slony1-2.2.10.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-POSTGRES_COMPAT=( 9.{5..6} {10..13} )
+POSTGRES_COMPAT=( 9.6 {10..13} )
 POSTGRES_USEDEP="server,threads"
 
 inherit postgres-multi



[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2021-01-24 Thread David Seifert
commit: 328b93871ab666098e7509b148fc32f92c03575c
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sun Jan 24 16:37:53 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jan 24 16:37:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=328b9387

dev-db/slony1: Remove old

Bug: https://bugs.gentoo.org/762943
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 dev-db/slony1/Manifest|  6 
 dev-db/slony1/slony1-2.2.6.ebuild | 64 -
 dev-db/slony1/slony1-2.2.7.ebuild | 62 
 dev-db/slony1/slony1-2.2.9.ebuild | 74 ---
 4 files changed, 206 deletions(-)

diff --git a/dev-db/slony1/Manifest b/dev-db/slony1/Manifest
index 5d9a2618bdd..6379e5ca5a2 100644
--- a/dev-db/slony1/Manifest
+++ b/dev-db/slony1/Manifest
@@ -1,8 +1,2 @@
 DIST slony1-2.2.10-docs.tar.bz2 1445193 BLAKE2B 
071f5faf2f7cae822b484f13ede6a8ede5278a065c55d2199f38e2dd195922cbc78982633316792978b968295d69e36651ae0367682ad45afab295e61e5329fa
 SHA512 
d603abccc1ec7922fe8025ab178e6d12b28ffc763848be8d1f9fc93519b9928aa65ed6bcc1d678f2ad9f79818de06da39ec1f69d60de61c5e6fe42137c7c3112
 DIST slony1-2.2.10.tar.bz2 1464652 BLAKE2B 
a07a830501be13f33fc189128851cee02c8d8ca51a8a54f6b97028d65eb17937817c9ab6b5ebbcaa092e96fb00f57959806e5003e016df5e7034583de601084c
 SHA512 
1b41addb7a0be0a130c2efcab1b241e3158d10a5a6e203d83f28353e303dd524e224ab9c04a7e37a0f89cd944237b90feeb8910eb35f717926aa3ad28dbe2d0f
-DIST slony1-2.2.6-docs.tar.bz2 1450956 BLAKE2B 
949d0736eb9ab021767b80b4240e30a8cd11daa218cac6d722827a8db98f2b54cc093031e02d0cd14cb1eb60d56dc160dcd1c2e0708e7228fdac31ef26d2fcf4
 SHA512 
b5a870d5688ca24c0a9012d7da539917c74ee697f1b1ae663ead3cb1032345c0d8f5fc5bddc2ca2fec5d738fb9ca74822343cce8739b3b4b478928f26d214a0d
-DIST slony1-2.2.6.tar.bz2 1465709 BLAKE2B 
87e581638aab5ac9f51437fc43b65f200c29e012fa2b5331d4a7972359bb345c8d5aec9917fbc348ce8338115f8270d6e55025905aa5aba642090a8486d0a3fc
 SHA512 
5aeadb9ed72b83d303596e4f8513409a1f826f25fe283ca6aa969a7563172bbc5f5360f876fa87780f6a6fc70cb55688a2daf678b9cf91972a3c403cb76184b8
-DIST slony1-2.2.7-docs.tar.bz2 252020 BLAKE2B 
315d54c008fca121fac12385602e729c7bb6a7a90db502165625c1138da6b87f147410555ca6bc315ba766fd6fed22b6c5dcbe06c9481dd37b9e9c8832209b02
 SHA512 
7735aae634788acae77eb2cc64f51a851e3b804fb1ca860eddc237734aa6182bd7dfcdae485cd89682c413f55003ea67d91c4c24922b4fdef79ac34793022e56
-DIST slony1-2.2.7.tar.bz2 1464923 BLAKE2B 
aee11f92d634a6c2eaf84dd48faf6cac7a27956474aaa9070f1d4fad3e70b0af09475abda149e096f1b238d68237c0b43b18880440bd4c2d66f5c0f4ad789e99
 SHA512 
22700e1574c91d4a4be5b78aac967eebc039440897364780891c2c76ed5b8e07c03205f0fbcd4870ee7c620d62b175987c46c43750524c6e5f9009044cc24f9a
-DIST slony1-2.2.9-docs.tar.bz2 1445251 BLAKE2B 
eafd17370e333a706fd563440b7948513db19a05e23f6a0a118e0f8927b5b52c99f46953c3c9ce2d8e9f04371a35ff390e0e542f295f4e926b7002642fc913b0
 SHA512 
88d1c26d668b4a021c7b53cb5c2a9b140485595460d1444997ae49e4b77910f58860d603777f1836fdfa1231d2e44ad5cdf8e82c0a03df5278c9de7de3101c5b
-DIST slony1-2.2.9.tar.bz2 1464548 BLAKE2B 
6a2f3e21679ed1542066016bdc9e97aa7b5885fe15770d5015f26deb16e4d9634b930d9f13a8dbba6b1e89bf28cdcc28b3181f12efbf9b549a75c6e62755c099
 SHA512 
c42d7604ae2eda9b83bfa608ca13a4a25b2a4b77301a591b9308eda964d263490a02acdfd5b1a7e7751c24b2a7cb5d9410c58deaf82bdb3c422456af65c2b3f5

diff --git a/dev-db/slony1/slony1-2.2.6.ebuild 
b/dev-db/slony1/slony1-2.2.6.ebuild
deleted file mode 100644
index 6ea02b10d27..000
--- a/dev-db/slony1/slony1-2.2.6.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-POSTGRES_COMPAT=( 9.{5..6} 10 )
-POSTGRES_USEDEP="server,threads"
-
-inherit eutils postgres-multi versionator
-
-IUSE="doc perl"
-
-DESCRIPTION="A replication system for the PostgreSQL Database Management 
System"
-HOMEPAGE="http://slony.info/;
-
-# ${P}-docs.tar.bz2 contains man pages as well as additional documentation
-MAJ_PV=$(get_version_component_range 1-2)
-SRC_URI="http://main.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
-
http://main.slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2;
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-
-DEPEND="${POSTGRES_DEP}
-   perl? ( dev-perl/DBD-Pg )
-"
-
-RDEPEND=${DEPEND}
-
-REQUIRE_USE="${POSTGRES_REQ_USE}"
-
-RESTRICT="test"
-
-src_configure() {
-   local slot_bin_dir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/bin"
-   use perl && myconf=" --with-perltools=\"${slot_bin_dir}\""
-   postgres-multi_foreach econf ${myconf} \
-  
--with-pgconfigdir="${slot_bin_dir}" \
-  
--with-slonybindir="${slot_bin_dir}"
-}
-
-src_install() {
-   postgres-multi_foreach emake DESTDIR="${D}" install
-
-   dodoc INSTALL 

[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2021-01-24 Thread Agostino Sarubbo
commit: 0113ba6089c4eea8a81301dca294710419c5b471
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jan 24 12:10:28 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jan 24 12:10:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0113ba60

dev-db/slony1: x86 stable wrt bug #762943

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-db/slony1/slony1-2.2.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/slony1/slony1-2.2.10.ebuild 
b/dev-db/slony1/slony1-2.2.10.ebuild
index 6c562ce7b40..944ca9c7115 100644
--- a/dev-db/slony1/slony1-2.2.10.ebuild
+++ b/dev-db/slony1/slony1-2.2.10.ebuild
@@ -20,7 +20,7 @@ 
SRC_URI="https://slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ppc ~x86"
+KEYWORDS="amd64 ppc x86"
 
 DEPEND="${POSTGRES_DEP}
perl? ( dev-perl/DBD-Pg )



[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2021-01-19 Thread Sam James
commit: 9ea9f00065334e1e5a48e49e0bc85a7cab5c18d5
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 20 00:34:18 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 20 00:34:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ea9f000

dev-db/slony1: Stabilize 2.2.10 ppc, #762943

Signed-off-by: Sam James  gentoo.org>

 dev-db/slony1/slony1-2.2.10.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/slony1/slony1-2.2.10.ebuild 
b/dev-db/slony1/slony1-2.2.10.ebuild
index 0e854d2ba2c..ac3b6ee7019 100644
--- a/dev-db/slony1/slony1-2.2.10.ebuild
+++ b/dev-db/slony1/slony1-2.2.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -20,7 +20,7 @@ 
SRC_URI="https://slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ppc ~x86"
 
 DEPEND="${POSTGRES_DEP}
perl? ( dev-perl/DBD-Pg )



[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2020-12-16 Thread Aaron W. Swenson
commit: 742004212b14e3a8b7b5910cdc295029ea7af7b9
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Wed Dec 16 11:14:50 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Wed Dec 16 11:14:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74200421

dev-db/slony1: Bump to 2.2.10

Signed-off-by: Aaron W. Swenson  gentoo.org>

 dev-db/slony1/Manifest |  2 ++
 dev-db/slony1/slony1-2.2.10.ebuild | 74 ++
 2 files changed, 76 insertions(+)

diff --git a/dev-db/slony1/Manifest b/dev-db/slony1/Manifest
index bd159cdfd87..5d9a2618bdd 100644
--- a/dev-db/slony1/Manifest
+++ b/dev-db/slony1/Manifest
@@ -1,3 +1,5 @@
+DIST slony1-2.2.10-docs.tar.bz2 1445193 BLAKE2B 
071f5faf2f7cae822b484f13ede6a8ede5278a065c55d2199f38e2dd195922cbc78982633316792978b968295d69e36651ae0367682ad45afab295e61e5329fa
 SHA512 
d603abccc1ec7922fe8025ab178e6d12b28ffc763848be8d1f9fc93519b9928aa65ed6bcc1d678f2ad9f79818de06da39ec1f69d60de61c5e6fe42137c7c3112
+DIST slony1-2.2.10.tar.bz2 1464652 BLAKE2B 
a07a830501be13f33fc189128851cee02c8d8ca51a8a54f6b97028d65eb17937817c9ab6b5ebbcaa092e96fb00f57959806e5003e016df5e7034583de601084c
 SHA512 
1b41addb7a0be0a130c2efcab1b241e3158d10a5a6e203d83f28353e303dd524e224ab9c04a7e37a0f89cd944237b90feeb8910eb35f717926aa3ad28dbe2d0f
 DIST slony1-2.2.6-docs.tar.bz2 1450956 BLAKE2B 
949d0736eb9ab021767b80b4240e30a8cd11daa218cac6d722827a8db98f2b54cc093031e02d0cd14cb1eb60d56dc160dcd1c2e0708e7228fdac31ef26d2fcf4
 SHA512 
b5a870d5688ca24c0a9012d7da539917c74ee697f1b1ae663ead3cb1032345c0d8f5fc5bddc2ca2fec5d738fb9ca74822343cce8739b3b4b478928f26d214a0d
 DIST slony1-2.2.6.tar.bz2 1465709 BLAKE2B 
87e581638aab5ac9f51437fc43b65f200c29e012fa2b5331d4a7972359bb345c8d5aec9917fbc348ce8338115f8270d6e55025905aa5aba642090a8486d0a3fc
 SHA512 
5aeadb9ed72b83d303596e4f8513409a1f826f25fe283ca6aa969a7563172bbc5f5360f876fa87780f6a6fc70cb55688a2daf678b9cf91972a3c403cb76184b8
 DIST slony1-2.2.7-docs.tar.bz2 252020 BLAKE2B 
315d54c008fca121fac12385602e729c7bb6a7a90db502165625c1138da6b87f147410555ca6bc315ba766fd6fed22b6c5dcbe06c9481dd37b9e9c8832209b02
 SHA512 
7735aae634788acae77eb2cc64f51a851e3b804fb1ca860eddc237734aa6182bd7dfcdae485cd89682c413f55003ea67d91c4c24922b4fdef79ac34793022e56

diff --git a/dev-db/slony1/slony1-2.2.10.ebuild 
b/dev-db/slony1/slony1-2.2.10.ebuild
new file mode 100644
index 000..0e854d2ba2c
--- /dev/null
+++ b/dev-db/slony1/slony1-2.2.10.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+POSTGRES_COMPAT=( 9.{5..6} {10..13} )
+POSTGRES_USEDEP="server,threads"
+
+inherit postgres-multi
+
+IUSE="doc perl"
+
+DESCRIPTION="A replication system for the PostgreSQL Database Management 
System"
+HOMEPAGE="https://slony.info/;
+
+MAJ_PV=$(ver_cut 1-2)
+SRC_URI="https://slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
+   doc? ( https://slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2 )
+"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="${POSTGRES_DEP}
+   perl? ( dev-perl/DBD-Pg )
+"
+RDEPEND=${DEPEND}
+
+REQUIRE_USE="${POSTGRES_REQ_USE}"
+
+# Testing requires a more complex setup than we benefit from being able
+# to perform.
+# https://slony.info/documentation/2.2/testing.html
+RESTRICT="test"
+
+src_unpack() {
+   unpack ${P}.tar.bz2
+
+   if use doc ; then
+   # The docs tarball will unpack over the source directory. So, we
+   # clear the adminguide directory now to make it easier to
+   # install later.
+   rm ${P}/doc/adminguide/* || die
+   unpack ${P}-docs.tar.bz2
+   fi
+}
+
+src_configure() {
+   local slot_bin_dir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/bin"
+   use perl && myconf=" --with-perltools=\"${slot_bin_dir}\""
+   postgres-multi_foreach econf ${myconf} \
+  
--with-pgconfigdir="${slot_bin_dir}" \
+  
--with-slonybindir="${slot_bin_dir}"
+}
+
+src_install() {
+   postgres-multi_foreach emake DESTDIR="${D}" install
+
+   dodoc README SAMPLE TODO UPGRADING share/slon.conf-sample
+   use doc && postgres-multi_forbest dodoc -r doc/adminguide
+
+   newinitd "${FILESDIR}"/slony1.init slony1
+   newconfd "${FILESDIR}"/slony1.conf slony1
+}
+
+pkg_postinst() {
+   # Slony-I installs its executables into a directory that is
+   # processed by the PostgreSQL eselect module. Call it here so that
+   # the symlinks will be created.
+   ebegin "Refreshing PostgreSQL $(postgresql-config show) symlinks"
+   postgresql-config update
+   eend $?
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2020-12-03 Thread Aaron W. Swenson
commit: 474de973212a8f2d195a042229e1a1cc031c77ae
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu Dec  3 14:30:07 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Thu Dec  3 14:30:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=474de973

dev-db/slony1: Update Homepage

Signed-off-by: Aaron W. Swenson  gentoo.org>

 dev-db/slony1/slony1-2.2.9.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-db/slony1/slony1-2.2.9.ebuild 
b/dev-db/slony1/slony1-2.2.9.ebuild
index bd13243822d..0e854d2ba2c 100644
--- a/dev-db/slony1/slony1-2.2.9.ebuild
+++ b/dev-db/slony1/slony1-2.2.9.ebuild
@@ -11,11 +11,11 @@ inherit postgres-multi
 IUSE="doc perl"
 
 DESCRIPTION="A replication system for the PostgreSQL Database Management 
System"
-HOMEPAGE="http://slony.info/;
+HOMEPAGE="https://slony.info/;
 
 MAJ_PV=$(ver_cut 1-2)
-SRC_URI="https://www.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
-   doc? ( 
https://www.slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2 )
+SRC_URI="https://slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
+   doc? ( https://slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2 )
 "
 
 LICENSE="BSD GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2020-12-03 Thread Aaron W. Swenson
commit: 4e38b1d2fb09b87133204eb96e14dd257eb4c9d6
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu Dec  3 14:22:35 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Thu Dec  3 14:22:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e38b1d2

dev-db/slony1: Bump to 2.2.9

Bug: https://bugs.gentoo.org/735696
Signed-off-by: Aaron W. Swenson  gentoo.org>

 dev-db/slony1/Manifest|  2 ++
 dev-db/slony1/slony1-2.2.9.ebuild | 74 +++
 2 files changed, 76 insertions(+)

diff --git a/dev-db/slony1/Manifest b/dev-db/slony1/Manifest
index d2aa25d1b4c..bd159cdfd87 100644
--- a/dev-db/slony1/Manifest
+++ b/dev-db/slony1/Manifest
@@ -2,3 +2,5 @@ DIST slony1-2.2.6-docs.tar.bz2 1450956 BLAKE2B 
949d0736eb9ab021767b80b4240e30a8c
 DIST slony1-2.2.6.tar.bz2 1465709 BLAKE2B 
87e581638aab5ac9f51437fc43b65f200c29e012fa2b5331d4a7972359bb345c8d5aec9917fbc348ce8338115f8270d6e55025905aa5aba642090a8486d0a3fc
 SHA512 
5aeadb9ed72b83d303596e4f8513409a1f826f25fe283ca6aa969a7563172bbc5f5360f876fa87780f6a6fc70cb55688a2daf678b9cf91972a3c403cb76184b8
 DIST slony1-2.2.7-docs.tar.bz2 252020 BLAKE2B 
315d54c008fca121fac12385602e729c7bb6a7a90db502165625c1138da6b87f147410555ca6bc315ba766fd6fed22b6c5dcbe06c9481dd37b9e9c8832209b02
 SHA512 
7735aae634788acae77eb2cc64f51a851e3b804fb1ca860eddc237734aa6182bd7dfcdae485cd89682c413f55003ea67d91c4c24922b4fdef79ac34793022e56
 DIST slony1-2.2.7.tar.bz2 1464923 BLAKE2B 
aee11f92d634a6c2eaf84dd48faf6cac7a27956474aaa9070f1d4fad3e70b0af09475abda149e096f1b238d68237c0b43b18880440bd4c2d66f5c0f4ad789e99
 SHA512 
22700e1574c91d4a4be5b78aac967eebc039440897364780891c2c76ed5b8e07c03205f0fbcd4870ee7c620d62b175987c46c43750524c6e5f9009044cc24f9a
+DIST slony1-2.2.9-docs.tar.bz2 1445251 BLAKE2B 
eafd17370e333a706fd563440b7948513db19a05e23f6a0a118e0f8927b5b52c99f46953c3c9ce2d8e9f04371a35ff390e0e542f295f4e926b7002642fc913b0
 SHA512 
88d1c26d668b4a021c7b53cb5c2a9b140485595460d1444997ae49e4b77910f58860d603777f1836fdfa1231d2e44ad5cdf8e82c0a03df5278c9de7de3101c5b
+DIST slony1-2.2.9.tar.bz2 1464548 BLAKE2B 
6a2f3e21679ed1542066016bdc9e97aa7b5885fe15770d5015f26deb16e4d9634b930d9f13a8dbba6b1e89bf28cdcc28b3181f12efbf9b549a75c6e62755c099
 SHA512 
c42d7604ae2eda9b83bfa608ca13a4a25b2a4b77301a591b9308eda964d263490a02acdfd5b1a7e7751c24b2a7cb5d9410c58deaf82bdb3c422456af65c2b3f5

diff --git a/dev-db/slony1/slony1-2.2.9.ebuild 
b/dev-db/slony1/slony1-2.2.9.ebuild
new file mode 100644
index 000..bd13243822d
--- /dev/null
+++ b/dev-db/slony1/slony1-2.2.9.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+POSTGRES_COMPAT=( 9.{5..6} {10..13} )
+POSTGRES_USEDEP="server,threads"
+
+inherit postgres-multi
+
+IUSE="doc perl"
+
+DESCRIPTION="A replication system for the PostgreSQL Database Management 
System"
+HOMEPAGE="http://slony.info/;
+
+MAJ_PV=$(ver_cut 1-2)
+SRC_URI="https://www.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
+   doc? ( 
https://www.slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2 )
+"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="${POSTGRES_DEP}
+   perl? ( dev-perl/DBD-Pg )
+"
+RDEPEND=${DEPEND}
+
+REQUIRE_USE="${POSTGRES_REQ_USE}"
+
+# Testing requires a more complex setup than we benefit from being able
+# to perform.
+# https://slony.info/documentation/2.2/testing.html
+RESTRICT="test"
+
+src_unpack() {
+   unpack ${P}.tar.bz2
+
+   if use doc ; then
+   # The docs tarball will unpack over the source directory. So, we
+   # clear the adminguide directory now to make it easier to
+   # install later.
+   rm ${P}/doc/adminguide/* || die
+   unpack ${P}-docs.tar.bz2
+   fi
+}
+
+src_configure() {
+   local slot_bin_dir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/bin"
+   use perl && myconf=" --with-perltools=\"${slot_bin_dir}\""
+   postgres-multi_foreach econf ${myconf} \
+  
--with-pgconfigdir="${slot_bin_dir}" \
+  
--with-slonybindir="${slot_bin_dir}"
+}
+
+src_install() {
+   postgres-multi_foreach emake DESTDIR="${D}" install
+
+   dodoc README SAMPLE TODO UPGRADING share/slon.conf-sample
+   use doc && postgres-multi_forbest dodoc -r doc/adminguide
+
+   newinitd "${FILESDIR}"/slony1.init slony1
+   newconfd "${FILESDIR}"/slony1.conf slony1
+}
+
+pkg_postinst() {
+   # Slony-I installs its executables into a directory that is
+   # processed by the PostgreSQL eselect module. Call it here so that
+   # the symlinks will be created.
+   ebegin "Refreshing PostgreSQL $(postgresql-config show) symlinks"
+   postgresql-config update
+   eend $?
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2020-08-13 Thread Aaron W. Swenson
commit: e3c3c9febb936a7b17f40b465a9c3e04853118c6
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Fri Aug 14 00:46:32 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Fri Aug 14 00:46:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3c3c9fe

dev-db/slony1: Dropping Pg 9.4 Support

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Aaron W. Swenson  gentoo.org>

 dev-db/slony1/slony1-2.2.6.ebuild | 4 ++--
 dev-db/slony1/slony1-2.2.7.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-db/slony1/slony1-2.2.6.ebuild 
b/dev-db/slony1/slony1-2.2.6.ebuild
index a3e2265b26e..6ea02b10d27 100644
--- a/dev-db/slony1/slony1-2.2.6.ebuild
+++ b/dev-db/slony1/slony1-2.2.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
 
-POSTGRES_COMPAT=( 9.{4..6} 10 )
+POSTGRES_COMPAT=( 9.{5..6} 10 )
 POSTGRES_USEDEP="server,threads"
 
 inherit eutils postgres-multi versionator

diff --git a/dev-db/slony1/slony1-2.2.7.ebuild 
b/dev-db/slony1/slony1-2.2.7.ebuild
index 1e4c19cfd28..d0edb6f89da 100644
--- a/dev-db/slony1/slony1-2.2.7.ebuild
+++ b/dev-db/slony1/slony1-2.2.7.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
 
-POSTGRES_COMPAT=( 9.{4..6} {10..11} )
+POSTGRES_COMPAT=( 9.{5..6} {10..11} )
 POSTGRES_USEDEP="server,threads"
 
 inherit eutils postgres-multi versionator



[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2019-06-16 Thread Aaron W. Swenson
commit: 5d86a8754b6e3c4d22f15d277b9e7f234e794529
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun Jun 16 10:34:11 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Sun Jun 16 10:39:00 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d86a875

dev-db/slony1: Bump to 2.2.7

Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Aaron W. Swenson  gentoo.org>

 dev-db/slony1/Manifest|  2 ++
 dev-db/slony1/slony1-2.2.7.ebuild | 62 +++
 2 files changed, 64 insertions(+)

diff --git a/dev-db/slony1/Manifest b/dev-db/slony1/Manifest
index 342363cca8f..d2aa25d1b4c 100644
--- a/dev-db/slony1/Manifest
+++ b/dev-db/slony1/Manifest
@@ -1,2 +1,4 @@
 DIST slony1-2.2.6-docs.tar.bz2 1450956 BLAKE2B 
949d0736eb9ab021767b80b4240e30a8cd11daa218cac6d722827a8db98f2b54cc093031e02d0cd14cb1eb60d56dc160dcd1c2e0708e7228fdac31ef26d2fcf4
 SHA512 
b5a870d5688ca24c0a9012d7da539917c74ee697f1b1ae663ead3cb1032345c0d8f5fc5bddc2ca2fec5d738fb9ca74822343cce8739b3b4b478928f26d214a0d
 DIST slony1-2.2.6.tar.bz2 1465709 BLAKE2B 
87e581638aab5ac9f51437fc43b65f200c29e012fa2b5331d4a7972359bb345c8d5aec9917fbc348ce8338115f8270d6e55025905aa5aba642090a8486d0a3fc
 SHA512 
5aeadb9ed72b83d303596e4f8513409a1f826f25fe283ca6aa969a7563172bbc5f5360f876fa87780f6a6fc70cb55688a2daf678b9cf91972a3c403cb76184b8
+DIST slony1-2.2.7-docs.tar.bz2 252020 BLAKE2B 
315d54c008fca121fac12385602e729c7bb6a7a90db502165625c1138da6b87f147410555ca6bc315ba766fd6fed22b6c5dcbe06c9481dd37b9e9c8832209b02
 SHA512 
7735aae634788acae77eb2cc64f51a851e3b804fb1ca860eddc237734aa6182bd7dfcdae485cd89682c413f55003ea67d91c4c24922b4fdef79ac34793022e56
+DIST slony1-2.2.7.tar.bz2 1464923 BLAKE2B 
aee11f92d634a6c2eaf84dd48faf6cac7a27956474aaa9070f1d4fad3e70b0af09475abda149e096f1b238d68237c0b43b18880440bd4c2d66f5c0f4ad789e99
 SHA512 
22700e1574c91d4a4be5b78aac967eebc039440897364780891c2c76ed5b8e07c03205f0fbcd4870ee7c620d62b175987c46c43750524c6e5f9009044cc24f9a

diff --git a/dev-db/slony1/slony1-2.2.7.ebuild 
b/dev-db/slony1/slony1-2.2.7.ebuild
new file mode 100644
index 000..1e4c19cfd28
--- /dev/null
+++ b/dev-db/slony1/slony1-2.2.7.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+POSTGRES_COMPAT=( 9.{4..6} {10..11} )
+POSTGRES_USEDEP="server,threads"
+
+inherit eutils postgres-multi versionator
+
+IUSE="doc perl"
+
+DESCRIPTION="A replication system for the PostgreSQL Database Management 
System"
+HOMEPAGE="http://slony.info/;
+
+# ${P}-docs.tar.bz2 contains man pages as well as additional documentation
+MAJ_PV=$(get_version_component_range 1-2)
+SRC_URI="http://main.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
+
http://main.slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2;
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="${POSTGRES_DEP}
+   perl? ( dev-perl/DBD-Pg )
+"
+
+RDEPEND=${DEPEND}
+
+REQUIRE_USE="${POSTGRES_REQ_USE}"
+
+src_configure() {
+   local slot_bin_dir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/bin"
+   use perl && myconf=" --with-perltools=\"${slot_bin_dir}\""
+   postgres-multi_foreach econf ${myconf} \
+  
--with-pgconfigdir="${slot_bin_dir}" \
+  
--with-slonybindir="${slot_bin_dir}"
+}
+
+src_install() {
+   postgres-multi_foreach emake DESTDIR="${D}" install
+
+   dodoc INSTALL README SAMPLE TODO UPGRADING share/slon.conf-sample
+
+   if use doc ; then
+   cd "${S}"/doc
+   dohtml -r *
+   fi
+
+   newinitd "${FILESDIR}"/slony1.init slony1
+   newconfd "${FILESDIR}"/slony1.conf slony1
+}
+
+pkg_postinst() {
+   # Slony-I installs its executables into a directory that is
+   # processed by the PostgreSQL eselect module. Call it here so that
+   # the symlinks will be created.
+   ebegin "Refreshing PostgreSQL $(postgresql-config show) symlinks"
+   postgresql-config update
+   eend $?
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2019-06-15 Thread Aaron W. Swenson
commit: d94a4a275355f4c8a1a80aee221d613b6805cbc0
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sat Jun 15 10:49:03 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Sat Jun 15 10:49:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d94a4a27

dev-db/slony1: Remove POSTGRES_COMPAT 9.3

Signed-off-by: Aaron W. Swenson  gentoo.org>

 dev-db/slony1/slony1-2.2.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/slony1/slony1-2.2.6.ebuild 
b/dev-db/slony1/slony1-2.2.6.ebuild
index c390f13f5a6..a3e2265b26e 100644
--- a/dev-db/slony1/slony1-2.2.6.ebuild
+++ b/dev-db/slony1/slony1-2.2.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
 
-POSTGRES_COMPAT=( 9.{3..6} 10 )
+POSTGRES_COMPAT=( 9.{4..6} 10 )
 POSTGRES_USEDEP="server,threads"
 
 inherit eutils postgres-multi versionator



[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2018-05-13 Thread Aaron Swenson
commit: 8351340823c926e4d8974eb76aef6d5801501fc4
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun May 13 16:48:36 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Sun May 13 16:48:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83513408

dev-db/slony1: Remove <9.3 from POSTGRES_COMPAT

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-db/slony1/slony1-2.2.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/slony1/slony1-2.2.6.ebuild 
b/dev-db/slony1/slony1-2.2.6.ebuild
index 6bc6c35ed41..c390f13f5a6 100644
--- a/dev-db/slony1/slony1-2.2.6.ebuild
+++ b/dev-db/slony1/slony1-2.2.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="6"
 
-POSTGRES_COMPAT=( 9.{2..6} 10 )
+POSTGRES_COMPAT=( 9.{3..6} 10 )
 POSTGRES_USEDEP="server,threads"
 
 inherit eutils postgres-multi versionator



[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/, dev-db/slony1/files/

2018-03-09 Thread Aaron Swenson
commit: af7bf25a30ffe5beb3b1bde26a568fd2bdc318ca
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Fri Mar  9 16:33:20 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Fri Mar  9 16:33:20 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af7bf25a

dev-db/slony1: Cleanup old

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-db/slony1/Manifest |  6 ---
 dev-db/slony1/files/slony1-2.1.2-ldflags.patch | 17 --
 dev-db/slony1/slony1-2.1.3.ebuild  | 70 -
 dev-db/slony1/slony1-2.1.4.ebuild  | 72 --
 dev-db/slony1/slony1-2.2.5-r1.ebuild   | 62 --
 5 files changed, 227 deletions(-)

diff --git a/dev-db/slony1/Manifest b/dev-db/slony1/Manifest
index a6c3788cac1..342363cca8f 100644
--- a/dev-db/slony1/Manifest
+++ b/dev-db/slony1/Manifest
@@ -1,8 +1,2 @@
-DIST slony1-2.1.3-docs.tar.bz2 1314210 BLAKE2B 
84b3897c5854f2a027f817dc8ef567d52b1cb1244215fef48427688d5a58681cbfec33c568688bc71994711c458e185e7e0e2425d90009051891c2f70d33acd9
 SHA512 
a37bc8432d19833c9cbcc7494c783fabce6d2b5feedf4001e031ff5e5039630497e9b7e4ca4d237d53f41109368cd33708400e64f0c2f45cef3a9916ad9cf4e7
-DIST slony1-2.1.3.tar.bz2 1512693 BLAKE2B 
29468c4c408b531ca6b887cc04f922515a386dfb9d752748af0a3b552450bfbca2c9e34fb6739d82f6bfa42b5d1e59448bf7c20b527e3470fc715a7ad8c6b3dc
 SHA512 
f02320e3bb85848b93bc43a7d4e0dbb367afcb8af2100cda840888dcd219fead78bd1ac927493bd173cef2bc1195ba4f860679eed0606dd0a2cf9652d671b493
-DIST slony1-2.1.4-docs.tar.bz2 1360684 BLAKE2B 
53c59c825f7bda6df474758202f3e3e8c7a5344ca693a7b93c5543e322fc62974b080ab37b16eb3cb3858bc1420e7db3f52a7bfbb5b5160c2a6b9bdbe740deae
 SHA512 
87d9db938a849171c15d70213ac770f0daf34a930e141411c8a0a9d5f5ca6375c6c0a2ebd88edfbf4144dc81ccaab6494ae8762e3bff863551aa9846d6abc545
-DIST slony1-2.1.4.tar.bz2 1515755 BLAKE2B 
7c8d36828ce62051ed286f36faccbe53ada07bf4276db2da24bb4c4c5991e80714035b7e096d847ba016a2b228ebd684b95191c3fe88023b6317d142622173f2
 SHA512 
b882146a158adee27f360fc34d3c64144efe3c3a7d63574a4450cb1eb3dac7d75df19d17e75ffc72f656d27b5c5b7fc64bc536de9753a36fe96848b562e42883
-DIST slony1-2.2.5-docs.tar.bz2 1449297 BLAKE2B 
7f3037f17a7f36a83db945488203cde5e62b042b87350089805ac6e4eada9ad3ccdd17081c8165b14abe7f425c729d89263d054719c9da5ac6746dc64133c1de
 SHA512 
cdd08fcea56f29e8e944cd975b613747cfcab75e70d88afdec79b2ede96dc2d1b35b294cd12c522780e513b4cd26c43da401d9570ca67759dbb2271797a380ac
-DIST slony1-2.2.5.tar.bz2 1466439 BLAKE2B 
38716f739e82f249ea97bb1412136ed1ef2ddb123f9b82385ee49deca426fda49a40723c559adfd8e948e8e894f9eb398e42093d9b926fa23f70030394243250
 SHA512 
06c5d8c136b1560aa6a3b1b7bfbad09fb6bbff7e3c530ceaf0279d4564dd1518c69647368deac9eb19ea5059a2d78fef26f62bd34315f5f3415ca0f5cb0992aa
 DIST slony1-2.2.6-docs.tar.bz2 1450956 BLAKE2B 
949d0736eb9ab021767b80b4240e30a8cd11daa218cac6d722827a8db98f2b54cc093031e02d0cd14cb1eb60d56dc160dcd1c2e0708e7228fdac31ef26d2fcf4
 SHA512 
b5a870d5688ca24c0a9012d7da539917c74ee697f1b1ae663ead3cb1032345c0d8f5fc5bddc2ca2fec5d738fb9ca74822343cce8739b3b4b478928f26d214a0d
 DIST slony1-2.2.6.tar.bz2 1465709 BLAKE2B 
87e581638aab5ac9f51437fc43b65f200c29e012fa2b5331d4a7972359bb345c8d5aec9917fbc348ce8338115f8270d6e55025905aa5aba642090a8486d0a3fc
 SHA512 
5aeadb9ed72b83d303596e4f8513409a1f826f25fe283ca6aa969a7563172bbc5f5360f876fa87780f6a6fc70cb55688a2daf678b9cf91972a3c403cb76184b8

diff --git a/dev-db/slony1/files/slony1-2.1.2-ldflags.patch 
b/dev-db/slony1/files/slony1-2.1.2-ldflags.patch
deleted file mode 100644
index 038b2ee20fb..000
--- a/dev-db/slony1/files/slony1-2.1.2-ldflags.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -Naur a/makefiles/Makefile.linux b/makefiles/Makefile.linux
 a/makefiles/Makefile.linux 2012-01-25 14:13:40.0 -0500
-+++ b/makefiles/Makefile.linux 2012-02-22 06:15:45.652523000 -0500
-@@ -12,9 +12,9 @@
- endif
- 
- %.so: %.o
--  $(CC) -shared -o $@ $<
-+  $(CC) $(LDFLAGS) -shared -o $@ $<
- 
- %.o: %.c
--  $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
-+  $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -c -o $@ $<
- 
--sqlmansect = 7
-\ No newline at end of file
-+sqlmansect = 7

diff --git a/dev-db/slony1/slony1-2.1.3.ebuild 
b/dev-db/slony1/slony1-2.1.3.ebuild
deleted file mode 100644
index 24e4a2e232b..000
--- a/dev-db/slony1/slony1-2.1.3.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit eutils versionator
-
-IUSE="doc perl"
-
-DESCRIPTION="A replication system for the PostgreSQL Database Management 
System"
-HOMEPAGE="http://slony.info/;
-
-# ${P}-docs.tar.bz2 contains man pages as well as additional documentation
-MAJ_PV=$(get_version_component_range 1-2)
-SRC_URI="http://main.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
-
http://main.slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2;
-
-LICENSE="BSD GPL-2"

[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2018-03-05 Thread Sergei Trofimovich
commit: 2ab8640f0a20b2e4440ba7ae9b2cc6e1cfa40941
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Mar  5 23:36:11 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Mar  5 23:36:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ab8640f

dev-db/slony1: stable 2.2.6 for ppc, bug #635086

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="ppc"

 dev-db/slony1/slony1-2.2.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/slony1/slony1-2.2.6.ebuild 
b/dev-db/slony1/slony1-2.2.6.ebuild
index dbb0ae46d78..6bc6c35ed41 100644
--- a/dev-db/slony1/slony1-2.2.6.ebuild
+++ b/dev-db/slony1/slony1-2.2.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -20,7 +20,7 @@ 
SRC_URI="http://main.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
+KEYWORDS="amd64 ppc x86"
 
 DEPEND="${POSTGRES_DEP}
perl? ( dev-perl/DBD-Pg )



[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2017-12-29 Thread Mikle Kolyada
commit: ab6dc838f4cd4220a961d4a848c7595db5bc3b18
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Dec 29 19:36:24 2017 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Dec 29 19:36:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab6dc838

dev-db/slony1: amd64 stable wrt bug #635086

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-db/slony1/slony1-2.2.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/slony1/slony1-2.2.6.ebuild 
b/dev-db/slony1/slony1-2.2.6.ebuild
index a6cff37e04b..dbb0ae46d78 100644
--- a/dev-db/slony1/slony1-2.2.6.ebuild
+++ b/dev-db/slony1/slony1-2.2.6.ebuild
@@ -20,7 +20,7 @@ 
SRC_URI="http://main.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
+KEYWORDS="amd64 ~ppc x86"
 
 DEPEND="${POSTGRES_DEP}
perl? ( dev-perl/DBD-Pg )



[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2017-12-20 Thread Thomas Deutschmann
commit: 3af9545bd932a599e2ad6e77ec10bc56dd7b7944
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Dec 20 12:42:15 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Dec 20 12:42:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3af9545b

dev-db/slony1: x86 stable (bug #635086)

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-db/slony1/slony1-2.2.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/slony1/slony1-2.2.6.ebuild 
b/dev-db/slony1/slony1-2.2.6.ebuild
index c165df4a991..a6cff37e04b 100644
--- a/dev-db/slony1/slony1-2.2.6.ebuild
+++ b/dev-db/slony1/slony1-2.2.6.ebuild
@@ -20,7 +20,7 @@ 
SRC_URI="http://main.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~ppc x86"
 
 DEPEND="${POSTGRES_DEP}
perl? ( dev-perl/DBD-Pg )



[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2017-12-12 Thread Aaron Swenson
commit: e08edad4e0a244c3fbfcb2bff041472ab77a5a79
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Tue Dec 12 21:57:15 2017 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Tue Dec 12 21:58:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e08edad4

dev-db/slony1: Restrict Test

Closes: https://bugs.gentoo.org/624416
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-db/slony1/slony1-2.2.6.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-db/slony1/slony1-2.2.6.ebuild 
b/dev-db/slony1/slony1-2.2.6.ebuild
index 59ee59bcec1..c165df4a991 100644
--- a/dev-db/slony1/slony1-2.2.6.ebuild
+++ b/dev-db/slony1/slony1-2.2.6.ebuild
@@ -30,6 +30,8 @@ RDEPEND=${DEPEND}
 
 REQUIRE_USE="${POSTGRES_REQ_USE}"
 
+RESTRICT="test"
+
 src_configure() {
local slot_bin_dir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/bin"
use perl && myconf=" --with-perltools=\"${slot_bin_dir}\""



[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2017-09-07 Thread Aaron Swenson
commit: 8a308430ebd8a9c4a2261ef42a38b3c271e52acf
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu Sep  7 10:26:37 2017 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Thu Sep  7 10:26:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a308430

dev-db/slony1: Clean up

Remove 2.2.0 through 2.2.5.

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 dev-db/slony1/Manifest| 10 --
 dev-db/slony1/slony1-2.2.0.ebuild | 65 --
 dev-db/slony1/slony1-2.2.1.ebuild | 65 --
 dev-db/slony1/slony1-2.2.2.ebuild | 65 --
 dev-db/slony1/slony1-2.2.3.ebuild | 66 ---
 dev-db/slony1/slony1-2.2.4.ebuild | 66 ---
 dev-db/slony1/slony1-2.2.5.ebuild | 61 
 7 files changed, 398 deletions(-)

diff --git a/dev-db/slony1/Manifest b/dev-db/slony1/Manifest
index e65b378e024..d7e5120866b 100644
--- a/dev-db/slony1/Manifest
+++ b/dev-db/slony1/Manifest
@@ -2,16 +2,6 @@ DIST slony1-2.1.3-docs.tar.bz2 1314210 SHA256 
8588df1b06086809ce0fef7e1348405bf7
 DIST slony1-2.1.3.tar.bz2 1512693 SHA256 
048b94c990afceb892f8f6631268bb66e93a3c630afc694b3a09f051c338790b SHA512 
f02320e3bb85848b93bc43a7d4e0dbb367afcb8af2100cda840888dcd219fead78bd1ac927493bd173cef2bc1195ba4f860679eed0606dd0a2cf9652d671b493
 WHIRLPOOL 
51641f4dfa78210ab0ecc2827932dc06389867c18df6dfb61d8b43c03ad00d2ac09c529e4171ece07139a803ef45f12c15ac14da39e6bb269bb5a0d7a0270943
 DIST slony1-2.1.4-docs.tar.bz2 1360684 SHA256 
e7d8c1939e0e2cf34614940f62c4fc0ce1a52b6b495d8cb2dc2d249756257fc5 SHA512 
87d9db938a849171c15d70213ac770f0daf34a930e141411c8a0a9d5f5ca6375c6c0a2ebd88edfbf4144dc81ccaab6494ae8762e3bff863551aa9846d6abc545
 WHIRLPOOL 
14c455ddcfb64d26d1613d0a6372cd86ad2906d7c1ea438c64075292920cd53b80601a8f5c45d0605b2c878b7dbdc308a385eadd02d557f6d982eedecd0c764a
 DIST slony1-2.1.4.tar.bz2 1515755 SHA256 
90dc746bb9f12a051f9f563365e693ffd81f07a2353debfc4b8a4d0884ca72a4 SHA512 
b882146a158adee27f360fc34d3c64144efe3c3a7d63574a4450cb1eb3dac7d75df19d17e75ffc72f656d27b5c5b7fc64bc536de9753a36fe96848b562e42883
 WHIRLPOOL 
c0b95f72049b7f90caf1c2259c8f97411f0b1f1d5c9a6cc4fd6b1b2e677dec3fbbea84ffaffb0ba15caa40203923c8272ac6cccae8e08a51f83c62b765ce2580
-DIST slony1-2.2.0-docs.tar.bz2 1429244 SHA256 
4a97d3c3e9e8e12257a6fcabfeb65ced02b34f211f9154a0d3d8c85dda575070 SHA512 
2d55e8d3066525e3bf3f70d5e9ea0f12279dbdc4708c5fff0076318c6cf70baa1d7b388e1846bacc65f1a42820113d38029afbfd8800cfd721c003f120f9b1cb
 WHIRLPOOL 
afe1d0e83a6e45c7f157c5eafe6bebd0bc372c7aec1ab126309fa026484a8175e37b99d6fc2ace31f0bbf84e651a62965eb7a532e5bc4a3c1ef3f5a2c71fb46d
-DIST slony1-2.2.0.tar.bz2 1467410 SHA256 
38e0c78d50ab882bc0cff1801d28b69ef1f7d99a6e55b06fa20e2f4a08fa6049 SHA512 
4d05dee4028408c78da068742b4adbcb2c1d37bfb480047f6ee4c59d167e13d340c2b644c45911d29dda8d626aac6fe79cad7f51a81bc5edaff14fa10be7b369
 WHIRLPOOL 
31253f8d760b16c0e1c77ffc83d8f936d6225b83124727603525180b2d134c6d650cc8b5c59334a3cd29ee058e59b539c1f5d857585b8d9a22631aba4ace2798
-DIST slony1-2.2.1-docs.tar.bz2 1445906 SHA256 
7c8fdbe35a5738f38dd4a7774e3e5b3413916da6e3c7fba3bd5554b61e003d30 SHA512 
6c213890d45612bd30f995286b6e7ce6c777274a9b96e040794707c1b28bf1337d27d8c1495e0824aafe950e615b2fea01f2c84cf491391132d29cf3fd28d322
 WHIRLPOOL 
b94715e210c6db12e1d431bba2b602f6b8346226a71b058756acf73b449e42c5397979a19f7bd3074a7c8c9b707d001e09ec22be445e161600137e443632af1d
-DIST slony1-2.2.1.tar.bz2 1466866 SHA256 
8606c2be3ad219fb8d482e5a0f836e37d26df3b49d5bce099fc71fd95961e960 SHA512 
0b47180bb16e6d25eb3e6a280fe91bd2448bbf4b9ee10a8811f16bf0c2dbc7eb52d3c029d1fac5e3ff8f0621da3bc174d7deb7b72000c631664131aeb4c25e74
 WHIRLPOOL 
9c61161fbc87d1ad30dba0ec0274801109c30f8f4f33840337737c7201bb622739b313728ae1ab2c26864dfe8c87e295642000dde034795ddd81babaaef5dcbc
-DIST slony1-2.2.2-docs.tar.bz2 1444845 SHA256 
f025b42a29e32e65c74b18618fafa552fa878acb8daf0d6cf2bfc926020b011d SHA512 
8b3fc427f259a71dd4fb1d914d89d52f320ba2c5f034ecb069f0bf8f4f4a1f5e37b1f0ad4bec7adf0af4f18503421ad41f51a41a0c6b74675bf7dcb1c65c5971
 WHIRLPOOL 
6c32adffd10c86a40c1235f6266675c9e78ae381de23be08291007983480337c65e5ac83d496655f950164e7aefbdf5ce25bc448097158523bad37ddc46b0371
-DIST slony1-2.2.2.tar.bz2 1466576 SHA256 
ef5f0fa6d95fd3a6a6b2fb5bdb4610ba437b85d2ad9210caabcfb1a9a98405d2 SHA512 
320d871fc0fa58bd8c7bc4af50f160ff8d8ea008fed3cb69aa15de14adc6bcfbee2d9659fbf196140af8764d192a5914f2a0b1e486c43533b101b91a73dca36c
 WHIRLPOOL 
cf9be62309fe0fa80aa9f2bbffea68db2af453d391f27884b1a9cb0f16883f002c340913bfa58cf9dbc2ec9b6c931d0c1681191e96f9e0d8818ddcdc428fb8df
-DIST slony1-2.2.3-docs.tar.bz2 1448128 SHA256 
de073555cd1d39ad7a9204eb21a7b7bced6cd391983ee34b914a384b544b9617 SHA512 
c3be9473c6e248a9f2f96ddde0f4d4bb3212b2ff9ff0db341de0f2c5908a770c5b4a0750d9cb65d0b4f2a19c6d172871fd0cdffef2731c70154c1e1fb6bff1f0
 WHIRLPOOL 

[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2017-09-07 Thread Aaron Swenson
commit: 4d36eed6c7bea83bb427a9afddfee91622a42526
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu Sep  7 10:24:29 2017 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Thu Sep  7 10:24:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d36eed6

dev-db/slony1: 2.2.6 Version Bump

2.2.6 brings with it support for PostgreSQL 10.

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 dev-db/slony1/Manifest|  2 ++
 dev-db/slony1/slony1-2.2.6.ebuild | 62 +++
 2 files changed, 64 insertions(+)

diff --git a/dev-db/slony1/Manifest b/dev-db/slony1/Manifest
index 9eebb21fd0d..e65b378e024 100644
--- a/dev-db/slony1/Manifest
+++ b/dev-db/slony1/Manifest
@@ -14,3 +14,5 @@ DIST slony1-2.2.4-docs.tar.bz2 1448892 SHA256 
0417194a9245e615dedc00ef463e1357df
 DIST slony1-2.2.4.tar.bz2 1467776 SHA256 
846a878f50de520d151e7f76a66d9b9845e94beb8820727bf84ab522a73e65b5 SHA512 
951ecb07ae9f8478affeeb5c968530f597c203b24341b600057107f53adcdc53afce7dd21893700bb8d0ebd26fceb0ebc60917c9f5992b315a2bce47a1d57867
 WHIRLPOOL 
8a29c24e735f140a915779b81a9f8b5aeaa7c75a4dc122fb8ba322c10aa8be8dfe38ec853f38a503f595b7685759241a169c430cf2a9ef6ddb7ebaa1b3f4448e
 DIST slony1-2.2.5-docs.tar.bz2 1449297 SHA256 
7afd749215ca63d5f808c2c199096d4d665923b277edaf75b01e4a8bfdf90472 SHA512 
cdd08fcea56f29e8e944cd975b613747cfcab75e70d88afdec79b2ede96dc2d1b35b294cd12c522780e513b4cd26c43da401d9570ca67759dbb2271797a380ac
 WHIRLPOOL 
18206b34d03cb685389398f00d681707471b0cbf9cb3dcefb4cc99b24c35f37c10acc32e573a1c255f85881700efde9e1c8c3948596ebc84fbf5254af866b147
 DIST slony1-2.2.5.tar.bz2 1466439 SHA256 
6f6dbd9619c615ed68bf6341a8158e42fc0adf6f5b609e6f8e4a0a0e37815241 SHA512 
06c5d8c136b1560aa6a3b1b7bfbad09fb6bbff7e3c530ceaf0279d4564dd1518c69647368deac9eb19ea5059a2d78fef26f62bd34315f5f3415ca0f5cb0992aa
 WHIRLPOOL 
3b9b96c41fbe9da03362a866d3bc81da38be82625a9d25378b69cf322ba6aba05fc15f0725ba3f878e4a9d2b5e6609e50ad6d602f480e6e1482d1953135ecb14
+DIST slony1-2.2.6-docs.tar.bz2 1450956 SHA256 
418030209a677845127871eb37d324317acd68a5cfda1e0301ec6f0776c39118 SHA512 
b5a870d5688ca24c0a9012d7da539917c74ee697f1b1ae663ead3cb1032345c0d8f5fc5bddc2ca2fec5d738fb9ca74822343cce8739b3b4b478928f26d214a0d
 WHIRLPOOL 
bae6e88360d3026feed4029ca9b222966631a3b5608876072de4a1955c9607762dae434281fa3762184e133b5aa2f9a3dff264f1e15caaad7c51ea4e73c778fa
+DIST slony1-2.2.6.tar.bz2 1465709 SHA256 
79cf246741bc3f95f6890f2dbed5712d6e5a127bf1f442cf8af102d23de0919c SHA512 
5aeadb9ed72b83d303596e4f8513409a1f826f25fe283ca6aa969a7563172bbc5f5360f876fa87780f6a6fc70cb55688a2daf678b9cf91972a3c403cb76184b8
 WHIRLPOOL 
464c52f2063abcd33a0df0f266b538605584accff5461fea2780df96290c4607783b3a49d636f5f8d83622a6f1b5bbbac463be6f829a7c85f06ba6f406859007

diff --git a/dev-db/slony1/slony1-2.2.6.ebuild 
b/dev-db/slony1/slony1-2.2.6.ebuild
new file mode 100644
index 000..59ee59bcec1
--- /dev/null
+++ b/dev-db/slony1/slony1-2.2.6.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+POSTGRES_COMPAT=( 9.{2..6} 10 )
+POSTGRES_USEDEP="server,threads"
+
+inherit eutils postgres-multi versionator
+
+IUSE="doc perl"
+
+DESCRIPTION="A replication system for the PostgreSQL Database Management 
System"
+HOMEPAGE="http://slony.info/;
+
+# ${P}-docs.tar.bz2 contains man pages as well as additional documentation
+MAJ_PV=$(get_version_component_range 1-2)
+SRC_URI="http://main.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
+
http://main.slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2;
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="${POSTGRES_DEP}
+   perl? ( dev-perl/DBD-Pg )
+"
+
+RDEPEND=${DEPEND}
+
+REQUIRE_USE="${POSTGRES_REQ_USE}"
+
+src_configure() {
+   local slot_bin_dir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/bin"
+   use perl && myconf=" --with-perltools=\"${slot_bin_dir}\""
+   postgres-multi_foreach econf ${myconf} \
+  
--with-pgconfigdir="${slot_bin_dir}" \
+  
--with-slonybindir="${slot_bin_dir}"
+}
+
+src_install() {
+   postgres-multi_foreach emake DESTDIR="${D}" install
+
+   dodoc INSTALL README SAMPLE TODO UPGRADING share/slon.conf-sample
+
+   if use doc ; then
+   cd "${S}"/doc
+   dohtml -r *
+   fi
+
+   newinitd "${FILESDIR}"/slony1.init slony1
+   newconfd "${FILESDIR}"/slony1.conf slony1
+}
+
+pkg_postinst() {
+   # Slony-I installs its executables into a directory that is
+   # processed by the PostgreSQL eselect module. Call it here so that
+   # the symlinks will be created.
+   ebegin "Refreshing PostgreSQL $(postgresql-config show) symlinks"
+   postgresql-config update
+   eend $?
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2017-07-09 Thread Aaron Swenson
commit: 5e6704a19a5161f30ec02498b62a0af91de62c67
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Mon Jul 10 02:17:12 2017 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Mon Jul 10 02:17:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e6704a1

dev-db/slony1: Use postgres-multi

Now build and install against multiple versions.

 Use flag controlled dependency on the PostgreSQL slots eliminates too
many slots being emerged.

Bug: 399097, 623230

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 dev-db/slony1/slony1-2.2.5-r1.ebuild | 62 
 1 file changed, 62 insertions(+)

diff --git a/dev-db/slony1/slony1-2.2.5-r1.ebuild 
b/dev-db/slony1/slony1-2.2.5-r1.ebuild
new file mode 100644
index 000..a312de46f7a
--- /dev/null
+++ b/dev-db/slony1/slony1-2.2.5-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+POSTGRES_COMPAT=( 9.{2..6} )
+POSTGRES_USEDEP="server,threads"
+
+inherit eutils postgres-multi versionator
+
+IUSE="doc perl"
+
+DESCRIPTION="A replication system for the PostgreSQL Database Management 
System"
+HOMEPAGE="http://slony.info/;
+
+# ${P}-docs.tar.bz2 contains man pages as well as additional documentation
+MAJ_PV=$(get_version_component_range 1-2)
+SRC_URI="http://main.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
+
http://main.slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2;
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="${POSTGRES_DEP}
+   perl? ( dev-perl/DBD-Pg )
+"
+
+RDEPEND=${DEPEND}
+
+REQUIRE_USE="${POSTGRES_REQ_USE}"
+
+src_configure() {
+   local slot_bin_dir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/bin"
+   use perl && myconf=" --with-perltools=\"${slot_bin_dir}\""
+   postgres-multi_foreach econf ${myconf} \
+  
--with-pgconfigdir="${slot_bin_dir}" \
+  
--with-slonybindir="${slot_bin_dir}"
+}
+
+src_install() {
+   postgres-multi_foreach emake DESTDIR="${D}" install
+
+   dodoc INSTALL README SAMPLE TODO UPGRADING share/slon.conf-sample
+
+   if use doc ; then
+   cd "${S}"/doc
+   dohtml -r *
+   fi
+
+   newinitd "${FILESDIR}"/slony1.init slony1
+   newconfd "${FILESDIR}"/slony1.conf slony1
+}
+
+pkg_postinst() {
+   # Slony-I installs its executables into a directory that is
+   # processed by the PostgreSQL eselect module. Call it here so that
+   # the symlinks will be created.
+   ebegin "Refreshing PostgreSQL $(postgresql-config show) symlinks"
+   postgresql-config update
+   eend $?
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/slony1/

2016-10-07 Thread Aaron Swenson
commit: d89ba12f0d45d7e2bcbc3b582101dc01314715a6
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Fri Oct  7 18:00:55 2016 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Fri Oct  7 18:01:25 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d89ba12f

dev-db/slony1: Version Bump

Added 9.5 and 9.6 as suitable dependencies.

Bugs: 584778

Package-Manager: portage-2.2.28

 dev-db/slony1/Manifest|  2 ++
 dev-db/slony1/slony1-2.2.5.ebuild | 62 +++
 2 files changed, 64 insertions(+)

diff --git a/dev-db/slony1/Manifest b/dev-db/slony1/Manifest
index 07bdf09..9eebb21 100644
--- a/dev-db/slony1/Manifest
+++ b/dev-db/slony1/Manifest
@@ -12,3 +12,5 @@ DIST slony1-2.2.3-docs.tar.bz2 1448128 SHA256 
de073555cd1d39ad7a9204eb21a7b7bced
 DIST slony1-2.2.3.tar.bz2 1468030 SHA256 
1321988b437bd3294a07dc5ed85dfa3c35d9413287a49e4503ec47763fa1d3a8 SHA512 
6f762ec722eb844d0c0c2923e2c1bee48c6fbf973cf719553a9f40b090e2ba08885cd089818b17c56a662fe5f35eadb4b060554adcd5abab5a1a250356590519
 WHIRLPOOL 
71686448418a09566c1b5767a598f5ebe943b33cba9664ec7696e70e5d62adc2daa5e2618a6aced0faeac0a621527738cdf2e54553a74dd1c5e08c6850d90e7a
 DIST slony1-2.2.4-docs.tar.bz2 1448892 SHA256 
0417194a9245e615dedc00ef463e1357df09b110ecab860ba45fef7e80dcf2cf SHA512 
4a9ae1179d710b3454068eb92915fa6b96df5e6b9f532f2f0ddc51f2865d8928b94d2a496374f87435751574062987d14568d30e38e7e28535d1b4e845d6
 WHIRLPOOL 
096820fa5276b04d305cdfc17abaf7daf28b95caaa75e15c0807712733c343e37b0d30577a826fc061fc659c170e11079f6bee0a2f3ba605d3e02a8d59c1
 DIST slony1-2.2.4.tar.bz2 1467776 SHA256 
846a878f50de520d151e7f76a66d9b9845e94beb8820727bf84ab522a73e65b5 SHA512 
951ecb07ae9f8478affeeb5c968530f597c203b24341b600057107f53adcdc53afce7dd21893700bb8d0ebd26fceb0ebc60917c9f5992b315a2bce47a1d57867
 WHIRLPOOL 
8a29c24e735f140a915779b81a9f8b5aeaa7c75a4dc122fb8ba322c10aa8be8dfe38ec853f38a503f595b7685759241a169c430cf2a9ef6ddb7ebaa1b3f4448e
+DIST slony1-2.2.5-docs.tar.bz2 1449297 SHA256 
7afd749215ca63d5f808c2c199096d4d665923b277edaf75b01e4a8bfdf90472 SHA512 
cdd08fcea56f29e8e944cd975b613747cfcab75e70d88afdec79b2ede96dc2d1b35b294cd12c522780e513b4cd26c43da401d9570ca67759dbb2271797a380ac
 WHIRLPOOL 
18206b34d03cb685389398f00d681707471b0cbf9cb3dcefb4cc99b24c35f37c10acc32e573a1c255f85881700efde9e1c8c3948596ebc84fbf5254af866b147
+DIST slony1-2.2.5.tar.bz2 1466439 SHA256 
6f6dbd9619c615ed68bf6341a8158e42fc0adf6f5b609e6f8e4a0a0e37815241 SHA512 
06c5d8c136b1560aa6a3b1b7bfbad09fb6bbff7e3c530ceaf0279d4564dd1518c69647368deac9eb19ea5059a2d78fef26f62bd34315f5f3415ca0f5cb0992aa
 WHIRLPOOL 
3b9b96c41fbe9da03362a866d3bc81da38be82625a9d25378b69cf322ba6aba05fc15f0725ba3f878e4a9d2b5e6609e50ad6d602f480e6e1482d1953135ecb14

diff --git a/dev-db/slony1/slony1-2.2.5.ebuild 
b/dev-db/slony1/slony1-2.2.5.ebuild
new file mode 100644
index ..2f1d431
--- /dev/null
+++ b/dev-db/slony1/slony1-2.2.5.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit eutils versionator
+
+IUSE="doc perl"
+
+DESCRIPTION="A replication system for the PostgreSQL Database Management 
System"
+HOMEPAGE="http://slony.info/;
+
+# ${P}-docs.tar.bz2 contains man pages as well as additional documentation
+MAJ_PV=$(get_version_component_range 1-2)
+SRC_URI="http://main.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
+
http://main.slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2;
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="|| (
+   dev-db/postgresql:9.6
+   dev-db/postgresql:9.5
+   dev-db/postgresql:9.4
+   dev-db/postgresql:9.3
+   dev-db/postgresql:9.2
+   dev-db/postgresql:9.1
+   )
+   dev-db/postgresql[server,threads]
+   perl? ( dev-perl/DBD-Pg )
+"
+
+pkg_setup() {
+   local PGSLOT="$(postgresql-config show)"
+   if [[ ${PGSLOT//.} < 91 ]] ; then
+   eerror "You must build ${CATEGORY}/${PN} against PostgreSQL 9.1 
or higher."
+   eerror "Set an appropriate slot with postgresql-config."
+   die "postgresql-config not set to 9.1 or higher."
+   fi
+}
+
+src_configure() {
+   local myconf
+   use perl && myconf='--with-perltools'
+   econf ${myconf}
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   dodoc INSTALL README SAMPLE TODO UPGRADING share/slon.conf-sample
+
+   if use doc ; then
+   cd "${S}"/doc
+   dohtml -r *
+   fi
+
+   newinitd "${FILESDIR}"/slony1.init slony1
+   newconfd "${FILESDIR}"/slony1.conf slony1
+}