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

2024-06-19 Thread Patrick Lauer
commit: 3a38c7c14c76971da4a994426bcce6b7fc93049b
Author: Patrick Lauer  gentoo  org>
AuthorDate: Wed Jun 19 13:18:55 2024 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Thu Jun 20 04:30:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a38c7c1

dev-db/pgpool2: add 4.3.10, 4.4.7

Signed-off-by: Patrick Lauer  gentoo.org>

 dev-db/pgpool2/Manifest  |  2 +
 dev-db/pgpool2/pgpool2-4.3.10.ebuild | 97 
 dev-db/pgpool2/pgpool2-4.4.7.ebuild  | 97 
 3 files changed, 196 insertions(+)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index e03f686b6883..5a02a36343e3 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,3 +1,5 @@
+DIST pgpool-II-4.3.10.tar.gz 4938631 BLAKE2B 
f32d3f8080a8dced76bd448122110223b50928dbdb61db97ac33d9fca38276700d61fdd0002c1af3c2735f4f04964ff3fd17a2d791210337475e658e7fbe0b43
 SHA512 
28cc5b303d7437881b4042ce7ac6b516508f20e7db0ecb9c940900b9bfdb2d9311c9f0e80da7e6aeb2075c36fd19f26ef8e35de788483be653f51f64fa60a37d
 DIST pgpool-II-4.3.8.tar.gz 4939785 BLAKE2B 
fbccfa89311c85394d48c9ff25ce68baea15a80bb87efdf9c7d06280f0a532b8bf656f7ad144b9f813293bf6bd43a7d0cead78fff422eef55598ee2a7cd6380e
 SHA512 
93f623900f24454a1913dcf29be508a47ae3c5f7fd360d3546f48b88b93dcc66886de01a5d9b0f53fb955d1eeded1e5329c3ca1fbca4c3f16aabea79e869d9a3
 DIST pgpool-II-4.4.4.tar.gz 4973024 BLAKE2B 
2fa41442bc9bf677a17d98388f9977b97fb609cdd6f1494d9f4de2356b04de5a3725478381d67cc04a01f3ff964bd3dfe159d9c41c13980e477a5f0c4c198413
 SHA512 
fb80df3df2894e7f2cf820a2b32e04ef6447a8137341db65c3a141679ea0fcbae7d5824c1904cb19aae7b05ef9fe641ac294dbc58cdbc6231444f0c4e508e7dc
 DIST pgpool-II-4.4.5.tar.gz 4992570 BLAKE2B 
638812144e8ac58e56e0b9dbe6aadfa90140c05ed46da1d795d0e22515dacd3a126afa6082881ca84c031693a205c895ea69d01fc7a14f870344bae9b454c57f
 SHA512 
cd2fb2f715aed70d67522ab1852fa7df059d5379f9d4860be82a3d32d78701c5bce75e3e1304eda6a67670475aa367a2631cce517a4d2e4eb6b07c1e74901dd9
+DIST pgpool-II-4.4.7.tar.gz 5024007 BLAKE2B 
701d6b266156c565e562b926aa8c20ebfdc3e318997e9935f58b3f724fa74e2b9e4482c0b6a0f4304c12f863a0c42232d33687754c27eaa1ca46dc77bbe6af19
 SHA512 
89fa5288a60ae5169c0fdb681d17ebfb3fdffe60dfb275273cd9ea8023fb5bf20c1bdfa6465ef6cd9778616098cebe1bbe7019061f3c55af76bb9ac7eb29bacb

