summaryrefslogtreecommitdiff
path: root/dev-db/pgpool2
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/pgpool2')
-rw-r--r--dev-db/pgpool2/Manifest10
-rw-r--r--dev-db/pgpool2/pgpool2-3.6.4.ebuild1
-rw-r--r--dev-db/pgpool2/pgpool2-3.6.5.ebuild1
-rw-r--r--dev-db/pgpool2/pgpool2-3.6.6.ebuild1
-rw-r--r--dev-db/pgpool2/pgpool2-3.6.7.ebuild98
-rw-r--r--dev-db/pgpool2/pgpool2-9999.ebuild1
6 files changed, 108 insertions, 4 deletions
diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 6a99b5f6f595..c10e3658c9cd 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -11,13 +11,15 @@ 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
EBUILD pgpool2-3.5.2.ebuild 2465 SHA256 009b6abc74f1c3a31d579cb1855713682d06706b08cb14e22bf062dae6f9b3bc SHA512 5f1d18669f16acdccda9eedb0a24d61705f9b9ea23130c95428ba1143ca337815e724047b9b41ee48ae7ae0599e329edd4a45ecc3ac428b95868d9990b4542bb WHIRLPOOL c5ccd1bd550e758512a765a78fd1a623840b1884c604666588b29a7c51a0afefb586dd0d597c181fe2c3832bdbc67a905d37ae1669675b924b22f6e206fcbb81
EBUILD pgpool2-3.5.5.ebuild 2465 SHA256 d13d9a638056e34e34685a8837b465c568f31e0a33d768c3ca1e6da99afffdd0 SHA512 8cbe17265f1b698eca9386d1268dd3e07cc305efb0b4bd8cecd995656827bcb1db573094514d7f1e0b51a9a80effb70bffdc7c3c62f14fe974c468e2e3090926 WHIRLPOOL 1d7765e62fc20b9f8455a2225c43c0ce085563628eb3fa127235e2a8fe103accdea6bea045cbee7741d3d8bf9aedf846487927e7f0ec339752589e6bdcb9e2fd
EBUILD pgpool2-3.6.1.ebuild 2396 SHA256 5413cc6e97d9d03f6a8d9306925e550dfae066b84e8b350fc37cb20bdde048bd SHA512 27b23a48947221074fee372c3c1708492796f1d0671d0f98272aa279c8021e491be182b7cf5f74e7ab7fa8a683a76539e60ad28ea89a79ed06984bc2e3920386 WHIRLPOOL b4fc29df28364b3ccf26612f3eff4808ed0473caec41d121a2d9b3d4d7fad3f080f24ad9badf97d363d27ad40ac09376874f8df8b80b06ec72460ddc706531d8
-EBUILD pgpool2-3.6.4.ebuild 2482 SHA256 0bc4c186c05d05d79cbd4381f6cb2d8f45d85d3fb6d07c46c237062d12e7bd68 SHA512 5d6fe03bd4d38ab5b73531635c81ec7aadfc3387646cb1c4833e20b19f0863b1c9b5d8d85426a2176986adab30359b7ab984dac0002ceb0f42e0cba1886edfe9 WHIRLPOOL d57efc4b218af5870a249265a73c4dd1eca8b4ea2368c26f9d42a4574a7f1ec3a225029761635aac1bdbb0f5a4458ad62b8badbcf267820271f2098d21de4c95
-EBUILD pgpool2-3.6.5.ebuild 2468 SHA256 ab395a3727d617226980e606bc9d7d36be1bacddaba0fdd23303433ba6a1bee0 SHA512 265a1b0be61105fe691ef883491733c8acd5cdbcfd98e9010c0d901b6891a4373afabb95f4697f000612a14700f3fc1afde27fd9a55f97879d67d3f7d6ecafcf WHIRLPOOL a3edcc30ed0c8c66878cbf7a665ce066a3f636b1eb6911eaba862f5b55fcd35a89b00a7fa17f482a6b2c876a7e140841215450602474a48750a933b54eb43152
-EBUILD pgpool2-3.6.6.ebuild 2468 SHA256 ab395a3727d617226980e606bc9d7d36be1bacddaba0fdd23303433ba6a1bee0 SHA512 265a1b0be61105fe691ef883491733c8acd5cdbcfd98e9010c0d901b6891a4373afabb95f4697f000612a14700f3fc1afde27fd9a55f97879d67d3f7d6ecafcf WHIRLPOOL a3edcc30ed0c8c66878cbf7a665ce066a3f636b1eb6911eaba862f5b55fcd35a89b00a7fa17f482a6b2c876a7e140841215450602474a48750a933b54eb43152
-EBUILD pgpool2-9999.ebuild 2420 SHA256 f5f6ff4fe45e0b7f20206defa6b03fe946e0cba3fa2708361a7cc37c999ca6e3 SHA512 de8cbbc56013fefaba4d7a93e7f6c218e40e8233b44694efc99bfca94bb1b1cefa9438fcb6c0947ffe71abd09c4a4011ffecb8089bd32f7075304b578ef132d5 WHIRLPOOL c748c80ef34f2c9392b75edb49d0089a3dbf50ca4a516b2a21fe4203b329ed18f76ec2e724f1d9b4201e3bdd568852bcc8633d7298dd1de8e7f756d960a5e4bb
+EBUILD pgpool2-3.6.4.ebuild 2502 SHA256 5789241ec771cc5943bf2771ee31eaff8fb1276b72c6c5f41abf1f3dc3444ed1 SHA512 2c2ebf35fd59e3d6103f7416a4f0cf2b16858773d9e12ac2d8d146af2103008792bb2c49927772e44e4558775299ab268b822f3ffa44a4e279cdd8214d47bc27 WHIRLPOOL 1aa003aa83ecac9bbf739965d41ca39d71c401129288a5ac63ec8d4f4fbde61d9e09e10e0aac43cac3e9d1f527bb2bf9de0a0d7154fac8046a284f78e539b7af
+EBUILD pgpool2-3.6.5.ebuild 2488 SHA256 eb561f883526e4b746ad905c57f40c4ba09e2a2c181612914f5280cf1c6dbcf8 SHA512 84f54eadcc0500659d4b38314183eacfa3fa0a7e518cd354368beb96a6b1a6d6e5c9bf47abb601f2df33ccbe7f924dc51c5a20e1550090f09f625d6f59181630 WHIRLPOOL 027debb26706b87bcc79c3b4f9978a1a5ea4993cf800bbaa32f4f7f1fb0de4ad0b62d757a1e8178d4e81e9b765dc3197143e7e7068d5fedab9c6a303724c4701
+EBUILD pgpool2-3.6.6.ebuild 2488 SHA256 eb561f883526e4b746ad905c57f40c4ba09e2a2c181612914f5280cf1c6dbcf8 SHA512 84f54eadcc0500659d4b38314183eacfa3fa0a7e518cd354368beb96a6b1a6d6e5c9bf47abb601f2df33ccbe7f924dc51c5a20e1550090f09f625d6f59181630 WHIRLPOOL 027debb26706b87bcc79c3b4f9978a1a5ea4993cf800bbaa32f4f7f1fb0de4ad0b62d757a1e8178d4e81e9b765dc3197143e7e7068d5fedab9c6a303724c4701
+EBUILD pgpool2-3.6.7.ebuild 2488 SHA256 eb561f883526e4b746ad905c57f40c4ba09e2a2c181612914f5280cf1c6dbcf8 SHA512 84f54eadcc0500659d4b38314183eacfa3fa0a7e518cd354368beb96a6b1a6d6e5c9bf47abb601f2df33ccbe7f924dc51c5a20e1550090f09f625d6f59181630 WHIRLPOOL 027debb26706b87bcc79c3b4f9978a1a5ea4993cf800bbaa32f4f7f1fb0de4ad0b62d757a1e8178d4e81e9b765dc3197143e7e7068d5fedab9c6a303724c4701
+EBUILD pgpool2-9999.ebuild 2440 SHA256 d6ac5ec09fd376eeb1ae9b5f94e8c29a07fa28a4bed3168e8ce62fdf04a02541 SHA512 b2fd29cf9643d0cf093c64db9283dadcaa39fec6cca1ca8f1cb1cdd85265cbcca2fc30a52a041d2683328235c8717cead2083813f8b6365ad3465c620f0ec0a1 WHIRLPOOL e300373fbbe0862aeec6220fcfaf87d7912572d390dd111dc25d57cf6f7becfa6488c3c3de877ce68ab9bc7f21a27ed4029074961e4dd8202934adb0982fd2af
MISC ChangeLog 3763 SHA256 dc204ef977231a6acb1c9782acef4b57568d2b00fea4f6608b8e5aba1bbff885 SHA512 3b69836d0a396c3f27c9a201b14c1deec7c502e59aa89f0ae836d5f4a4f245a8e6af9eb841cbd9cd423607a398f1b053ab79906b069535a5a335f33d25bd5904 WHIRLPOOL ed590470288ceaac302a7949d790affe4eb8bbf873007111e4c4fe05d29f61bceff5b5b0f51e1e2f310761f4054e38586c83f8aa365305582cfc72ab470f2e54
MISC ChangeLog-2015 5253 SHA256 fa072640b1475ffb2c7cb9407832d0cd2e1ae47d71be3f8ec6e60c7887c5a7d3 SHA512 a4e8b1bc2e41e6280fb37fc9edfec9cfacea8d611aaf2c344ed177cfccb7e9bd72e95c2fd1b8ee462c4c632dc09e365c3fc1aa4bb46aace1afbd0d0f288e5620 WHIRLPOOL 4e41bffad28612c3c2580561006f6f8e73a82506b52f704311d3d70cce7314166741f6701655e981d97d05b2668dcac50c3d5addee63fef1985034433e1916d9
MISC metadata.xml 390 SHA256 5f53324eed631180f21fa0a389a924158b09d877441362d09bda1d50f313019e SHA512 ce26ee116c3c7ff77a771294ed07f38d8f940dc380915c339eb4c543d86fa5bde025ba83e70af2b7bf4a1bef1e51957f151131836855e0dae2e1daed73ffae8d WHIRLPOOL 6b73e921bcf284cbfd72c420e13b7b40260fe1f66ffdf905b88000e4f3f9676fca36d58b09c0f7e51e51d1459f2b9f944023f5e9991899e53fbf2dde52128405
diff --git a/dev-db/pgpool2/pgpool2-3.6.4.ebuild b/dev-db/pgpool2/pgpool2-3.6.4.ebuild
index cf9cd0abf25d..e3a92f81d557 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 6029e61e8832..830743a0c780 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 6029e61e8832..830743a0c780 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-3.6.7.ebuild b/dev-db/pgpool2/pgpool2-3.6.7.ebuild
new file mode 100644
index 000000000000..830743a0c780
--- /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 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 {} +
+}
diff --git a/dev-db/pgpool2/pgpool2-9999.ebuild b/dev-db/pgpool2/pgpool2-9999.ebuild
index 031166c54b9d..c8c5ae2d3721 100644
--- a/dev-db/pgpool2/pgpool2-9999.ebuild
+++ b/dev-db/pgpool2/pgpool2-9999.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:* )