diff --git a/dev-db/pgpool2/pgpool2-4.3.10.ebuild 
b/dev-db/pgpool2/pgpool2-4.3.10.ebuild
new file mode 100644
index ..27eb9e8121cd
--- /dev/null
+++ b/dev-db/pgpool2/pgpool2-4.3.10.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+POSTGRES_COMPAT=( 9.6 {10..15} )
+
+inherit autotools flag-o-matic postgres-multi
+
+MY_P="${PN/2/-II}-${PV}"
+
+DESCRIPTION="Connection pool server for PostgreSQL"
+HOMEPAGE="https://www.pgpool.net/";
+SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> 
${MY_P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+
+IUSE="doc memcached pam ssl static-libs"
+
+RDEPEND="
+   ${POSTGRES_DEP}
+   acct-user/pgpool
+   net-libs/libnsl:0=
+   virtual/libcrypt:=
+   memcached? ( dev-libs/libmemcached )
+   pam? ( sys-auth/pambase )
+   ssl? ( dev-libs/openssl:0= )
+"
+DEPEND="${RDEPEND}
+   sys-devel/bison
+   virtual/pkgconfig
+"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+   eapply \
+   "${FILESDIR}/pgpool-4.2.0-configure-memcached.patch" \
+   "${FILESDIR}/pgpool-configure-pam.patch" \
+   "${FILESDIR}/pgpool-4.2.0-configure-pthread.patch" \
+   "${FILESDIR}/pgpool-4.3.1-run_paths.patch"
+
+   eautoreconf
+
+   postgres-multi_src_prepare
+}
+
+src_configure() {
+   # -Werror=lto-type-mismatch
+   # https://bugs.gentoo.org/855248
+   # https://github.com/pgpool/pgpool2/issues/42
+   #
+   filter-lto
+
+   postgres-multi_foreach econf \
+   --disable-rpath \
+   --sysconfdir="${EPREFIX}/etc/${PN}" \
+   --with-pgsql-includedir='/usr/include/postgresql-@PG_SLOT@' \
+   
--with-pgsql-libdir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/$(get_libdir)" \
+   $(use_enable static-libs static) \
+   $(use_with memcached) \
+   $(use_with pam) \
+   $(use_with ssl openssl)
+}
+
+src_compile() {
+   # Even though we're only going to do an install for the best slot
+   # available, the extension bits in src/sql need some things outside
+   # of that directory built, too.
+   postgres-multi_foreach emake
+   postgres-multi_foreach emake -C src/sql
+}
+
+src_install() {
+   # We only need the best stuff installed
+   postgres-multi_forbest emake DESTDIR="${D}" install
+
+   # Except for the extension and .so files that each PostgreSQL slot needs
+   postgres-multi_foreach emake DESTDIR="${D}" -C src/sql install
+
+  

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

2024-05-09 Thread Sam James
commit: b471215f10112b96fb9caf128fb16c1375ec6266
Author: Sam James  gentoo  org>
AuthorDate: Thu May  9 23:39:46 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  9 23:39:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b471215f

dev-db/pgpool2: drop 4.3.2, 4.3.7

Closes: https://bugs.gentoo.org/874966
Signed-off-by: Sam James  gentoo.org>

 dev-db/pgpool2/Manifest |  2 -
 dev-db/pgpool2/pgpool2-4.3.2.ebuild | 91 -
 dev-db/pgpool2/pgpool2-4.3.7.ebuild | 91 -
 3 files changed, 184 deletions(-)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 7f212bb30d09..e03f686b6883 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,5 +1,3 @@
-DIST pgpool-II-4.3.2.tar.gz 5846769 BLAKE2B 
82cfe7095ad303ac3a910c533d6e57edb4e3d5b28a9a9bffb2df473dd3087ec329d3a77f9490d9bb738d5d1a443020d96d0e9a1b1d6adecc04cce5d1caa04e7d
 SHA512 
771426257eddb5c48504c80a2c8cccf44a18f7ea50df55654b7e9e017bda561a73a3e1f0db79785785ff6893d6df26f73b55310d0184ef3301838d12290d3d4c
-DIST pgpool-II-4.3.7.tar.gz 4901679 BLAKE2B 
40c280a9d399246da77661a856d64691c213361193ba6af46a70c03c9193021a9f44dd9bfdfc7335c269675d04e9469d033ce55757799a7009d35d1493c50d6e
 SHA512 
dd84b94a60fb1e75de2c14f83b3637491a4673b15dc7c23dbb8e26e69d32f617a85159f7c276a88a62d741b7758d84e94949ea6aa8f505be0960d8fffdaa10b6
 DIST pgpool-II-4.3.8.tar.gz 4939785 BLAKE2B 
fbccfa89311c85394d48c9ff25ce68baea15a80bb87efdf9c7d06280f0a532b8bf656f7ad144b9f813293bf6bd43a7d0cead78fff422eef55598ee2a7cd6380e
 SHA512 
93f623900f24454a1913dcf29be508a47ae3c5f7fd360d3546f48b88b93dcc66886de01a5d9b0f53fb955d1eeded1e5329c3ca1fbca4c3f16aabea79e869d9a3
 DIST pgpool-II-4.4.4.tar.gz 4973024 BLAKE2B 
2fa41442bc9bf677a17d98388f9977b97fb609cdd6f1494d9f4de2356b04de5a3725478381d67cc04a01f3ff964bd3dfe159d9c41c13980e477a5f0c4c198413
 SHA512 
fb80df3df2894e7f2cf820a2b32e04ef6447a8137341db65c3a141679ea0fcbae7d5824c1904cb19aae7b05ef9fe641ac294dbc58cdbc6231444f0c4e508e7dc
 DIST pgpool-II-4.4.5.tar.gz 4992570 BLAKE2B 
638812144e8ac58e56e0b9dbe6aadfa90140c05ed46da1d795d0e22515dacd3a126afa6082881ca84c031693a205c895ea69d01fc7a14f870344bae9b454c57f
 SHA512 
cd2fb2f715aed70d67522ab1852fa7df059d5379f9d4860be82a3d32d78701c5bce75e3e1304eda6a67670475aa367a2631cce517a4d2e4eb6b07c1e74901dd9

diff --git a/dev-db/pgpool2/pgpool2-4.3.2.ebuild 
b/dev-db/pgpool2/pgpool2-4.3.2.ebuild
deleted file mode 100644
index d46c7c75826a..
--- a/dev-db/pgpool2/pgpool2-4.3.2.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-POSTGRES_COMPAT=( 9.6 {10..15} )
-
-inherit autotools postgres-multi
-
-MY_P="${PN/2/-II}-${PV}"
-
-DESCRIPTION="Connection pool server for PostgreSQL"
-HOMEPAGE="https://www.pgpool.net/";
-SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> 
${MY_P}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-
-KEYWORDS="amd64 x86"
-
-IUSE="doc memcached pam ssl static-libs"
-
-RDEPEND="
-   ${POSTGRES_DEP}
-   acct-user/pgpool
-   net-libs/libnsl:0=
-   virtual/libcrypt:=
-   memcached? ( dev-libs/libmemcached )
-   pam? ( sys-auth/pambase )
-   ssl? ( dev-libs/openssl:0= )
-"
-DEPEND="${RDEPEND}
-   sys-devel/bison
-   virtual/pkgconfig
-"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
-   eapply \
-   "${FILESDIR}/pgpool-4.2.0-configure-memcached.patch" \
-   "${FILESDIR}/pgpool-configure-pam.patch" \
-   "${FILESDIR}/pgpool-4.2.0-configure-pthread.patch" \
-   "${FILESDIR}/pgpool-4.3.1-run_paths.patch"
-
-   eautoreconf
-
-   postgres-multi_src_prepare
-}
-
-src_configure() {
-   postgres-multi_foreach econf \
-   --disable-rpath \
-   --sysconfdir="${EPREFIX}/etc/${PN}" \
-   --with-pgsql-includedir='/usr/include/postgresql-@PG_SLOT@' \
-   
--with-pgsql-libdir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/$(get_libdir)" \
-   $(use_enable static-libs static) \
-   $(use_with memcached) \
-   $(use_with pam) \
-   $(use_with ssl openssl)
-}
-
-src_compile() {
-   # Even though we're only going to do an install for the best slot
-   # available, the extension bits in src/sql need some things outside
-   # of that directory built, too.
-   postgres-multi_foreach emake
-   postgres-multi_foreach emake -C src/sql
-}
-
-src_install() {
-   # We only need the best stuff installed
-   postgres-multi_forbest emake DESTDIR="${D}" install
-
-   # Except for the extension and .so files that each PostgreSQL slot needs
-   postgres-multi_foreach emake DESTDIR="${D}" -C src/sql install
-
-   newinitd "${FILESDIR}/${PN}.initd" ${PN}
-   newconfd "${FILESDIR}/${PN}.confd" ${PN}
-
-   # Documentation!
-   dodoc NEWS TODO
- 

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

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

dev-db/pgpool2: mark as LTO-unsafe

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

 dev-db/pgpool2/pgpool2-4.3.8.ebuild | 10 --
 dev-db/pgpool2/pgpool2-4.4.4.ebuild | 10 --
 dev-db/pgpool2/pgpool2-4.4.5.ebuild | 10 --
 dev-db/pgpool2/pgpool2-.ebuild  | 10 --
 4 files changed, 32 insertions(+), 8 deletions(-)

diff --git a/dev-db/pgpool2/pgpool2-4.3.8.ebuild 
b/dev-db/pgpool2/pgpool2-4.3.8.ebuild
index d46c7c75826a..b0b928ab667f 100644
--- a/dev-db/pgpool2/pgpool2-4.3.8.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.3.8.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 POSTGRES_COMPAT=( 9.6 {10..15} )
 
-inherit autotools postgres-multi
+inherit autotools flag-o-matic postgres-multi
 
 MY_P="${PN/2/-II}-${PV}"
 
@@ -48,6 +48,12 @@ src_prepare() {
 }
 
 src_configure() {
+   # -Werror=lto-type-mismatch
+   # https://bugs.gentoo.org/855248
+   # https://github.com/pgpool/pgpool2/issues/42
+   #
+   filter-lto
+
postgres-multi_foreach econf \
--disable-rpath \
--sysconfdir="${EPREFIX}/etc/${PN}" \

diff --git a/dev-db/pgpool2/pgpool2-4.4.4.ebuild 
b/dev-db/pgpool2/pgpool2-4.4.4.ebuild
index 7c58c30c4de0..f296ca0fb0a6 100644
--- a/dev-db/pgpool2/pgpool2-4.4.4.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.4.4.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 POSTGRES_COMPAT=( {10..16} )
 
-inherit autotools postgres-multi
+inherit autotools flag-o-matic postgres-multi
 
 MY_P="${PN/2/-II}-${PV}"
 
@@ -48,6 +48,12 @@ src_prepare() {
 }
 
 src_configure() {
+   # -Werror=lto-type-mismatch
+   # https://bugs.gentoo.org/855248
+   # https://github.com/pgpool/pgpool2/issues/42
+   #
+   filter-lto
+
postgres-multi_foreach econf \
--disable-rpath \
--sysconfdir="${EPREFIX}/etc/${PN}" \

diff --git a/dev-db/pgpool2/pgpool2-4.4.5.ebuild 
b/dev-db/pgpool2/pgpool2-4.4.5.ebuild
index 7c58c30c4de0..f296ca0fb0a6 100644
--- a/dev-db/pgpool2/pgpool2-4.4.5.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.4.5.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 POSTGRES_COMPAT=( {10..16} )
 
-inherit autotools postgres-multi
+inherit autotools flag-o-matic postgres-multi
 
 MY_P="${PN/2/-II}-${PV}"
 
@@ -48,6 +48,12 @@ src_prepare() {
 }
 
 src_configure() {
+   # -Werror=lto-type-mismatch
+   # https://bugs.gentoo.org/855248
+   # https://github.com/pgpool/pgpool2/issues/42
+   #
+   filter-lto
+
postgres-multi_foreach econf \
--disable-rpath \
--sysconfdir="${EPREFIX}/etc/${PN}" \

diff --git a/dev-db/pgpool2/pgpool2-.ebuild 
b/dev-db/pgpool2/pgpool2-.ebuild
index 0de82e93599a..aec380cbbd43 100644
--- a/dev-db/pgpool2/pgpool2-.ebuild
+++ b/dev-db/pgpool2/pgpool2-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -7,7 +7,7 @@ EGIT_REPO_URI="https://git.postgresql.org/git/pgpool2.git";
 
 POSTGRES_COMPAT=( 9.6 {10..15} )
 
-inherit autotools git-r3 postgres-multi
+inherit autotools flag-o-matic git-r3 postgres-multi
 
 DESCRIPTION="Connection pool server for PostgreSQL"
 HOMEPAGE="https://www.pgpool.net/";
@@ -53,6 +53,12 @@ src_prepare() {
 }
 
 src_configure() {
+   # -Werror=lto-type-mismatch
+   # https://bugs.gentoo.org/855248
+   # https://github.com/pgpool/pgpool2/issues/42
+   #
+   filter-lto
+
postgres-multi_foreach econf \
--disable-rpath \
--sysconfdir="${EPREFIX}/etc/${PN}" \



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

2023-12-17 Thread 罗百科
commit: 6723c35e9d473840feac84a9612be33ebaf39f86
Author: Patrick Lauer  gentoo  org>
AuthorDate: Mon Dec 18 07:45:25 2023 +
Commit: 罗百科  gentoo  org>
CommitDate: Mon Dec 18 07:45:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6723c35e

dev-db/pgpool2: add 4.3.8, 4.4.5

Signed-off-by: Patrick Lauer  gentoo.org>

 dev-db/pgpool2/Manifest |  2 +
 dev-db/pgpool2/pgpool2-4.3.8.ebuild | 91 +
 dev-db/pgpool2/pgpool2-4.4.5.ebuild | 91 +
 3 files changed, 184 insertions(+)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index c07b7ba70f51..7f212bb30d09 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,3 +1,5 @@
 DIST pgpool-II-4.3.2.tar.gz 5846769 BLAKE2B 
82cfe7095ad303ac3a910c533d6e57edb4e3d5b28a9a9bffb2df473dd3087ec329d3a77f9490d9bb738d5d1a443020d96d0e9a1b1d6adecc04cce5d1caa04e7d
 SHA512 
771426257eddb5c48504c80a2c8cccf44a18f7ea50df55654b7e9e017bda561a73a3e1f0db79785785ff6893d6df26f73b55310d0184ef3301838d12290d3d4c
 DIST pgpool-II-4.3.7.tar.gz 4901679 BLAKE2B 
40c280a9d399246da77661a856d64691c213361193ba6af46a70c03c9193021a9f44dd9bfdfc7335c269675d04e9469d033ce55757799a7009d35d1493c50d6e
 SHA512 
dd84b94a60fb1e75de2c14f83b3637491a4673b15dc7c23dbb8e26e69d32f617a85159f7c276a88a62d741b7758d84e94949ea6aa8f505be0960d8fffdaa10b6
+DIST pgpool-II-4.3.8.tar.gz 4939785 BLAKE2B 
fbccfa89311c85394d48c9ff25ce68baea15a80bb87efdf9c7d06280f0a532b8bf656f7ad144b9f813293bf6bd43a7d0cead78fff422eef55598ee2a7cd6380e
 SHA512 
93f623900f24454a1913dcf29be508a47ae3c5f7fd360d3546f48b88b93dcc66886de01a5d9b0f53fb955d1eeded1e5329c3ca1fbca4c3f16aabea79e869d9a3
 DIST pgpool-II-4.4.4.tar.gz 4973024 BLAKE2B 
2fa41442bc9bf677a17d98388f9977b97fb609cdd6f1494d9f4de2356b04de5a3725478381d67cc04a01f3ff964bd3dfe159d9c41c13980e477a5f0c4c198413
 SHA512 
fb80df3df2894e7f2cf820a2b32e04ef6447a8137341db65c3a141679ea0fcbae7d5824c1904cb19aae7b05ef9fe641ac294dbc58cdbc6231444f0c4e508e7dc
+DIST pgpool-II-4.4.5.tar.gz 4992570 BLAKE2B 
638812144e8ac58e56e0b9dbe6aadfa90140c05ed46da1d795d0e22515dacd3a126afa6082881ca84c031693a205c895ea69d01fc7a14f870344bae9b454c57f
 SHA512 
cd2fb2f715aed70d67522ab1852fa7df059d5379f9d4860be82a3d32d78701c5bce75e3e1304eda6a67670475aa367a2631cce517a4d2e4eb6b07c1e74901dd9

diff --git a/dev-db/pgpool2/pgpool2-4.3.8.ebuild 
b/dev-db/pgpool2/pgpool2-4.3.8.ebuild
new file mode 100644
index ..d46c7c75826a
--- /dev/null
+++ b/dev-db/pgpool2/pgpool2-4.3.8.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+POSTGRES_COMPAT=( 9.6 {10..15} )
+
+inherit autotools postgres-multi
+
+MY_P="${PN/2/-II}-${PV}"
+
+DESCRIPTION="Connection pool server for PostgreSQL"
+HOMEPAGE="https://www.pgpool.net/";
+SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> 
${MY_P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+
+KEYWORDS="amd64 x86"
+
+IUSE="doc memcached pam ssl static-libs"
+
+RDEPEND="
+   ${POSTGRES_DEP}
+   acct-user/pgpool
+   net-libs/libnsl:0=
+   virtual/libcrypt:=
+   memcached? ( dev-libs/libmemcached )
+   pam? ( sys-auth/pambase )
+   ssl? ( dev-libs/openssl:0= )
+"
+DEPEND="${RDEPEND}
+   sys-devel/bison
+   virtual/pkgconfig
+"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+   eapply \
+   "${FILESDIR}/pgpool-4.2.0-configure-memcached.patch" \
+   "${FILESDIR}/pgpool-configure-pam.patch" \
+   "${FILESDIR}/pgpool-4.2.0-configure-pthread.patch" \
+   "${FILESDIR}/pgpool-4.3.1-run_paths.patch"
+
+   eautoreconf
+
+   postgres-multi_src_prepare
+}
+
+src_configure() {
+   postgres-multi_foreach econf \
+   --disable-rpath \
+   --sysconfdir="${EPREFIX}/etc/${PN}" \
+   --with-pgsql-includedir='/usr/include/postgresql-@PG_SLOT@' \
+   
--with-pgsql-libdir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/$(get_libdir)" \
+   $(use_enable static-libs static) \
+   $(use_with memcached) \
+   $(use_with pam) \
+   $(use_with ssl openssl)
+}
+
+src_compile() {
+   # Even though we're only going to do an install for the best slot
+   # available, the extension bits in src/sql need some things outside
+   # of that directory built, too.
+   postgres-multi_foreach emake
+   postgres-multi_foreach emake -C src/sql
+}
+
+src_install() {
+   # We only need the best stuff installed
+   postgres-multi_forbest emake DESTDIR="${D}" install
+
+   # Except for the extension and .so files that each PostgreSQL slot needs
+   postgres-multi_foreach emake DESTDIR="${D}" -C src/sql install
+
+   newinitd "${FILESDIR}/${PN}.initd" ${PN}
+   newconfd "${FILESDIR}/${PN}.confd" ${PN}
+
+   # Documentation!
+   dodoc NEWS TODO
+   doman doc/src/sgml/man{1,8}/*
+   u

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

2023-10-05 Thread 罗百科
commit: 51adfed1b62178fcc8b3edaefaf40e60549b1694
Author: Patrick Lauer  gentoo  org>
AuthorDate: Thu Oct  5 09:57:03 2023 +
Commit: 罗百科  gentoo  org>
CommitDate: Thu Oct  5 09:57:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51adfed1

dev-db/pgpool2: add 4.4.4

Closes: https://bugs.gentoo.org/913009
Signed-off-by: Patrick Lauer  gentoo.org>

 dev-db/pgpool2/Manifest   |  1 +
 dev-db/pgpool2/files/pgpool-4.4.4-run_paths.patch | 88 ++
 dev-db/pgpool2/pgpool2-4.4.4.ebuild   | 91 +++
 3 files changed, 180 insertions(+)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 61be66b815aa..c07b7ba70f51 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,2 +1,3 @@
 DIST pgpool-II-4.3.2.tar.gz 5846769 BLAKE2B 
82cfe7095ad303ac3a910c533d6e57edb4e3d5b28a9a9bffb2df473dd3087ec329d3a77f9490d9bb738d5d1a443020d96d0e9a1b1d6adecc04cce5d1caa04e7d
 SHA512 
771426257eddb5c48504c80a2c8cccf44a18f7ea50df55654b7e9e017bda561a73a3e1f0db79785785ff6893d6df26f73b55310d0184ef3301838d12290d3d4c
 DIST pgpool-II-4.3.7.tar.gz 4901679 BLAKE2B 
40c280a9d399246da77661a856d64691c213361193ba6af46a70c03c9193021a9f44dd9bfdfc7335c269675d04e9469d033ce55757799a7009d35d1493c50d6e
 SHA512 
dd84b94a60fb1e75de2c14f83b3637491a4673b15dc7c23dbb8e26e69d32f617a85159f7c276a88a62d741b7758d84e94949ea6aa8f505be0960d8fffdaa10b6
+DIST pgpool-II-4.4.4.tar.gz 4973024 BLAKE2B 
2fa41442bc9bf677a17d98388f9977b97fb609cdd6f1494d9f4de2356b04de5a3725478381d67cc04a01f3ff964bd3dfe159d9c41c13980e477a5f0c4c198413
 SHA512 
fb80df3df2894e7f2cf820a2b32e04ef6447a8137341db65c3a141679ea0fcbae7d5824c1904cb19aae7b05ef9fe641ac294dbc58cdbc6231444f0c4e508e7dc

diff --git a/dev-db/pgpool2/files/pgpool-4.4.4-run_paths.patch 
b/dev-db/pgpool2/files/pgpool-4.4.4-run_paths.patch
new file mode 100644
index ..41d80030df4c
--- /dev/null
+++ b/dev-db/pgpool2/files/pgpool-4.4.4-run_paths.patch
@@ -0,0 +1,88 @@
+diff -Naruw a/src/include/parser/pg_config_manual.h 
b/src/include/parser/pg_config_manual.h
+--- a/src/include/parser/pg_config_manual.h
 b/src/include/parser/pg_config_manual.h
+@@ -227,7 +227,7 @@
+  * support them yet.
+  */
+ #ifndef WIN32
+-#define DEFAULT_PGSOCKET_DIR  "/tmp"
++#define DEFAULT_PGSOCKET_DIR  "/run/postgresql"
+ #else
+ #define DEFAULT_PGSOCKET_DIR ""
+ #endif
+diff -Naruw a/src/include/pcp/pcp_stream.h b/src/include/pcp/pcp_stream.h
+--- a/src/include/pcp/pcp_stream.h
 b/src/include/pcp/pcp_stream.h
+@@ -49,6 +49,6 @@
+ extern intpcp_write(PCP_CONNECTION * pc, void *buf, int len);
+ extern intpcp_flush(PCP_CONNECTION * pc);
+ 
+-#define UNIX_DOMAIN_PATH "/tmp"
++#define UNIX_DOMAIN_PATH "/run/pgpool"
+ 
+ #endif/* PCP_STREAM_H 
*/
+diff -Naruw a/src/include/pool.h b/src/include/pool.h
+--- a/src/include/pool.h
 b/src/include/pool.h
+@@ -69,16 +69,16 @@
+ #define HBA_CONF_FILE_NAME "pool_hba.conf"
+ 
+ /* pid file directory */
+-#define DEFAULT_LOGDIR "/tmp"
++#define DEFAULT_LOGDIR "/run/pgpool"
+ 
+ /* Unix domain socket directory */
+-#define DEFAULT_SOCKET_DIR "/tmp"
++#define DEFAULT_SOCKET_DIR "/run/postgresql"
+ 
+ /* Unix domain socket directory for watchdog IPC */
+-#define DEFAULT_WD_IPC_SOCKET_DIR "/tmp"
++#define DEFAULT_WD_IPC_SOCKET_DIR "/run/pgpool"
+ 
+ /* pid file name */
+-#define DEFAULT_PID_FILE_NAME "/var/run/pgpool/pgpool.pid"
++#define DEFAULT_PID_FILE_NAME "/run/pgpool/pgpool.pid"
+ 
+ /* status file name */
+ #define STATUS_FILE_NAME "pgpool_status"
+diff -Naruw a/src/sample/pgpool.conf.sample b/src/sample/pgpool.conf.sample
+--- a/src/sample/pgpool.conf.sample
 b/src/sample/pgpool.conf.sample
+@@ -59,10 +57,8 @@
+ #pcp_port = 9898
+# Port number for pcp
+# (change requires restart)
+-#pcp_socket_dir = '/tmp'
++pcp_socket_dir = '/run/pgpool'
+# Unix domain socket path for pcp
+-   # The Debian package defaults to
+-   # /var/run/postgresql
+# (change requires restart)
+ #listen_backlog_multiplier = 2
+# Set the backlog parameter of listen(2) to
+@@ -292,13 +288,13 @@
+ # FILE LOCATIONS
+ 
#--
+ 
+-#pid_file_name = '/var/run/pgpool/pgpool.pid'
++pid_file_name = '/run/pgpool/pgpool.pid'
+# PID file name
+# Can be specified as relative to the"
+# location of pgpool.conf file or
+# as an absolute path
+# (change requires restart)
+-#logdir = '/tmp'
++logdir = '/run/pgpool'
+#

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

2023-10-05 Thread 罗百科
commit: ff085b45212f50b7bdc39f85a09c3fa061c6a772
Author: Patrick Lauer  gentoo  org>
AuthorDate: Thu Oct  5 09:22:07 2023 +
Commit: 罗百科  gentoo  org>
CommitDate: Thu Oct  5 09:22:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff085b45

dev-db/pgpool2: Add postgresql:15 support

Signed-off-by: Patrick Lauer  gentoo.org>

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

diff --git a/dev-db/pgpool2/pgpool2-4.3.2.ebuild 
b/dev-db/pgpool2/pgpool2-4.3.2.ebuild
index d6b6abf1f001..d46c7c75826a 100644
--- a/dev-db/pgpool2/pgpool2-4.3.2.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.3.2.ebuild
@@ -1,9 +1,9 @@
-# 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_COMPAT=( 9.6 {10..15} )
 
 inherit autotools postgres-multi
 



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

2023-10-05 Thread 罗百科
commit: 2c023abdfded5a9532d56fb1642629b65b1f6fb9
Author: Patrick Lauer  gentoo  org>
AuthorDate: Thu Oct  5 09:25:46 2023 +
Commit: 罗百科  gentoo  org>
CommitDate: Thu Oct  5 09:25:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c023abd

dev-db/pgpool2: add 4.3.7

Signed-off-by: Patrick Lauer  gentoo.org>

 dev-db/pgpool2/Manifest |  1 +
 dev-db/pgpool2/pgpool2-4.3.7.ebuild | 91 +
 2 files changed, 92 insertions(+)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 6965fad53945..61be66b815aa 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1 +1,2 @@
 DIST pgpool-II-4.3.2.tar.gz 5846769 BLAKE2B 
82cfe7095ad303ac3a910c533d6e57edb4e3d5b28a9a9bffb2df473dd3087ec329d3a77f9490d9bb738d5d1a443020d96d0e9a1b1d6adecc04cce5d1caa04e7d
 SHA512 
771426257eddb5c48504c80a2c8cccf44a18f7ea50df55654b7e9e017bda561a73a3e1f0db79785785ff6893d6df26f73b55310d0184ef3301838d12290d3d4c
+DIST pgpool-II-4.3.7.tar.gz 4901679 BLAKE2B 
40c280a9d399246da77661a856d64691c213361193ba6af46a70c03c9193021a9f44dd9bfdfc7335c269675d04e9469d033ce55757799a7009d35d1493c50d6e
 SHA512 
dd84b94a60fb1e75de2c14f83b3637491a4673b15dc7c23dbb8e26e69d32f617a85159f7c276a88a62d741b7758d84e94949ea6aa8f505be0960d8fffdaa10b6

diff --git a/dev-db/pgpool2/pgpool2-4.3.7.ebuild 
b/dev-db/pgpool2/pgpool2-4.3.7.ebuild
new file mode 100644
index ..d46c7c75826a
--- /dev/null
+++ b/dev-db/pgpool2/pgpool2-4.3.7.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+POSTGRES_COMPAT=( 9.6 {10..15} )
+
+inherit autotools postgres-multi
+
+MY_P="${PN/2/-II}-${PV}"
+
+DESCRIPTION="Connection pool server for PostgreSQL"
+HOMEPAGE="https://www.pgpool.net/";
+SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> 
${MY_P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+
+KEYWORDS="amd64 x86"
+
+IUSE="doc memcached pam ssl static-libs"
+
+RDEPEND="
+   ${POSTGRES_DEP}
+   acct-user/pgpool
+   net-libs/libnsl:0=
+   virtual/libcrypt:=
+   memcached? ( dev-libs/libmemcached )
+   pam? ( sys-auth/pambase )
+   ssl? ( dev-libs/openssl:0= )
+"
+DEPEND="${RDEPEND}
+   sys-devel/bison
+   virtual/pkgconfig
+"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+   eapply \
+   "${FILESDIR}/pgpool-4.2.0-configure-memcached.patch" \
+   "${FILESDIR}/pgpool-configure-pam.patch" \
+   "${FILESDIR}/pgpool-4.2.0-configure-pthread.patch" \
+   "${FILESDIR}/pgpool-4.3.1-run_paths.patch"
+
+   eautoreconf
+
+   postgres-multi_src_prepare
+}
+
+src_configure() {
+   postgres-multi_foreach econf \
+   --disable-rpath \
+   --sysconfdir="${EPREFIX}/etc/${PN}" \
+   --with-pgsql-includedir='/usr/include/postgresql-@PG_SLOT@' \
+   
--with-pgsql-libdir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/$(get_libdir)" \
+   $(use_enable static-libs static) \
+   $(use_with memcached) \
+   $(use_with pam) \
+   $(use_with ssl openssl)
+}
+
+src_compile() {
+   # Even though we're only going to do an install for the best slot
+   # available, the extension bits in src/sql need some things outside
+   # of that directory built, too.
+   postgres-multi_foreach emake
+   postgres-multi_foreach emake -C src/sql
+}
+
+src_install() {
+   # We only need the best stuff installed
+   postgres-multi_forbest emake DESTDIR="${D}" install
+
+   # Except for the extension and .so files that each PostgreSQL slot needs
+   postgres-multi_foreach emake DESTDIR="${D}" -C src/sql install
+
+   newinitd "${FILESDIR}/${PN}.initd" ${PN}
+   newconfd "${FILESDIR}/${PN}.confd" ${PN}
+
+   # Documentation!
+   dodoc NEWS TODO
+   doman doc/src/sgml/man{1,8}/*
+   use doc && dodoc -r doc/src/sgml/html
+
+   # mv some files that get installed to /usr/share/pgpool-II so that
+   # they all wind up in the same place
+   mv "${ED}/usr/share/${PN/2/-II}" "${ED}/usr/share/${PN}" || die
+
+   # One more thing: Evil la files!
+   find "${ED}" -name '*.la' -exec rm -f {} +
+}



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

2022-10-24 Thread Aaron W. Swenson
commit: 296d9686a4cb50f7d6d19da621140623ab03b422
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Mon Oct 24 12:41:53 2022 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Mon Oct 24 12:41:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=296d9686

dev-db/pgpool2: Fix run paths patch

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

 dev-db/pgpool2/files/pgpool--run_paths.patch | 98 
 dev-db/pgpool2/pgpool2-.ebuild   |  6 +-
 2 files changed, 101 insertions(+), 3 deletions(-)

diff --git a/dev-db/pgpool2/files/pgpool--run_paths.patch 
b/dev-db/pgpool2/files/pgpool--run_paths.patch
new file mode 100644
index ..bca3b213edb9
--- /dev/null
+++ b/dev-db/pgpool2/files/pgpool--run_paths.patch
@@ -0,0 +1,98 @@
+--- a/src/include/parser/pg_config_manual.h
 b/src/include/parser/pg_config_manual.h
+@@ -244,7 +244,7 @@
+  * support them yet.
+  */
+ #ifndef WIN32
+-#define DEFAULT_PGSOCKET_DIR  "/tmp"
++#define DEFAULT_PGSOCKET_DIR  "/run/postgresql"
+ #else
+ #define DEFAULT_PGSOCKET_DIR ""
+ #endif
+--- a/src/include/pcp/pcp_stream.h
 b/src/include/pcp/pcp_stream.h
+@@ -49,6 +49,6 @@
+ extern intpcp_write(PCP_CONNECTION * pc, void *buf, int len);
+ extern intpcp_flush(PCP_CONNECTION * pc);
+ 
+-#define UNIX_DOMAIN_PATH "/tmp"
++#define UNIX_DOMAIN_PATH "/run/pgpool"
+ 
+ #endif/* PCP_STREAM_H 
*/
+--- a/src/include/pool.h
 b/src/include/pool.h
+@@ -69,16 +69,16 @@
+ #define HBA_CONF_FILE_NAME "pool_hba.conf"
+ 
+ /* pid file directory */
+-#define DEFAULT_LOGDIR "/tmp"
++#define DEFAULT_LOGDIR "/run/pgpool"
+ 
+ /* Unix domain socket directory */
+-#define DEFAULT_SOCKET_DIR "/tmp"
++#define DEFAULT_SOCKET_DIR "/run/postgresql"
+ 
+ /* Unix domain socket directory for watchdog IPC */
+-#define DEFAULT_WD_IPC_SOCKET_DIR "/tmp"
++#define DEFAULT_WD_IPC_SOCKET_DIR "/run/pgpool"
+ 
+ /* pid file name */
+-#define DEFAULT_PID_FILE_NAME "/var/run/pgpool/pgpool.pid"
++#define DEFAULT_PID_FILE_NAME "/run/pgpool/pgpool.pid"
+ 
+ /* status file name */
+ #define STATUS_FILE_NAME "pgpool_status"
+--- a/src/sample/pgpool.conf.sample-stream
 b/src/sample/pgpool.conf.sample-stream
+@@ -39,10 +39,8 @@
+ #port = 
+# Port number
+# (change requires restart)
+-#unix_socket_directories = '/tmp'
++unix_socket_directories = '/run/postgresql'
+# Unix domain socket path(s)
+-   # The Debian package defaults to
+-   # /var/run/postgresql
+# (change requires restart)
+ #unix_socket_group = ''
+# The Owner group of Unix domain socket(s)
+@@ -65,10 +63,8 @@
+ #pcp_port = 9898
+# Port number for pcp
+# (change requires restart)
+-#pcp_socket_dir = '/tmp'
++pcp_socket_dir = '/run/pgpool'
+# Unix domain socket path for pcp
+-   # The Debian package defaults to
+-   # /var/run/postgresql
+# (change requires restart)
+ #listen_backlog_multiplier = 2
+# Set the backlog parameter of listen(2) to
+@@ -298,13 +294,13 @@
+ # FILE LOCATIONS
+ 
#--
+ 
+-#pid_file_name = '/var/run/pgpool/pgpool.pid'
++pid_file_name = '/run/pgpool/pgpool.pid'
+# PID file name
+# Can be specified as relative to the"
+# location of pgpool.conf file or
+# as an absolute path
+# (change requires restart)
+-#logdir = '/tmp'
++logdir = '/run/pgpool'
+# Directory of pgPool status file
+# (change requires restart)
+ 
+@@ -687,10 +683,8 @@
+ # Authentication key for watchdog 
communication
+ # (change requires restart)
+ 
+-#wd_ipc_socket_dir = '/tmp'
++wd_ipc_socket_dir = '/run/postgresql'
+ # Unix domain socket path for watchdog 
IPC socket
+-# The Debian package defaults to
+-# /var/run/postgresql
+ # (change requires restart)
+ 
+ 

diff --git a/dev-db/pgpool2/pgpool2-.ebuild 
b/dev-db/pgpool2/pgpool2-.ebuild
index d14481554c21..0de82e93599a 100644
--- a/dev-db/pgpool2/pgpool2-.ebuild
+++ b/dev-db/pgpool2/pgpool2-.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 EGIT_RE

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

2022-10-24 Thread Aaron W. Swenson
commit: e91a99c9ae8a855d91aec9885035986850ba7330
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Mon Oct 24 12:34:39 2022 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Mon Oct 24 12:34:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e91a99c9

dev-db/pgpool2: Cleanup

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

 dev-db/pgpool2/Manifest   |   4 -
 dev-db/pgpool2/files/pgpool-4.2.0-run_paths.patch | 432 --
 dev-db/pgpool2/pgpool2-4.2.1-r2.ebuild|  97 -
 dev-db/pgpool2/pgpool2-4.2.2-r2.ebuild|  96 -
 dev-db/pgpool2/pgpool2-4.2.9.ebuild   |  98 -
 dev-db/pgpool2/pgpool2-4.3.1.ebuild   |  91 -
 6 files changed, 818 deletions(-)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index a7796736bd16..6965fad53945 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,5 +1 @@
-DIST pgpool-II-4.2.1.tar.gz 4713114 BLAKE2B 
207cb3c43e47d40385d6808195561117293e5acec6bc34664ec7a1d8754bf9beb8c5350252a4274d4c50520254089f0e5a5fdfc0faf778186fa8000db6124df2
 SHA512 
b859a3952f69dd98a3df60b33b801d3bc96b9a11757593795a89751abe558c6baab10a37701d69d415c9da26a16abcdc72e0209e74c62204facfb25cdbc512f8
-DIST pgpool-II-4.2.2.tar.gz 4734840 BLAKE2B 
2b4d26991732293e1411d1219f85a8c9ad1dca72c63069381ae1377a02ae215e813356172f3b89b42b9140549c92c76d443b125bb65cbc6abf03d2b99cf18dab
 SHA512 
a147c810cc691fb27b823a813cbd2eaad66822c7c9f5c0f829cc70d4ac65911bbe827640f2dbd8060913276ed97340b52167e4332e9cdf013b6c9bc144c7b5d8
-DIST pgpool-II-4.2.9.tar.gz 4642836 BLAKE2B 
75cfaf86d2e7a4f9677b7d5a98b783e25458e282b682979d31023372dd827dd0b52bf684949e9c97e404c383ab8b2f526e40b00e643d3d6566c702b111a13e34
 SHA512 
b0256095298e1c1ee50133b4bdc5716aea52f2ab6dc4dc4152ca0415f9b5ccfc14f97d6af1167e69fa1e2b0fd37468a5a10a1cffd8dfcea8e93b11616a66cf42
-DIST pgpool-II-4.3.1.tar.gz 6034811 BLAKE2B 
6ca2a27eefc2b20186d0e5cbdfd838f429d9996e299ab177e655ed69aa214e676029db728b16020dbdc49d9036fe7aad71d6abb12b486a4cf8fb8348bb201c6c
 SHA512 
a5417d9f5baa1b39e3645f7d44accf0a2f04d5fc5cb4d28089169aaebbd15c20b4cd280d09f15fa764c3b793117086fc03f5d7be584c0c5ff9c5f8e11ddb9ef8
 DIST pgpool-II-4.3.2.tar.gz 5846769 BLAKE2B 
82cfe7095ad303ac3a910c533d6e57edb4e3d5b28a9a9bffb2df473dd3087ec329d3a77f9490d9bb738d5d1a443020d96d0e9a1b1d6adecc04cce5d1caa04e7d
 SHA512 
771426257eddb5c48504c80a2c8cccf44a18f7ea50df55654b7e9e017bda561a73a3e1f0db79785785ff6893d6df26f73b55310d0184ef3301838d12290d3d4c

diff --git a/dev-db/pgpool2/files/pgpool-4.2.0-run_paths.patch 
b/dev-db/pgpool2/files/pgpool-4.2.0-run_paths.patch
deleted file mode 100644
index 2eca0fd59185..
--- a/dev-db/pgpool2/files/pgpool-4.2.0-run_paths.patch
+++ /dev/null
@@ -1,432 +0,0 @@
-diff -Naruw a/src/include/parser/pg_config_manual.h 
b/src/include/parser/pg_config_manual.h
 a/src/include/parser/pg_config_manual.h
-+++ b/src/include/parser/pg_config_manual.h
-@@ -228,7 +228,7 @@
-  * support them yet.
-  */
- #ifndef WIN32
--#define DEFAULT_PGSOCKET_DIR  "/tmp"
-+#define DEFAULT_PGSOCKET_DIR  "/run/postgresql"
- #else
- #define DEFAULT_PGSOCKET_DIR ""
- #endif
-diff -Naruw a/src/include/pcp/pcp_stream.h b/src/include/pcp/pcp_stream.h
 a/src/include/pcp/pcp_stream.h
-+++ b/src/include/pcp/pcp_stream.h
-@@ -49,6 +49,6 @@
- extern intpcp_write(PCP_CONNECTION * pc, void *buf, int len);
- extern intpcp_flush(PCP_CONNECTION * pc);
- 
--#define UNIX_DOMAIN_PATH "/tmp"
-+#define UNIX_DOMAIN_PATH "/run/pgpool"
- 
- #endif/* PCP_STREAM_H 
*/
-diff -Naruw a/src/include/pool.h b/src/include/pool.h
 a/src/include/pool.h
-+++ b/src/include/pool.h
-@@ -69,16 +69,16 @@
- #define HBA_CONF_FILE_NAME "pool_hba.conf"
- 
- /* pid file directory */
--#define DEFAULT_LOGDIR "/tmp"
-+#define DEFAULT_LOGDIR "/run/pgpool"
- 
- /* Unix domain socket directory */
--#define DEFAULT_SOCKET_DIR "/tmp"
-+#define DEFAULT_SOCKET_DIR "/run/postgresql"
- 
- /* Unix domain socket directory for watchdog IPC */
--#define DEFAULT_WD_IPC_SOCKET_DIR "/tmp"
-+#define DEFAULT_WD_IPC_SOCKET_DIR "/run/pgpool"
- 
- /* pid file name */
--#define DEFAULT_PID_FILE_NAME "/var/run/pgpool/pgpool.pid"
-+#define DEFAULT_PID_FILE_NAME "/run/pgpool/pgpool.pid"
- 
- /* status file name */
- #define STATUS_FILE_NAME "pgpool_status"
-diff -Naruw a/src/sample/pgpool.conf.sample b/src/sample/pgpool.conf.sample
 a/src/sample/pgpool.conf.sample
-+++ b/src/sample/pgpool.conf.sample
-@@ -39,10 +39,8 @@
- port = 
-# Port number
-# (change requires restart)
--socket_dir = '/tmp'
-+socket_dir = '/run/postgresql'
-# Unix domain socket path
--   # The Debian package defaults to
--   # /var/run/postgresql
-# (change req

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

2022-10-20 Thread Jakov Smolić
commit: 65c56d037f20ea5245f965aa89ab6f70cd461c35
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Oct 20 10:55:29 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Oct 20 10:55:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65c56d03

dev-db/pgpool2: Stabilize 4.3.2 x86, #877439

Signed-off-by: Jakov Smolić  gentoo.org>

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

diff --git a/dev-db/pgpool2/pgpool2-4.3.2.ebuild 
b/dev-db/pgpool2/pgpool2-4.3.2.ebuild
index 01269255acd5..d6b6abf1f001 100644
--- a/dev-db/pgpool2/pgpool2-4.3.2.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.3.2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz 
-> ${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 IUSE="doc memcached pam ssl static-libs"
 



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

2022-10-20 Thread Jakov Smolić
commit: 7c178c297889977ff248c752e97839141156af3f
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Oct 20 10:51:17 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Oct 20 10:51:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c178c29

dev-db/pgpool2: Stabilize 4.3.2 amd64, #877439

Signed-off-by: Jakov Smolić  gentoo.org>

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

diff --git a/dev-db/pgpool2/pgpool2-4.3.2.ebuild 
b/dev-db/pgpool2/pgpool2-4.3.2.ebuild
index f78d11206305..01269255acd5 100644
--- a/dev-db/pgpool2/pgpool2-4.3.2.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.3.2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz 
-> ${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 IUSE="doc memcached pam ssl static-libs"
 



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

2022-06-14 Thread 罗百科
commit: 498960800037669a2d7c7f4ea779211fc957f273
Author: Patrick Lauer  gentoo  org>
AuthorDate: Tue Jun 14 10:35:39 2022 +
Commit: 罗百科  gentoo  org>
CommitDate: Tue Jun 14 10:35:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49896080

dev-db/pgpool2: Bump

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

 dev-db/pgpool2/Manifest   |  2 ++
 dev-db/pgpool2/pgpool2-4.2.1-r2.ebuild|  2 +-
 dev-db/pgpool2/pgpool2-4.2.2-r2.ebuild|  2 +-
 .../{pgpool2-4.2.2-r2.ebuild => pgpool2-4.2.9.ebuild} | 14 --
 .../{pgpool2-4.2.2-r2.ebuild => pgpool2-4.3.2.ebuild} | 19 +++
 dev-db/pgpool2/pgpool2-.ebuild|  2 +-
 6 files changed, 20 insertions(+), 21 deletions(-)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 870e3b0f5fa9..a7796736bd16 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,3 +1,5 @@
 DIST pgpool-II-4.2.1.tar.gz 4713114 BLAKE2B 
207cb3c43e47d40385d6808195561117293e5acec6bc34664ec7a1d8754bf9beb8c5350252a4274d4c50520254089f0e5a5fdfc0faf778186fa8000db6124df2
 SHA512 
b859a3952f69dd98a3df60b33b801d3bc96b9a11757593795a89751abe558c6baab10a37701d69d415c9da26a16abcdc72e0209e74c62204facfb25cdbc512f8
 DIST pgpool-II-4.2.2.tar.gz 4734840 BLAKE2B 
2b4d26991732293e1411d1219f85a8c9ad1dca72c63069381ae1377a02ae215e813356172f3b89b42b9140549c92c76d443b125bb65cbc6abf03d2b99cf18dab
 SHA512 
a147c810cc691fb27b823a813cbd2eaad66822c7c9f5c0f829cc70d4ac65911bbe827640f2dbd8060913276ed97340b52167e4332e9cdf013b6c9bc144c7b5d8
+DIST pgpool-II-4.2.9.tar.gz 4642836 BLAKE2B 
75cfaf86d2e7a4f9677b7d5a98b783e25458e282b682979d31023372dd827dd0b52bf684949e9c97e404c383ab8b2f526e40b00e643d3d6566c702b111a13e34
 SHA512 
b0256095298e1c1ee50133b4bdc5716aea52f2ab6dc4dc4152ca0415f9b5ccfc14f97d6af1167e69fa1e2b0fd37468a5a10a1cffd8dfcea8e93b11616a66cf42
 DIST pgpool-II-4.3.1.tar.gz 6034811 BLAKE2B 
6ca2a27eefc2b20186d0e5cbdfd838f429d9996e299ab177e655ed69aa214e676029db728b16020dbdc49d9036fe7aad71d6abb12b486a4cf8fb8348bb201c6c
 SHA512 
a5417d9f5baa1b39e3645f7d44accf0a2f04d5fc5cb4d28089169aaebbd15c20b4cd280d09f15fa764c3b793117086fc03f5d7be584c0c5ff9c5f8e11ddb9ef8
+DIST pgpool-II-4.3.2.tar.gz 5846769 BLAKE2B 
82cfe7095ad303ac3a910c533d6e57edb4e3d5b28a9a9bffb2df473dd3087ec329d3a77f9490d9bb738d5d1a443020d96d0e9a1b1d6adecc04cce5d1caa04e7d
 SHA512 
771426257eddb5c48504c80a2c8cccf44a18f7ea50df55654b7e9e017bda561a73a3e1f0db79785785ff6893d6df26f73b55310d0184ef3301838d12290d3d4c

diff --git a/dev-db/pgpool2/pgpool2-4.2.1-r2.ebuild 
b/dev-db/pgpool2/pgpool2-4.2.1-r2.ebuild
index d34913fcacc3..d3efaa96 100644
--- a/dev-db/pgpool2/pgpool2-4.2.1-r2.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.2.1-r2.ebuild
@@ -56,7 +56,7 @@ src_prepare() {
 src_configure() {
postgres-multi_foreach econf \
--disable-rpath \
-   --sysconfdir="${EROOT}/etc/${PN}" \
+   --sysconfdir="${EPREFIX}/etc/${PN}" \
--with-pgsql-includedir='/usr/include/postgresql-@PG_SLOT@' \

--with-pgsql-libdir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/$(get_libdir)" \
$(use_enable static-libs static) \

diff --git a/dev-db/pgpool2/pgpool2-4.2.2-r2.ebuild 
b/dev-db/pgpool2/pgpool2-4.2.2-r2.ebuild
index d05f5c5dea0f..c8b5484a0cdb 100644
--- a/dev-db/pgpool2/pgpool2-4.2.2-r2.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.2.2-r2.ebuild
@@ -55,7 +55,7 @@ src_prepare() {
 src_configure() {
postgres-multi_foreach econf \
--disable-rpath \
-   --sysconfdir="${EROOT}/etc/${PN}" \
+   --sysconfdir="${EPREFIX}/etc/${PN}" \
--with-pgsql-includedir='/usr/include/postgresql-@PG_SLOT@' \

--with-pgsql-libdir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/$(get_libdir)" \
$(use_enable static-libs static) \

diff --git a/dev-db/pgpool2/pgpool2-4.2.2-r2.ebuild 
b/dev-db/pgpool2/pgpool2-4.2.9.ebuild
similarity index 94%
copy from dev-db/pgpool2/pgpool2-4.2.2-r2.ebuild
copy to dev-db/pgpool2/pgpool2-4.2.9.ebuild
index d05f5c5dea0f..c2ce05764ea6 100644
--- a/dev-db/pgpool2/pgpool2-4.2.2-r2.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.2.9.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-POSTGRES_COMPAT=( 9.6 {10..13} )
+POSTGRES_COMPAT=( {10..14} )
 
 inherit autotools postgres-multi
 
@@ -12,17 +12,15 @@ MY_P="${PN/2/-II}-${PV}"
 DESCRIPTION="Connection pool server for PostgreSQL"
 HOMEPAGE="https://www.pgpool.net/";
 SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> 
${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
 LICENSE="BSD"
 SLOT="0"
+
 KEYWORDS="~amd64 ~x86"
+
 IUSE="doc memcached pam ssl static-libs"
 
 RDEPEND="
${POSTGRES_DEP}
-   acct-group/postgres
-   acct-user/pgpool
net-libs/libnsl:0=
virtual/libcrypt:=
memcached? ( dev-libs/libmemcached )
@@ -36,7 +34,11 @@ DEPEND="${RDEPEND}

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

2022-03-15 Thread Aaron W. Swenson
commit: 5c2d66607521b5c6cb22f91c9df1227f6381516f
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Wed Mar 16 03:43:54 2022 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Wed Mar 16 03:46:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c2d6660

dev-db/pgpool2: Bump to 4.3.1

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

 dev-db/pgpool2/Manifest   |   1 +
 dev-db/pgpool2/files/pgpool-4.3.1-run_paths.patch | 100 ++
 dev-db/pgpool2/pgpool2-4.3.1.ebuild   |  91 
 3 files changed, 192 insertions(+)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 2d63ff7e8e99..870e3b0f5fa9 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,2 +1,3 @@
 DIST pgpool-II-4.2.1.tar.gz 4713114 BLAKE2B 
207cb3c43e47d40385d6808195561117293e5acec6bc34664ec7a1d8754bf9beb8c5350252a4274d4c50520254089f0e5a5fdfc0faf778186fa8000db6124df2
 SHA512 
b859a3952f69dd98a3df60b33b801d3bc96b9a11757593795a89751abe558c6baab10a37701d69d415c9da26a16abcdc72e0209e74c62204facfb25cdbc512f8
 DIST pgpool-II-4.2.2.tar.gz 4734840 BLAKE2B 
2b4d26991732293e1411d1219f85a8c9ad1dca72c63069381ae1377a02ae215e813356172f3b89b42b9140549c92c76d443b125bb65cbc6abf03d2b99cf18dab
 SHA512 
a147c810cc691fb27b823a813cbd2eaad66822c7c9f5c0f829cc70d4ac65911bbe827640f2dbd8060913276ed97340b52167e4332e9cdf013b6c9bc144c7b5d8
+DIST pgpool-II-4.3.1.tar.gz 6034811 BLAKE2B 
6ca2a27eefc2b20186d0e5cbdfd838f429d9996e299ab177e655ed69aa214e676029db728b16020dbdc49d9036fe7aad71d6abb12b486a4cf8fb8348bb201c6c
 SHA512 
a5417d9f5baa1b39e3645f7d44accf0a2f04d5fc5cb4d28089169aaebbd15c20b4cd280d09f15fa764c3b793117086fc03f5d7be584c0c5ff9c5f8e11ddb9ef8

diff --git a/dev-db/pgpool2/files/pgpool-4.3.1-run_paths.patch 
b/dev-db/pgpool2/files/pgpool-4.3.1-run_paths.patch
new file mode 100644
index ..2b9090fb2dce
--- /dev/null
+++ b/dev-db/pgpool2/files/pgpool-4.3.1-run_paths.patch
@@ -0,0 +1,100 @@
+diff -Naruw a/src/include/parser/pg_config_manual.h 
b/src/include/parser/pg_config_manual.h
+--- a/src/include/parser/pg_config_manual.h
 b/src/include/parser/pg_config_manual.h
+@@ -227,7 +227,7 @@
+  * support them yet.
+  */
+ #ifndef WIN32
+-#define DEFAULT_PGSOCKET_DIR  "/tmp"
++#define DEFAULT_PGSOCKET_DIR  "/run/postgresql"
+ #else
+ #define DEFAULT_PGSOCKET_DIR ""
+ #endif
+diff -Naruw a/src/include/pcp/pcp_stream.h b/src/include/pcp/pcp_stream.h
+--- a/src/include/pcp/pcp_stream.h
 b/src/include/pcp/pcp_stream.h
+@@ -49,6 +49,6 @@
+ extern intpcp_write(PCP_CONNECTION * pc, void *buf, int len);
+ extern intpcp_flush(PCP_CONNECTION * pc);
+ 
+-#define UNIX_DOMAIN_PATH "/tmp"
++#define UNIX_DOMAIN_PATH "/run/pgpool"
+ 
+ #endif/* PCP_STREAM_H 
*/
+diff -Naruw a/src/include/pool.h b/src/include/pool.h
+--- a/src/include/pool.h
 b/src/include/pool.h
+@@ -69,16 +69,16 @@
+ #define HBA_CONF_FILE_NAME "pool_hba.conf"
+ 
+ /* pid file directory */
+-#define DEFAULT_LOGDIR "/tmp"
++#define DEFAULT_LOGDIR "/run/pgpool"
+ 
+ /* Unix domain socket directory */
+-#define DEFAULT_SOCKET_DIR "/tmp"
++#define DEFAULT_SOCKET_DIR "/run/postgresql"
+ 
+ /* Unix domain socket directory for watchdog IPC */
+-#define DEFAULT_WD_IPC_SOCKET_DIR "/tmp"
++#define DEFAULT_WD_IPC_SOCKET_DIR "/run/pgpool"
+ 
+ /* pid file name */
+-#define DEFAULT_PID_FILE_NAME "/var/run/pgpool/pgpool.pid"
++#define DEFAULT_PID_FILE_NAME "/run/pgpool/pgpool.pid"
+ 
+ /* status file name */
+ #define STATUS_FILE_NAME "pgpool_status"
+diff -Naruw a/src/sample/pgpool.conf.sample b/src/sample/pgpool.conf.sample
+--- a/src/sample/pgpool.conf.sample
 b/src/sample/pgpool.conf.sample
+@@ -39,10 +39,8 @@
+ #port = 
+# Port number
+# (change requires restart)
+-#socket_dir = '/tmp'
++socket_dir = '/run/postgresql'
+# Unix domain socket path
+-   # The Debian package defaults to
+-   # /var/run/postgresql
+# (change requires restart)
+ #reserved_connections = 0
+# Number of reserved connections.
+@@ -59,10 +57,8 @@
+ #pcp_port = 9898
+# Port number for pcp
+# (change requires restart)
+-#pcp_socket_dir = '/tmp'
++pcp_socket_dir = '/run/pgpool'
+# Unix domain socket path for pcp
+-   # The Debian package defaults to
+-   # /var/run/postgresql
+# (change requires restart)
+ #listen_backlog_multiplier = 2
+# Set the backlog parameter of listen(2) to
+@@ -292,13 +288,13 @@
+ # FILE LOCATIONS
+ 
#---

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

2022-03-15 Thread Conrad Kostecki
commit: 1afbb8d69a3ec6684893f064f3a7e05ab4c2df85
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Feb 13 22:02:14 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Tue Mar 15 15:43:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1afbb8d6

dev-db/pgpool2: migrate to glep-81

Closes: https://github.com/gentoo/gentoo/pull/24185
Bug: https://bugs.gentoo.org/802498
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../{pgpool2-4.2.1-r1.ebuild => pgpool2-4.2.1-r2.ebuild}| 13 ++---
 .../{pgpool2-4.2.2-r1.ebuild => pgpool2-4.2.2-r2.ebuild}| 12 +---
 dev-db/pgpool2/pgpool2-.ebuild  |  6 +++---
 3 files changed, 14 insertions(+), 17 deletions(-)

diff --git a/dev-db/pgpool2/pgpool2-4.2.1-r1.ebuild 
b/dev-db/pgpool2/pgpool2-4.2.1-r2.ebuild
similarity index 95%
rename from dev-db/pgpool2/pgpool2-4.2.1-r1.ebuild
rename to dev-db/pgpool2/pgpool2-4.2.1-r2.ebuild
index 7e2ba70df24b..d34913fcacc3 100644
--- a/dev-db/pgpool2/pgpool2-4.2.1-r1.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.2.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,15 +12,17 @@ MY_P="${PN/2/-II}-${PV}"
 DESCRIPTION="Connection pool server for PostgreSQL"
 HOMEPAGE="https://www.pgpool.net/";
 SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> 
${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
 LICENSE="BSD"
 SLOT="0"
-
 KEYWORDS="amd64 x86"
-
 IUSE="doc memcached pam ssl static-libs"
 
 RDEPEND="
${POSTGRES_DEP}
+   acct-group/postgres
+   acct-user/pgpool
net-libs/libnsl:0=
virtual/libcrypt:=
memcached? ( dev-libs/libmemcached )
@@ -29,16 +31,13 @@ RDEPEND="
dev-libs/openssl:0=
)
 "
+
 DEPEND="${RDEPEND}
sys-devel/bison
virtual/pkgconfig
 "
 
-S=${WORKDIR}/${MY_P}
-
 pkg_setup() {
-   postgres_new_user pgpool
-
postgres-multi_pkg_setup
 }
 

diff --git a/dev-db/pgpool2/pgpool2-4.2.2-r1.ebuild 
b/dev-db/pgpool2/pgpool2-4.2.2-r2.ebuild
similarity index 95%
rename from dev-db/pgpool2/pgpool2-4.2.2-r1.ebuild
rename to dev-db/pgpool2/pgpool2-4.2.2-r2.ebuild
index 45d450412b69..d05f5c5dea0f 100644
--- a/dev-db/pgpool2/pgpool2-4.2.2-r1.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.2.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,15 +12,17 @@ MY_P="${PN/2/-II}-${PV}"
 DESCRIPTION="Connection pool server for PostgreSQL"
 HOMEPAGE="https://www.pgpool.net/";
 SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> 
${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
 LICENSE="BSD"
 SLOT="0"
-
 KEYWORDS="~amd64 ~x86"
-
 IUSE="doc memcached pam ssl static-libs"
 
 RDEPEND="
${POSTGRES_DEP}
+   acct-group/postgres
+   acct-user/pgpool
net-libs/libnsl:0=
virtual/libcrypt:=
memcached? ( dev-libs/libmemcached )
@@ -34,11 +36,7 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
 "
 
-S=${WORKDIR}/${MY_P}
-
 pkg_setup() {
-   postgres_new_user pgpool
-
postgres-multi_pkg_setup
 }
 

diff --git a/dev-db/pgpool2/pgpool2-.ebuild 
b/dev-db/pgpool2/pgpool2-.ebuild
index 364ed807be0f..2c9d504b504e 100644
--- a/dev-db/pgpool2/pgpool2-.ebuild
+++ b/dev-db/pgpool2/pgpool2-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,6 +18,8 @@ IUSE="doc memcached pam ssl static-libs"
 
 RDEPEND="
${POSTGRES_DEP}
+   acct-group/postgres
+   acct-user/pgpool
net-libs/libnsl:0=
virtual/libcrypt:=
memcached? ( dev-libs/libmemcached )
@@ -35,8 +37,6 @@ DEPEND="${RDEPEND}
 "
 
 pkg_setup() {
-   postgres_new_user pgpool
-
postgres-multi_pkg_setup
 }
 



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

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

dev-db/pgpool2: Fix identation in  ebuild

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

 dev-db/pgpool2/pgpool2-.ebuild | 17 ++---
 1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/dev-db/pgpool2/pgpool2-.ebuild 
b/dev-db/pgpool2/pgpool2-.ebuild
index a2ccfb72b74..364ed807be0 100644
--- a/dev-db/pgpool2/pgpool2-.ebuild
+++ b/dev-db/pgpool2/pgpool2-.ebuild
@@ -11,12 +11,9 @@ inherit autotools git-r3 postgres-multi
 
 DESCRIPTION="Connection pool server for PostgreSQL"
 HOMEPAGE="https://www.pgpool.net/";
-SRC_URI=""
+
 LICENSE="BSD"
 SLOT="0"
-
-KEYWORDS=""
-
 IUSE="doc memcached pam ssl static-libs"
 
 RDEPEND="
@@ -25,18 +22,16 @@ RDEPEND="
virtual/libcrypt:=
memcached? ( dev-libs/libmemcached )
pam? ( sys-auth/pambase )
-   ssl? (
-   dev-libs/openssl:0=
-   )
+   ssl? ( dev-libs/openssl:= )
 "
 DEPEND="${RDEPEND}
sys-devel/bison
virtual/pkgconfig
doc? (
-app-text/openjade
-dev-libs/libxml2
-dev-libs/libxslt
-)
+   app-text/openjade
+   dev-libs/libxml2
+   dev-libs/libxslt
+   )
 "
 
 pkg_setup() {



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

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

dev-db/pgpool2: Remove postgres9_5

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

 dev-db/pgpool2/pgpool2-4.2.1-r1.ebuild | 2 +-
 dev-db/pgpool2/pgpool2-4.2.2-r1.ebuild | 2 +-
 dev-db/pgpool2/pgpool2-.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-db/pgpool2/pgpool2-4.2.1-r1.ebuild 
b/dev-db/pgpool2/pgpool2-4.2.1-r1.ebuild
index 68b7ecabf29..7e2ba70df24 100644
--- a/dev-db/pgpool2/pgpool2-4.2.1-r1.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.2.1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-POSTGRES_COMPAT=( 9.{5..6} {10..13} )
+POSTGRES_COMPAT=( 9.6 {10..13} )
 
 inherit autotools postgres-multi
 

diff --git a/dev-db/pgpool2/pgpool2-4.2.2-r1.ebuild 
b/dev-db/pgpool2/pgpool2-4.2.2-r1.ebuild
index af575e00194..45d450412b6 100644
--- a/dev-db/pgpool2/pgpool2-4.2.2-r1.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.2.2-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-POSTGRES_COMPAT=( 9.{5..6} {10..13} )
+POSTGRES_COMPAT=( 9.6 {10..13} )
 
 inherit autotools postgres-multi
 

diff --git a/dev-db/pgpool2/pgpool2-.ebuild 
b/dev-db/pgpool2/pgpool2-.ebuild
index eab9b3bd765..a2ccfb72b74 100644
--- a/dev-db/pgpool2/pgpool2-.ebuild
+++ b/dev-db/pgpool2/pgpool2-.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 EGIT_REPO_URI="https://git.postgresql.org/git/pgpool2.git";
 
-POSTGRES_COMPAT=( 9.{5..6} {10..13} )
+POSTGRES_COMPAT=( 9.6 {10..13} )
 
 inherit autotools git-r3 postgres-multi
 



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

2021-07-10 Thread Sam James
commit: 5ab7c1fb0fa5d0d43133a1dad09c97f03aad40c2
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 10 18:50:59 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 10 18:50:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ab7c1fb

dev-db/pgpool2: add missing libcrypt dependency

Closes: https://bugs.gentoo.org/801094
Signed-off-by: Sam James  gentoo.org>

 dev-db/pgpool2/{pgpool2-4.2.1.ebuild => pgpool2-4.2.1-r1.ebuild} | 1 +
 dev-db/pgpool2/{pgpool2-4.2.2.ebuild => pgpool2-4.2.2-r1.ebuild} | 1 +
 dev-db/pgpool2/pgpool2-.ebuild   | 1 +
 3 files changed, 3 insertions(+)

diff --git a/dev-db/pgpool2/pgpool2-4.2.1.ebuild 
b/dev-db/pgpool2/pgpool2-4.2.1-r1.ebuild
similarity index 99%
rename from dev-db/pgpool2/pgpool2-4.2.1.ebuild
rename to dev-db/pgpool2/pgpool2-4.2.1-r1.ebuild
index 08a1225b808..68b7ecabf29 100644
--- a/dev-db/pgpool2/pgpool2-4.2.1.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.2.1-r1.ebuild
@@ -22,6 +22,7 @@ IUSE="doc memcached pam ssl static-libs"
 RDEPEND="
${POSTGRES_DEP}
net-libs/libnsl:0=
+   virtual/libcrypt:=
memcached? ( dev-libs/libmemcached )
pam? ( sys-auth/pambase )
ssl? (

diff --git a/dev-db/pgpool2/pgpool2-4.2.2.ebuild 
b/dev-db/pgpool2/pgpool2-4.2.2-r1.ebuild
similarity index 99%
rename from dev-db/pgpool2/pgpool2-4.2.2.ebuild
rename to dev-db/pgpool2/pgpool2-4.2.2-r1.ebuild
index aa370a2e02b..af575e00194 100644
--- a/dev-db/pgpool2/pgpool2-4.2.2.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.2.2-r1.ebuild
@@ -22,6 +22,7 @@ IUSE="doc memcached pam ssl static-libs"
 RDEPEND="
${POSTGRES_DEP}
net-libs/libnsl:0=
+   virtual/libcrypt:=
memcached? ( dev-libs/libmemcached )
pam? ( sys-auth/pambase )
ssl? (

diff --git a/dev-db/pgpool2/pgpool2-.ebuild 
b/dev-db/pgpool2/pgpool2-.ebuild
index 46ab01e9e55..eab9b3bd765 100644
--- a/dev-db/pgpool2/pgpool2-.ebuild
+++ b/dev-db/pgpool2/pgpool2-.ebuild
@@ -22,6 +22,7 @@ IUSE="doc memcached pam ssl static-libs"
 RDEPEND="
${POSTGRES_DEP}
net-libs/libnsl:0=
+   virtual/libcrypt:=
memcached? ( dev-libs/libmemcached )
pam? ( sys-auth/pambase )
ssl? (



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

2021-05-02 Thread Mikle Kolyada
commit: 166cafb31840de585879ae33d71dec4b67be90b1
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun May  2 20:14:45 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun May  2 20:14:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=166cafb3

dev-db/pgpool2: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 dev-db/pgpool2/pgpool2-4.2.1.ebuild | 5 ++---
 dev-db/pgpool2/pgpool2-4.2.2.ebuild | 5 ++---
 dev-db/pgpool2/pgpool2-.ebuild  | 7 +++
 3 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/dev-db/pgpool2/pgpool2-4.2.1.ebuild 
b/dev-db/pgpool2/pgpool2-4.2.1.ebuild
index 8fb09f7c262..08a1225b808 100644
--- a/dev-db/pgpool2/pgpool2-4.2.1.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.2.1.ebuild
@@ -17,7 +17,7 @@ SLOT="0"
 
 KEYWORDS="amd64 x86"
 
-IUSE="doc libressl memcached pam ssl static-libs"
+IUSE="doc memcached pam ssl static-libs"
 
 RDEPEND="
${POSTGRES_DEP}
@@ -25,8 +25,7 @@ RDEPEND="
memcached? ( dev-libs/libmemcached )
pam? ( sys-auth/pambase )
ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:= )
+   dev-libs/openssl:0=
)
 "
 DEPEND="${RDEPEND}

diff --git a/dev-db/pgpool2/pgpool2-4.2.2.ebuild 
b/dev-db/pgpool2/pgpool2-4.2.2.ebuild
index e9e995be4dd..aa370a2e02b 100644
--- a/dev-db/pgpool2/pgpool2-4.2.2.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.2.2.ebuild
@@ -17,7 +17,7 @@ SLOT="0"
 
 KEYWORDS="~amd64 ~x86"
 
-IUSE="doc libressl memcached pam ssl static-libs"
+IUSE="doc memcached pam ssl static-libs"
 
 RDEPEND="
${POSTGRES_DEP}
@@ -25,8 +25,7 @@ RDEPEND="
memcached? ( dev-libs/libmemcached )
pam? ( sys-auth/pambase )
ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:= )
+   dev-libs/openssl:0=
)
 "
 DEPEND="${RDEPEND}

diff --git a/dev-db/pgpool2/pgpool2-.ebuild 
b/dev-db/pgpool2/pgpool2-.ebuild
index 2b63038d42f..46ab01e9e55 100644
--- a/dev-db/pgpool2/pgpool2-.ebuild
+++ b/dev-db/pgpool2/pgpool2-.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
@@ -17,7 +17,7 @@ SLOT="0"
 
 KEYWORDS=""
 
-IUSE="doc libressl memcached pam ssl static-libs"
+IUSE="doc memcached pam ssl static-libs"
 
 RDEPEND="
${POSTGRES_DEP}
@@ -25,8 +25,7 @@ RDEPEND="
memcached? ( dev-libs/libmemcached )
pam? ( sys-auth/pambase )
ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:= )
+   dev-libs/openssl:0=
)
 "
 DEPEND="${RDEPEND}



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

2021-03-03 Thread Aaron W. Swenson
commit: 071aefbb22ddad3fbd8e905fb334408b442f7e10
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Wed Mar  3 12:52:31 2021 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Wed Mar  3 12:52:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=071aefbb

dev-db/pgpool2: Bump to 4.2.2

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

 dev-db/pgpool2/Manifest |  1 +
 dev-db/pgpool2/pgpool2-4.2.2.ebuild | 98 +
 2 files changed, 99 insertions(+)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 73364f57dec..2d63ff7e8e9 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1 +1,2 @@
 DIST pgpool-II-4.2.1.tar.gz 4713114 BLAKE2B 
207cb3c43e47d40385d6808195561117293e5acec6bc34664ec7a1d8754bf9beb8c5350252a4274d4c50520254089f0e5a5fdfc0faf778186fa8000db6124df2
 SHA512 
b859a3952f69dd98a3df60b33b801d3bc96b9a11757593795a89751abe558c6baab10a37701d69d415c9da26a16abcdc72e0209e74c62204facfb25cdbc512f8
+DIST pgpool-II-4.2.2.tar.gz 4734840 BLAKE2B 
2b4d26991732293e1411d1219f85a8c9ad1dca72c63069381ae1377a02ae215e813356172f3b89b42b9140549c92c76d443b125bb65cbc6abf03d2b99cf18dab
 SHA512 
a147c810cc691fb27b823a813cbd2eaad66822c7c9f5c0f829cc70d4ac65911bbe827640f2dbd8060913276ed97340b52167e4332e9cdf013b6c9bc144c7b5d8

diff --git a/dev-db/pgpool2/pgpool2-4.2.2.ebuild 
b/dev-db/pgpool2/pgpool2-4.2.2.ebuild
new file mode 100644
index 000..e9e995be4dd
--- /dev/null
+++ b/dev-db/pgpool2/pgpool2-4.2.2.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+POSTGRES_COMPAT=( 9.{5..6} {10..13} )
+
+inherit autotools postgres-multi
+
+MY_P="${PN/2/-II}-${PV}"
+
+DESCRIPTION="Connection pool server for PostgreSQL"
+HOMEPAGE="https://www.pgpool.net/";
+SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> 
${MY_P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+
+IUSE="doc libressl memcached pam ssl static-libs"
+
+RDEPEND="
+   ${POSTGRES_DEP}
+   net-libs/libnsl:0=
+   memcached? ( dev-libs/libmemcached )
+   pam? ( sys-auth/pambase )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
+"
+DEPEND="${RDEPEND}
+   sys-devel/bison
+   virtual/pkgconfig
+"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+   postgres_new_user pgpool
+
+   postgres-multi_pkg_setup
+}
+
+src_prepare() {
+   eapply \
+   "${FILESDIR}/pgpool-4.2.0-configure-memcached.patch" \
+   "${FILESDIR}/pgpool-configure-pam.patch" \
+   "${FILESDIR}/pgpool-4.2.0-configure-pthread.patch" \
+   "${FILESDIR}/pgpool-4.2.0-run_paths.patch"
+
+   eautoreconf
+
+   postgres-multi_src_prepare
+}
+
+src_configure() {
+   postgres-multi_foreach econf \
+   --disable-rpath \
+   --sysconfdir="${EROOT}/etc/${PN}" \
+   --with-pgsql-includedir='/usr/include/postgresql-@PG_SLOT@' \
+   
--with-pgsql-libdir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/$(get_libdir)" \
+   $(use_enable static-libs static) \
+   $(use_with memcached) \
+   $(use_with pam) \
+   $(use_with ssl openssl)
+}
+
+src_compile() {
+   # Even though we're only going to do an install for the best slot
+   # available, the extension bits in src/sql need some things outside
+   # of that directory built, too.
+   postgres-multi_foreach emake
+   postgres-multi_foreach emake -C src/sql
+}
+
+src_install() {
+   # We only need the best stuff installed
+   postgres-multi_forbest emake DESTDIR="${D}" install
+
+   # Except for the extension and .so files that each PostgreSQL slot needs
+   postgres-multi_foreach emake DESTDIR="${D}" -C src/sql install
+
+   newinitd "${FILESDIR}/${PN}.initd" ${PN}
+   newconfd "${FILESDIR}/${PN}.confd" ${PN}
+
+   # Documentation!
+   dodoc NEWS TODO
+   doman doc/src/sgml/man{1,8}/*
+   use doc && dodoc -r doc/src/sgml/html
+
+   # mv some files that get installed to /usr/share/pgpool-II so that
+   # they all wind up in the same place
+   mv "${ED}/usr/share/${PN/2/-II}" "${ED}/usr/share/${PN}" || die
+
+   # One more thing: Evil la files!
+   find "${ED}" -name '*.la' -exec rm -f {} +
+}



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

2021-02-20 Thread Conrad Kostecki
commit: 8af66276be8752d179f5376899e091b79f17463a
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Fri Feb 19 08:24:33 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Feb 20 22:43:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8af66276

dev-db/pgpool2: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/19534
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../pgpool2/files/pgpool-configure-memcached.patch | 64 --
 .../pgpool2/files/pgpool-configure-pthread.patch   | 13 -
 2 files changed, 77 deletions(-)

diff --git a/dev-db/pgpool2/files/pgpool-configure-memcached.patch 
b/dev-db/pgpool2/files/pgpool-configure-memcached.patch
deleted file mode 100644
index 7b983dba02e..000
--- a/dev-db/pgpool2/files/pgpool-configure-memcached.patch
+++ /dev/null
@@ -1,64 +0,0 @@
 a/configure.ac
-+++ b/configure.ac
-@@ -338,37 +338,24 @@
-   [AC_MSG_ERROR([header file 
 or  is required for PAM.])])])
- fi
- 
--AC_ARG_WITH(memcached,
--[  --with-memcached=DIR site header files for libmemcached in DIR],
--[
--  case "$withval" in
--  "" | y | ye | yes | n | no)
--  AC_MSG_ERROR([*** You must supply an argument to the --with-memcached 
option.])
--;;
--*)
--
--  MEMCACHED_INCLUDE_DIR="$withval"/include
--  MEMCACHED_LIB_DIR="$withval"/lib
--  OLD_CFLAGS="$CFLAGS"
--  CFLAGS="$CFLAGS -I$MEMCACHED_INCLUDE_DIR"
--AC_CHECK_HEADERS(
--  [libmemcached/memcached.h],
--[AC_DEFINE([USE_MEMCACHED], 1, [Define to 1 to build with memcached 
support])],
--[AC_MSG_ERROR([header file  is required for 
memcached support])])
--  CFLAGS=$OLD_CFLAGS
--  AC_CHECK_LIB(memcached, memcached_create, [], [AC_MSG_ERROR(libmemcached is 
not installed)])
--  MEMCACHED_INCLUDE_OPT="-I $MEMCACHED_INCLUDE_DIR"
--  MEMCACHED_LINK_OPT="-L$MEMCACHED_LIB_DIR"
--  MEMCACHED_RPATH_OPT="-rpath $MEMCACHED_LIB_DIR"
--  ;;
--  esac
--  ])
-+AC_ARG_WITH([memcached],
-+AS_HELP_STRING([--with-memcached], [Build with memcached support]))
- 
--CFLAGS="$CFLAGS -fno-strict-aliasing"
-+AS_IF([test "x$with_memcached" = "xyes"], [
-+   PKG_CHECK_MODULES([MEMCACHED], [libmemcached])
-+   CFLAGS="$CFLAGS $MEMCACHED_CFLAGS"
-+   LIBS="$LIBS $MEMCACHED_LIBS"
-+
-+   AC_CHECK_HEADERS(
-+   [libmemcached/memcached.h],
-+   [AC_DEFINE([USE_MEMCACHED], 1, [Define to 1 to build with 
memcached support])],
-+   [AC_MSG_ERROR([Couldn't find ])])
-+
-+   AC_SEARCH_LIBS(memcached_create, [], [],
-+   [AC_MSG_ERROR(libmemcached is not installed)])
-+])
- 
--AC_SUBST(MEMCACHED_INCLUDE_OPT)
--AC_SUBST(MEMCACHED_LINK_OPT)
--AC_SUBST(MEMCACHED_RPATH_OPT)
-+CFLAGS="$CFLAGS -fno-strict-aliasing"
- 
- OLD_LDFLAGS="$LDFLAGS"
- LDFLAGS="-L$PGSQL_LIB_DIR"
-@@ -380,7 +367,6 @@
- 
- AC_SUBST(PGSQL_INCLUDE_DIR)
- AC_SUBST(PGSQL_LIB_DIR)
--AC_SUBST(MEMCACHED_DIR)
- 
- # --enable(disable)-rpath option
- AC_ARG_ENABLE(rpath,

diff --git a/dev-db/pgpool2/files/pgpool-configure-pthread.patch 
b/dev-db/pgpool2/files/pgpool-configure-pthread.patch
deleted file mode 100644
index 50b18fab6fc..000
--- a/dev-db/pgpool2/files/pgpool-configure-pthread.patch
+++ /dev/null
@@ -1,13 +0,0 @@
 a/configure.ac
-+++ b/configure.ac
-@@ -3,6 +3,10 @@
- 
- dnl Checks for programs.
- AC_PROG_CC
-+AX_PTHREAD
-+LIBS="$PTHREAD_LIBS $LIBS"
-+CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
-+CC="$PTHREAD_CC"
- 
- AM_INIT_AUTOMAKE([foreign no-dependencies subdir-objects])
- 



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

2021-02-18 Thread David Seifert
commit: 6e4c5974c66059a2b312f5edc6ed767f8f4f3cd7
Author: Jakov Smolic  sartura  hr>
AuthorDate: Thu Feb 18 18:55:24 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Feb 18 18:55:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e4c5974

dev-db/pgpool2: Remove old

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

 dev-db/pgpool2/Manifest|   3 -
 dev-db/pgpool2/files/pgpool_run_paths-3.7.10.patch | 322 -
 dev-db/pgpool2/pgpool2-3.7.10.ebuild   | 104 ---
 dev-db/pgpool2/pgpool2-4.0.5.ebuild| 104 ---
 dev-db/pgpool2/pgpool2-4.2.0.ebuild|  98 ---
 5 files changed, 631 deletions(-)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 62a75f59451..73364f57dec 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,4 +1 @@
-DIST pgpool-II-3.7.10.tar.gz 3375419 BLAKE2B 
96d589e9a3eff631bd4bffdcf321b3b532e5f0985dd4a5948fabc3228400305dc98fbf17ba64e162ecbaecca400e1bb3cad6fc954b2d624292f6f22deb48a789
 SHA512 
a89c392e336f5dd608c6876011f996fa1e4d7cb4b0eef31c24b2338ac287b72b73948e82429715d38fd9a7a6598f56828192722a2a8ee0d473738b804c4a2a48
-DIST pgpool-II-4.0.5.tar.gz 3768842 BLAKE2B 
2756d23db950a037a9203aae41293535de25d11bf9860f509040bf5b483ae5fb9e651c8189ee5f0a9398a45d20d2c54566769945e38c52361c160a1162a8e3af
 SHA512 
897df553dba3a1800adae5d22ed4f4fe210a3013fb533730837591244877eeaf0e4090d1a0c65e189b71798b5c303ea22e2198f6317b54f74f10ba48fa2188c6
-DIST pgpool-II-4.2.0.tar.gz 4707623 BLAKE2B 
9aa54fe0230d5dab303e9b20f35c242f9fe7f09c4c506c72be3a5d789f4e5c23b6e6fdf529ddafd5b1a0c0697a1e1b0f0106f965a8409f8e012633b8be0a58a9
 SHA512 
73179c3968441b592503512c5e0dfcc95ef778ecfd077024df0485fe831c9af12e708b51607c96c7bebf26f3cc81aefc53f50c7ad0a670d304cbbcf852170abf
 DIST pgpool-II-4.2.1.tar.gz 4713114 BLAKE2B 
207cb3c43e47d40385d6808195561117293e5acec6bc34664ec7a1d8754bf9beb8c5350252a4274d4c50520254089f0e5a5fdfc0faf778186fa8000db6124df2
 SHA512 
b859a3952f69dd98a3df60b33b801d3bc96b9a11757593795a89751abe558c6baab10a37701d69d415c9da26a16abcdc72e0209e74c62204facfb25cdbc512f8

diff --git a/dev-db/pgpool2/files/pgpool_run_paths-3.7.10.patch 
b/dev-db/pgpool2/files/pgpool_run_paths-3.7.10.patch
deleted file mode 100644
index 2374054b0f5..000
--- a/dev-db/pgpool2/files/pgpool_run_paths-3.7.10.patch
+++ /dev/null
@@ -1,322 +0,0 @@
-diff -Naruw a/src/include/parser/pg_config_manual.h 
b/src/include/parser/pg_config_manual.h
 a/src/include/parser/pg_config_manual.h2019-05-15 03:04:59.0 
-0400
-+++ b/src/include/parser/pg_config_manual.h2019-05-22 17:33:26.657307088 
-0400
-@@ -208,7 +208,7 @@
-  * here's where to twiddle it.  You can also override this at runtime
-  * with the postmaster's -k switch.
-  */
--#define DEFAULT_PGSOCKET_DIR  "/tmp"
-+#define DEFAULT_PGSOCKET_DIR  "/run/postgresql"
- 
- /*
-  * This is the default event source for Windows event log.
-diff -Naruw a/src/include/pcp/pcp_stream.h b/src/include/pcp/pcp_stream.h
 a/src/include/pcp/pcp_stream.h 2019-05-22 17:34:22.377167537 -0400
-+++ b/src/include/pcp/pcp_stream.h 2019-05-22 17:34:45.263776883 -0400
-@@ -48,6 +48,6 @@
- extern int pcp_write(PCP_CONNECTION *pc, void *buf, int len);
- extern int pcp_flush(PCP_CONNECTION *pc);
- 
--#define UNIX_DOMAIN_PATH "/tmp"
-+#define UNIX_DOMAIN_PATH "/run/pgpool"
- 
- #endif /* PCP_STREAM_H */
-diff -Naruw a/src/include/pool.h b/src/include/pool.h
 a/src/include/pool.h   2019-05-15 03:04:59.0 -0400
-+++ b/src/include/pool.h   2019-05-22 17:37:07.220088017 -0400
-@@ -72,16 +72,16 @@
- #define HBA_CONF_FILE_NAME "pool_hba.conf"
- 
- /* pid file directory */
--#define DEFAULT_LOGDIR "/tmp"
-+#define DEFAULT_LOGDIR "/run/pgpool"
- 
- /* Unix domain socket directory */
--#define DEFAULT_SOCKET_DIR "/tmp"
-+#define DEFAULT_SOCKET_DIR "/run/postgresql"
- 
- /* Unix domain socket directory for watchdog IPC */
--#define DEFAULT_WD_IPC_SOCKET_DIR "/tmp"
-+#define DEFAULT_WD_IPC_SOCKET_DIR "/run/pgpool"
- 
- /* pid file name */
--#define DEFAULT_PID_FILE_NAME "/var/run/pgpool/pgpool.pid"
-+#define DEFAULT_PID_FILE_NAME "/run/pgpool/pgpool.pid"
- 
- /* status file name */
- #define STATUS_FILE_NAME "pgpool_status"
-diff -Naruw a/src/sample/pgpool.conf.sample b/src/sample/pgpool.conf.sample
 a/src/sample/pgpool.conf.sample2019-05-15 03:04:59.0 -0400
-+++ b/src/sample/pgpool.conf.sample2019-05-23 06:17:33.641244614 -0400
-@@ -31,10 +31,8 @@
- port = 
-# Port number
-# (change requires restart)
--socket_dir = '/tmp'
-+socket_dir = '/run/postgresql'
-# Unix domain socket path
--   # The Debian package defaults to
--   # /var/run/postgresql

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

2021-02-17 Thread Sam James
commit: 9647be1598fdb80b93ca779d63d6cb7a73327fc9
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb 17 20:52:47 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 17 20:52:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9647be15

dev-db/pgpool2: Stabilize 4.2.1 amd64, #762952

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

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

diff --git a/dev-db/pgpool2/pgpool2-4.2.1.ebuild 
b/dev-db/pgpool2/pgpool2-4.2.1.ebuild
index 9bec9e4c03a..8fb09f7c262 100644
--- a/dev-db/pgpool2/pgpool2-4.2.1.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.2.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz 
-> ${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 IUSE="doc libressl memcached pam ssl static-libs"
 



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

2021-02-16 Thread Sam James
commit: 9c98413297da51576e340466eb1e66e90b7a1c2d
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 16 19:22:01 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 16 19:22:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c984132

dev-db/pgpool2: Stabilize 4.2.1 x86, #762952

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

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

diff --git a/dev-db/pgpool2/pgpool2-4.2.1.ebuild 
b/dev-db/pgpool2/pgpool2-4.2.1.ebuild
index 4c93ba916e0..9bec9e4c03a 100644
--- a/dev-db/pgpool2/pgpool2-4.2.1.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.2.1.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
@@ -15,7 +15,7 @@ SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz 
-> ${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 IUSE="doc libressl memcached pam ssl static-libs"
 



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

2020-12-27 Thread Aaron W. Swenson
commit: 67ab197df3308758fa5a94fcbe36c6a90b22674f
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun Dec 27 12:35:20 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Sun Dec 27 12:36:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67ab197d

dev-db/pgpool2: Bump to 4.2.1

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

 dev-db/pgpool2/Manifest |  1 +
 dev-db/pgpool2/pgpool2-4.2.1.ebuild | 98 +
 2 files changed, 99 insertions(+)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index e8e714bd215..62a75f59451 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,3 +1,4 @@
 DIST pgpool-II-3.7.10.tar.gz 3375419 BLAKE2B 
96d589e9a3eff631bd4bffdcf321b3b532e5f0985dd4a5948fabc3228400305dc98fbf17ba64e162ecbaecca400e1bb3cad6fc954b2d624292f6f22deb48a789
 SHA512 
a89c392e336f5dd608c6876011f996fa1e4d7cb4b0eef31c24b2338ac287b72b73948e82429715d38fd9a7a6598f56828192722a2a8ee0d473738b804c4a2a48
 DIST pgpool-II-4.0.5.tar.gz 3768842 BLAKE2B 
2756d23db950a037a9203aae41293535de25d11bf9860f509040bf5b483ae5fb9e651c8189ee5f0a9398a45d20d2c54566769945e38c52361c160a1162a8e3af
 SHA512 
897df553dba3a1800adae5d22ed4f4fe210a3013fb533730837591244877eeaf0e4090d1a0c65e189b71798b5c303ea22e2198f6317b54f74f10ba48fa2188c6
 DIST pgpool-II-4.2.0.tar.gz 4707623 BLAKE2B 
9aa54fe0230d5dab303e9b20f35c242f9fe7f09c4c506c72be3a5d789f4e5c23b6e6fdf529ddafd5b1a0c0697a1e1b0f0106f965a8409f8e012633b8be0a58a9
 SHA512 
73179c3968441b592503512c5e0dfcc95ef778ecfd077024df0485fe831c9af12e708b51607c96c7bebf26f3cc81aefc53f50c7ad0a670d304cbbcf852170abf
+DIST pgpool-II-4.2.1.tar.gz 4713114 BLAKE2B 
207cb3c43e47d40385d6808195561117293e5acec6bc34664ec7a1d8754bf9beb8c5350252a4274d4c50520254089f0e5a5fdfc0faf778186fa8000db6124df2
 SHA512 
b859a3952f69dd98a3df60b33b801d3bc96b9a11757593795a89751abe558c6baab10a37701d69d415c9da26a16abcdc72e0209e74c62204facfb25cdbc512f8

diff --git a/dev-db/pgpool2/pgpool2-4.2.1.ebuild 
b/dev-db/pgpool2/pgpool2-4.2.1.ebuild
new file mode 100644
index 000..4c93ba916e0
--- /dev/null
+++ b/dev-db/pgpool2/pgpool2-4.2.1.ebuild
@@ -0,0 +1,98 @@
+# 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} )
+
+inherit autotools postgres-multi
+
+MY_P="${PN/2/-II}-${PV}"
+
+DESCRIPTION="Connection pool server for PostgreSQL"
+HOMEPAGE="https://www.pgpool.net/";
+SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> 
${MY_P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+
+IUSE="doc libressl memcached pam ssl static-libs"
+
+RDEPEND="
+   ${POSTGRES_DEP}
+   net-libs/libnsl:0=
+   memcached? ( dev-libs/libmemcached )
+   pam? ( sys-auth/pambase )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
+"
+DEPEND="${RDEPEND}
+   sys-devel/bison
+   virtual/pkgconfig
+"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+   postgres_new_user pgpool
+
+   postgres-multi_pkg_setup
+}
+
+src_prepare() {
+   eapply \
+   "${FILESDIR}/pgpool-4.2.0-configure-memcached.patch" \
+   "${FILESDIR}/pgpool-configure-pam.patch" \
+   "${FILESDIR}/pgpool-4.2.0-configure-pthread.patch" \
+   "${FILESDIR}/pgpool-4.2.0-run_paths.patch"
+
+   eautoreconf
+
+   postgres-multi_src_prepare
+}
+
+src_configure() {
+   postgres-multi_foreach econf \
+   --disable-rpath \
+   --sysconfdir="${EROOT}/etc/${PN}" \
+   --with-pgsql-includedir='/usr/include/postgresql-@PG_SLOT@' \
+   
--with-pgsql-libdir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/$(get_libdir)" \
+   $(use_enable static-libs static) \
+   $(use_with memcached) \
+   $(use_with pam) \
+   $(use_with ssl openssl)
+}
+
+src_compile() {
+   # Even though we're only going to do an install for the best slot
+   # available, the extension bits in src/sql need some things outside
+   # of that directory built, too.
+   postgres-multi_foreach emake
+   postgres-multi_foreach emake -C src/sql
+}
+
+src_install() {
+   # We only need the best stuff installed
+   postgres-multi_forbest emake DESTDIR="${D}" install
+
+   # Except for the extension and .so files that each PostgreSQL slot needs
+   postgres-multi_foreach emake DESTDIR="${D}" -C src/sql install
+
+   newinitd "${FILESDIR}/${PN}.initd" ${PN}
+   newconfd "${FILESDIR}/${PN}.confd" ${PN}
+
+   # Documentation!
+   dodoc NEWS TODO
+   doman doc/src/sgml/man{1,8}/*
+   use doc && dodoc -r doc/src/sgml/html
+
+   # mv some files that get installed to /usr/share/pgpool-II so that
+   # they all wind up in the same place
+   mv "${ED}/usr/share/${PN/2/-II}" "${ED}/usr/share/${PN}" || die
+
+   #

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

2020-12-16 Thread Aaron W. Swenson
commit: 55cb29cdcea2e22381b97ddac899d44bd4e9e673
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu Dec 17 04:02:34 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Thu Dec 17 04:02:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55cb29cd

dev-db/pgpool2: Bump to 4.2.0

Now supports Pg 12 and 13.

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

 dev-db/pgpool2/Manifest|   1 +
 .../files/pgpool-4.2.0-configure-memcached.patch   |  60 +++
 .../files/pgpool-4.2.0-configure-pthread.patch |  14 +
 dev-db/pgpool2/files/pgpool-4.2.0-run_paths.patch  | 432 +
 dev-db/pgpool2/pgpool2-4.2.0.ebuild|  98 +
 5 files changed, 605 insertions(+)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 6ab46044a51..e8e714bd215 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,2 +1,3 @@
 DIST pgpool-II-3.7.10.tar.gz 3375419 BLAKE2B 
96d589e9a3eff631bd4bffdcf321b3b532e5f0985dd4a5948fabc3228400305dc98fbf17ba64e162ecbaecca400e1bb3cad6fc954b2d624292f6f22deb48a789
 SHA512 
a89c392e336f5dd608c6876011f996fa1e4d7cb4b0eef31c24b2338ac287b72b73948e82429715d38fd9a7a6598f56828192722a2a8ee0d473738b804c4a2a48
 DIST pgpool-II-4.0.5.tar.gz 3768842 BLAKE2B 
2756d23db950a037a9203aae41293535de25d11bf9860f509040bf5b483ae5fb9e651c8189ee5f0a9398a45d20d2c54566769945e38c52361c160a1162a8e3af
 SHA512 
897df553dba3a1800adae5d22ed4f4fe210a3013fb533730837591244877eeaf0e4090d1a0c65e189b71798b5c303ea22e2198f6317b54f74f10ba48fa2188c6
+DIST pgpool-II-4.2.0.tar.gz 4707623 BLAKE2B 
9aa54fe0230d5dab303e9b20f35c242f9fe7f09c4c506c72be3a5d789f4e5c23b6e6fdf529ddafd5b1a0c0697a1e1b0f0106f965a8409f8e012633b8be0a58a9
 SHA512 
73179c3968441b592503512c5e0dfcc95ef778ecfd077024df0485fe831c9af12e708b51607c96c7bebf26f3cc81aefc53f50c7ad0a670d304cbbcf852170abf

diff --git a/dev-db/pgpool2/files/pgpool-4.2.0-configure-memcached.patch 
b/dev-db/pgpool2/files/pgpool-4.2.0-configure-memcached.patch
new file mode 100644
index 000..9854e45e3a2
--- /dev/null
+++ b/dev-db/pgpool2/files/pgpool-4.2.0-configure-memcached.patch
@@ -0,0 +1,60 @@
+diff -Naruw pgpool-II-4.2.0.orig/configure.ac pgpool-II-4.2.0/configure.ac
+--- pgpool-II-4.2.0.orig/configure.ac  2020-11-25 20:25:42.0 -0500
 pgpool-II-4.2.0/configure.ac   2020-12-16 06:36:26.051076452 -0500
+@@ -392,37 +392,24 @@
+ fi
+ 
+ 
+-AC_ARG_WITH(memcached,
+-[  --with-memcached=DIR site header files for libmemcached in DIR],
+-[
+-  case "$withval" in
+-  "" | y | ye | yes | n | no)
+-  AC_MSG_ERROR([*** You must supply an argument to the --with-memcached 
option.])
+-;;
+-*)
+-
+-  MEMCACHED_INCLUDE_DIR="$withval"/include
+-  MEMCACHED_LIB_DIR="$withval"/lib
+-  OLD_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -I$MEMCACHED_INCLUDE_DIR"
++AC_ARG_WITH([memcached],
++AS_HELP_STRING([--with-memcached], [Build with memcached support]))
++AS_IF([test "x$with_memcached" = "xyes"], [
++   PKG_CHECK_MODULES([MEMCACHED], [libmemcached])
++   CFLAGS="$CFLAGS $MEMCACHED_CFLAGS"
++   LIBS="$LIBS $MEMCACHED_LIBS"
++
+ AC_CHECK_HEADERS(
+   [libmemcached/memcached.h],
+ [AC_DEFINE([USE_MEMCACHED], 1, [Define to 1 to build with memcached 
support])],
+-[AC_MSG_ERROR([header file  is required for 
memcached support])])
+-  CFLAGS=$OLD_CFLAGS
+-  AC_CHECK_LIB(memcached, memcached_create, [], [AC_MSG_ERROR(libmemcached is 
not installed)])
+-  MEMCACHED_INCLUDE_OPT="-I $MEMCACHED_INCLUDE_DIR"
+-  MEMCACHED_LINK_OPT="-L$MEMCACHED_LIB_DIR"
+-  MEMCACHED_RPATH_OPT="-rpath $MEMCACHED_LIB_DIR"
+-  ;;
+-  esac
++   [AC_MSG_ERROR([Couldn't find ])])
++
++   AC_SEARCH_LIBS(memcached_create, [], [],
++   [AC_MSG_ERROR(libmemcached is not installed)])
+   ])
+ 
+ CFLAGS="$CFLAGS -fno-strict-aliasing"
+ 
+-AC_SUBST(MEMCACHED_INCLUDE_OPT)
+-AC_SUBST(MEMCACHED_LINK_OPT)
+-AC_SUBST(MEMCACHED_RPATH_OPT)
+ 
+ OLD_LDFLAGS="$LDFLAGS"
+ LDFLAGS="-L$PGSQL_LIB_DIR $LDFLAGS"
+@@ -435,7 +422,6 @@
+ AC_SUBST(PGSQL_INCLUDE_DIR)
+ AC_SUBST(PGSQL_LIB_DIR)
+ AC_SUBST(PGSQL_BIN_DIR)
+-AC_SUBST(MEMCACHED_DIR)
+ 
+ # --enable(disable)-rpath option
+ AC_ARG_ENABLE(rpath,

diff --git a/dev-db/pgpool2/files/pgpool-4.2.0-configure-pthread.patch 
b/dev-db/pgpool2/files/pgpool-4.2.0-configure-pthread.patch
new file mode 100644
index 000..842fd5fbad7
--- /dev/null
+++ b/dev-db/pgpool2/files/pgpool-4.2.0-configure-pthread.patch
@@ -0,0 +1,14 @@
+diff -Naruw pgpool-II-4.2.0.orig/configure.ac pgpool-II-4.2.0/configure.ac
+--- pgpool-II-4.2.0.orig/configure.ac  2020-11-25 20:25:42.0 -0500
 pgpool-II-4.2.0/configure.ac   2020-12-16 06:40:11.150611861 -0500
+@@ -4,6 +4,10 @@
+ dnl Checks for programs.
+ AC_PROG_CC
+ AC_PROG_CC_C99()
++AX_PTHREAD
++LIBS="$PTHREAD_LIBS $LIBS"
++CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
++CC="$PTHREAD_CC"
+ 
+ # Error out if the compiler does not support C99, as the codebase
+ # relies on that.

diff --git a/

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

2020-12-16 Thread Aaron W. Swenson
commit: d55b2687cb772e77556ac0f29d2230f2c79e228a
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu Dec 17 04:08:38 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Thu Dec 17 04:08:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d55b2687

dev-db/pgpool2: Fix QA notices by pkgcheck

Unnecessary slash strip, and nonexistent blocker.

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

 dev-db/pgpool2/files/pgpool-4.2.0-run_paths.patch | 60 +++
 dev-db/pgpool2/pgpool2-4.2.0.ebuild   |  6 +--
 dev-db/pgpool2/pgpool2-.ebuild| 20 +++-
 3 files changed, 40 insertions(+), 46 deletions(-)

diff --git a/dev-db/pgpool2/files/pgpool-4.2.0-run_paths.patch 
b/dev-db/pgpool2/files/pgpool-4.2.0-run_paths.patch
index fd5dd863d7b..2eca0fd5918 100644
--- a/dev-db/pgpool2/files/pgpool-4.2.0-run_paths.patch
+++ b/dev-db/pgpool2/files/pgpool-4.2.0-run_paths.patch
@@ -1,6 +1,6 @@
-diff -Naruw pgpool-II-4.2.0.orig/src/include/parser/pg_config_manual.h 
pgpool-II-4.2.0/src/include/parser/pg_config_manual.h
 pgpool-II-4.2.0.orig/src/include/parser/pg_config_manual.h 2020-11-25 
20:25:31.0 -0500
-+++ pgpool-II-4.2.0/src/include/parser/pg_config_manual.h  2020-12-16 
21:39:27.178596628 -0500
+diff -Naruw a/src/include/parser/pg_config_manual.h 
b/src/include/parser/pg_config_manual.h
+--- a/src/include/parser/pg_config_manual.h
 b/src/include/parser/pg_config_manual.h
 @@ -228,7 +228,7 @@
   * support them yet.
   */
@@ -10,9 +10,9 @@ diff -Naruw 
pgpool-II-4.2.0.orig/src/include/parser/pg_config_manual.h pgpool-II
  #else
  #define DEFAULT_PGSOCKET_DIR ""
  #endif
-diff -Naruw pgpool-II-4.2.0.orig/src/include/pcp/pcp_stream.h 
pgpool-II-4.2.0/src/include/pcp/pcp_stream.h
 pgpool-II-4.2.0.orig/src/include/pcp/pcp_stream.h  2020-11-25 
20:25:31.0 -0500
-+++ pgpool-II-4.2.0/src/include/pcp/pcp_stream.h   2020-12-16 
21:40:46.051752707 -0500
+diff -Naruw a/src/include/pcp/pcp_stream.h b/src/include/pcp/pcp_stream.h
+--- a/src/include/pcp/pcp_stream.h
 b/src/include/pcp/pcp_stream.h
 @@ -49,6 +49,6 @@
  extern intpcp_write(PCP_CONNECTION * pc, void *buf, int len);
  extern intpcp_flush(PCP_CONNECTION * pc);
@@ -21,9 +21,9 @@ diff -Naruw pgpool-II-4.2.0.orig/src/include/pcp/pcp_stream.h 
pgpool-II-4.2.0/sr
 +#define UNIX_DOMAIN_PATH "/run/pgpool"
  
  #endif/* PCP_STREAM_H 
*/
-diff -Naruw pgpool-II-4.2.0.orig/src/include/pool.h 
pgpool-II-4.2.0/src/include/pool.h
 pgpool-II-4.2.0.orig/src/include/pool.h2020-11-25 20:25:31.0 
-0500
-+++ pgpool-II-4.2.0/src/include/pool.h 2020-12-16 21:42:50.054807364 -0500
+diff -Naruw a/src/include/pool.h b/src/include/pool.h
+--- a/src/include/pool.h
 b/src/include/pool.h
 @@ -69,16 +69,16 @@
  #define HBA_CONF_FILE_NAME "pool_hba.conf"
  
@@ -45,9 +45,9 @@ diff -Naruw pgpool-II-4.2.0.orig/src/include/pool.h 
pgpool-II-4.2.0/src/include/
  
  /* status file name */
  #define STATUS_FILE_NAME "pgpool_status"
-diff -Naruw pgpool-II-4.2.0.orig/src/sample/pgpool.conf.sample 
pgpool-II-4.2.0/src/sample/pgpool.conf.sample
 pgpool-II-4.2.0.orig/src/sample/pgpool.conf.sample 2020-11-25 
20:25:31.0 -0500
-+++ pgpool-II-4.2.0/src/sample/pgpool.conf.sample  2020-12-16 
21:57:56.776102951 -0500
+diff -Naruw a/src/sample/pgpool.conf.sample b/src/sample/pgpool.conf.sample
+--- a/src/sample/pgpool.conf.sample
 b/src/sample/pgpool.conf.sample
 @@ -39,10 +39,8 @@
  port = 
 # Port number
@@ -100,9 +100,9 @@ diff -Naruw 
pgpool-II-4.2.0.orig/src/sample/pgpool.conf.sample pgpool-II-4.2.0/s
  # (change requires restart)
  
  
-diff -Naruw pgpool-II-4.2.0.orig/src/sample/pgpool.conf.sample-logical 
pgpool-II-4.2.0/src/sample/pgpool.conf.sample-logical
 pgpool-II-4.2.0.orig/src/sample/pgpool.conf.sample-logical 2020-11-25 
20:25:31.0 -0500
-+++ pgpool-II-4.2.0/src/sample/pgpool.conf.sample-logical  2020-12-16 
21:57:56.776102951 -0500
+diff -Naruw a/src/sample/pgpool.conf.sample-logical 
b/src/sample/pgpool.conf.sample-logical
+--- a/src/sample/pgpool.conf.sample-logical
 b/src/sample/pgpool.conf.sample-logical
 @@ -38,10 +38,8 @@
  port = 
 # Port number
@@ -155,9 +155,9 @@ diff -Naruw 
pgpool-II-4.2.0.orig/src/sample/pgpool.conf.sample-logical pgpool-II
  # (change requires restart)
  
  
-diff -Naruw pgpool-II-4.2.0.orig/src/sample/pgpool.conf.sample-raw 
pgpool-II-4.2.0/src/sample/pgpool.conf.sample-raw
 pgpool-II-4.2.0.orig/src/sample/pgpool.conf.sample-raw 2020-11-25 
20:25:31.0 -0500
-+++ pgpool-II-4.2.0/src/sample/pgpool.conf.sample-raw  2020-12-16 
21:57:56.776102951 -0500
+diff -Naruw a/src/sample/pgpool.conf.sample-raw 
b/src/sample/pgpool.conf.sample-raw
+--- a/src/sample/pgpool

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

2020-08-13 Thread Aaron W. Swenson
commit: 366e6a9f5e1d55d7160a10b8a22457aa04dcfba7
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Fri Aug 14 00:41:22 2020 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Fri Aug 14 00:41:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=366e6a9f

dev-db/pgpool2: 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/pgpool2/pgpool2-3.7.10.ebuild | 4 ++--
 dev-db/pgpool2/pgpool2-4.0.5.ebuild  | 4 ++--
 dev-db/pgpool2/pgpool2-.ebuild   | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-db/pgpool2/pgpool2-3.7.10.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.10.ebuild
index b4e21052dd4..888fe8b89df 100644
--- a/dev-db/pgpool2/pgpool2-3.7.10.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.10.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 )
 
 inherit autotools postgres-multi
 

diff --git a/dev-db/pgpool2/pgpool2-4.0.5.ebuild 
b/dev-db/pgpool2/pgpool2-4.0.5.ebuild
index 8934e8bcb85..fa0a7f04569 100644
--- a/dev-db/pgpool2/pgpool2-4.0.5.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.0.5.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} )
 
 inherit autotools postgres-multi
 

diff --git a/dev-db/pgpool2/pgpool2-.ebuild 
b/dev-db/pgpool2/pgpool2-.ebuild
index 1e3475f6c7e..042e87ed4a9 100644
--- a/dev-db/pgpool2/pgpool2-.ebuild
+++ b/dev-db/pgpool2/pgpool2-.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 EGIT_REPO_URI="https://git.postgresql.org/git/pgpool2.git";
 
-POSTGRES_COMPAT=( 9.{4..6} {10..11} )
+POSTGRES_COMPAT=( 9.{5..6} {10..11} )
 
 inherit autotools git-r3 postgres-multi
 



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

2019-08-05 Thread Aaron W. Swenson
commit: e5f21c472de515b7778dca7bf7d2f780d7324f7f
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Mon Aug  5 09:55:09 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Mon Aug  5 09:55:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5f21c47

dev-db/pgpool2: Cleanup 3.7.8, 4.0.3

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

 dev-db/pgpool2/Manifest   |   2 -
 dev-db/pgpool2/files/pgpool_run_paths-3.6.5.patch | 268 -
 dev-db/pgpool2/files/pgpool_run_paths-.patch  | 274 --
 dev-db/pgpool2/pgpool2-3.7.8.ebuild   | 104 
 dev-db/pgpool2/pgpool2-4.0.3.ebuild   | 104 
 5 files changed, 752 deletions(-)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 065666b9229..6ab46044a51 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,4 +1,2 @@
 DIST pgpool-II-3.7.10.tar.gz 3375419 BLAKE2B 
96d589e9a3eff631bd4bffdcf321b3b532e5f0985dd4a5948fabc3228400305dc98fbf17ba64e162ecbaecca400e1bb3cad6fc954b2d624292f6f22deb48a789
 SHA512 
a89c392e336f5dd608c6876011f996fa1e4d7cb4b0eef31c24b2338ac287b72b73948e82429715d38fd9a7a6598f56828192722a2a8ee0d473738b804c4a2a48
-DIST pgpool-II-3.7.8.tar.gz 3337039 BLAKE2B 
bce75be04d3c37dffecbc0a1f029d6e97f316cc2497de032ccd4862acc6e7ae64f12db42a99141e548a2cc616ed02d7eef6ca2f63e222fb400cbad72828c
 SHA512 
0f4e337c2307368cfd38f29c63b9267dd3171dc4b9cd2c59cff564295908e2f561230156a5b690e4d87ce4c8b3174d01b081147e7f5d8ff403d3adc8e7cea7e7
-DIST pgpool-II-4.0.3.tar.gz 3715976 BLAKE2B 
c5ecfebc44ee4d6ab8fda5ae0854bb51423252ba518b356a37d3b125bc8f4fac048f6f944fdf9b1ee785aae5ac3eca4c4196adf218bc071dd90b93da5c6e6c08
 SHA512 
76ffbc8df120d4ef68b761684a1805c0349665375f549cd3a194f7d09b9bbdf70d0824da0cbe975e6d15f850704c4fc7c1a2218f551f88f2ce56f542bdfee9b8
 DIST pgpool-II-4.0.5.tar.gz 3768842 BLAKE2B 
2756d23db950a037a9203aae41293535de25d11bf9860f509040bf5b483ae5fb9e651c8189ee5f0a9398a45d20d2c54566769945e38c52361c160a1162a8e3af
 SHA512 
897df553dba3a1800adae5d22ed4f4fe210a3013fb533730837591244877eeaf0e4090d1a0c65e189b71798b5c303ea22e2198f6317b54f74f10ba48fa2188c6

diff --git a/dev-db/pgpool2/files/pgpool_run_paths-3.6.5.patch 
b/dev-db/pgpool2/files/pgpool_run_paths-3.6.5.patch
deleted file mode 100644
index 06c1b3711bd..000
--- a/dev-db/pgpool2/files/pgpool_run_paths-3.6.5.patch
+++ /dev/null
@@ -1,268 +0,0 @@
-diff -ur a/src/include/parser/pg_config_manual.h 
b/src/include/parser/pg_config_manual.h
 a/src/include/parser/pg_config_manual.h2017-07-10 04:56:18.0 
-0400
-+++ b/src/include/parser/pg_config_manual.h2017-07-11 09:38:46.612907898 
-0400
-@@ -193,7 +193,7 @@
-  * here's where to twiddle it.  You can also override this at runtime
-  * with the postmaster's -k switch.
-  */
--#define DEFAULT_PGSOCKET_DIR  "/tmp"
-+#define DEFAULT_PGSOCKET_DIR  "/run/postgresql"
- 
- /*
-  * This is the default event source for Windows event log.
-Only in b/src/include/parser: pg_config_manual.h.orig
-diff -ur a/src/include/pcp/pcp_stream.h b/src/include/pcp/pcp_stream.h
 a/src/include/pcp/pcp_stream.h 2017-07-10 04:39:14.0 -0400
-+++ b/src/include/pcp/pcp_stream.h 2017-07-11 09:38:46.612907898 -0400
-@@ -48,6 +48,6 @@
- extern int pcp_write(PCP_CONNECTION *pc, void *buf, int len);
- extern int pcp_flush(PCP_CONNECTION *pc);
- 
--#define UNIX_DOMAIN_PATH "/tmp"
-+#define UNIX_DOMAIN_PATH "/run/pgpool"
- 
- #endif /* PCP_STREAM_H */
-diff -ur a/src/include/pool.h b/src/include/pool.h
 a/src/include/pool.h   2017-07-10 04:56:18.0 -0400
-+++ b/src/include/pool.h   2017-07-11 09:38:46.612907898 -0400
-@@ -73,16 +73,16 @@
- #define HBA_CONF_FILE_NAME "pool_hba.conf"
- 
- /* pid file directory */
--#define DEFAULT_LOGDIR "/tmp"
-+#define DEFAULT_LOGDIR "/run/pgpool"
- 
- /* Unix domain socket directory */
--#define DEFAULT_SOCKET_DIR "/tmp"
-+#define DEFAULT_SOCKET_DIR "/run/postgresql"
- 
- /* Unix domain socket directory for watchdog IPC */
--#define DEFAULT_WD_IPC_SOCKET_DIR "/tmp"
-+#define DEFAULT_WD_IPC_SOCKET_DIR "/run/pgpool"
- 
- /* pid file name */
--#define DEFAULT_PID_FILE_NAME "/var/run/pgpool/pgpool.pid"
-+#define DEFAULT_PID_FILE_NAME "/run/pgpool/pgpool.pid"
- 
- /* status file name */
- #define STATUS_FILE_NAME "pgpool_status"
-diff -ur a/src/sample/pgpool.conf.sample b/src/sample/pgpool.conf.sample
 a/src/sample/pgpool.conf.sample2017-07-10 04:56:18.0 -0400
-+++ b/src/sample/pgpool.conf.sample2017-07-11 11:05:00.174030914 -0400
-@@ -31,10 +31,8 @@
- port = 
-# Port number
-# (change requires restart)
--socket_dir = '/tmp'
-+socket_dir = '/run/postgresql'
-# Unix domain socket path
--   # The Debian package defaults to
--   

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

2019-08-02 Thread Mikle Kolyada
commit: 1caa97ee3938729cde928897df06609b0e3278f8
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Aug  2 11:38:13 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Aug  2 11:38:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1caa97ee

dev-db/pgpool2: amd64 stable wrt bug #688470

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Mikle Kolyada  gentoo.org>

 dev-db/pgpool2/pgpool2-3.7.10.ebuild | 2 +-
 dev-db/pgpool2/pgpool2-4.0.5.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/pgpool2/pgpool2-3.7.10.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.10.ebuild
index 49283366da9..b4e21052dd4 100644
--- a/dev-db/pgpool2/pgpool2-3.7.10.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.10.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz 
-> ${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 IUSE="doc libressl memcached pam ssl static-libs"
 

diff --git a/dev-db/pgpool2/pgpool2-4.0.5.ebuild 
b/dev-db/pgpool2/pgpool2-4.0.5.ebuild
index 9641913446b..8934e8bcb85 100644
--- a/dev-db/pgpool2/pgpool2-4.0.5.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.0.5.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz 
-> ${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 IUSE="doc libressl memcached pam ssl static-libs"
 



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

2019-07-08 Thread Thomas Deutschmann
commit: bafe696ce1a3142eea936b572b3da72d404cca41
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Jul  8 12:03:50 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Jul  8 12:10:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bafe696c

dev-db/pgpool2: x86 stable (bug #688470)

Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-db/pgpool2/pgpool2-3.7.10.ebuild | 2 +-
 dev-db/pgpool2/pgpool2-4.0.5.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/pgpool2/pgpool2-3.7.10.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.10.ebuild
index 8c538b17082..49283366da9 100644
--- a/dev-db/pgpool2/pgpool2-3.7.10.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.10.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz 
-> ${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 IUSE="doc libressl memcached pam ssl static-libs"
 

diff --git a/dev-db/pgpool2/pgpool2-4.0.5.ebuild 
b/dev-db/pgpool2/pgpool2-4.0.5.ebuild
index a217a62435c..9641913446b 100644
--- a/dev-db/pgpool2/pgpool2-4.0.5.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.0.5.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz 
-> ${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 IUSE="doc libressl memcached pam ssl static-libs"
 



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

2019-06-15 Thread Aaron W. Swenson
commit: 09cc79ed616d5eccf62a29c37c3e0ac7144475e7
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sat Jun 15 10:31:57 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Sat Jun 15 10:31:57 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09cc79ed

dev-db/pgpool2: Remove POSTGRES_COMPAT 9.3

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

 dev-db/pgpool2/pgpool2-3.7.8.ebuild | 2 +-
 dev-db/pgpool2/pgpool2-4.0.3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/pgpool2/pgpool2-3.7.8.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.8.ebuild
index 770c9d221c6..837b6cdad01 100644
--- a/dev-db/pgpool2/pgpool2-3.7.8.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.8.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-POSTGRES_COMPAT=( 9.{3..6} 10 )
+POSTGRES_COMPAT=( 9.{4..6} 10 )
 
 inherit autotools postgres-multi
 

diff --git a/dev-db/pgpool2/pgpool2-4.0.3.ebuild 
b/dev-db/pgpool2/pgpool2-4.0.3.ebuild
index e2f26a68101..7b6bede1550 100644
--- a/dev-db/pgpool2/pgpool2-4.0.3.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.0.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-POSTGRES_COMPAT=( 9.{3..6} {10..11} )
+POSTGRES_COMPAT=( 9.{4..6} {10..11} )
 
 inherit autotools postgres-multi
 



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

2019-05-23 Thread Aaron W. Swenson
commit: 2b50d018e25c81b930855f763162fb8df89b1d37
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu May 23 13:52:06 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Thu May 23 13:52:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b50d018

dev-db/pgpool2: Bump to 3.7.10, 4.0.5

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

 dev-db/pgpool2/Manifest|   2 +
 dev-db/pgpool2/files/pgpool_run_paths-3.7.10.patch | 322 +
 .../{pgpool2-.ebuild => pgpool2-3.7.10.ebuild} |  23 +-
 .../{pgpool2-.ebuild => pgpool2-4.0.5.ebuild}  |  23 +-
 dev-db/pgpool2/pgpool2-.ebuild |   4 +-
 5 files changed, 346 insertions(+), 28 deletions(-)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 35cafa49579..065666b9229 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,2 +1,4 @@
+DIST pgpool-II-3.7.10.tar.gz 3375419 BLAKE2B 
96d589e9a3eff631bd4bffdcf321b3b532e5f0985dd4a5948fabc3228400305dc98fbf17ba64e162ecbaecca400e1bb3cad6fc954b2d624292f6f22deb48a789
 SHA512 
a89c392e336f5dd608c6876011f996fa1e4d7cb4b0eef31c24b2338ac287b72b73948e82429715d38fd9a7a6598f56828192722a2a8ee0d473738b804c4a2a48
 DIST pgpool-II-3.7.8.tar.gz 3337039 BLAKE2B 
bce75be04d3c37dffecbc0a1f029d6e97f316cc2497de032ccd4862acc6e7ae64f12db42a99141e548a2cc616ed02d7eef6ca2f63e222fb400cbad72828c
 SHA512 
0f4e337c2307368cfd38f29c63b9267dd3171dc4b9cd2c59cff564295908e2f561230156a5b690e4d87ce4c8b3174d01b081147e7f5d8ff403d3adc8e7cea7e7
 DIST pgpool-II-4.0.3.tar.gz 3715976 BLAKE2B 
c5ecfebc44ee4d6ab8fda5ae0854bb51423252ba518b356a37d3b125bc8f4fac048f6f944fdf9b1ee785aae5ac3eca4c4196adf218bc071dd90b93da5c6e6c08
 SHA512 
76ffbc8df120d4ef68b761684a1805c0349665375f549cd3a194f7d09b9bbdf70d0824da0cbe975e6d15f850704c4fc7c1a2218f551f88f2ce56f542bdfee9b8
+DIST pgpool-II-4.0.5.tar.gz 3768842 BLAKE2B 
2756d23db950a037a9203aae41293535de25d11bf9860f509040bf5b483ae5fb9e651c8189ee5f0a9398a45d20d2c54566769945e38c52361c160a1162a8e3af
 SHA512 
897df553dba3a1800adae5d22ed4f4fe210a3013fb533730837591244877eeaf0e4090d1a0c65e189b71798b5c303ea22e2198f6317b54f74f10ba48fa2188c6

diff --git a/dev-db/pgpool2/files/pgpool_run_paths-3.7.10.patch 
b/dev-db/pgpool2/files/pgpool_run_paths-3.7.10.patch
new file mode 100644
index 000..2374054b0f5
--- /dev/null
+++ b/dev-db/pgpool2/files/pgpool_run_paths-3.7.10.patch
@@ -0,0 +1,322 @@
+diff -Naruw a/src/include/parser/pg_config_manual.h 
b/src/include/parser/pg_config_manual.h
+--- a/src/include/parser/pg_config_manual.h2019-05-15 03:04:59.0 
-0400
 b/src/include/parser/pg_config_manual.h2019-05-22 17:33:26.657307088 
-0400
+@@ -208,7 +208,7 @@
+  * here's where to twiddle it.  You can also override this at runtime
+  * with the postmaster's -k switch.
+  */
+-#define DEFAULT_PGSOCKET_DIR  "/tmp"
++#define DEFAULT_PGSOCKET_DIR  "/run/postgresql"
+ 
+ /*
+  * This is the default event source for Windows event log.
+diff -Naruw a/src/include/pcp/pcp_stream.h b/src/include/pcp/pcp_stream.h
+--- a/src/include/pcp/pcp_stream.h 2019-05-22 17:34:22.377167537 -0400
 b/src/include/pcp/pcp_stream.h 2019-05-22 17:34:45.263776883 -0400
+@@ -48,6 +48,6 @@
+ extern int pcp_write(PCP_CONNECTION *pc, void *buf, int len);
+ extern int pcp_flush(PCP_CONNECTION *pc);
+ 
+-#define UNIX_DOMAIN_PATH "/tmp"
++#define UNIX_DOMAIN_PATH "/run/pgpool"
+ 
+ #endif /* PCP_STREAM_H */
+diff -Naruw a/src/include/pool.h b/src/include/pool.h
+--- a/src/include/pool.h   2019-05-15 03:04:59.0 -0400
 b/src/include/pool.h   2019-05-22 17:37:07.220088017 -0400
+@@ -72,16 +72,16 @@
+ #define HBA_CONF_FILE_NAME "pool_hba.conf"
+ 
+ /* pid file directory */
+-#define DEFAULT_LOGDIR "/tmp"
++#define DEFAULT_LOGDIR "/run/pgpool"
+ 
+ /* Unix domain socket directory */
+-#define DEFAULT_SOCKET_DIR "/tmp"
++#define DEFAULT_SOCKET_DIR "/run/postgresql"
+ 
+ /* Unix domain socket directory for watchdog IPC */
+-#define DEFAULT_WD_IPC_SOCKET_DIR "/tmp"
++#define DEFAULT_WD_IPC_SOCKET_DIR "/run/pgpool"
+ 
+ /* pid file name */
+-#define DEFAULT_PID_FILE_NAME "/var/run/pgpool/pgpool.pid"
++#define DEFAULT_PID_FILE_NAME "/run/pgpool/pgpool.pid"
+ 
+ /* status file name */
+ #define STATUS_FILE_NAME "pgpool_status"
+diff -Naruw a/src/sample/pgpool.conf.sample b/src/sample/pgpool.conf.sample
+--- a/src/sample/pgpool.conf.sample2019-05-15 03:04:59.0 -0400
 b/src/sample/pgpool.conf.sample2019-05-23 06:17:33.641244614 -0400
+@@ -31,10 +31,8 @@
+ port = 
+# Port number
+# (change requires restart)
+-socket_dir = '/tmp'
++socket_dir = '/run/postgresql'
+# Unix domain socket path
+-   # The Debian package defaults to
+-   # /var/run/postgresql
+ 

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

2019-05-23 Thread Aaron W. Swenson
commit: 26c7939b43eb0b654ab9ce55a4704a57647b48d2
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Tue May 21 16:44:57 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Thu May 23 10:08:02 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26c7939b

dev-db/pgpool2: use HTTPS

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11905
Signed-off-by: Aaron W. Swenson  gentoo.org>

 dev-db/pgpool2/pgpool2-3.7.8.ebuild | 4 ++--
 dev-db/pgpool2/pgpool2-4.0.3.ebuild | 4 ++--
 dev-db/pgpool2/pgpool2-.ebuild  | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-db/pgpool2/pgpool2-3.7.8.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.8.ebuild
index f4f989f9a38..770c9d221c6 100644
--- a/dev-db/pgpool2/pgpool2-3.7.8.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.8.ebuild
@@ -10,8 +10,8 @@ inherit autotools postgres-multi
 MY_P="${PN/2/-II}-${PV}"
 
 DESCRIPTION="Connection pool server for PostgreSQL"
-HOMEPAGE="http://www.pgpool.net/";
-SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
+HOMEPAGE="https://www.pgpool.net/";
+SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> 
${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 

diff --git a/dev-db/pgpool2/pgpool2-4.0.3.ebuild 
b/dev-db/pgpool2/pgpool2-4.0.3.ebuild
index caa0de63f44..e2f26a68101 100644
--- a/dev-db/pgpool2/pgpool2-4.0.3.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.0.3.ebuild
@@ -10,8 +10,8 @@ inherit autotools postgres-multi
 MY_P="${PN/2/-II}-${PV}"
 
 DESCRIPTION="Connection pool server for PostgreSQL"
-HOMEPAGE="http://www.pgpool.net/";
-SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
+HOMEPAGE="https://www.pgpool.net/";
+SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> 
${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 

diff --git a/dev-db/pgpool2/pgpool2-.ebuild 
b/dev-db/pgpool2/pgpool2-.ebuild
index 839ce8a519a..ad9b675997d 100644
--- a/dev-db/pgpool2/pgpool2-.ebuild
+++ b/dev-db/pgpool2/pgpool2-.ebuild
@@ -10,7 +10,7 @@ POSTGRES_COMPAT=( 9.{3..6} {10..11} )
 inherit autotools git-r3 postgres-multi
 
 DESCRIPTION="Connection pool server for PostgreSQL"
-HOMEPAGE="http://www.pgpool.net/";
+HOMEPAGE="https://www.pgpool.net/";
 SRC_URI=""
 LICENSE="BSD"
 SLOT="0"



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

2019-05-13 Thread Aaron W. Swenson
commit: d3ada3f25982368c7602ad35f9f112e4b89cf300
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Mon May 13 10:37:10 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Mon May 13 10:37:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3ada3f2

dev-db/pgpool2: Cleanup old

Closes: https://bugs.gentoo.org/677698
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Aaron W. Swenson  gentoo.org>

 dev-db/pgpool2/Manifest |   2 -
 dev-db/pgpool2/pgpool2-3.7.7.ebuild | 104 
 dev-db/pgpool2/pgpool2-4.0.2.ebuild | 104 
 3 files changed, 210 deletions(-)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 36deb0d1bd4..35cafa49579 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,4 +1,2 @@
-DIST pgpool-II-3.7.7.tar.gz 3325039 BLAKE2B 
47f4d48b811af0fb6626a6ea4b46bd81d13997fa8756f533711f733eed7526ea79bbc929cf894911cc5697c37fd5fde0306eaee485f00b6c41c2701bf08c972c
 SHA512 
9766d011f8a93ae292770b24915f6825d037d55ad3f75be131a58a9dcfb4d1a61f572f2c48f69ee0d3c6cbdfe76da15e417c26f102c646c3d9e1a2f71d205374
 DIST pgpool-II-3.7.8.tar.gz 3337039 BLAKE2B 
bce75be04d3c37dffecbc0a1f029d6e97f316cc2497de032ccd4862acc6e7ae64f12db42a99141e548a2cc616ed02d7eef6ca2f63e222fb400cbad72828c
 SHA512 
0f4e337c2307368cfd38f29c63b9267dd3171dc4b9cd2c59cff564295908e2f561230156a5b690e4d87ce4c8b3174d01b081147e7f5d8ff403d3adc8e7cea7e7
-DIST pgpool-II-4.0.2.tar.gz 3576212 BLAKE2B 
4027b8d02f4422900e674ee49a1946521b0737e73c9cd73363cd1ad1328de294bdec219bb8df55db58c6b2da365f8094e6b2228e13f1d24f35f7fb373280bd66
 SHA512 
9014c34f69cdcb3064a3713ed97fa0847f5572866db709c53f703b2ff996dbb31988d6573fcd85c9bb715bb54b9c215adaf11eb2f90193371be804ec37ac955e
 DIST pgpool-II-4.0.3.tar.gz 3715976 BLAKE2B 
c5ecfebc44ee4d6ab8fda5ae0854bb51423252ba518b356a37d3b125bc8f4fac048f6f944fdf9b1ee785aae5ac3eca4c4196adf218bc071dd90b93da5c6e6c08
 SHA512 
76ffbc8df120d4ef68b761684a1805c0349665375f549cd3a194f7d09b9bbdf70d0824da0cbe975e6d15f850704c4fc7c1a2218f551f88f2ce56f542bdfee9b8

diff --git a/dev-db/pgpool2/pgpool2-3.7.7.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.7.ebuild
deleted file mode 100644
index f4f989f9a38..000
--- a/dev-db/pgpool2/pgpool2-3.7.7.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-POSTGRES_COMPAT=( 9.{3..6} 10 )
-
-inherit autotools postgres-multi
-
-MY_P="${PN/2/-II}-${PV}"
-
-DESCRIPTION="Connection pool server for PostgreSQL"
-HOMEPAGE="http://www.pgpool.net/";
-SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-
-KEYWORDS="amd64 x86"
-
-IUSE="doc libressl memcached pam ssl static-libs"
-
-RDEPEND="
-   ${POSTGRES_DEP}
-   net-libs/libnsl:0=
-   memcached? ( dev-libs/libmemcached )
-   pam? ( sys-auth/pambase )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:= )
-   )
-"
-DEPEND="${RDEPEND}
-   !!dev-db/pgpool
-   sys-devel/bison
-   virtual/pkgconfig
-"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
-   postgres_new_user pgpool
-
-   postgres-multi_pkg_setup
-}
-
-src_prepare() {
-   eapply \
-   "${FILESDIR}/pgpool-configure-memcached.patch" \
-   "${FILESDIR}/pgpool-configure-pam.patch" \
-   "${FILESDIR}/pgpool-configure-pthread.patch" \
-   "${FILESDIR}/pgpool_run_paths-3.6.5.patch"
-
-   eautoreconf
-
-   postgres-multi_src_prepare
-}
-
-src_configure() {
-   postgres-multi_foreach econf \
-   --disable-rpath \
-   --sysconfdir="${EROOT%/}/etc/${PN}" \
-   --with-pgsql-includedir='/usr/include/postgresql-@PG_SLOT@' \
-   
--with-pgsql-libdir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/$(get_libdir)" \
-   $(use_enable static-libs static) \
-   $(use_with memcached) \
-   $(use_with pam) \
-   $(use_with ssl openssl)
-}
-
-src_compile() {
-   # Even though we're only going to do an install for the best slot
-   # available, the extension bits in src/sql need some things outside
-   # of that directory built, too.
-   postgres-multi_foreach emake
-   postgres-multi_foreach emake -C src/sql
-}
-
-src_install() {
-   # We only need the best stuff installed
-   postgres-multi_forbest emake DESTDIR="${D}" install
-
-   # Except for the extension and .so files that each PostgreSQL slot needs
-   postgres-multi_foreach emake DESTDIR="${D}" -C src/sql install
-
-   newinitd "${FILESDIR}/${PN}.initd" ${PN}
-   newconfd "${FILESDIR}/${PN}.confd" ${PN}
-
-   # Documentation!
-   dodoc NEWS TODO
-   doman doc/src/sgml/man{1,8}/*
-   use doc && dodoc -r doc/src/sgml/html
-
-   # Examples and extras

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

2019-05-12 Thread Thomas Deutschmann
commit: 012bf865ccffde0ee7594ae583515705e822efd8
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon May 13 00:24:39 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon May 13 00:37:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=012bf865

dev-db/pgpool2: x86 stable (bug #682678)

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-db/pgpool2/pgpool2-3.7.8.ebuild | 2 +-
 dev-db/pgpool2/pgpool2-4.0.3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/pgpool2/pgpool2-3.7.8.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.8.ebuild
index 26d74372395..f4f989f9a38 100644
--- a/dev-db/pgpool2/pgpool2-3.7.8.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.8.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz 
-> ${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 IUSE="doc libressl memcached pam ssl static-libs"
 

diff --git a/dev-db/pgpool2/pgpool2-4.0.3.ebuild 
b/dev-db/pgpool2/pgpool2-4.0.3.ebuild
index cd03db48b4d..caa0de63f44 100644
--- a/dev-db/pgpool2/pgpool2-4.0.3.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.0.3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz 
-> ${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 IUSE="doc libressl memcached pam ssl static-libs"
 



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

2019-04-08 Thread Mikle Kolyada
commit: a3db7727f5718a8d11235ef0dc144b7cbef7b3b3
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Apr  8 15:41:06 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Apr  8 15:41:06 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3db7727

dev-db/pgpool2: amd64 stable wrt bug #682678

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 dev-db/pgpool2/pgpool2-3.7.8.ebuild | 2 +-
 dev-db/pgpool2/pgpool2-4.0.3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/pgpool2/pgpool2-3.7.8.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.8.ebuild
index 59df68c3ad2..26d74372395 100644
--- a/dev-db/pgpool2/pgpool2-3.7.8.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.8.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz 
-> ${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 IUSE="doc libressl memcached pam ssl static-libs"
 

diff --git a/dev-db/pgpool2/pgpool2-4.0.3.ebuild 
b/dev-db/pgpool2/pgpool2-4.0.3.ebuild
index 6bfa9756868..cd03db48b4d 100644
--- a/dev-db/pgpool2/pgpool2-4.0.3.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.0.3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz 
-> ${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 IUSE="doc libressl memcached pam ssl static-libs"
 



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

2019-03-07 Thread Aaron W. Swenson
commit: 36342ce6c4c2a852f659d785be0db81e0cea1703
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu Mar  7 16:37:58 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Thu Mar  7 16:39:06 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36342ce6

dev-db/pgpool2: Bump to 3.7.8, 4.0.3

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

 dev-db/pgpool2/Manifest |   2 +
 dev-db/pgpool2/pgpool2-3.7.8.ebuild | 104 
 dev-db/pgpool2/pgpool2-4.0.3.ebuild | 104 
 3 files changed, 210 insertions(+)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 1044682f7a2..36deb0d1bd4 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,2 +1,4 @@
 DIST pgpool-II-3.7.7.tar.gz 3325039 BLAKE2B 
47f4d48b811af0fb6626a6ea4b46bd81d13997fa8756f533711f733eed7526ea79bbc929cf894911cc5697c37fd5fde0306eaee485f00b6c41c2701bf08c972c
 SHA512 
9766d011f8a93ae292770b24915f6825d037d55ad3f75be131a58a9dcfb4d1a61f572f2c48f69ee0d3c6cbdfe76da15e417c26f102c646c3d9e1a2f71d205374
+DIST pgpool-II-3.7.8.tar.gz 3337039 BLAKE2B 
bce75be04d3c37dffecbc0a1f029d6e97f316cc2497de032ccd4862acc6e7ae64f12db42a99141e548a2cc616ed02d7eef6ca2f63e222fb400cbad72828c
 SHA512 
0f4e337c2307368cfd38f29c63b9267dd3171dc4b9cd2c59cff564295908e2f561230156a5b690e4d87ce4c8b3174d01b081147e7f5d8ff403d3adc8e7cea7e7
 DIST pgpool-II-4.0.2.tar.gz 3576212 BLAKE2B 
4027b8d02f4422900e674ee49a1946521b0737e73c9cd73363cd1ad1328de294bdec219bb8df55db58c6b2da365f8094e6b2228e13f1d24f35f7fb373280bd66
 SHA512 
9014c34f69cdcb3064a3713ed97fa0847f5572866db709c53f703b2ff996dbb31988d6573fcd85c9bb715bb54b9c215adaf11eb2f90193371be804ec37ac955e
+DIST pgpool-II-4.0.3.tar.gz 3715976 BLAKE2B 
c5ecfebc44ee4d6ab8fda5ae0854bb51423252ba518b356a37d3b125bc8f4fac048f6f944fdf9b1ee785aae5ac3eca4c4196adf218bc071dd90b93da5c6e6c08
 SHA512 
76ffbc8df120d4ef68b761684a1805c0349665375f549cd3a194f7d09b9bbdf70d0824da0cbe975e6d15f850704c4fc7c1a2218f551f88f2ce56f542bdfee9b8

diff --git a/dev-db/pgpool2/pgpool2-3.7.8.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.8.ebuild
new file mode 100644
index 000..59df68c3ad2
--- /dev/null
+++ b/dev-db/pgpool2/pgpool2-3.7.8.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+POSTGRES_COMPAT=( 9.{3..6} 10 )
+
+inherit autotools postgres-multi
+
+MY_P="${PN/2/-II}-${PV}"
+
+DESCRIPTION="Connection pool server for PostgreSQL"
+HOMEPAGE="http://www.pgpool.net/";
+SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+
+IUSE="doc libressl memcached pam ssl static-libs"
+
+RDEPEND="
+   ${POSTGRES_DEP}
+   net-libs/libnsl:0=
+   memcached? ( dev-libs/libmemcached )
+   pam? ( sys-auth/pambase )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:= )
+   )
+"
+DEPEND="${RDEPEND}
+   !!dev-db/pgpool
+   sys-devel/bison
+   virtual/pkgconfig
+"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+   postgres_new_user pgpool
+
+   postgres-multi_pkg_setup
+}
+
+src_prepare() {
+   eapply \
+   "${FILESDIR}/pgpool-configure-memcached.patch" \
+   "${FILESDIR}/pgpool-configure-pam.patch" \
+   "${FILESDIR}/pgpool-configure-pthread.patch" \
+   "${FILESDIR}/pgpool_run_paths-3.6.5.patch"
+
+   eautoreconf
+
+   postgres-multi_src_prepare
+}
+
+src_configure() {
+   postgres-multi_foreach econf \
+   --disable-rpath \
+   --sysconfdir="${EROOT%/}/etc/${PN}" \
+   --with-pgsql-includedir='/usr/include/postgresql-@PG_SLOT@' \
+   
--with-pgsql-libdir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/$(get_libdir)" \
+   $(use_enable static-libs static) \
+   $(use_with memcached) \
+   $(use_with pam) \
+   $(use_with ssl openssl)
+}
+
+src_compile() {
+   # Even though we're only going to do an install for the best slot
+   # available, the extension bits in src/sql need some things outside
+   # of that directory built, too.
+   postgres-multi_foreach emake
+   postgres-multi_foreach emake -C src/sql
+}
+
+src_install() {
+   # We only need the best stuff installed
+   postgres-multi_forbest emake DESTDIR="${D}" install
+
+   # Except for the extension and .so files that each PostgreSQL slot needs
+   postgres-multi_foreach emake DESTDIR="${D}" -C src/sql install
+
+   newinitd "${FILESDIR}/${PN}.initd" ${PN}
+   newconfd "${FILESDIR}/${PN}.confd" ${PN}
+
+   # Documentation!
+   dodoc NEWS TODO
+   doman doc/src/sgml/man{1,8}/*
+   use doc && dodoc -r doc/src/sgml/html
+
+   # Examples and extras
+   # mv some files that ge

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

2019-02-10 Thread Aaron W. Swenson
commit: 227d41ab23ba39b097a0daa7e399e5ed3e7d0b60
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun Feb 10 11:55:47 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Sun Feb 10 11:56:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=227d41ab

dev-db/pgpool2: Cleanup old

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

 dev-db/pgpool2/Manifest |   4 --
 dev-db/pgpool2/pgpool2-3.7.0.ebuild |  98 -
 dev-db/pgpool2/pgpool2-3.7.1.ebuild |  98 -
 dev-db/pgpool2/pgpool2-3.7.3.ebuild |  98 -
 dev-db/pgpool2/pgpool2-3.7.5.ebuild | 104 
 5 files changed, 402 deletions(-)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 6a2000ddfbc..1044682f7a2 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,6 +1,2 @@
-DIST pgpool-II-3.7.0.tar.gz 3269076 BLAKE2B 
f7a396e82022a35e5f46fb644ca4a9007db3abaf97f8249d88bca00abf5d33abe7d47f705e959f7fb910885bf49f68bd5f965aae3085d12076d3100cca2f25f8
 SHA512 
cf8eef3a2ec761b51f9e6a72b5211810de57ad9b40b1738067616478b6486a813782588bfc92f6f351334d9514b1394551230c486fa0ac2f6c18a0490f22bbe2
-DIST pgpool-II-3.7.1.tar.gz 3237755 BLAKE2B 
ec196e384c9c4c03a28081fbb74b820c7480e2a98427441572142bd80bff6d2adbbda9bc19df1c70f4699af28fcac5f09161a5938df633bb9eba52c0d9dc24ac
 SHA512 
2a83f573ca2a720ee7beb75d8d1380747e29b2bb3c809f51bd0f8e4423d67f882ce2acb7d9ea118c55313e969aba3bf94a0d5b190eb905123d43c09df25e00ef
-DIST pgpool-II-3.7.3.tar.gz 3259752 BLAKE2B 
398257b2a647039a634d52b0e23ab1584aaa67f58d6f234f03bf2e99380b346b4ff51647f876d0789c484e88fc149a2af5a5b1b8fd3aa48323aada064ea3421d
 SHA512 
c7fea570f11dfc348b0099fde074f61a15e6979b6f16526d24d73b26d723edfdbadbcf10e90c2111aeb72599970718d3cda4abed3e99e8a711cf03b715c29624
-DIST pgpool-II-3.7.5.tar.gz 3276279 BLAKE2B 
d9c52684985e0a74ef115792f79a71305fbcc5f44663971e5fee41d543c7c290999091c387f5da6c73c88466880a24b21d469046de7981983d9984a606ae357e
 SHA512 
4840047f11b5e176803c03073d1ef6ef54f9d0be3d9bd622fedc9fd0ad4f835090fbf671bfd71cda0d994af6ea9a1658b0d5e5d09ec317b345c41fb0fa4b7b70
 DIST pgpool-II-3.7.7.tar.gz 3325039 BLAKE2B 
47f4d48b811af0fb6626a6ea4b46bd81d13997fa8756f533711f733eed7526ea79bbc929cf894911cc5697c37fd5fde0306eaee485f00b6c41c2701bf08c972c
 SHA512 
9766d011f8a93ae292770b24915f6825d037d55ad3f75be131a58a9dcfb4d1a61f572f2c48f69ee0d3c6cbdfe76da15e417c26f102c646c3d9e1a2f71d205374
 DIST pgpool-II-4.0.2.tar.gz 3576212 BLAKE2B 
4027b8d02f4422900e674ee49a1946521b0737e73c9cd73363cd1ad1328de294bdec219bb8df55db58c6b2da365f8094e6b2228e13f1d24f35f7fb373280bd66
 SHA512 
9014c34f69cdcb3064a3713ed97fa0847f5572866db709c53f703b2ff996dbb31988d6573fcd85c9bb715bb54b9c215adaf11eb2f90193371be804ec37ac955e

diff --git a/dev-db/pgpool2/pgpool2-3.7.0.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.0.ebuild
deleted file mode 100644
index d69e1ec43a5..000
--- a/dev-db/pgpool2/pgpool2-3.7.0.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-POSTGRES_COMPAT=( 9.{3..6} 10 )
-
-inherit postgres-multi
-
-MY_P="${PN/2/-II}-${PV}"
-
-DESCRIPTION="Connection pool server for PostgreSQL"
-HOMEPAGE="http://www.pgpool.net/";
-SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-
-KEYWORDS="amd64 x86"
-
-IUSE="doc memcached pam ssl static-libs"
-
-RDEPEND="
-   ${POSTGRES_DEP}
-   net-libs/libnsl:0=
-   memcached? ( dev-libs/libmemcached )
-   pam? ( sys-auth/pambase )
-   ssl? ( dev-libs/openssl:0= )
-"
-DEPEND="${RDEPEND}
-   sys-devel/bison
-   !!dev-db/pgpool
-"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
-   postgres_new_user pgpool
-
-   postgres-multi_pkg_setup
-}
-
-src_prepare() {
-   eapply "${FILESDIR}/pgpool_run_paths-3.6.5.patch"
-
-   postgres-multi_src_prepare
-}
-
-src_configure() {
-   local myconf
-   use memcached && \
-   
myconf="--with-memcached=\"${EROOT%/}/usr/include/libmemcached\""
-   use pam && myconf+=' --with-pam'
-
-   postgres-multi_foreach econf \
-   --disable-rpath \
-   --sysconfdir="${EROOT%/}/etc/${PN}" \
-   --with-pgsql-includedir='/usr/include/postgresql-@PG_SLOT@' \
-   
--with-pgsql-libdir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/$(get_libdir)" \
-   $(use_with ssl openssl) \
-   $(use_enable static-libs static) \
-   ${myconf}
-}
-
-src_compile() {
-   # Even though we're only going to do an install for the best slot
-   # available, the extension bits in src/sql need some things outside
-   # of that directory built, too.
-   postgres-multi_foreach emake
-   postgres-multi_foreach emake -C src/sql
-}
-
-src_install() {
-   # We only need t

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

2019-02-07 Thread Mikle Kolyada
commit: 9519f4a4c01cd5a85888f0a4adedf55bacdbda31
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Feb  8 07:38:28 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Feb  8 07:38:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9519f4a4

dev-db/pgpool2: amd64 stable wrt bug #675982

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-db/pgpool2/pgpool2-3.7.7.ebuild | 2 +-
 dev-db/pgpool2/pgpool2-4.0.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/pgpool2/pgpool2-3.7.7.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.7.ebuild
index ddf55c788d5..f4f989f9a38 100644
--- a/dev-db/pgpool2/pgpool2-3.7.7.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.7.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz 
-> ${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 IUSE="doc libressl memcached pam ssl static-libs"
 

diff --git a/dev-db/pgpool2/pgpool2-4.0.2.ebuild 
b/dev-db/pgpool2/pgpool2-4.0.2.ebuild
index ef41b7cf7e2..caa0de63f44 100644
--- a/dev-db/pgpool2/pgpool2-4.0.2.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.0.2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz 
-> ${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 IUSE="doc libressl memcached pam ssl static-libs"
 



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

2019-01-24 Thread Thomas Deutschmann
commit: 1e7f491a67f9eaceba37c2dd107e790a67fbd8cf
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Jan 24 22:00:26 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Jan 24 22:22:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e7f491a

dev-db/pgpool2: x86 stable (bug #675982)

Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-db/pgpool2/pgpool2-3.7.7.ebuild | 2 +-
 dev-db/pgpool2/pgpool2-4.0.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/pgpool2/pgpool2-3.7.7.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.7.ebuild
index 59df68c3ad2..ddf55c788d5 100644
--- a/dev-db/pgpool2/pgpool2-3.7.7.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.7.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz 
-> ${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 IUSE="doc libressl memcached pam ssl static-libs"
 

diff --git a/dev-db/pgpool2/pgpool2-4.0.2.ebuild 
b/dev-db/pgpool2/pgpool2-4.0.2.ebuild
index 6bfa9756868..ef41b7cf7e2 100644
--- a/dev-db/pgpool2/pgpool2-4.0.2.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.0.2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz 
-> ${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 IUSE="doc libressl memcached pam ssl static-libs"
 



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

2019-01-07 Thread Lars Wendler
commit: 9a639bbbcb6ee9c24fbd3ac86ca8f7112015f433
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Jan  7 16:52:35 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Jan  7 17:00:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a639bbb

dev-db/pgpool2: Adjusted (sub-)slot dep on dev-libs/openssl

Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 dev-db/pgpool2/pgpool2-3.7.0.ebuild | 4 ++--
 dev-db/pgpool2/pgpool2-3.7.1.ebuild | 4 ++--
 dev-db/pgpool2/pgpool2-3.7.3.ebuild | 4 ++--
 dev-db/pgpool2/pgpool2-3.7.5.ebuild | 4 ++--
 dev-db/pgpool2/pgpool2-3.7.7.ebuild | 4 ++--
 dev-db/pgpool2/pgpool2-4.0.2.ebuild | 4 ++--
 dev-db/pgpool2/pgpool2-.ebuild  | 4 ++--
 7 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/dev-db/pgpool2/pgpool2-3.7.0.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.0.ebuild
index 9ffbb68c699..d69e1ec43a5 100644
--- a/dev-db/pgpool2/pgpool2-3.7.0.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -24,7 +24,7 @@ RDEPEND="
net-libs/libnsl:0=
memcached? ( dev-libs/libmemcached )
pam? ( sys-auth/pambase )
-   ssl? ( dev-libs/openssl:* )
+   ssl? ( dev-libs/openssl:0= )
 "
 DEPEND="${RDEPEND}
sys-devel/bison

diff --git a/dev-db/pgpool2/pgpool2-3.7.1.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.1.ebuild
index fe57ae92434..abc82060012 100644
--- a/dev-db/pgpool2/pgpool2-3.7.1.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -24,7 +24,7 @@ RDEPEND="
net-libs/libnsl:0=
memcached? ( dev-libs/libmemcached )
pam? ( sys-auth/pambase )
-   ssl? ( dev-libs/openssl:* )
+   ssl? ( dev-libs/openssl:0= )
 "
 DEPEND="${RDEPEND}
sys-devel/bison

diff --git a/dev-db/pgpool2/pgpool2-3.7.3.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.3.ebuild
index fe57ae92434..abc82060012 100644
--- a/dev-db/pgpool2/pgpool2-3.7.3.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -24,7 +24,7 @@ RDEPEND="
net-libs/libnsl:0=
memcached? ( dev-libs/libmemcached )
pam? ( sys-auth/pambase )
-   ssl? ( dev-libs/openssl:* )
+   ssl? ( dev-libs/openssl:0= )
 "
 DEPEND="${RDEPEND}
sys-devel/bison

diff --git a/dev-db/pgpool2/pgpool2-3.7.5.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.5.ebuild
index 285ca5b8727..f4f989f9a38 100644
--- a/dev-db/pgpool2/pgpool2-3.7.5.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -25,7 +25,7 @@ RDEPEND="
memcached? ( dev-libs/libmemcached )
pam? ( sys-auth/pambase )
ssl? (
-   !libressl? ( dev-libs/openssl:* )
+   !libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:= )
)
 "

diff --git a/dev-db/pgpool2/pgpool2-3.7.7.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.7.ebuild
index 79ac82b6529..59df68c3ad2 100644
--- a/dev-db/pgpool2/pgpool2-3.7.7.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -25,7 +25,7 @@ RDEPEND="
memcached? ( dev-libs/libmemcached )
pam? ( sys-auth/pambase )
ssl? (
-   !libressl? ( dev-libs/openssl:* )
+   !libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:= )
)
 "

diff --git a/dev-db/pgpool2/pgpool2-4.0.2.ebuild 
b/dev-db/pgpool2/pgpool2-4.0.2.ebuild
index 099a14d0870..6bfa9756868 100644
--- a/dev-db/pgpool2/pgpool2-4.0.2.ebuild
+++ b/dev-db/pgpool2/pgpool2-4.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -25,7 +25,7 @@ RDEPEND="
memcached? ( dev-libs/libmemcached )
pam? ( sys-auth/pambase )
ssl? (
-   !libressl? ( dev-libs/openssl:* )
+   !libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:= )
)
 "

diff --git a/dev-db/pgpool2/pgpool2-.ebuild 
b/dev-db/pgpool2/pgpool2-.ebuild
index b565c24cfbe..839ce8a519a 100644
--- a/dev-db/pgpool2/pgpool2-.ebuild
+++ b/dev-db/pgpool2/pgpool2-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# 

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

2018-11-28 Thread Aaron W. Swenson
commit: 7e93450a4ccb0caa85bea75fcaa01c4c551b721b
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Wed Nov 28 11:23:48 2018 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Wed Nov 28 11:25:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e93450a

dev-db/pgpool2: Bump to 3.7.7, 4.0.2

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

 dev-db/pgpool2/Manifest |   2 +
 dev-db/pgpool2/pgpool2-3.7.7.ebuild | 104 
 dev-db/pgpool2/pgpool2-4.0.2.ebuild | 104 
 3 files changed, 210 insertions(+)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 120a39ebe5b..6a2000ddfbc 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -2,3 +2,5 @@ DIST pgpool-II-3.7.0.tar.gz 3269076 BLAKE2B 
f7a396e82022a35e5f46fb644ca4a9007db3
 DIST pgpool-II-3.7.1.tar.gz 3237755 BLAKE2B 
ec196e384c9c4c03a28081fbb74b820c7480e2a98427441572142bd80bff6d2adbbda9bc19df1c70f4699af28fcac5f09161a5938df633bb9eba52c0d9dc24ac
 SHA512 
2a83f573ca2a720ee7beb75d8d1380747e29b2bb3c809f51bd0f8e4423d67f882ce2acb7d9ea118c55313e969aba3bf94a0d5b190eb905123d43c09df25e00ef
 DIST pgpool-II-3.7.3.tar.gz 3259752 BLAKE2B 
398257b2a647039a634d52b0e23ab1584aaa67f58d6f234f03bf2e99380b346b4ff51647f876d0789c484e88fc149a2af5a5b1b8fd3aa48323aada064ea3421d
 SHA512 
c7fea570f11dfc348b0099fde074f61a15e6979b6f16526d24d73b26d723edfdbadbcf10e90c2111aeb72599970718d3cda4abed3e99e8a711cf03b715c29624
 DIST pgpool-II-3.7.5.tar.gz 3276279 BLAKE2B 
d9c52684985e0a74ef115792f79a71305fbcc5f44663971e5fee41d543c7c290999091c387f5da6c73c88466880a24b21d469046de7981983d9984a606ae357e
 SHA512 
4840047f11b5e176803c03073d1ef6ef54f9d0be3d9bd622fedc9fd0ad4f835090fbf671bfd71cda0d994af6ea9a1658b0d5e5d09ec317b345c41fb0fa4b7b70
+DIST pgpool-II-3.7.7.tar.gz 3325039 BLAKE2B 
47f4d48b811af0fb6626a6ea4b46bd81d13997fa8756f533711f733eed7526ea79bbc929cf894911cc5697c37fd5fde0306eaee485f00b6c41c2701bf08c972c
 SHA512 
9766d011f8a93ae292770b24915f6825d037d55ad3f75be131a58a9dcfb4d1a61f572f2c48f69ee0d3c6cbdfe76da15e417c26f102c646c3d9e1a2f71d205374
+DIST pgpool-II-4.0.2.tar.gz 3576212 BLAKE2B 
4027b8d02f4422900e674ee49a1946521b0737e73c9cd73363cd1ad1328de294bdec219bb8df55db58c6b2da365f8094e6b2228e13f1d24f35f7fb373280bd66
 SHA512 
9014c34f69cdcb3064a3713ed97fa0847f5572866db709c53f703b2ff996dbb31988d6573fcd85c9bb715bb54b9c215adaf11eb2f90193371be804ec37ac955e

diff --git a/dev-db/pgpool2/pgpool2-3.7.7.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.7.ebuild
new file mode 100644
index 000..79ac82b6529
--- /dev/null
+++ b/dev-db/pgpool2/pgpool2-3.7.7.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+POSTGRES_COMPAT=( 9.{3..6} 10 )
+
+inherit autotools postgres-multi
+
+MY_P="${PN/2/-II}-${PV}"
+
+DESCRIPTION="Connection pool server for PostgreSQL"
+HOMEPAGE="http://www.pgpool.net/";
+SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+
+IUSE="doc libressl memcached pam ssl static-libs"
+
+RDEPEND="
+   ${POSTGRES_DEP}
+   net-libs/libnsl:0=
+   memcached? ( dev-libs/libmemcached )
+   pam? ( sys-auth/pambase )
+   ssl? (
+   !libressl? ( dev-libs/openssl:* )
+   libressl? ( dev-libs/libressl:= )
+   )
+"
+DEPEND="${RDEPEND}
+   !!dev-db/pgpool
+   sys-devel/bison
+   virtual/pkgconfig
+"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+   postgres_new_user pgpool
+
+   postgres-multi_pkg_setup
+}
+
+src_prepare() {
+   eapply \
+   "${FILESDIR}/pgpool-configure-memcached.patch" \
+   "${FILESDIR}/pgpool-configure-pam.patch" \
+   "${FILESDIR}/pgpool-configure-pthread.patch" \
+   "${FILESDIR}/pgpool_run_paths-3.6.5.patch"
+
+   eautoreconf
+
+   postgres-multi_src_prepare
+}
+
+src_configure() {
+   postgres-multi_foreach econf \
+   --disable-rpath \
+   --sysconfdir="${EROOT%/}/etc/${PN}" \
+   --with-pgsql-includedir='/usr/include/postgresql-@PG_SLOT@' \
+   
--with-pgsql-libdir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/$(get_libdir)" \
+   $(use_enable static-libs static) \
+   $(use_with memcached) \
+   $(use_with pam) \
+   $(use_with ssl openssl)
+}
+
+src_compile() {
+   # Even though we're only going to do an install for the best slot
+   # available, the extension bits in src/sql need some things outside
+   # of that directory built, too.
+   postgres-multi_foreach emake
+   postgres-multi_foreach emake -C src/sql
+}
+
+src_install() {
+   # We only need the best stuff installed
+   postgres-multi_forbest emake DESTDIR="${D}" install
+
+   # Except for the extension and .so files that ea

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

2018-11-17 Thread Thomas Deutschmann
commit: 001bac41674026f6e27248266c616007e94ebf02
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Nov 17 23:23:01 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Nov 17 23:23:01 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=001bac41

dev-db/pgpool2: drop postgresql 11 support

dev-db/postgresql:11 has no stable ebuild yet.

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

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

diff --git a/dev-db/pgpool2/pgpool2-3.7.5.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.5.ebuild
index 5a571f86822..285ca5b8727 100644
--- a/dev-db/pgpool2/pgpool2-3.7.5.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-POSTGRES_COMPAT=( 9.{3..6} {10..11} )
+POSTGRES_COMPAT=( 9.{3..6} 10 )
 
 inherit autotools postgres-multi
 



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

2018-09-15 Thread Mikle Kolyada
commit: 715400f4cd13640430f56602aa2c47d38fead0f7
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Sep 15 17:07:40 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Sep 15 17:07:40 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=715400f4

dev-db/pgpool2: amd64 stable wrt bug #665104

Package-Manager: Portage-2.3.40, Repoman-2.3.9

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

diff --git a/dev-db/pgpool2/pgpool2-3.7.5.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.5.ebuild
index 156499a8075..5a571f86822 100644
--- a/dev-db/pgpool2/pgpool2-3.7.5.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.5.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz 
-> ${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 IUSE="doc libressl memcached pam ssl static-libs"
 



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

2018-09-10 Thread Thomas Deutschmann
commit: c2ba7a42087a46dbe50af509046736a5669197d2
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Sep 10 21:20:59 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Sep 10 21:20:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2ba7a42

dev-db/pgpool2: x86 stable (bug #665104)

Package-Manager: Portage-2.3.49, Repoman-2.3.10

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

diff --git a/dev-db/pgpool2/pgpool2-3.7.5.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.5.ebuild
index adab103e02f..156499a8075 100644
--- a/dev-db/pgpool2/pgpool2-3.7.5.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.5.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz 
-> ${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 IUSE="doc libressl memcached pam ssl static-libs"
 



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

2018-08-03 Thread Aaron Swenson
commit: f0bf9e33b1b43f9e93200cc8b3cdc4733728ca2a
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Fri Aug  3 13:29:25 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Fri Aug  3 13:34:04 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0bf9e33

dev-db/pgpool2: Remove litter from patch

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-db/pgpool2/pgpool2-.ebuild.orig | 104 
 1 file changed, 104 deletions(-)

diff --git a/dev-db/pgpool2/pgpool2-.ebuild.orig 
b/dev-db/pgpool2/pgpool2-.ebuild.orig
deleted file mode 100644
index 5881c059c51..000
--- a/dev-db/pgpool2/pgpool2-.ebuild.orig
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-EGIT_REPO_URI="https://git.postgresql.org/git/pgpool2.git";
-
-POSTGRES_COMPAT=( 9.{3..6} {10..11} )
-
-inherit autotools git-r3 postgres-multi
-
-DESCRIPTION="Connection pool server for PostgreSQL"
-HOMEPAGE="http://www.pgpool.net/";
-SRC_URI=""
-LICENSE="BSD"
-SLOT="0"
-
-KEYWORDS=""
-
-IUSE="doc memcached pam ssl static-libs"
-
-RDEPEND="
-   ${POSTGRES_DEP}
-   net-libs/libnsl:0=
-   memcached? ( dev-libs/libmemcached )
-   pam? ( sys-auth/pambase )
-   ssl? ( dev-libs/openssl:* )
-"
-DEPEND="${RDEPEND}
-   !!dev-db/pgpool
-   sys-devel/bison
-   virtual/pkgconfig
-   doc? (
-app-text/openjade
-dev-libs/libxml2
-dev-libs/libxslt
-)
-"
-
-pkg_setup() {
-   postgres_new_user pgpool
-
-   postgres-multi_pkg_setup
-}
-
-src_prepare() {
-   eapply \
-   "${FILESDIR}/pgpool-configure-memcached.patch" \
-   "${FILESDIR}/pgpool-configure-pam.patch" \
-   "${FILESDIR}/pgpool-configure-pthread.patch" \
-   "${FILESDIR}/pgpool_run_paths-.patch"
-
-   eautoreconf
-
-   postgres-multi_src_prepare
-}
-
-src_configure() {
-   postgres-multi_foreach econf \
-   --disable-rpath \
-   --sysconfdir="${EROOT%/}/etc/${PN}" \
-   --with-pgsql-includedir='/usr/include/postgresql-@PG_SLOT@' \
-   
--with-pgsql-libdir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/$(get_libdir)" \
-   $(use_enable static-libs static) \
-   $(use_with memcached) \
-   $(use_with pam) \
-   $(use_with ssl openssl)
-}
-
-src_compile() {
-   # Even though we're only going to do an install for the best slot
-   # available, the extension bits in src/sql need some things outside
-   # of that directory built, too.
-   postgres-multi_foreach emake
-   postgres-multi_foreach emake -C src/sql
-   use doc && postgres-multi_forbest emake DESTDIR="${D}" -C doc
-}
-
-src_install() {
-   # We only need the best stuff installed
-   postgres-multi_forbest emake DESTDIR="${D}" install
-
-   # Except for the extension and .so files that each PostgreSQL slot needs
-   postgres-multi_foreach emake DESTDIR="${D}" -C src/sql install
-
-   newinitd "${FILESDIR}/${PN}.initd" ${PN}
-   newconfd "${FILESDIR}/${PN}.confd" ${PN}
-
-   # Documentation!
-   dodoc NEWS TODO
-   use doc && postgres-multi_forbest emake DESTDIR="${D}" -C doc install
-
-   # Examples and extras
-   # mv some files that get installed to /usr/share/pgpool-II so that
-   # they all wind up in the same place
-   mv "${ED%/}/usr/share/${PN/2/-II}" "${ED%/}/usr/share/${PN}" || die
-   into "/usr/share/${PN}"
-   dobin 
src/sample/{pgpool_recovery,pgpool_recovery_pitr,pgpool_remote_start}
-   insinto "/usr/share/${PN}"
-   doins src/sample/{{pcp,pgpool,pool_hba}.conf.sample*,pgpool.pam}
-
-   # One more thing: Evil la files!
-   find "${ED}" -name '*.la' -exec rm -f {} +
-}



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

2018-08-03 Thread Aaron Swenson
commit: 079ff486c23fdb326e5d58df1433b854ca900e94
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Fri Aug  3 13:26:51 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Fri Aug  3 13:26:51 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=079ff486

dev-db/pgpool2: Bump to 3.7.5

Add a couple patches to fix a few options in
configure.ac. --without-pam no longer acts as if --with-pam was
given. Now uses pkg-config to get any special settings for
libmemcached rather than using fixed sub-directories
(${user_provided_path}/{include,lib,…}). Lastly, introduced AX_PTHREAD
to link in the appropriate threading library to fix bug 616302.

If libmemcached was built with USE=sasl which builds against
cyrus-sasl. cyrus-sasl builds against a threading library which
necessitates including the same threading in pgpool2 despite pgpool2
not being a threaded program.

pgpool2 is now able to build against LibreSSL as well as OpenSSL. The
ebuild now reflects this fact

Bug: https://bugs.gentoo.org/616302
Bug: https://bugs.gentoo.org/646888
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-db/pgpool2/Manifest|  1 +
 .../pgpool2/files/pgpool-configure-memcached.patch | 64 ++
 dev-db/pgpool2/files/pgpool-configure-pam.patch| 25 +
 .../pgpool2/files/pgpool-configure-pthread.patch   | 13 +
 dev-db/pgpool2/files/pgpool2.initd | 14 ++---
 .../{pgpool2-.ebuild => pgpool2-3.7.5.ebuild}  | 45 ---
 dev-db/pgpool2/pgpool2-.ebuild | 42 --
 ...gpool2-.ebuild => pgpool2-.ebuild.orig} | 35 +++-
 8 files changed, 182 insertions(+), 57 deletions(-)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index e81a23c8628..120a39ebe5b 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,3 +1,4 @@
 DIST pgpool-II-3.7.0.tar.gz 3269076 BLAKE2B 
f7a396e82022a35e5f46fb644ca4a9007db3abaf97f8249d88bca00abf5d33abe7d47f705e959f7fb910885bf49f68bd5f965aae3085d12076d3100cca2f25f8
 SHA512 
cf8eef3a2ec761b51f9e6a72b5211810de57ad9b40b1738067616478b6486a813782588bfc92f6f351334d9514b1394551230c486fa0ac2f6c18a0490f22bbe2
 DIST pgpool-II-3.7.1.tar.gz 3237755 BLAKE2B 
ec196e384c9c4c03a28081fbb74b820c7480e2a98427441572142bd80bff6d2adbbda9bc19df1c70f4699af28fcac5f09161a5938df633bb9eba52c0d9dc24ac
 SHA512 
2a83f573ca2a720ee7beb75d8d1380747e29b2bb3c809f51bd0f8e4423d67f882ce2acb7d9ea118c55313e969aba3bf94a0d5b190eb905123d43c09df25e00ef
 DIST pgpool-II-3.7.3.tar.gz 3259752 BLAKE2B 
398257b2a647039a634d52b0e23ab1584aaa67f58d6f234f03bf2e99380b346b4ff51647f876d0789c484e88fc149a2af5a5b1b8fd3aa48323aada064ea3421d
 SHA512 
c7fea570f11dfc348b0099fde074f61a15e6979b6f16526d24d73b26d723edfdbadbcf10e90c2111aeb72599970718d3cda4abed3e99e8a711cf03b715c29624
+DIST pgpool-II-3.7.5.tar.gz 3276279 BLAKE2B 
d9c52684985e0a74ef115792f79a71305fbcc5f44663971e5fee41d543c7c290999091c387f5da6c73c88466880a24b21d469046de7981983d9984a606ae357e
 SHA512 
4840047f11b5e176803c03073d1ef6ef54f9d0be3d9bd622fedc9fd0ad4f835090fbf671bfd71cda0d994af6ea9a1658b0d5e5d09ec317b345c41fb0fa4b7b70

diff --git a/dev-db/pgpool2/files/pgpool-configure-memcached.patch 
b/dev-db/pgpool2/files/pgpool-configure-memcached.patch
new file mode 100644
index 000..7b983dba02e
--- /dev/null
+++ b/dev-db/pgpool2/files/pgpool-configure-memcached.patch
@@ -0,0 +1,64 @@
+--- a/configure.ac
 b/configure.ac
+@@ -338,37 +338,24 @@
+   [AC_MSG_ERROR([header file 
 or  is required for PAM.])])])
+ fi
+ 
+-AC_ARG_WITH(memcached,
+-[  --with-memcached=DIR site header files for libmemcached in DIR],
+-[
+-  case "$withval" in
+-  "" | y | ye | yes | n | no)
+-  AC_MSG_ERROR([*** You must supply an argument to the --with-memcached 
option.])
+-;;
+-*)
+-
+-  MEMCACHED_INCLUDE_DIR="$withval"/include
+-  MEMCACHED_LIB_DIR="$withval"/lib
+-  OLD_CFLAGS="$CFLAGS"
+-  CFLAGS="$CFLAGS -I$MEMCACHED_INCLUDE_DIR"
+-AC_CHECK_HEADERS(
+-  [libmemcached/memcached.h],
+-[AC_DEFINE([USE_MEMCACHED], 1, [Define to 1 to build with memcached 
support])],
+-[AC_MSG_ERROR([header file  is required for 
memcached support])])
+-  CFLAGS=$OLD_CFLAGS
+-  AC_CHECK_LIB(memcached, memcached_create, [], [AC_MSG_ERROR(libmemcached is 
not installed)])
+-  MEMCACHED_INCLUDE_OPT="-I $MEMCACHED_INCLUDE_DIR"
+-  MEMCACHED_LINK_OPT="-L$MEMCACHED_LIB_DIR"
+-  MEMCACHED_RPATH_OPT="-rpath $MEMCACHED_LIB_DIR"
+-  ;;
+-  esac
+-  ])
++AC_ARG_WITH([memcached],
++AS_HELP_STRING([--with-memcached], [Build with memcached support]))
+ 
+-CFLAGS="$CFLAGS -fno-strict-aliasing"
++AS_IF([test "x$with_memcached" = "xyes"], [
++   PKG_CHECK_MODULES([MEMCACHED], [libmemcached])
++   CFLAGS="$CFLAGS $MEMCACHED_CFLAGS"
++   LIBS="$LIBS $MEMCACHED_LIBS"
++
++   AC_CHECK_HEADERS(
++   [libmemcached/memcached.h],
++   [AC_DEFINE([USE_MEMCACHED], 1, [Define to 1 to build w

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

2018-05-13 Thread Aaron Swenson
commit: 2dcdaf5893cce7637cdafc8fd83e3c23cbdbbc22
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun May 13 16:55:42 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Sun May 13 16:55:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dcdaf58

dev-db/pgpool2: Add 10 to POSTGRES_COMPAT

Package-Manager: Portage-2.3.24, Repoman-2.3.6

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

diff --git a/dev-db/pgpool2/pgpool2-.ebuild 
b/dev-db/pgpool2/pgpool2-.ebuild
index 1f1a09578e4..b0b43a07e37 100644
--- a/dev-db/pgpool2/pgpool2-.ebuild
+++ b/dev-db/pgpool2/pgpool2-.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 EGIT_REPO_URI="https://git.postgresql.org/git/pgpool2.git";
 
-POSTGRES_COMPAT=( 9.{3..6} )
+POSTGRES_COMPAT=( 9.{3..6} 10 )
 
 inherit git-r3 postgres-multi
 



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

2018-05-13 Thread Aaron Swenson
commit: 559fafbc516b393fc3e9fc16140adbd533f35344
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sun May 13 16:53:42 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Sun May 13 16:53:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=559fafbc

dev-db/pgpool2: Remove <9.3 from POSTGRES_COMPAT

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-db/pgpool2/pgpool2-3.7.0.ebuild | 2 +-
 dev-db/pgpool2/pgpool2-3.7.1.ebuild | 2 +-
 dev-db/pgpool2/pgpool2-3.7.3.ebuild | 2 +-
 dev-db/pgpool2/pgpool2-.ebuild  | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-db/pgpool2/pgpool2-3.7.0.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.0.ebuild
index 83e46adf7fa..9ffbb68c699 100644
--- a/dev-db/pgpool2/pgpool2-3.7.0.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-POSTGRES_COMPAT=( 9.{2..6} 10 )
+POSTGRES_COMPAT=( 9.{3..6} 10 )
 
 inherit postgres-multi
 

diff --git a/dev-db/pgpool2/pgpool2-3.7.1.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.1.ebuild
index 4a6fed48f20..fe57ae92434 100644
--- a/dev-db/pgpool2/pgpool2-3.7.1.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-POSTGRES_COMPAT=( 9.{2..6} 10 )
+POSTGRES_COMPAT=( 9.{3..6} 10 )
 
 inherit postgres-multi
 

diff --git a/dev-db/pgpool2/pgpool2-3.7.3.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.3.ebuild
index 4a6fed48f20..fe57ae92434 100644
--- a/dev-db/pgpool2/pgpool2-3.7.3.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-POSTGRES_COMPAT=( 9.{2..6} 10 )
+POSTGRES_COMPAT=( 9.{3..6} 10 )
 
 inherit postgres-multi
 

diff --git a/dev-db/pgpool2/pgpool2-.ebuild 
b/dev-db/pgpool2/pgpool2-.ebuild
index c8c5ae2d372..1f1a09578e4 100644
--- a/dev-db/pgpool2/pgpool2-.ebuild
+++ b/dev-db/pgpool2/pgpool2-.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 EGIT_REPO_URI="https://git.postgresql.org/git/pgpool2.git";
 
-POSTGRES_COMPAT=( 9.{2..6} )
+POSTGRES_COMPAT=( 9.{3..6} )
 
 inherit git-r3 postgres-multi
 



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

2018-04-27 Thread Aaron Swenson
commit: 1f0b3b500534f88286f870d6d610b8a15d676f62
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Fri Apr 27 20:58:59 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Fri Apr 27 20:58:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f0b3b50

dev-db/pgpool2: Bump to 3.7.3

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-db/pgpool2/Manifest |  1 +
 dev-db/pgpool2/pgpool2-3.7.3.ebuild | 98 +
 2 files changed, 99 insertions(+)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index ca8f20d575b..e81a23c8628 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,2 +1,3 @@
 DIST pgpool-II-3.7.0.tar.gz 3269076 BLAKE2B 
f7a396e82022a35e5f46fb644ca4a9007db3abaf97f8249d88bca00abf5d33abe7d47f705e959f7fb910885bf49f68bd5f965aae3085d12076d3100cca2f25f8
 SHA512 
cf8eef3a2ec761b51f9e6a72b5211810de57ad9b40b1738067616478b6486a813782588bfc92f6f351334d9514b1394551230c486fa0ac2f6c18a0490f22bbe2
 DIST pgpool-II-3.7.1.tar.gz 3237755 BLAKE2B 
ec196e384c9c4c03a28081fbb74b820c7480e2a98427441572142bd80bff6d2adbbda9bc19df1c70f4699af28fcac5f09161a5938df633bb9eba52c0d9dc24ac
 SHA512 
2a83f573ca2a720ee7beb75d8d1380747e29b2bb3c809f51bd0f8e4423d67f882ce2acb7d9ea118c55313e969aba3bf94a0d5b190eb905123d43c09df25e00ef
+DIST pgpool-II-3.7.3.tar.gz 3259752 BLAKE2B 
398257b2a647039a634d52b0e23ab1584aaa67f58d6f234f03bf2e99380b346b4ff51647f876d0789c484e88fc149a2af5a5b1b8fd3aa48323aada064ea3421d
 SHA512 
c7fea570f11dfc348b0099fde074f61a15e6979b6f16526d24d73b26d723edfdbadbcf10e90c2111aeb72599970718d3cda4abed3e99e8a711cf03b715c29624

diff --git a/dev-db/pgpool2/pgpool2-3.7.3.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.3.ebuild
new file mode 100644
index 000..4a6fed48f20
--- /dev/null
+++ b/dev-db/pgpool2/pgpool2-3.7.3.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+POSTGRES_COMPAT=( 9.{2..6} 10 )
+
+inherit postgres-multi
+
+MY_P="${PN/2/-II}-${PV}"
+
+DESCRIPTION="Connection pool server for PostgreSQL"
+HOMEPAGE="http://www.pgpool.net/";
+SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+
+IUSE="doc memcached pam ssl static-libs"
+
+RDEPEND="
+   ${POSTGRES_DEP}
+   net-libs/libnsl:0=
+   memcached? ( dev-libs/libmemcached )
+   pam? ( sys-auth/pambase )
+   ssl? ( dev-libs/openssl:* )
+"
+DEPEND="${RDEPEND}
+   sys-devel/bison
+   !!dev-db/pgpool
+"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+   postgres_new_user pgpool
+
+   postgres-multi_pkg_setup
+}
+
+src_prepare() {
+   eapply "${FILESDIR}/pgpool_run_paths-3.6.5.patch"
+
+   postgres-multi_src_prepare
+}
+
+src_configure() {
+   local myconf
+   use memcached && \
+   
myconf="--with-memcached=\"${EROOT%/}/usr/include/libmemcached\""
+   use pam && myconf+=' --with-pam'
+
+   postgres-multi_foreach econf \
+   --disable-rpath \
+   --sysconfdir="${EROOT%/}/etc/${PN}" \
+   --with-pgsql-includedir='/usr/include/postgresql-@PG_SLOT@' \
+   
--with-pgsql-libdir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/$(get_libdir)" \
+   $(use_with ssl openssl) \
+   $(use_enable static-libs static) \
+   ${myconf}
+}
+
+src_compile() {
+   # Even though we're only going to do an install for the best slot
+   # available, the extension bits in src/sql need some things outside
+   # of that directory built, too.
+   postgres-multi_foreach emake
+   postgres-multi_foreach emake -C src/sql
+}
+
+src_install() {
+   # We only need the best stuff installed
+   postgres-multi_forbest emake DESTDIR="${D}" install
+
+   # Except for the extension and .so files that each PostgreSQL slot needs
+   postgres-multi_foreach emake DESTDIR="${D}" -C src/sql install
+
+   newinitd "${FILESDIR}/${PN}.initd" ${PN}
+   newconfd "${FILESDIR}/${PN}.confd" ${PN}
+
+   # Documentation!
+   dodoc NEWS TODO
+   doman doc/src/sgml/man{1,8}/*
+   use doc && dodoc -r doc/src/sgml/html
+
+   # Examples and extras
+   # mv some files that get installed to /usr/share/pgpool-II so that
+   # they all wind up in the same place
+   mv "${ED%/}/usr/share/${PN/2/-II}" "${ED%/}/usr/share/${PN}" || die
+   into "/usr/share/${PN}"
+   dobin 
src/sample/{pgpool_recovery,pgpool_recovery_pitr,pgpool_remote_start}
+   insinto "/usr/share/${PN}"
+   doins src/sample/{{pcp,pgpool,pool_hba}.conf.sample*,pgpool.pam}
+
+   # One more thing: Evil la files!
+   find "${ED}" -name '*.la' -exec rm -f {} +
+}



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

2018-01-12 Thread Aaron Swenson
commit: 9c4d6ead5a1183d124e3fbc6fbff1a420dc688af
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Fri Jan 12 21:35:10 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Fri Jan 12 21:35:10 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c4d6ead

dev-db/pgpool2: Bump to 3.7.1

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-db/pgpool2/Manifest |  1 +
 dev-db/pgpool2/pgpool2-3.7.1.ebuild | 98 +
 2 files changed, 99 insertions(+)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 664bfb2820b..ca8f20d575b 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1 +1,2 @@
 DIST pgpool-II-3.7.0.tar.gz 3269076 BLAKE2B 
f7a396e82022a35e5f46fb644ca4a9007db3abaf97f8249d88bca00abf5d33abe7d47f705e959f7fb910885bf49f68bd5f965aae3085d12076d3100cca2f25f8
 SHA512 
cf8eef3a2ec761b51f9e6a72b5211810de57ad9b40b1738067616478b6486a813782588bfc92f6f351334d9514b1394551230c486fa0ac2f6c18a0490f22bbe2
+DIST pgpool-II-3.7.1.tar.gz 3237755 BLAKE2B 
ec196e384c9c4c03a28081fbb74b820c7480e2a98427441572142bd80bff6d2adbbda9bc19df1c70f4699af28fcac5f09161a5938df633bb9eba52c0d9dc24ac
 SHA512 
2a83f573ca2a720ee7beb75d8d1380747e29b2bb3c809f51bd0f8e4423d67f882ce2acb7d9ea118c55313e969aba3bf94a0d5b190eb905123d43c09df25e00ef

diff --git a/dev-db/pgpool2/pgpool2-3.7.1.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.1.ebuild
new file mode 100644
index 000..4a6fed48f20
--- /dev/null
+++ b/dev-db/pgpool2/pgpool2-3.7.1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+POSTGRES_COMPAT=( 9.{2..6} 10 )
+
+inherit postgres-multi
+
+MY_P="${PN/2/-II}-${PV}"
+
+DESCRIPTION="Connection pool server for PostgreSQL"
+HOMEPAGE="http://www.pgpool.net/";
+SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+
+IUSE="doc memcached pam ssl static-libs"
+
+RDEPEND="
+   ${POSTGRES_DEP}
+   net-libs/libnsl:0=
+   memcached? ( dev-libs/libmemcached )
+   pam? ( sys-auth/pambase )
+   ssl? ( dev-libs/openssl:* )
+"
+DEPEND="${RDEPEND}
+   sys-devel/bison
+   !!dev-db/pgpool
+"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+   postgres_new_user pgpool
+
+   postgres-multi_pkg_setup
+}
+
+src_prepare() {
+   eapply "${FILESDIR}/pgpool_run_paths-3.6.5.patch"
+
+   postgres-multi_src_prepare
+}
+
+src_configure() {
+   local myconf
+   use memcached && \
+   
myconf="--with-memcached=\"${EROOT%/}/usr/include/libmemcached\""
+   use pam && myconf+=' --with-pam'
+
+   postgres-multi_foreach econf \
+   --disable-rpath \
+   --sysconfdir="${EROOT%/}/etc/${PN}" \
+   --with-pgsql-includedir='/usr/include/postgresql-@PG_SLOT@' \
+   
--with-pgsql-libdir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/$(get_libdir)" \
+   $(use_with ssl openssl) \
+   $(use_enable static-libs static) \
+   ${myconf}
+}
+
+src_compile() {
+   # Even though we're only going to do an install for the best slot
+   # available, the extension bits in src/sql need some things outside
+   # of that directory built, too.
+   postgres-multi_foreach emake
+   postgres-multi_foreach emake -C src/sql
+}
+
+src_install() {
+   # We only need the best stuff installed
+   postgres-multi_forbest emake DESTDIR="${D}" install
+
+   # Except for the extension and .so files that each PostgreSQL slot needs
+   postgres-multi_foreach emake DESTDIR="${D}" -C src/sql install
+
+   newinitd "${FILESDIR}/${PN}.initd" ${PN}
+   newconfd "${FILESDIR}/${PN}.confd" ${PN}
+
+   # Documentation!
+   dodoc NEWS TODO
+   doman doc/src/sgml/man{1,8}/*
+   use doc && dodoc -r doc/src/sgml/html
+
+   # Examples and extras
+   # mv some files that get installed to /usr/share/pgpool-II so that
+   # they all wind up in the same place
+   mv "${ED%/}/usr/share/${PN/2/-II}" "${ED%/}/usr/share/${PN}" || die
+   into "/usr/share/${PN}"
+   dobin 
src/sample/{pgpool_recovery,pgpool_recovery_pitr,pgpool_remote_start}
+   insinto "/usr/share/${PN}"
+   doins src/sample/{{pcp,pgpool,pool_hba}.conf.sample*,pgpool.pam}
+
+   # One more thing: Evil la files!
+   find "${ED}" -name '*.la' -exec rm -f {} +
+}



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

2018-01-11 Thread Aaron Swenson
commit: 278fe78f2fe0ce2f62f63235f1b4a316f4086e25
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu Jan 11 10:38:10 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Thu Jan 11 10:38:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=278fe78f

dev-db/pgpool2: Cleanup

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-db/pgpool2/Manifest   |   7 -
 dev-db/pgpool2/files/pgpool2-3.5.0-path-fix.patch | 184 
 dev-db/pgpool2/files/pgpool_run_paths-3.6.4.patch | 255 --
 dev-db/pgpool2/pgpool2-3.5.2.ebuild   | 101 -
 dev-db/pgpool2/pgpool2-3.5.5.ebuild   | 101 -
 dev-db/pgpool2/pgpool2-3.6.1.ebuild   |  99 -
 dev-db/pgpool2/pgpool2-3.6.4.ebuild   |  99 -
 dev-db/pgpool2/pgpool2-3.6.5.ebuild   |  98 -
 dev-db/pgpool2/pgpool2-3.6.6.ebuild   |  98 -
 dev-db/pgpool2/pgpool2-3.6.7.ebuild   |  98 -
 10 files changed, 1140 deletions(-)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 7be846d3630..664bfb2820b 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,8 +1 @@
-DIST pgpool-II-3.5.2.tar.gz 2227075 BLAKE2B 
4f40044dc37353a811b2f4ddd4bb6d41604e1fc5c64064603fcee704a92a4e4d3b1baa83314f476dfe32ecbd851208996139a55ffaffb3f1bb9f8ac72685a02f
 SHA512 
dd7268bce0019de30dfad01a8600af798127a4c2cc818e6f85ba30289e97c253d6faa392734d85ccbc97be3f04458c12af1bba541e5b8f3d2ee8268432e01d1a
-DIST pgpool-II-3.5.5.tar.gz 2243184 BLAKE2B 
4267991fdf45ddd0e2bf3e253508b9b18ad669d0184bcb13143dddcfe6233e4aa223ba275f9471b2645262e43341fb4c8e5ac9e154ee2fd3de49aa5420de070e
 SHA512 
f77888cbc5e2c15ae1035ee3a1965d4fd3d02cdfd5810c6c656456eaa0d73dae7471906bdf0848607723633da5b8d02145559b767735bcc9b7e4023b1d59efed
-DIST pgpool-II-3.6.1.tar.gz 2539510 BLAKE2B 
844f54a2f74251af8af1348c374807e1dce2028eb64d2974c7fb1b904c6518012764c16fdd7fdeea8b9039fcfa13d8c139a9b2e020fffc87e6b90f3d6a489e5c
 SHA512 
9d4f0ecec3cf7478c7c4cd5cb1aa75614edca204d11b145f145d752c24bed7f7f4ea2880f6a3f9833aee0b5f428e8cf36e2f91bdef2f6065fb98019df546469a
-DIST pgpool-II-3.6.4.tar.gz 2623625 BLAKE2B 
d8ba2a02c0b7e4d4b259dcf87a85d0b3b7dd11d5121907039cb3baad52f2c40bd0ff2457e844922d04c300068f1638d26b0efdc60d828e05a735d3866365ca8c
 SHA512 
a44724b77faca12bc2b46a88e307c10f8099574b5a27720c98f2939fbfa61f41b4c3dc03565412972c351c10d57da4324a483c310b52f624f5ba87c2bd4d006f
-DIST pgpool-II-3.6.5.tar.gz 2651330 BLAKE2B 
d0ad069b17e1e0fb46590e7dd0dd29feb499a6703056d5ff5d4f218227158f4bca44f8d52209f378d08879a97c7930f85a61dfc22fce0bafa1313ad3c7649d5b
 SHA512 
12247730f202859c76b0a11ccc485de786e53df7b8e08ffd76d7653c25633d79387f027e7c9d804bf19cd89b9db047b7ca0cf1cf5e914ee74c6efc0b6660eb1d
-DIST pgpool-II-3.6.6.tar.gz 3171264 BLAKE2B 
b519d097366f190c4b6136643ccd839d1854ced0287ec1dc9f058dad1f7ebc18448d97d48338d03a8a7eafee49391381a8aa802fc14b84b757b133d6c97ec94e
 SHA512 
02cfceed761cf6338ce0a33e9afe05194acdf4d5577cf0d920176cb3bacffce6e9c2c1e8a8b89c5b062bc53d54cd012a4ad9582b42df7bc36ee666dcd0ee3e10
-DIST pgpool-II-3.6.7.tar.gz 3188186 BLAKE2B 
b58561418e4027716614d6a70f5d844b8043312cb2a2b18882e0fdcd466e1f0624e43db7c67685227d808368388c6ee9dd0d5f3ea956d0585444b1e30bc49643
 SHA512 
4bc80f4b47f4b37e4efe1af137c2af076dc98c438bf094236223bba0facfaea91546a86d7604e67453b67e82a24ac5ee6e4325d81f90358a3a0d7a6c34acd7fc
 DIST pgpool-II-3.7.0.tar.gz 3269076 BLAKE2B 
f7a396e82022a35e5f46fb644ca4a9007db3abaf97f8249d88bca00abf5d33abe7d47f705e959f7fb910885bf49f68bd5f965aae3085d12076d3100cca2f25f8
 SHA512 
cf8eef3a2ec761b51f9e6a72b5211810de57ad9b40b1738067616478b6486a813782588bfc92f6f351334d9514b1394551230c486fa0ac2f6c18a0490f22bbe2

diff --git a/dev-db/pgpool2/files/pgpool2-3.5.0-path-fix.patch 
b/dev-db/pgpool2/files/pgpool2-3.5.0-path-fix.patch
deleted file mode 100644
index b2c5d554e56..000
--- a/dev-db/pgpool2/files/pgpool2-3.5.0-path-fix.patch
+++ /dev/null
@@ -1,184 +0,0 @@
-diff -aruw pgpool-II-3.5.0.orig/src/include/pool.h 
pgpool-II-3.5.0/src/include/pool.h
 pgpool-II-3.5.0.orig/src/include/pool.h2016-02-10 03:53:31.0 
-0500
-+++ pgpool-II-3.5.0/src/include/pool.h 2016-03-12 06:47:15.297966248 -0500
-@@ -72,16 +72,16 @@
- #define HBA_CONF_FILE_NAME "pool_hba.conf"
- 
- /* pid file directory */
--#define DEFAULT_LOGDIR "/tmp"
-+#define DEFAULT_LOGDIR "@PGPOOL_SOCKETDIR@"
- 
- /* Unix domain socket directory */
--#define DEFAULT_SOCKET_DIR "/tmp"
-+#define DEFAULT_SOCKET_DIR "@PGPOOL_SOCKETDIR@"
- 
- /* Unix domain socket directory for watchdog IPC */
--#define DEFAULT_WD_IPC_SOCKET_DIR "/tmp"
-+#define DEFAULT_WD_IPC_SOCKET_DIR "@PGPOOL_SOCKETDIR@"
- 
- /* pid file name */
--#define DEFAULT_PID_FILE_NAME "/var/run/pgpool/pgpool.pid"
-+#define DEFAULT_PID_FILE_NAME "@PGPOOL_SOCKETDIR@/pgpool.pid"
- 
- /* status file name */
- #define STATUS_FILE_NAME "pgpool_status"
-diff -aruw pgpool-II-3.5.0.orig/src/sampl

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

2018-01-07 Thread Mikle Kolyada
commit: ff60394112845a69a5811047733f2abb7bdb8b15
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Jan  8 00:16:34 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Jan  8 00:16:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff603941

dev-db/pgpool2: amd64 stable wrt bug #642050

Package-Manager: Portage-2.3.13, Repoman-2.3.3

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

diff --git a/dev-db/pgpool2/pgpool2-3.7.0.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.0.ebuild
index 8cc3963bde8..83e46adf7fa 100644
--- a/dev-db/pgpool2/pgpool2-3.7.0.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.0.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
@@ -15,7 +15,7 @@ SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz 
-> ${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 IUSE="doc memcached pam ssl static-libs"
 



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

2017-12-25 Thread Thomas Deutschmann
commit: 8dba0a12f2f342193bb0dfab90a5f499f19988b6
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Dec 26 00:57:44 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Dec 26 00:57:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dba0a12

dev-db/pgpool2: x86 stable (bug #642050)

Package-Manager: Portage-2.3.19, Repoman-2.3.6

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

diff --git a/dev-db/pgpool2/pgpool2-3.7.0.ebuild 
b/dev-db/pgpool2/pgpool2-3.7.0.ebuild
index 0b7ea3d0607..8cc3963bde8 100644
--- a/dev-db/pgpool2/pgpool2-3.7.0.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.7.0.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz 
-> ${MY_P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 IUSE="doc memcached pam ssl static-libs"
 



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

2017-12-06 Thread Aaron Swenson
commit: bf882114b85316d9e78b7be63cf1b8f742fbe056
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun Dec  3 08:29:28 2017 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Wed Dec  6 22:22:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf882114

dev-db/pgpool2: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/6411

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

 dev-db/pgpool2/files/pgpool_run_paths.patch | 180 
 1 file changed, 180 deletions(-)

diff --git a/dev-db/pgpool2/files/pgpool_run_paths.patch 
b/dev-db/pgpool2/files/pgpool_run_paths.patch
deleted file mode 100644
index a1912af15e4..000
--- a/dev-db/pgpool2/files/pgpool_run_paths.patch
+++ /dev/null
@@ -1,180 +0,0 @@
-diff -Naurw a/pgpool.conf.sample b/pgpool.conf.sample
 a/pgpool.conf.sample   2012-07-19 03:06:21.0 -0400
-+++ b/pgpool.conf.sample   2012-08-14 07:33:39.200695855 -0400
-@@ -31,10 +31,8 @@
- port = 
-# Port number
-# (change requires restart)
--socket_dir = '/tmp'
-+socket_dir = '@PGSQL_SOCKETDIR@'
-# Unix domain socket path
--   # The Debian package defaults to
--   # /var/run/postgresql
-# (change requires restart)
- 
- 
-@@ -43,10 +41,8 @@
- pcp_port = 9898
-# Port number for pcp
-# (change requires restart)
--pcp_socket_dir = '/tmp'
-+pcp_socket_dir = '@PGSQL_SOCKETDIR@'
-# Unix domain socket path for pcp
--   # The Debian package defaults to
--   # /var/run/postgresql
-# (change requires restart)
- 
- # - Backend Connection Settings -
-@@ -176,10 +172,10 @@
- # FILE LOCATIONS
- 
#--
- 
--pid_file_name = '/var/run/pgpool/pgpool.pid'
-+pid_file_name = '@PGPOOL_SOCKETDIR@/pgpool.pid'
-# PID file name
-# (change requires restart)
--logdir = '/tmp'
-+logdir = '@PGPOOL_SOCKETDIR@'
-# Directory of pgPool status file
-# (change requires restart)
- 
-diff -Naurw a/pgpool.conf.sample-master-slave b/pgpool.conf.sample-master-slave
 a/pgpool.conf.sample-master-slave  2012-07-16 22:56:37.0 -0400
-+++ b/pgpool.conf.sample-master-slave  2012-08-14 07:33:39.201695842 -0400
-@@ -31,10 +31,8 @@
- port = 
-# Port number
-# (change requires restart)
--socket_dir = '/tmp'
-+socket_dir = '@PGSQL_SOCKETDIR@'
-# Unix domain socket path
--   # The Debian package defaults to
--   # /var/run/postgresql
-# (change requires restart)
- 
- 
-@@ -43,10 +41,8 @@
- pcp_port = 9898
-# Port number for pcp
-# (change requires restart)
--pcp_socket_dir = '/tmp'
-+pcp_socket_dir = '@PGSQL_SOCKETDIR@'
-# Unix domain socket path for pcp
--   # The Debian package defaults to
--   # /var/run/postgresql
-# (change requires restart)
- 
- # - Backend Connection Settings -
-@@ -176,10 +172,10 @@
- # FILE LOCATIONS
- 
#--
- 
--pid_file_name = '/var/run/pgpool/pgpool.pid'
-+pid_file_name = '@PGPOOL_SOCKETDIR@/pgpool.pid'
-# PID file name
-# (change requires restart)
--logdir = '/tmp'
-+logdir = '@PGPOOL_SOCKETDIR@'
-# Directory of pgPool status file
-# (change requires restart)
- 
-diff -Naurw a/pgpool.conf.sample-replication b/pgpool.conf.sample-replication
 a/pgpool.conf.sample-replication   2012-07-16 22:56:37.0 -0400
-+++ b/pgpool.conf.sample-replication   2012-08-14 07:33:39.202695830 -0400
-@@ -31,10 +31,8 @@
- port = 
-# Port number
-# (change requires restart)
--socket_dir = '/tmp'
-+socket_dir = '@PGSQL_SOCKETDIR@'
-# Unix domain socket path
--   # The Debian package defaults to
--   # /var/run/postgresql
-# (change requires restart)
- 
- 
-@@ -43,10 +4

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

2017-12-01 Thread Aaron Swenson
commit: 0c81a78e1371530f9943e78225110fa1c7027bd9
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Fri Dec  1 10:57:17 2017 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Fri Dec  1 10:57:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c81a78e

dev-db/pgpool2: Bump to 3.7.0

New features:
* Quorum aware failover feature.
* Allow specifying the hostnames in pool_hba.
* Allow to specify per node health check parameters.
* Support AWS Aurora.
* Import PostgreSQL 10 SQL parser
* Support logical replication.

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-db/pgpool2/Manifest | 11 +++--
 dev-db/pgpool2/pgpool2-3.7.0.ebuild | 98 +
 2 files changed, 104 insertions(+), 5 deletions(-)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index cae9ec5a0f7..42ae7b76236 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,7 +1,8 @@
-DIST pgpool-II-3.5.2.tar.gz 2227075 SHA256 
5d29fd9c30141bfdaf15b51c7878766178e5df42fa5e160d0f7df2824d26104f SHA512 
dd7268bce0019de30dfad01a8600af798127a4c2cc818e6f85ba30289e97c253d6faa392734d85ccbc97be3f04458c12af1bba541e5b8f3d2ee8268432e01d1a
 WHIRLPOOL 
22939c855919b8399c1129ff4622eae159141e9bf05cc36aca456bfd582c7ab0dc7ec87df5ea96d7101f438e89bf4e06f46a5f63cfde22e505d0a3965c0496fc
+DIST pgpool-II-3.5.2.tar.gz 2227075 BLAKE2B 
4f40044dc37353a811b2f4ddd4bb6d41604e1fc5c64064603fcee704a92a4e4d3b1baa83314f476dfe32ecbd851208996139a55ffaffb3f1bb9f8ac72685a02f
 SHA512 
dd7268bce0019de30dfad01a8600af798127a4c2cc818e6f85ba30289e97c253d6faa392734d85ccbc97be3f04458c12af1bba541e5b8f3d2ee8268432e01d1a
 DIST pgpool-II-3.5.5.tar.gz 2243184 SHA256 
8fa1ccf13ff4f7c1ab0f6d523090444f65d78923de11061b5027eb5d58318491 SHA512 
f77888cbc5e2c15ae1035ee3a1965d4fd3d02cdfd5810c6c656456eaa0d73dae7471906bdf0848607723633da5b8d02145559b767735bcc9b7e4023b1d59efed
 WHIRLPOOL 
5f4d4d9c3f6478b9b3ecda311c571e1f54805a07aa505acd32fbfb8fb2790183b732d6f86843a2b6614c74565efad7f9b3d962281cd2b1d23b54515448a1c84a
-DIST pgpool-II-3.6.1.tar.gz 2539510 SHA256 
244f99a70198b5861a63b2fe3e44ac39d2819f6aa6497f62958c6afa2750d94c SHA512 
9d4f0ecec3cf7478c7c4cd5cb1aa75614edca204d11b145f145d752c24bed7f7f4ea2880f6a3f9833aee0b5f428e8cf36e2f91bdef2f6065fb98019df546469a
 WHIRLPOOL 
9a307a63e9179ecfc7a52d1f056d47f09543bf4e378fa0090cdaf90d141c70e89323b4cfcbc9bbd9fa2422ff76bea592f189bea78915445fb1779ce9089ef6e1
+DIST pgpool-II-3.6.1.tar.gz 2539510 BLAKE2B 
844f54a2f74251af8af1348c374807e1dce2028eb64d2974c7fb1b904c6518012764c16fdd7fdeea8b9039fcfa13d8c139a9b2e020fffc87e6b90f3d6a489e5c
 SHA512 
9d4f0ecec3cf7478c7c4cd5cb1aa75614edca204d11b145f145d752c24bed7f7f4ea2880f6a3f9833aee0b5f428e8cf36e2f91bdef2f6065fb98019df546469a
 DIST pgpool-II-3.6.4.tar.gz 2623625 SHA256 
6ad78b9878d126e8da1e03e8edf3c8d56bb0754fe6432f633e81f6faaf8e6dbf SHA512 
a44724b77faca12bc2b46a88e307c10f8099574b5a27720c98f2939fbfa61f41b4c3dc03565412972c351c10d57da4324a483c310b52f624f5ba87c2bd4d006f
 WHIRLPOOL 
410136d359baa369f3d19136da54ba202c8b250bf364fc2f9b91a66190266ae523647cc89313211b63effbedd97168d026a2574be059dd0da7c8768b2d9714e7
-DIST pgpool-II-3.6.5.tar.gz 2651330 SHA256 
f7eb62bd977a24d9187dc6aca6dd73b3b9e322cb3680ab5f5191a7e802a3cc9f SHA512 
12247730f202859c76b0a11ccc485de786e53df7b8e08ffd76d7653c25633d79387f027e7c9d804bf19cd89b9db047b7ca0cf1cf5e914ee74c6efc0b6660eb1d
 WHIRLPOOL 
22a153afc9f4a37ff52165ac6e79464ccff42600dddf085908da5cd6a62d7a5d5690dfe029adaf197f7f8b9d4f033326b5d2f61648133db3881129e8c1c55499
-DIST pgpool-II-3.6.6.tar.gz 3171264 SHA256 
5fbdac14a07b4f4cabef8bd224be1fbb0770d9aa4731d8fa7905878dc4c22fbc SHA512 
02cfceed761cf6338ce0a33e9afe05194acdf4d5577cf0d920176cb3bacffce6e9c2c1e8a8b89c5b062bc53d54cd012a4ad9582b42df7bc36ee666dcd0ee3e10
 WHIRLPOOL 
504c49cccfb3be78144defc5eccce46e1994f0049a9b5835130ffc7b5339f05ef5a562236053c4b10a711053384baccbdc96eb60ee21ea24354627f594bbb8f1
-DIST pgpool-II-3.6.7.tar.gz 3188186 SHA256 
09cfe2cb36b9171d4a987a8b100e298e46d6a369c1b61d9e1a47d442ce16e249 SHA512 
4bc80f4b47f4b37e4efe1af137c2af076dc98c438bf094236223bba0facfaea91546a86d7604e67453b67e82a24ac5ee6e4325d81f90358a3a0d7a6c34acd7fc
 WHIRLPOOL 
7a17fc13792d3a7b257577013e8e9d5264d928ba93f96a6a9ecb5a08ac9ace246f22ec655e12e12e46ff371c411835cf8dfef3528bc70625daf197850adab9aa
+DIST pgpool-II-3.6.5.tar.gz 2651330 BLAKE2B 
d0ad069b17e1e0fb46590e7dd0dd29feb499a6703056d5ff5d4f218227158f4bca44f8d52209f378d08879a97c7930f85a61dfc22fce0bafa1313ad3c7649d5b
 SHA512 
12247730f202859c76b0a11ccc485de786e53df7b8e08ffd76d7653c25633d79387f027e7c9d804bf19cd89b9db047b7ca0cf1cf5e914ee74c6efc0b6660eb1d
+DIST pgpool-II-3.6.6.tar.gz 3171264 BLAKE2B 
b519d097366f190c4b6136643ccd839d1854ced0287ec1dc9f058dad1f7ebc18448d97d48338d03a8a7eafee49391381a8aa802fc14b84b757b133d6c97ec94e
 SHA512 
02cfceed761cf6338ce0a33e9afe05194acdf4d5577cf0d920176cb3bacffce6e9c2c1e8a8b89c5b062bc53d54cd012a4ad9582b42df7bc36ee666dcd0ee3e10
+DIST pgpool-II-3.6.7.tar.gz 3188186 BLAKE2B 
b58561418e4027716

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

2017-11-08 Thread Aaron Swenson
commit: fdc09c7f131e2efa636edffa3b32153be3995108
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Thu Nov  9 00:26:54 2017 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Thu Nov  9 00:27:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdc09c7f

dev-db/pgpool2: Bump to 3.6.7

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-db/pgpool2/Manifest |  1 +
 dev-db/pgpool2/pgpool2-3.6.7.ebuild | 98 +
 2 files changed, 99 insertions(+)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 5ada214b398..cae9ec5a0f7 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -4,3 +4,4 @@ DIST pgpool-II-3.6.1.tar.gz 2539510 SHA256 
244f99a70198b5861a63b2fe3e44ac39d2819
 DIST pgpool-II-3.6.4.tar.gz 2623625 SHA256 
6ad78b9878d126e8da1e03e8edf3c8d56bb0754fe6432f633e81f6faaf8e6dbf SHA512 
a44724b77faca12bc2b46a88e307c10f8099574b5a27720c98f2939fbfa61f41b4c3dc03565412972c351c10d57da4324a483c310b52f624f5ba87c2bd4d006f
 WHIRLPOOL 
410136d359baa369f3d19136da54ba202c8b250bf364fc2f9b91a66190266ae523647cc89313211b63effbedd97168d026a2574be059dd0da7c8768b2d9714e7
 DIST pgpool-II-3.6.5.tar.gz 2651330 SHA256 
f7eb62bd977a24d9187dc6aca6dd73b3b9e322cb3680ab5f5191a7e802a3cc9f SHA512 
12247730f202859c76b0a11ccc485de786e53df7b8e08ffd76d7653c25633d79387f027e7c9d804bf19cd89b9db047b7ca0cf1cf5e914ee74c6efc0b6660eb1d
 WHIRLPOOL 
22a153afc9f4a37ff52165ac6e79464ccff42600dddf085908da5cd6a62d7a5d5690dfe029adaf197f7f8b9d4f033326b5d2f61648133db3881129e8c1c55499
 DIST pgpool-II-3.6.6.tar.gz 3171264 SHA256 
5fbdac14a07b4f4cabef8bd224be1fbb0770d9aa4731d8fa7905878dc4c22fbc SHA512 
02cfceed761cf6338ce0a33e9afe05194acdf4d5577cf0d920176cb3bacffce6e9c2c1e8a8b89c5b062bc53d54cd012a4ad9582b42df7bc36ee666dcd0ee3e10
 WHIRLPOOL 
504c49cccfb3be78144defc5eccce46e1994f0049a9b5835130ffc7b5339f05ef5a562236053c4b10a711053384baccbdc96eb60ee21ea24354627f594bbb8f1
+DIST pgpool-II-3.6.7.tar.gz 3188186 SHA256 
09cfe2cb36b9171d4a987a8b100e298e46d6a369c1b61d9e1a47d442ce16e249 SHA512 
4bc80f4b47f4b37e4efe1af137c2af076dc98c438bf094236223bba0facfaea91546a86d7604e67453b67e82a24ac5ee6e4325d81f90358a3a0d7a6c34acd7fc
 WHIRLPOOL 
7a17fc13792d3a7b257577013e8e9d5264d928ba93f96a6a9ecb5a08ac9ace246f22ec655e12e12e46ff371c411835cf8dfef3528bc70625daf197850adab9aa

diff --git a/dev-db/pgpool2/pgpool2-3.6.7.ebuild 
b/dev-db/pgpool2/pgpool2-3.6.7.ebuild
new file mode 100644
index 000..830743a0c78
--- /dev/null
+++ b/dev-db/pgpool2/pgpool2-3.6.7.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+POSTGRES_COMPAT=( 9.{2..6} )
+
+inherit postgres-multi
+
+MY_P="${PN/2/-II}-${PV}"
+
+DESCRIPTION="Connection pool server for PostgreSQL"
+HOMEPAGE="http://www.pgpool.net/";
+SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+
+IUSE="doc memcached pam ssl static-libs"
+
+RDEPEND="
+   ${POSTGRES_DEP}
+   net-libs/libnsl:0=
+   memcached? ( dev-libs/libmemcached )
+   pam? ( sys-auth/pambase )
+   ssl? ( dev-libs/openssl:* )
+"
+DEPEND="${RDEPEND}
+   sys-devel/bison
+   !!dev-db/pgpool
+"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+   postgres_new_user pgpool
+
+   postgres-multi_pkg_setup
+}
+
+src_prepare() {
+   eapply "${FILESDIR}/pgpool_run_paths-3.6.5.patch"
+
+   postgres-multi_src_prepare
+}
+
+src_configure() {
+   local myconf
+   use memcached && \
+   
myconf="--with-memcached=\"${EROOT%/}/usr/include/libmemcached\""
+   use pam && myconf+=' --with-pam'
+
+   postgres-multi_foreach econf \
+   --disable-rpath \
+   --sysconfdir="${EROOT%/}/etc/${PN}" \
+   --with-pgsql-includedir='/usr/include/postgresql-@PG_SLOT@' \
+   
--with-pgsql-libdir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/$(get_libdir)" \
+   $(use_with ssl openssl) \
+   $(use_enable static-libs static) \
+   ${myconf}
+}
+
+src_compile() {
+   # Even though we're only going to do an install for the best slot
+   # available, the extension bits in src/sql need some things outside
+   # of that directory built, too.
+   postgres-multi_foreach emake
+   postgres-multi_foreach emake -C src/sql
+}
+
+src_install() {
+   # We only need the best stuff installed
+   postgres-multi_forbest emake DESTDIR="${D}" install
+
+   # Except for the extension and .so files that each PostgreSQL slot needs
+   postgres-multi_foreach emake DESTDIR="${D}" -C src/sql install
+
+   newinitd "${FILESDIR}/${PN}.initd" ${PN}
+   newconfd "${FILESDIR}/${PN}.confd" ${PN}
+
+   # Documentation!
+   dodoc NEWS TODO
+   doman doc/src/sgml/man{1,8}/*
+   use doc && dodoc -r doc/src/sgml/html
+
+   # Examples and extras
+   # mv some files

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

2017-11-03 Thread Andreas Hüttel
commit: 3fd333afe0cde92baff04b46572efaa599518348
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Nov  3 20:41:57 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Fri Nov  3 20:44:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fd333af

dev-db/pgpool2: Links to libnsl, so add dependency

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 dev-db/pgpool2/pgpool2-3.6.4.ebuild | 1 +
 dev-db/pgpool2/pgpool2-3.6.5.ebuild | 1 +
 dev-db/pgpool2/pgpool2-3.6.6.ebuild | 1 +
 dev-db/pgpool2/pgpool2-.ebuild  | 1 +
 4 files changed, 4 insertions(+)

diff --git a/dev-db/pgpool2/pgpool2-3.6.4.ebuild 
b/dev-db/pgpool2/pgpool2-3.6.4.ebuild
index cf9cd0abf25..e3a92f81d55 100644
--- a/dev-db/pgpool2/pgpool2-3.6.4.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.6.4.ebuild
@@ -21,6 +21,7 @@ IUSE="doc memcached pam ssl static-libs"
 
 RDEPEND="
${POSTGRES_DEP}
+   net-libs/libnsl:0=
memcached? ( dev-libs/libmemcached )
pam? ( sys-auth/pambase )
ssl? ( dev-libs/openssl:* )

diff --git a/dev-db/pgpool2/pgpool2-3.6.5.ebuild 
b/dev-db/pgpool2/pgpool2-3.6.5.ebuild
index 6029e61e883..830743a0c78 100644
--- a/dev-db/pgpool2/pgpool2-3.6.5.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.6.5.ebuild
@@ -21,6 +21,7 @@ IUSE="doc memcached pam ssl static-libs"
 
 RDEPEND="
${POSTGRES_DEP}
+   net-libs/libnsl:0=
memcached? ( dev-libs/libmemcached )
pam? ( sys-auth/pambase )
ssl? ( dev-libs/openssl:* )

diff --git a/dev-db/pgpool2/pgpool2-3.6.6.ebuild 
b/dev-db/pgpool2/pgpool2-3.6.6.ebuild
index 6029e61e883..830743a0c78 100644
--- a/dev-db/pgpool2/pgpool2-3.6.6.ebuild
+++ b/dev-db/pgpool2/pgpool2-3.6.6.ebuild
@@ -21,6 +21,7 @@ IUSE="doc memcached pam ssl static-libs"
 
 RDEPEND="
${POSTGRES_DEP}
+   net-libs/libnsl:0=
memcached? ( dev-libs/libmemcached )
pam? ( sys-auth/pambase )
ssl? ( dev-libs/openssl:* )

diff --git a/dev-db/pgpool2/pgpool2-.ebuild 
b/dev-db/pgpool2/pgpool2-.ebuild
index 031166c54b9..c8c5ae2d372 100644
--- a/dev-db/pgpool2/pgpool2-.ebuild
+++ b/dev-db/pgpool2/pgpool2-.ebuild
@@ -21,6 +21,7 @@ IUSE="doc memcached pam ssl static-libs"
 
 RDEPEND="
${POSTGRES_DEP}
+   net-libs/libnsl:0=
memcached? ( dev-libs/libmemcached )
pam? ( sys-auth/pambase )
ssl? ( dev-libs/openssl:* )



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

2017-09-18 Thread Patrick Lauer
commit: 69290792b0f58783dfa678dc4078134d543bd76e
Author: Patrick Lauer  gentoo  org>
AuthorDate: Mon Sep 18 18:36:20 2017 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Mon Sep 18 18:50:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69290792

dev-db/pgpool2: Bump

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-db/pgpool2/Manifest |  1 +
 dev-db/pgpool2/pgpool2-3.6.6.ebuild | 97 +
 2 files changed, 98 insertions(+)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index d21df5b4427..5ada214b398 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -3,3 +3,4 @@ DIST pgpool-II-3.5.5.tar.gz 2243184 SHA256 
8fa1ccf13ff4f7c1ab0f6d523090444f65d78
 DIST pgpool-II-3.6.1.tar.gz 2539510 SHA256 
244f99a70198b5861a63b2fe3e44ac39d2819f6aa6497f62958c6afa2750d94c SHA512 
9d4f0ecec3cf7478c7c4cd5cb1aa75614edca204d11b145f145d752c24bed7f7f4ea2880f6a3f9833aee0b5f428e8cf36e2f91bdef2f6065fb98019df546469a
 WHIRLPOOL 
9a307a63e9179ecfc7a52d1f056d47f09543bf4e378fa0090cdaf90d141c70e89323b4cfcbc9bbd9fa2422ff76bea592f189bea78915445fb1779ce9089ef6e1
 DIST pgpool-II-3.6.4.tar.gz 2623625 SHA256 
6ad78b9878d126e8da1e03e8edf3c8d56bb0754fe6432f633e81f6faaf8e6dbf SHA512 
a44724b77faca12bc2b46a88e307c10f8099574b5a27720c98f2939fbfa61f41b4c3dc03565412972c351c10d57da4324a483c310b52f624f5ba87c2bd4d006f
 WHIRLPOOL 
410136d359baa369f3d19136da54ba202c8b250bf364fc2f9b91a66190266ae523647cc89313211b63effbedd97168d026a2574be059dd0da7c8768b2d9714e7
 DIST pgpool-II-3.6.5.tar.gz 2651330 SHA256 
f7eb62bd977a24d9187dc6aca6dd73b3b9e322cb3680ab5f5191a7e802a3cc9f SHA512 
12247730f202859c76b0a11ccc485de786e53df7b8e08ffd76d7653c25633d79387f027e7c9d804bf19cd89b9db047b7ca0cf1cf5e914ee74c6efc0b6660eb1d
 WHIRLPOOL 
22a153afc9f4a37ff52165ac6e79464ccff42600dddf085908da5cd6a62d7a5d5690dfe029adaf197f7f8b9d4f033326b5d2f61648133db3881129e8c1c55499
+DIST pgpool-II-3.6.6.tar.gz 3171264 SHA256 
5fbdac14a07b4f4cabef8bd224be1fbb0770d9aa4731d8fa7905878dc4c22fbc SHA512 
02cfceed761cf6338ce0a33e9afe05194acdf4d5577cf0d920176cb3bacffce6e9c2c1e8a8b89c5b062bc53d54cd012a4ad9582b42df7bc36ee666dcd0ee3e10
 WHIRLPOOL 
504c49cccfb3be78144defc5eccce46e1994f0049a9b5835130ffc7b5339f05ef5a562236053c4b10a711053384baccbdc96eb60ee21ea24354627f594bbb8f1

diff --git a/dev-db/pgpool2/pgpool2-3.6.6.ebuild 
b/dev-db/pgpool2/pgpool2-3.6.6.ebuild
new file mode 100644
index 000..6029e61e883
--- /dev/null
+++ b/dev-db/pgpool2/pgpool2-3.6.6.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+POSTGRES_COMPAT=( 9.{2..6} )
+
+inherit postgres-multi
+
+MY_P="${PN/2/-II}-${PV}"
+
+DESCRIPTION="Connection pool server for PostgreSQL"
+HOMEPAGE="http://www.pgpool.net/";
+SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+
+IUSE="doc memcached pam ssl static-libs"
+
+RDEPEND="
+   ${POSTGRES_DEP}
+   memcached? ( dev-libs/libmemcached )
+   pam? ( sys-auth/pambase )
+   ssl? ( dev-libs/openssl:* )
+"
+DEPEND="${RDEPEND}
+   sys-devel/bison
+   !!dev-db/pgpool
+"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+   postgres_new_user pgpool
+
+   postgres-multi_pkg_setup
+}
+
+src_prepare() {
+   eapply "${FILESDIR}/pgpool_run_paths-3.6.5.patch"
+
+   postgres-multi_src_prepare
+}
+
+src_configure() {
+   local myconf
+   use memcached && \
+   
myconf="--with-memcached=\"${EROOT%/}/usr/include/libmemcached\""
+   use pam && myconf+=' --with-pam'
+
+   postgres-multi_foreach econf \
+   --disable-rpath \
+   --sysconfdir="${EROOT%/}/etc/${PN}" \
+   --with-pgsql-includedir='/usr/include/postgresql-@PG_SLOT@' \
+   
--with-pgsql-libdir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/$(get_libdir)" \
+   $(use_with ssl openssl) \
+   $(use_enable static-libs static) \
+   ${myconf}
+}
+
+src_compile() {
+   # Even though we're only going to do an install for the best slot
+   # available, the extension bits in src/sql need some things outside
+   # of that directory built, too.
+   postgres-multi_foreach emake
+   postgres-multi_foreach emake -C src/sql
+}
+
+src_install() {
+   # We only need the best stuff installed
+   postgres-multi_forbest emake DESTDIR="${D}" install
+
+   # Except for the extension and .so files that each PostgreSQL slot needs
+   postgres-multi_foreach emake DESTDIR="${D}" -C src/sql install
+
+   newinitd "${FILESDIR}/${PN}.initd" ${PN}
+   newconfd "${FILESDIR}/${PN}.confd" ${PN}
+
+   # Documentation!
+   dodoc NEWS TODO
+   doman doc/src/sgml/man{1,8}/*
+   use doc && dodoc -r doc/src/sgml/html
+
+   # Examples and extras
+   # mv some files that get installed to /usr/share/pgpoo

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

2017-07-11 Thread Aaron Swenson
commit: 33a18555aa2b206de4d37f82fee6b1af4b779317
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Tue Jul 11 21:16:15 2017 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Tue Jul 11 21:16:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33a18555

dev-db/pgpool2: Bump to 3.6.5

Now with more manpages and docs!

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 dev-db/pgpool2/Manifest   |   1 +
 dev-db/pgpool2/files/pgpool_run_paths-3.6.5.patch | 268 ++
 dev-db/pgpool2/pgpool2-3.6.5.ebuild   |  97 
 3 files changed, 366 insertions(+)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 88999227ef2..d21df5b4427 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -2,3 +2,4 @@ DIST pgpool-II-3.5.2.tar.gz 2227075 SHA256 
5d29fd9c30141bfdaf15b51c7878766178e5d
 DIST pgpool-II-3.5.5.tar.gz 2243184 SHA256 
8fa1ccf13ff4f7c1ab0f6d523090444f65d78923de11061b5027eb5d58318491 SHA512 
f77888cbc5e2c15ae1035ee3a1965d4fd3d02cdfd5810c6c656456eaa0d73dae7471906bdf0848607723633da5b8d02145559b767735bcc9b7e4023b1d59efed
 WHIRLPOOL 
5f4d4d9c3f6478b9b3ecda311c571e1f54805a07aa505acd32fbfb8fb2790183b732d6f86843a2b6614c74565efad7f9b3d962281cd2b1d23b54515448a1c84a
 DIST pgpool-II-3.6.1.tar.gz 2539510 SHA256 
244f99a70198b5861a63b2fe3e44ac39d2819f6aa6497f62958c6afa2750d94c SHA512 
9d4f0ecec3cf7478c7c4cd5cb1aa75614edca204d11b145f145d752c24bed7f7f4ea2880f6a3f9833aee0b5f428e8cf36e2f91bdef2f6065fb98019df546469a
 WHIRLPOOL 
9a307a63e9179ecfc7a52d1f056d47f09543bf4e378fa0090cdaf90d141c70e89323b4cfcbc9bbd9fa2422ff76bea592f189bea78915445fb1779ce9089ef6e1
 DIST pgpool-II-3.6.4.tar.gz 2623625 SHA256 
6ad78b9878d126e8da1e03e8edf3c8d56bb0754fe6432f633e81f6faaf8e6dbf SHA512 
a44724b77faca12bc2b46a88e307c10f8099574b5a27720c98f2939fbfa61f41b4c3dc03565412972c351c10d57da4324a483c310b52f624f5ba87c2bd4d006f
 WHIRLPOOL 
410136d359baa369f3d19136da54ba202c8b250bf364fc2f9b91a66190266ae523647cc89313211b63effbedd97168d026a2574be059dd0da7c8768b2d9714e7
+DIST pgpool-II-3.6.5.tar.gz 2651330 SHA256 
f7eb62bd977a24d9187dc6aca6dd73b3b9e322cb3680ab5f5191a7e802a3cc9f SHA512 
12247730f202859c76b0a11ccc485de786e53df7b8e08ffd76d7653c25633d79387f027e7c9d804bf19cd89b9db047b7ca0cf1cf5e914ee74c6efc0b6660eb1d
 WHIRLPOOL 
22a153afc9f4a37ff52165ac6e79464ccff42600dddf085908da5cd6a62d7a5d5690dfe029adaf197f7f8b9d4f033326b5d2f61648133db3881129e8c1c55499

diff --git a/dev-db/pgpool2/files/pgpool_run_paths-3.6.5.patch 
b/dev-db/pgpool2/files/pgpool_run_paths-3.6.5.patch
new file mode 100644
index 000..06c1b3711bd
--- /dev/null
+++ b/dev-db/pgpool2/files/pgpool_run_paths-3.6.5.patch
@@ -0,0 +1,268 @@
+diff -ur a/src/include/parser/pg_config_manual.h 
b/src/include/parser/pg_config_manual.h
+--- a/src/include/parser/pg_config_manual.h2017-07-10 04:56:18.0 
-0400
 b/src/include/parser/pg_config_manual.h2017-07-11 09:38:46.612907898 
-0400
+@@ -193,7 +193,7 @@
+  * here's where to twiddle it.  You can also override this at runtime
+  * with the postmaster's -k switch.
+  */
+-#define DEFAULT_PGSOCKET_DIR  "/tmp"
++#define DEFAULT_PGSOCKET_DIR  "/run/postgresql"
+ 
+ /*
+  * This is the default event source for Windows event log.
+Only in b/src/include/parser: pg_config_manual.h.orig
+diff -ur a/src/include/pcp/pcp_stream.h b/src/include/pcp/pcp_stream.h
+--- a/src/include/pcp/pcp_stream.h 2017-07-10 04:39:14.0 -0400
 b/src/include/pcp/pcp_stream.h 2017-07-11 09:38:46.612907898 -0400
+@@ -48,6 +48,6 @@
+ extern int pcp_write(PCP_CONNECTION *pc, void *buf, int len);
+ extern int pcp_flush(PCP_CONNECTION *pc);
+ 
+-#define UNIX_DOMAIN_PATH "/tmp"
++#define UNIX_DOMAIN_PATH "/run/pgpool"
+ 
+ #endif /* PCP_STREAM_H */
+diff -ur a/src/include/pool.h b/src/include/pool.h
+--- a/src/include/pool.h   2017-07-10 04:56:18.0 -0400
 b/src/include/pool.h   2017-07-11 09:38:46.612907898 -0400
+@@ -73,16 +73,16 @@
+ #define HBA_CONF_FILE_NAME "pool_hba.conf"
+ 
+ /* pid file directory */
+-#define DEFAULT_LOGDIR "/tmp"
++#define DEFAULT_LOGDIR "/run/pgpool"
+ 
+ /* Unix domain socket directory */
+-#define DEFAULT_SOCKET_DIR "/tmp"
++#define DEFAULT_SOCKET_DIR "/run/postgresql"
+ 
+ /* Unix domain socket directory for watchdog IPC */
+-#define DEFAULT_WD_IPC_SOCKET_DIR "/tmp"
++#define DEFAULT_WD_IPC_SOCKET_DIR "/run/pgpool"
+ 
+ /* pid file name */
+-#define DEFAULT_PID_FILE_NAME "/var/run/pgpool/pgpool.pid"
++#define DEFAULT_PID_FILE_NAME "/run/pgpool/pgpool.pid"
+ 
+ /* status file name */
+ #define STATUS_FILE_NAME "pgpool_status"
+diff -ur a/src/sample/pgpool.conf.sample b/src/sample/pgpool.conf.sample
+--- a/src/sample/pgpool.conf.sample2017-07-10 04:56:18.0 -0400
 b/src/sample/pgpool.conf.sample2017-07-11 11:05:00.174030914 -0400
+@@ -31,10 +31,8 @@
+ port = 
+# Port number
+# (change requires 

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

2017-07-09 Thread Aaron Swenson
commit: ba7463bc581fa454f1803b4b828b746d25a4d639
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Mon Jul 10 02:24:33 2017 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Mon Jul 10 02:24:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba7463bc

dev-db/pgpool2: Bump, new repo, postgres-multi

Now installs to all selected slots via use flags.

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 dev-db/pgpool2/Manifest   |   1 +
 dev-db/pgpool2/files/pgpool_run_paths-3.6.4.patch | 255 
 dev-db/pgpool2/files/pgpool_run_paths-.patch  | 274 ++
 dev-db/pgpool2/pgpool2-3.6.4.ebuild   |  98 
 dev-db/pgpool2/pgpool2-.ebuild|  98 +++-
 5 files changed, 667 insertions(+), 59 deletions(-)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index f3281d182e8..88999227ef2 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,3 +1,4 @@
 DIST pgpool-II-3.5.2.tar.gz 2227075 SHA256 
5d29fd9c30141bfdaf15b51c7878766178e5df42fa5e160d0f7df2824d26104f SHA512 
dd7268bce0019de30dfad01a8600af798127a4c2cc818e6f85ba30289e97c253d6faa392734d85ccbc97be3f04458c12af1bba541e5b8f3d2ee8268432e01d1a
 WHIRLPOOL 
22939c855919b8399c1129ff4622eae159141e9bf05cc36aca456bfd582c7ab0dc7ec87df5ea96d7101f438e89bf4e06f46a5f63cfde22e505d0a3965c0496fc
 DIST pgpool-II-3.5.5.tar.gz 2243184 SHA256 
8fa1ccf13ff4f7c1ab0f6d523090444f65d78923de11061b5027eb5d58318491 SHA512 
f77888cbc5e2c15ae1035ee3a1965d4fd3d02cdfd5810c6c656456eaa0d73dae7471906bdf0848607723633da5b8d02145559b767735bcc9b7e4023b1d59efed
 WHIRLPOOL 
5f4d4d9c3f6478b9b3ecda311c571e1f54805a07aa505acd32fbfb8fb2790183b732d6f86843a2b6614c74565efad7f9b3d962281cd2b1d23b54515448a1c84a
 DIST pgpool-II-3.6.1.tar.gz 2539510 SHA256 
244f99a70198b5861a63b2fe3e44ac39d2819f6aa6497f62958c6afa2750d94c SHA512 
9d4f0ecec3cf7478c7c4cd5cb1aa75614edca204d11b145f145d752c24bed7f7f4ea2880f6a3f9833aee0b5f428e8cf36e2f91bdef2f6065fb98019df546469a
 WHIRLPOOL 
9a307a63e9179ecfc7a52d1f056d47f09543bf4e378fa0090cdaf90d141c70e89323b4cfcbc9bbd9fa2422ff76bea592f189bea78915445fb1779ce9089ef6e1
+DIST pgpool-II-3.6.4.tar.gz 2623625 SHA256 
6ad78b9878d126e8da1e03e8edf3c8d56bb0754fe6432f633e81f6faaf8e6dbf SHA512 
a44724b77faca12bc2b46a88e307c10f8099574b5a27720c98f2939fbfa61f41b4c3dc03565412972c351c10d57da4324a483c310b52f624f5ba87c2bd4d006f
 WHIRLPOOL 
410136d359baa369f3d19136da54ba202c8b250bf364fc2f9b91a66190266ae523647cc89313211b63effbedd97168d026a2574be059dd0da7c8768b2d9714e7

diff --git a/dev-db/pgpool2/files/pgpool_run_paths-3.6.4.patch 
b/dev-db/pgpool2/files/pgpool_run_paths-3.6.4.patch
new file mode 100644
index 000..d6943d7502e
--- /dev/null
+++ b/dev-db/pgpool2/files/pgpool_run_paths-3.6.4.patch
@@ -0,0 +1,255 @@
+diff -ru a/src/include/parser/pg_config_manual.h 
b/src/include/parser/pg_config_manual.h
+--- a/src/include/parser/pg_config_manual.h2017-05-11 05:53:04.0 
-0400
 b/src/include/parser/pg_config_manual.h2017-07-08 20:28:47.733745889 
-0400
+@@ -184,7 +184,7 @@
+  * here's where to twiddle it.  You can also override this at runtime
+  * with the postmaster's -k switch.
+  */
+-#define DEFAULT_PGSOCKET_DIR  "/tmp"
++#define DEFAULT_PGSOCKET_DIR  "/run/postgresql"
+ 
+ /*
+  * This is the default event source for Windows event log.
+diff -ru a/src/include/pcp/pcp_stream.h b/src/include/pcp/pcp_stream.h
+--- a/src/include/pcp/pcp_stream.h 2017-05-11 05:36:01.0 -0400
 b/src/include/pcp/pcp_stream.h 2017-07-08 20:29:28.613506800 -0400
+@@ -48,6 +48,6 @@
+ extern int pcp_write(PCP_CONNECTION *pc, void *buf, int len);
+ extern int pcp_flush(PCP_CONNECTION *pc);
+ 
+-#define UNIX_DOMAIN_PATH "/tmp"
++#define UNIX_DOMAIN_PATH "/run/pgpool"
+ 
+ #endif /* PCP_STREAM_H */
+diff -ru a/src/include/pool.h b/src/include/pool.h
+--- a/src/include/pool.h   2017-05-11 05:53:04.0 -0400
 b/src/include/pool.h   2017-07-08 20:27:09.330984074 -0400
+@@ -73,16 +73,16 @@
+ #define HBA_CONF_FILE_NAME "pool_hba.conf"
+ 
+ /* pid file directory */
+-#define DEFAULT_LOGDIR "/tmp"
++#define DEFAULT_LOGDIR "/run/pgpool"
+ 
+ /* Unix domain socket directory */
+-#define DEFAULT_SOCKET_DIR "/tmp"
++#define DEFAULT_SOCKET_DIR "/run/postgresql"
+ 
+ /* Unix domain socket directory for watchdog IPC */
+-#define DEFAULT_WD_IPC_SOCKET_DIR "/tmp"
++#define DEFAULT_WD_IPC_SOCKET_DIR "/run/pgpool"
+ 
+ /* pid file name */
+-#define DEFAULT_PID_FILE_NAME "/var/run/pgpool/pgpool.pid"
++#define DEFAULT_PID_FILE_NAME "/run/pgpool/pgpool.pid"
+ 
+ /* status file name */
+ #define STATUS_FILE_NAME "pgpool_status"
+diff -ru a/src/sample/pgpool.conf.sample b/src/sample/pgpool.conf.sample
+--- a/src/sample/pgpool.conf.sample2017-05-11 05:53:04.0 -0400
 b/src/sample/pgpool.conf.sample2017-07-08 20:36:28.477717849 -0400
+@@ -31,10 +31,8 @@
+ port = 
+# Port numbe

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

2017-02-22 Thread Patrick Lauer
commit: 7e38ca2d931be0773c3de0852b9d1c074881e860
Author: Patrick Lauer  gentoo  org>
AuthorDate: Wed Feb 22 17:10:50 2017 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Wed Feb 22 17:11:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e38ca2d

dev-db/pgpool2: Bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-db/pgpool2/Manifest |   2 +
 dev-db/pgpool2/pgpool2-3.5.5.ebuild | 102 
 dev-db/pgpool2/pgpool2-3.6.1.ebuild | 100 +++
 3 files changed, 204 insertions(+)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 7e86096c6c..f3281d182e 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1 +1,3 @@
 DIST pgpool-II-3.5.2.tar.gz 2227075 SHA256 
5d29fd9c30141bfdaf15b51c7878766178e5df42fa5e160d0f7df2824d26104f SHA512 
dd7268bce0019de30dfad01a8600af798127a4c2cc818e6f85ba30289e97c253d6faa392734d85ccbc97be3f04458c12af1bba541e5b8f3d2ee8268432e01d1a
 WHIRLPOOL 
22939c855919b8399c1129ff4622eae159141e9bf05cc36aca456bfd582c7ab0dc7ec87df5ea96d7101f438e89bf4e06f46a5f63cfde22e505d0a3965c0496fc
+DIST pgpool-II-3.5.5.tar.gz 2243184 SHA256 
8fa1ccf13ff4f7c1ab0f6d523090444f65d78923de11061b5027eb5d58318491 SHA512 
f77888cbc5e2c15ae1035ee3a1965d4fd3d02cdfd5810c6c656456eaa0d73dae7471906bdf0848607723633da5b8d02145559b767735bcc9b7e4023b1d59efed
 WHIRLPOOL 
5f4d4d9c3f6478b9b3ecda311c571e1f54805a07aa505acd32fbfb8fb2790183b732d6f86843a2b6614c74565efad7f9b3d962281cd2b1d23b54515448a1c84a
+DIST pgpool-II-3.6.1.tar.gz 2539510 SHA256 
244f99a70198b5861a63b2fe3e44ac39d2819f6aa6497f62958c6afa2750d94c SHA512 
9d4f0ecec3cf7478c7c4cd5cb1aa75614edca204d11b145f145d752c24bed7f7f4ea2880f6a3f9833aee0b5f428e8cf36e2f91bdef2f6065fb98019df546469a
 WHIRLPOOL 
9a307a63e9179ecfc7a52d1f056d47f09543bf4e378fa0090cdaf90d141c70e89323b4cfcbc9bbd9fa2422ff76bea592f189bea78915445fb1779ce9089ef6e1

diff --git a/dev-db/pgpool2/pgpool2-3.5.5.ebuild 
b/dev-db/pgpool2/pgpool2-3.5.5.ebuild
new file mode 100644
index 00..7ffba2e64d
--- /dev/null
+++ b/dev-db/pgpool2/pgpool2-3.5.5.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_P="${PN/2/-II}-${PV}"
+
+inherit eutils user
+
+DESCRIPTION="Connection pool server for PostgreSQL"
+HOMEPAGE="http://www.pgpool.net/";
+SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+
+IUSE="doc memcached pam ssl static-libs"
+
+RDEPEND="
+   dev-db/postgresql:=
+   memcached? ( dev-libs/libmemcached )
+   pam? ( sys-auth/pambase )
+   ssl? ( dev-libs/openssl:= )
+"
+DEPEND="${RDEPEND}
+   sys-devel/bison
+   !!dev-db/pgpool
+"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+   enewgroup postgres 70
+   enewuser pgpool -1 -1 -1 postgres
+
+   # We need the postgres user as well so we can set the proper
+   # permissions on the sockets without getting into fights with
+   # PostgreSQL's initialization scripts.
+   enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
+}
+
+src_prepare() {
+   epatch "${FILESDIR}/pgpool2-3.5.0-path-fix.patch"
+
+   local pg_config_manual="$(pg_config --includedir)/pg_config_manual.h"
+   local pgsql_socket_dir=$(grep DEFAULT_PGSOCKET_DIR 
"${pg_config_manual}" | \
+   sed 's|.*\"\(.*\)\"|\1|g')
+   local pgpool_socket_dir="$(dirname $pgsql_socket_dir)/pgpool"
+
+   sed "s|@PGSQL_SOCKETDIR@|${pgsql_socket_dir}|g" \
+   -i src/sample/pgpool.conf.sample* src/include/pool.h || die
+
+   sed "s|@PGPOOL_SOCKETDIR@|${pgpool_socket_dir}|g" \
+   -i src/sample/pgpool.conf.sample* src/include/pool.h || die
+}
+
+src_configure() {
+   local myconf
+   use memcached && \
+   
myconf="--with-memcached=\"${EROOT%/}/usr/include/libmemcached\""
+   use pam && myconf+=' --with-pam'
+
+   econf \
+   --disable-rpath \
+   --sysconfdir="${EROOT%/}/etc/${PN}" \
+   $(use_with ssl openssl) \
+   $(use_enable static-libs static) \
+   ${myconf}
+}
+
+src_compile() {
+   emake
+
+   emake -C src/sql
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   emake DESTDIR="${D}" -C src/sql install
+
+   newinitd "${FILESDIR}/${PN}.initd" ${PN}
+   newconfd "${FILESDIR}/${PN}.confd" ${PN}
+
+   # Documentation
+   dodoc NEWS TODO
+   use doc && dohtml -r doc/*
+
+   # Examples and extras
+   # mv some files that get installed to /usr/share/pgpool-II so that
+   # they all wind up in the same place
+   mv "${ED%/}/usr/share/${PN/2/-II}" "${ED%/}/usr/share/${PN}" || die
+   into "/usr/share/${PN}"
+   dobin doc/{pgpool_remote_start,basebackup.sh}
+   insinto "/usr/share/${PN}"
+   doins doc/recovery.conf.sample
+

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

2016-06-07 Thread Aaron Swenson
commit: ace051e1dfc0a27513384af32dd2b1e8be24fb44
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Tue Jun  7 11:06:57 2016 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Tue Jun  7 11:06:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ace051e1

dev-db/pgpool2: Remove Old

Bug: 563100

Package-Manager: portage-2.2.28

 dev-db/pgpool2/Manifest |   4 --
 dev-db/pgpool2/pgpool2-3.2.5.ebuild | 107 ---
 dev-db/pgpool2/pgpool2-3.3.6.ebuild | 108 
 dev-db/pgpool2/pgpool2-3.3.7.ebuild | 108 
 dev-db/pgpool2/pgpool2-3.3.8.ebuild | 108 
 5 files changed, 435 deletions(-)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 6d920ba..7e86096 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,5 +1 @@
-DIST pgpool-II-3.2.5.tar.gz 1643267 SHA256 
aecac952fd3d292584c9aa359d72f89b144c29f45c9f848cb030e46215a814f7 SHA512 
c6dd033462de7f56724f7416fca3ee3e25835f113604fb03b97deee2e3ab25a07cfd9aea33ec36211aa0ec41c2bcea31ca9befe0cfe8f6389a39c2f6495388b6
 WHIRLPOOL 
5db077d51c5aa8692ba23c0f5ad3b3291c42448724cf633db13850d9b22df256c2aedc15b95fe74a33e486e09f4cc6a37daed0d39becff38acd40fa52b78ab8d
-DIST pgpool-II-3.3.6.tar.gz 1812394 SHA256 
8e0a9829122ed96793b4c340799d62778eb4176ee0f93288d8d4100fc620ff0e SHA512 
64edf6ee96fc18bccaf72e79dc165318587da49f45f7d9748e051a9b87f1938b79eefc020a70f1be31fdf922e6d646710105d97961aef1e0c1538b29cdb0575c
 WHIRLPOOL 
a4bfc20115e3a17474e9d57c5abec48ca613568f9e5dcea171a39a114dc5ef3ad59ecd7fba4f0cad703bf6f3dcf7fb1d9dea7b30faa818403bf450f8df10a7c3
-DIST pgpool-II-3.3.7.tar.gz 1808677 SHA256 
b1bfc8c48be252f6c4e54521d24a0e28e86d0027b18aa4ccf6b8405508319032 SHA512 
814f8a59ed8488a3ab049cc31ee4579ec954672f4cbca9102d8aa4d18dd2c169fd16518461cbcab24c28394c629234c54d9799d6df9f3ffdf0c57c56dfb2d094
 WHIRLPOOL 
b8ca5e6689d1ac947b2da45c601c3206653b9ae5a181bd63f667a3df6ceecc012621ba4349671caa2e0d1ad371409e046b278e9a6b558786aa7ceed6583ccd9f
-DIST pgpool-II-3.3.8.tar.gz 1809180 SHA256 
660c8b0c6e8be3d0f1120f2a648d08d4f9de1635dba9734d08ab912347675a4b SHA512 
afaf4a74da3dc65cff9dedfcdd4f73e13b45f956e5252e6c2e930956bc9308f6a7c0e40d8b1fc0952a87a015c1bd1c7933f3a11cc366a20f3465537d47d24c32
 WHIRLPOOL 
e359290e4beff0cb5ba45ade6ec4361c44182eeb8aae73116f97a07b10ecd06c3e237a15a6d917cddac22ebb7beacd5e1e59645f682016a5ca2f21c9793ac37e
 DIST pgpool-II-3.5.2.tar.gz 2227075 SHA256 
5d29fd9c30141bfdaf15b51c7878766178e5df42fa5e160d0f7df2824d26104f SHA512 
dd7268bce0019de30dfad01a8600af798127a4c2cc818e6f85ba30289e97c253d6faa392734d85ccbc97be3f04458c12af1bba541e5b8f3d2ee8268432e01d1a
 WHIRLPOOL 
22939c855919b8399c1129ff4622eae159141e9bf05cc36aca456bfd582c7ab0dc7ec87df5ea96d7101f438e89bf4e06f46a5f63cfde22e505d0a3965c0496fc

diff --git a/dev-db/pgpool2/pgpool2-3.2.5.ebuild 
b/dev-db/pgpool2/pgpool2-3.2.5.ebuild
deleted file mode 100644
index 9c9035c..000
--- a/dev-db/pgpool2/pgpool2-3.2.5.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-MY_P="${PN/2/-II}-${PV}"
-
-inherit base user
-
-DESCRIPTION="Connection pool server for PostgreSQL"
-HOMEPAGE="http://www.pgpool.net/";
-SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-
-KEYWORDS="~amd64 ~x86"
-
-IUSE="memcached pam ssl static-libs"
-
-RDEPEND="
-   dev-db/postgresql
-   memcached? ( dev-libs/libmemcached )
-   pam? ( sys-auth/pambase )
-   ssl? ( dev-libs/openssl )
-"
-DEPEND="${RDEPEND}
-   sys-devel/bison
-   !!dev-db/pgpool
-"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
-   enewgroup postgres 70
-   enewuser pgpool -1 -1 -1 postgres
-
-   # We need the postgres user as well so we can set the proper
-   # permissions on the sockets without getting into fights with
-   # PostgreSQL's initialization scripts.
-   enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
-}
-
-src_prepare() {
-   epatch "${FILESDIR}/pgpool_run_paths.patch"
-
-   local pg_config_manual="$(pg_config --includedir)/pg_config_manual.h"
-   local pgsql_socket_dir=$(grep DEFAULT_PGSOCKET_DIR 
"${pg_config_manual}" | \
-   sed 's|.*\"\(.*\)\"|\1|g')
-   local pgpool_socket_dir="$(dirname $pgsql_socket_dir)/pgpool"
-
-   sed "s|@PGSQL_SOCKETDIR@|${pgsql_socket_dir}|g" \
-   -i *.conf.sample* pool.h || die
-
-   sed "s|@PGPOOL_SOCKETDIR@|${pgpool_socket_dir}|g" \
-   -i *.conf.sample* pool.h || die
-}
-
-src_configure() {
-   local myconf
-   use memcached && \
-   
myconf="--with-memcached=\"${EROOT%/}/usr/include/libmemcached\""
-   use pam && myconf+=' --with-pam'
-
-   econf \
-   --disable-rpath \
-   --sysconfdir="${EROOT%/}/etc/${PN}" \
- 

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

2016-06-07 Thread Aaron Swenson
commit: 7416f943e514cc8683c5d33041af046be9803421
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Tue Jun  7 10:51:36 2016 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Tue Jun  7 11:04:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7416f943

dev-db/pgpool2: Version Bump

Bug: 529508, 563100

Package-Manager: portage-2.2.28

 dev-db/pgpool2/Manifest   |   1 +
 dev-db/pgpool2/files/pgpool2-3.5.0-path-fix.patch | 184 ++
 dev-db/pgpool2/pgpool2-3.5.2.ebuild   | 102 
 3 files changed, 287 insertions(+)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 80902c2..6d920ba 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -2,3 +2,4 @@ DIST pgpool-II-3.2.5.tar.gz 1643267 SHA256 
aecac952fd3d292584c9aa359d72f89b144c2
 DIST pgpool-II-3.3.6.tar.gz 1812394 SHA256 
8e0a9829122ed96793b4c340799d62778eb4176ee0f93288d8d4100fc620ff0e SHA512 
64edf6ee96fc18bccaf72e79dc165318587da49f45f7d9748e051a9b87f1938b79eefc020a70f1be31fdf922e6d646710105d97961aef1e0c1538b29cdb0575c
 WHIRLPOOL 
a4bfc20115e3a17474e9d57c5abec48ca613568f9e5dcea171a39a114dc5ef3ad59ecd7fba4f0cad703bf6f3dcf7fb1d9dea7b30faa818403bf450f8df10a7c3
 DIST pgpool-II-3.3.7.tar.gz 1808677 SHA256 
b1bfc8c48be252f6c4e54521d24a0e28e86d0027b18aa4ccf6b8405508319032 SHA512 
814f8a59ed8488a3ab049cc31ee4579ec954672f4cbca9102d8aa4d18dd2c169fd16518461cbcab24c28394c629234c54d9799d6df9f3ffdf0c57c56dfb2d094
 WHIRLPOOL 
b8ca5e6689d1ac947b2da45c601c3206653b9ae5a181bd63f667a3df6ceecc012621ba4349671caa2e0d1ad371409e046b278e9a6b558786aa7ceed6583ccd9f
 DIST pgpool-II-3.3.8.tar.gz 1809180 SHA256 
660c8b0c6e8be3d0f1120f2a648d08d4f9de1635dba9734d08ab912347675a4b SHA512 
afaf4a74da3dc65cff9dedfcdd4f73e13b45f956e5252e6c2e930956bc9308f6a7c0e40d8b1fc0952a87a015c1bd1c7933f3a11cc366a20f3465537d47d24c32
 WHIRLPOOL 
e359290e4beff0cb5ba45ade6ec4361c44182eeb8aae73116f97a07b10ecd06c3e237a15a6d917cddac22ebb7beacd5e1e59645f682016a5ca2f21c9793ac37e
+DIST pgpool-II-3.5.2.tar.gz 2227075 SHA256 
5d29fd9c30141bfdaf15b51c7878766178e5df42fa5e160d0f7df2824d26104f SHA512 
dd7268bce0019de30dfad01a8600af798127a4c2cc818e6f85ba30289e97c253d6faa392734d85ccbc97be3f04458c12af1bba541e5b8f3d2ee8268432e01d1a
 WHIRLPOOL 
22939c855919b8399c1129ff4622eae159141e9bf05cc36aca456bfd582c7ab0dc7ec87df5ea96d7101f438e89bf4e06f46a5f63cfde22e505d0a3965c0496fc

diff --git a/dev-db/pgpool2/files/pgpool2-3.5.0-path-fix.patch 
b/dev-db/pgpool2/files/pgpool2-3.5.0-path-fix.patch
new file mode 100644
index 000..b2c5d55
--- /dev/null
+++ b/dev-db/pgpool2/files/pgpool2-3.5.0-path-fix.patch
@@ -0,0 +1,184 @@
+diff -aruw pgpool-II-3.5.0.orig/src/include/pool.h 
pgpool-II-3.5.0/src/include/pool.h
+--- pgpool-II-3.5.0.orig/src/include/pool.h2016-02-10 03:53:31.0 
-0500
 pgpool-II-3.5.0/src/include/pool.h 2016-03-12 06:47:15.297966248 -0500
+@@ -72,16 +72,16 @@
+ #define HBA_CONF_FILE_NAME "pool_hba.conf"
+ 
+ /* pid file directory */
+-#define DEFAULT_LOGDIR "/tmp"
++#define DEFAULT_LOGDIR "@PGPOOL_SOCKETDIR@"
+ 
+ /* Unix domain socket directory */
+-#define DEFAULT_SOCKET_DIR "/tmp"
++#define DEFAULT_SOCKET_DIR "@PGPOOL_SOCKETDIR@"
+ 
+ /* Unix domain socket directory for watchdog IPC */
+-#define DEFAULT_WD_IPC_SOCKET_DIR "/tmp"
++#define DEFAULT_WD_IPC_SOCKET_DIR "@PGPOOL_SOCKETDIR@"
+ 
+ /* pid file name */
+-#define DEFAULT_PID_FILE_NAME "/var/run/pgpool/pgpool.pid"
++#define DEFAULT_PID_FILE_NAME "@PGPOOL_SOCKETDIR@/pgpool.pid"
+ 
+ /* status file name */
+ #define STATUS_FILE_NAME "pgpool_status"
+diff -aruw pgpool-II-3.5.0.orig/src/sample/pgpool.conf.sample 
pgpool-II-3.5.0/src/sample/pgpool.conf.sample
+--- pgpool-II-3.5.0.orig/src/sample/pgpool.conf.sample 2016-02-10 
03:53:31.0 -0500
 pgpool-II-3.5.0/src/sample/pgpool.conf.sample  2016-03-12 
08:55:22.318087007 -0500
+@@ -31,10 +31,8 @@
+ port = 
+# Port number
+# (change requires restart)
+-socket_dir = '/tmp'
++socket_dir = '@PGSQL_SOCKETDIR@'
+# Unix domain socket path
+-   # The Debian package defaults to
+-   # /var/run/postgresql
+# (change requires restart)
+ listen_backlog_multiplier = 2
+# Set the backlog parameter of listen(2) to
+@@ -53,10 +51,8 @@
+ pcp_port = 9898
+# Port number for pcp
+# (change requires restart)
+-pcp_socket_dir = '/tmp'
++pcp_socket_dir = '@PGSQL_SOCKETDIR@'
+# Unix domain socket path for pcp
+-   # The Debian package defaults to
+-   # /var/run/postgresql
+# (change requires restart)
+ 
+ # - Backend Connection 

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

2016-02-28 Thread Patrick Lauer
commit: a7cda3201d7148a07717613419fe2a343904736d
Author: Patrick Lauer  gentoo  org>
AuthorDate: Sun Feb 28 20:13:03 2016 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Sun Feb 28 20:16:59 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7cda320

dev-db/pgpool2: Bump

Package-Manager: portage-2.2.27

 dev-db/pgpool2/Manifest |   1 +
 dev-db/pgpool2/pgpool2-3.3.8.ebuild | 108 
 2 files changed, 109 insertions(+)

diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index cbaabe7..80902c2 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -1,3 +1,4 @@
 DIST pgpool-II-3.2.5.tar.gz 1643267 SHA256 
aecac952fd3d292584c9aa359d72f89b144c29f45c9f848cb030e46215a814f7 SHA512 
c6dd033462de7f56724f7416fca3ee3e25835f113604fb03b97deee2e3ab25a07cfd9aea33ec36211aa0ec41c2bcea31ca9befe0cfe8f6389a39c2f6495388b6
 WHIRLPOOL 
5db077d51c5aa8692ba23c0f5ad3b3291c42448724cf633db13850d9b22df256c2aedc15b95fe74a33e486e09f4cc6a37daed0d39becff38acd40fa52b78ab8d
 DIST pgpool-II-3.3.6.tar.gz 1812394 SHA256 
8e0a9829122ed96793b4c340799d62778eb4176ee0f93288d8d4100fc620ff0e SHA512 
64edf6ee96fc18bccaf72e79dc165318587da49f45f7d9748e051a9b87f1938b79eefc020a70f1be31fdf922e6d646710105d97961aef1e0c1538b29cdb0575c
 WHIRLPOOL 
a4bfc20115e3a17474e9d57c5abec48ca613568f9e5dcea171a39a114dc5ef3ad59ecd7fba4f0cad703bf6f3dcf7fb1d9dea7b30faa818403bf450f8df10a7c3
 DIST pgpool-II-3.3.7.tar.gz 1808677 SHA256 
b1bfc8c48be252f6c4e54521d24a0e28e86d0027b18aa4ccf6b8405508319032 SHA512 
814f8a59ed8488a3ab049cc31ee4579ec954672f4cbca9102d8aa4d18dd2c169fd16518461cbcab24c28394c629234c54d9799d6df9f3ffdf0c57c56dfb2d094
 WHIRLPOOL 
b8ca5e6689d1ac947b2da45c601c3206653b9ae5a181bd63f667a3df6ceecc012621ba4349671caa2e0d1ad371409e046b278e9a6b558786aa7ceed6583ccd9f
+DIST pgpool-II-3.3.8.tar.gz 1809180 SHA256 
660c8b0c6e8be3d0f1120f2a648d08d4f9de1635dba9734d08ab912347675a4b SHA512 
afaf4a74da3dc65cff9dedfcdd4f73e13b45f956e5252e6c2e930956bc9308f6a7c0e40d8b1fc0952a87a015c1bd1c7933f3a11cc366a20f3465537d47d24c32
 WHIRLPOOL 
e359290e4beff0cb5ba45ade6ec4361c44182eeb8aae73116f97a07b10ecd06c3e237a15a6d917cddac22ebb7beacd5e1e59645f682016a5ca2f21c9793ac37e

diff --git a/dev-db/pgpool2/pgpool2-3.3.8.ebuild 
b/dev-db/pgpool2/pgpool2-3.3.8.ebuild
new file mode 100644
index 000..c2cff65
--- /dev/null
+++ b/dev-db/pgpool2/pgpool2-3.3.8.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_P="${PN/2/-II}-${PV}"
+
+inherit base user
+
+DESCRIPTION="Connection pool server for PostgreSQL"
+HOMEPAGE="http://www.pgpool.net/";
+SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+
+IUSE="memcached pam ssl static-libs"
+
+RDEPEND="
+   dev-db/postgresql
+   memcached? ( dev-libs/libmemcached )
+   pam? ( sys-auth/pambase )
+   ssl? ( dev-libs/openssl )
+"
+DEPEND="${RDEPEND}
+   sys-devel/bison
+   !!dev-db/pgpool
+"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+   enewgroup postgres 70
+   enewuser pgpool -1 -1 -1 postgres
+
+   # We need the postgres user as well so we can set the proper
+   # permissions on the sockets without getting into fights with
+   # PostgreSQL's initialization scripts.
+   enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
+}
+
+src_prepare() {
+   epatch "${FILESDIR}/pgpool_run_paths.patch"
+
+   local pg_config_manual="$(pg_config --includedir)/pg_config_manual.h"
+   local pgsql_socket_dir=$(grep DEFAULT_PGSOCKET_DIR 
"${pg_config_manual}" | \
+   sed 's|.*\"\(.*\)\"|\1|g')
+   local pgpool_socket_dir="$(dirname $pgsql_socket_dir)/pgpool"
+
+   sed "s|@PGSQL_SOCKETDIR@|${pgsql_socket_dir}|g" \
+   -i *.conf.sample* pool.h || die
+
+   sed "s|@PGPOOL_SOCKETDIR@|${pgpool_socket_dir}|g" \
+   -i *.conf.sample* pool.h || die
+}
+
+src_configure() {
+   local myconf
+   use memcached && \
+   
myconf="--with-memcached=\"${EROOT%/}/usr/include/libmemcached\""
+   use pam && myconf+=' --with-pam'
+
+   econf \
+   --disable-rpath \
+   --sysconfdir="${EROOT%/}/etc/${PN}" \
+   $(use_with ssl openssl) \
+   $(use_enable static-libs static) \
+   ${myconf}
+}
+
+src_compile() {
+   emake
+
+   emake -C sql
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   emake DESTDIR="${D}" -C sql install
+   cd "${S}"
+
+   # 3.3 appears to have removed this
+   # `contrib' moved to `extension' with PostgreSQL 9.1
+   #local pgslot=$(postgresql-config show)
+   #if [[ ${pgslot//.} > 90 ]] ; then
+   #   cd "${ED%/}$(pg_config --sharedir)"
+   #   mv contrib extension || die
+   #   cd "${S}"
+   #fi
+
+   newinitd "$