summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2014-05-06 09:31:26 +0000
committerPatrick Lauer <patrick@gentoo.org>2014-05-06 09:31:26 +0000
commitb44b9b9e54f88dd27f35b55988b8dce7745c52f1 (patch)
tree0c28b816840d9c5ed03924c0178eedec8cc13567 /dev-db
parentdrop py2.6 add pypy support (diff)
downloadhistorical-b44b9b9e54f88dd27f35b55988b8dce7745c52f1.tar.gz
historical-b44b9b9e54f88dd27f35b55988b8dce7745c52f1.tar.bz2
historical-b44b9b9e54f88dd27f35b55988b8dce7745c52f1.zip
Bump
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/pgpool2/ChangeLog7
-rw-r--r--dev-db/pgpool2/Manifest4
-rw-r--r--dev-db/pgpool2/pgpool2-3.3.3.ebuild108
-rw-r--r--dev-db/slony1/ChangeLog9
-rw-r--r--dev-db/slony1/Manifest5
-rw-r--r--dev-db/slony1/slony1-2.2.2.ebuild68
6 files changed, 196 insertions, 5 deletions
diff --git a/dev-db/pgpool2/ChangeLog b/dev-db/pgpool2/ChangeLog
index befcf1ba1509..3236b1a07440 100644
--- a/dev-db/pgpool2/ChangeLog
+++ b/dev-db/pgpool2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/pgpool2
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/ChangeLog,v 1.22 2014/01/08 08:06:36 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/ChangeLog,v 1.23 2014/05/06 09:31:17 patrick Exp $
+
+*pgpool2-3.3.3 (06 May 2014)
+
+ 06 May 2014; Patrick Lauer <patrick@gentoo.org> +pgpool2-3.3.3.ebuild:
+ Bump
*pgpool2-3.3.2 (08 Jan 2014)
diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index 6b3f92f7db7b..2d085952348c 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -6,11 +6,13 @@ DIST pgpool-II-3.2.4.tar.gz 1627417 SHA256 c4ebc6fe1ff0936bcfdfcd0b23e07b956bab2
DIST pgpool-II-3.2.5.tar.gz 1643267 SHA256 aecac952fd3d292584c9aa359d72f89b144c29f45c9f848cb030e46215a814f7 SHA512 c6dd033462de7f56724f7416fca3ee3e25835f113604fb03b97deee2e3ab25a07cfd9aea33ec36211aa0ec41c2bcea31ca9befe0cfe8f6389a39c2f6495388b6 WHIRLPOOL 5db077d51c5aa8692ba23c0f5ad3b3291c42448724cf633db13850d9b22df256c2aedc15b95fe74a33e486e09f4cc6a37daed0d39becff38acd40fa52b78ab8d
DIST pgpool-II-3.3.1.tar.gz 1692087 SHA256 214e0fe96f8f2b3568ee6937318d254cb69e614ed5acd7e342bc6f34996dce7e SHA512 b1cd120dbc92cae27df099a8eec5b741edbf5c331e015051a79607b47a41c3623a916890a9b21b5e78d5497e0f830e239afbb514a5cc723dfb7f47816087af67 WHIRLPOOL 77216f6aa0ddce1679f5a8237e2b760f92855b4e06eb8876e377065e9d6ecdf2b0b4ba848390caa98933841ebc770d87d9314816ffc98f26f10a64638af47f5b
DIST pgpool-II-3.3.2.tar.gz 1710418 SHA256 6c723787b92208f4ecc18f28e84e5cb472be446e08ce708d28b70c7d2fd80a70 SHA512 cd8af636b4ecb72884826da193c7062bb62c8dfef206c1e7248585c8abba9afde362fbb631c1dadbbadaa9b94cf7a01652724e82c5d1ea521423bd36fb5bf346 WHIRLPOOL e74e25a2a46fa50c012a3f52fe8803c68be51bc2c52de79c4073bfdb7b1cff5617cca34554aecf97d58d61dd81a0397a52f3869308c5c53261969b0d316fa709
+DIST pgpool-II-3.3.3.tar.gz 1725512 SHA256 b8da35bb50b24f011da9fffef2875035f07cd6da8e3c60f8c0c33323b16214c4 SHA512 95bac43cefd36bd4822fd24ea90f5bb3b3ff4924b43c2d948c17e390c220b96f19fefafc5d4b759fcfb321b232253f5d181634aca0b3d1018973c68b134bcbb9 WHIRLPOOL 0e9f80c00cd6ed61502dbd83f6e3f0c85c297f354edbc02b82e0e880a2598642195f029273bb6c84dc4eb88dc0bc233b47c98985bbba80009ea6aaa9e4a67f86
EBUILD pgpool2-3.2.3.ebuild 2607 SHA256 7aced5863f0cbaf4bd1eeb9ee73d54377238c7231e1ab6c5a7d23b55ce3946a1 SHA512 ec5c3f49dfa5c8e8029d53365b5a0c16a042c1a46a0943046988005884c2512d8f1a0f2c1e5613a976e5bf0ae50b6ea67c59d3094cf3e8fe0fe31620226c12ec WHIRLPOOL 92a341b232fe41a6319d92a341602dd432e692283679c867ffba835daa16db18d9af06f8c0c236920a8db6a8703b97dcfe098fc57860c12aa53dd22b64862200
EBUILD pgpool2-3.2.4.ebuild 2607 SHA256 39043384d795be9f54af6a933275e2f2f1d59dfb0ff89db4fe8b61044819f7d6 SHA512 f1b4ac9d943a79442135a7a98b7519db80e8a634465754682003b7a42d2302d84bec166460cc52ccf1d75328600e34ff8a4bae82dd753e779d5a05cb75546647 WHIRLPOOL 0aac1e41564ccbfca717269e1fa765698ce0d892dfdc269bef7ae1dadaa581f330bc7d5889252ab641544c79e5959e704d6a5be36dd286f496223e6bf9961f0d
EBUILD pgpool2-3.2.5.ebuild 2607 SHA256 37fa6a951c88a85f40aaa706f0b773e6b44263f44ed74387d86c9940fb99657e SHA512 5395a2afe8cf28a938297e9aaa9e0d55e2e3b7eeef02aac57fba289c48be0a7b5cd13d3296cfd0dc1b0afdfb193baf22a62a25831453f0a86008011a1878e531 WHIRLPOOL 4939b038ddefa832ee578ccc25e9d4887bbe40afe349fde4fa7d1e7c10356a0a7be6c3521740e89406eca1965e9b1d6d1bfecba9031dee24bcf5fa93dea37d04
EBUILD pgpool2-3.3.1.ebuild 2649 SHA256 a8efa700903add554e2acfc57dbe3d946c25160eea42fa181b66409130afb5e9 SHA512 b2a9f6dafed3f87574455bca93ac21a74818ea101a516b292196906c2fdc43e26c70a42146b9a5315eaf3a8db72d649fee2787626829288afab5d7674f59940f WHIRLPOOL 71f791fd6f91c20fa59c9a4823325e30de9cd779c0bc2d350eb80b14f9b131fbf710f6521bc4d22a9c0cb7dabe710edbc8e83318e8d53014ede993369d1196fa
EBUILD pgpool2-3.3.2.ebuild 2649 SHA256 ccc46c68e829cad53e95d7980c1b4c7cd8edbeb189ac19cbc41baf4233be4dec SHA512 10dd2efbb7bb2751aea970bf01ceccbe97ce8a2b636f0a1667901aece6533717d9c1d6d9fce30a01f2cfdb048841073ff1dc4c9fd5d30f2332f71c526226d526 WHIRLPOOL 30c84ef1eafb4ab4ed646c26307981684efd31505ffebc086b0d82b84d658a62e7a0314b5a7192d1cd3369c6f684f187cf73b0f467d40dd6b0af349d3ffb5796
+EBUILD pgpool2-3.3.3.ebuild 2649 SHA256 8bda169bf358541649d6e0cd8805fdc4e429acba60b54dafd4559309d901a818 SHA512 7cb27ae19359b274f4de7a4f168a3654979c92aa96c7cab647c338de2545b9a796067325b95ec79400e4f1a7872d6f4a51de5482acfc97c9f286344652c72b15 WHIRLPOOL 9d68a25ac1bf3c5112d512e831551d6dff9066a2e6541e66b6cf5d33798588d50725d87c9ee25f3b79f18324ada0b29011981a2d7da8e95363dd2b047a54db05
EBUILD pgpool2-9999.ebuild 2948 SHA256 70a5cd2ce56e37d975cb402bbb76f4d5cf855db238fc5468a898855a6f83bfff SHA512 da40c5ced9a7cbbb7d5af1bbcfc5273d4315d9ca00b6595920de9f979703d6758f6417410557d4f7d0f315bced452b2c1dbbce592f00cea3b32e8c5453b4b9e8 WHIRLPOOL 2bc3897c42c5a54540113525005687327f8fdb4609340a8f94bc17caeb9fe425782dac8c52b2f184abd136a0911323ede50f024fb595885f206b9c17b90d1242
-MISC ChangeLog 3948 SHA256 966fa3eac8c85655d7de48c267dda61539ca4da47536f45110512d62c92c750f SHA512 c17cdd86cc9f0f003061f74ce21cbe59019c57e78bf6bb372684d1da4b0ee6189d2d8c11448a375f4c0ce6ba8615eac5bfc0469ecc5b015b962111a5f0ceb06e WHIRLPOOL 6e09e931222b60378e2c729865ad5c23542e3cd8751292369c20e0733353cc2bfd2371920b70085317fdf74be43d72314ab41bbd2f50b037d5fd1e4e443a7161
+MISC ChangeLog 4059 SHA256 2f3d3f499c51ff55d6e883d2d302851aef7a61c5e1749f1aff304fd82f4e4425 SHA512 6ebf7ac1fcb2b2ce3818e4a5ca127d391150ca6e818f2b55968f2a3c7d9ba49ac613d967bb28316c37009657294578f453977526539856c90b2c7c5acb9d0ed2 WHIRLPOOL 3648b6e24d114160c4c44f62788f565041a512762454a6014cd3b419d813e0169db986775f4cea130b6e6a3c2a4208f8b725259bca9161d5bb54d83e449784f2
MISC metadata.xml 259 SHA256 f42aac06ff89f92bbcda31eadabefeed1a3d697f69ab8ae80341bcbf2e3fd530 SHA512 d67ad6e98b318a4eb2caf657e7d326c17afb7ddc841bd415388fbd196e274d68cfb6d362da3f39e2d2f81352fbfa66e8b805c29326024236d4c4f69b87124231 WHIRLPOOL 05314d28fa00f4c699d1d6535810322af91c192d013105f53bc5ebeafa99c182e8501d693efe8c12a1ede11d244f7627656c643a72902412f468f465e39a6c98
diff --git a/dev-db/pgpool2/pgpool2-3.3.3.ebuild b/dev-db/pgpool2/pgpool2-3.3.3.ebuild
new file mode 100644
index 000000000000..70f195265520
--- /dev/null
+++ b/dev-db/pgpool2/pgpool2-3.3.3.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/pgpool2-3.3.3.ebuild,v 1.1 2014/05/06 09:31:17 patrick Exp $
+
+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-base
+ 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 "${FILESDIR}/${PN}.initd" ${PN}
+ newconfd "${FILESDIR}/${PN}.confd" ${PN}
+
+ # Documentation
+ dodoc NEWS TODO doc/where_to_send_queries.{pdf,odg}
+ dohtml -r doc
+
+ # Examples and extras
+ insinto "/usr/share/${PN}"
+ doins doc/{pgpool_remote_start,basebackup.sh,recovery.conf.sample}
+ 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 {} +
+}
diff --git a/dev-db/slony1/ChangeLog b/dev-db/slony1/ChangeLog
index 8c7e9a8d8019..4a8bcb90593e 100644
--- a/dev-db/slony1/ChangeLog
+++ b/dev-db/slony1/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/slony1
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/slony1/ChangeLog,v 1.47 2013/11/27 04:17:32 patrick Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/slony1/ChangeLog,v 1.48 2014/05/06 09:28:17 patrick Exp $
+
+*slony1-2.2.2 (06 May 2014)
+
+ 06 May 2014; Patrick Lauer <patrick@gentoo.org> +slony1-2.2.2.ebuild:
+ Bump
*slony1-2.2.1 (27 Nov 2013)
diff --git a/dev-db/slony1/Manifest b/dev-db/slony1/Manifest
index abae97e61257..6f75af3064f5 100644
--- a/dev-db/slony1/Manifest
+++ b/dev-db/slony1/Manifest
@@ -10,9 +10,12 @@ DIST slony1-2.2.0-docs.tar.bz2 1429244 SHA256 4a97d3c3e9e8e12257a6fcabfeb65ced02
DIST slony1-2.2.0.tar.bz2 1467410 SHA256 38e0c78d50ab882bc0cff1801d28b69ef1f7d99a6e55b06fa20e2f4a08fa6049 SHA512 4d05dee4028408c78da068742b4adbcb2c1d37bfb480047f6ee4c59d167e13d340c2b644c45911d29dda8d626aac6fe79cad7f51a81bc5edaff14fa10be7b369 WHIRLPOOL 31253f8d760b16c0e1c77ffc83d8f936d6225b83124727603525180b2d134c6d650cc8b5c59334a3cd29ee058e59b539c1f5d857585b8d9a22631aba4ace2798
DIST slony1-2.2.1-docs.tar.bz2 1445906 SHA256 7c8fdbe35a5738f38dd4a7774e3e5b3413916da6e3c7fba3bd5554b61e003d30 SHA512 6c213890d45612bd30f995286b6e7ce6c777274a9b96e040794707c1b28bf1337d27d8c1495e0824aafe950e615b2fea01f2c84cf491391132d29cf3fd28d322 WHIRLPOOL b94715e210c6db12e1d431bba2b602f6b8346226a71b058756acf73b449e42c5397979a19f7bd3074a7c8c9b707d001e09ec22be445e161600137e443632af1d
DIST slony1-2.2.1.tar.bz2 1466866 SHA256 8606c2be3ad219fb8d482e5a0f836e37d26df3b49d5bce099fc71fd95961e960 SHA512 0b47180bb16e6d25eb3e6a280fe91bd2448bbf4b9ee10a8811f16bf0c2dbc7eb52d3c029d1fac5e3ff8f0621da3bc174d7deb7b72000c631664131aeb4c25e74 WHIRLPOOL 9c61161fbc87d1ad30dba0ec0274801109c30f8f4f33840337737c7201bb622739b313728ae1ab2c26864dfe8c87e295642000dde034795ddd81babaaef5dcbc
+DIST slony1-2.2.2-docs.tar.bz2 1444845 SHA256 f025b42a29e32e65c74b18618fafa552fa878acb8daf0d6cf2bfc926020b011d SHA512 8b3fc427f259a71dd4fb1d914d89d52f320ba2c5f034ecb069f0bf8f4f4a1f5e37b1f0ad4bec7adf0af4f18503421ad41f51a41a0c6b74675bf7dcb1c65c5971 WHIRLPOOL 6c32adffd10c86a40c1235f6266675c9e78ae381de23be08291007983480337c65e5ac83d496655f950164e7aefbdf5ce25bc448097158523bad37ddc46b0371
+DIST slony1-2.2.2.tar.bz2 1466576 SHA256 ef5f0fa6d95fd3a6a6b2fb5bdb4610ba437b85d2ad9210caabcfb1a9a98405d2 SHA512 320d871fc0fa58bd8c7bc4af50f160ff8d8ea008fed3cb69aa15de14adc6bcfbee2d9659fbf196140af8764d192a5914f2a0b1e486c43533b101b91a73dca36c WHIRLPOOL cf9be62309fe0fa80aa9f2bbffea68db2af453d391f27884b1a9cb0f16883f002c340913bfa58cf9dbc2ec9b6c931d0c1681191e96f9e0d8818ddcdc428fb8df
EBUILD slony1-2.1.3.ebuild 1944 SHA256 222c30c5b98527416ee1b0f86bdcee53e60c67514c3467c7bbe7bbb806f6c627 SHA512 e931c5780c4c87a3348cdd3be097a36eedefde630a6d7da3ff07c3ec404e0053bbeda0bae460470b4dde3672e2ed014b42665901df9079642ac441990d1a8506 WHIRLPOOL d703a78c871bb4568de3bbfb0053e7789ce401d87f7bf131b78e4a273fdb2a4323c3534dbb660a8d4c42b28e448d2705c488791d28e561a502e4e3568d125a05
EBUILD slony1-2.1.4.ebuild 1993 SHA256 cf689bf956c36416bcc794b441b8c93f6fb91bf332a036846569a2f4c0834f55 SHA512 8a604255d9c7ece400647d47409f19d4d98d83cd95373e0bc08c5dc6c435f531faddf2d4a6f302a2857dc22952f16f7e9d7bcf5bf5a034986be26321c72f09c5 WHIRLPOOL cb0ed306193c26dc083955485233ec0a640e324231976d93aef9b0df61c03bd80990f6bee3cb8259c37fb33314635d2da0b076a67243c8452479591d0f25494f
EBUILD slony1-2.2.0.ebuild 1870 SHA256 d3d8b7550c632db108aa2295069c62f4b611ca24acb484d77c34d2b83c16d2a1 SHA512 ca2ffec425bc32160ee587dcdf2e7cc25a3b1c00f73fa8fd10cbacfd1210bb263504b49f42ac595204ed2c403b2975268334755fee07d81a3908f2110367d5d9 WHIRLPOOL 3360cff0dfecce4881d722dc537b14797c5bf0b00dfbef97094c08d0bf2d14fcf227ccd1763bdcb1391f809caf9a2cbad2e65c2e187cfdae9c4c3db07e72cc66
EBUILD slony1-2.2.1.ebuild 1870 SHA256 0c019fde7fe499c52364c41111eeadd812cab711794ebbaa242fd514a193429d SHA512 d99b723fe9181dbb3f82ebce561a36b40d518a4ceacdc7a14f0bc09abf0f65ae4e26a61beec992fd6661824c79f2d3c84e8e60acbea8ea04b3c59011080dcf4a WHIRLPOOL 64f6f7c6840f6c131cc7601173e629371b5de812f6142fbedf3fd73012c3ceeebc884965f8916bfc9c5ffd71d8d29ce51501cde3b12877777e000e46f98935b0
-MISC ChangeLog 6540 SHA256 0fff016d79fef4193d0f9fc0c793ecc3bdf39426680913fbe4e19bdcaa703e87 SHA512 676f9c82644c7f20ba37aba50030ba188072b4fe037cb538218776085f35832fdb2b8e814c7641a2e3b2cedd9f85e5a47dd0e6215c2e4f90e1bad7fcfa9f3d6b WHIRLPOOL 486aeca9616220c4d10aa89f782b51d212b5670e98c9fb252a2ceb02e623da83de440805d580d8fb02639ee33907d7d0017d16ce5370db84bd48348fd7a245e4
+EBUILD slony1-2.2.2.ebuild 1870 SHA256 2e878d9568117f99faabebba3ddefe445fd4c2ac5d1d1b9c1342ffec68bb9c8f SHA512 32bc47ae6a6f66ffbb1308e16343ae5e1d2318b957100d88104e8a7e83266dc1eea1c2bd297b6f6bc22f73be0a42e47867f59c00d57b45116454d014b853003e WHIRLPOOL 93287a1ca2cb5266a1976b55dc929a133ad62774423d8cac0b02eefc13f129e2e8ca8eefce15bde47aab3f6365e11f254d043f4cff333fbc47d6193ac08ec95c
+MISC ChangeLog 6649 SHA256 a715f0ffbe2c7547e5f9d66273da477f4650cbb08a7818bf4aec9b395597aa06 SHA512 3fa6fede52d6ec5cd21c0c7802415a791344115dfddd4105a2583b1bed95999cc75e22aa36b819ec779a7accb1519951f4e86e1be2f40b58e5155d05038703dc WHIRLPOOL 6982a6c1df47fa3059c12ec5fde478b93355a0f7443dae6ab6081f55360374b40537aa3358e7033a3206892c2f0755fee1a4bec5065f77db585cfe5a52a2e7dc
MISC metadata.xml 164 SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b SHA512 45b3f5ba6ebbeb2f990e5612b545bee41bb8c9f29e7f31de34021384760fcfc4694de0782fc0bdf556fe81ed3b334fc96c33563b0fddc2545484099a2cd76bb2 WHIRLPOOL 5fd1b0fc651f51ed3d1715cff87d86e7c0fe9c7825529069c7c3fed13641aee24bee1971b6e1057797b7b191ef0d50a1ea68c9f24588872d7d960787f9f02bfa
diff --git a/dev-db/slony1/slony1-2.2.2.ebuild b/dev-db/slony1/slony1-2.2.2.ebuild
new file mode 100644
index 000000000000..f619b4377fa8
--- /dev/null
+++ b/dev-db/slony1/slony1-2.2.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/slony1/slony1-2.2.2.ebuild,v 1.1 2014/05/06 09:28:17 patrick Exp $
+
+EAPI="4"
+
+inherit eutils versionator
+
+IUSE="doc perl"
+
+DESCRIPTION="A replication system for the PostgreSQL Database Management System"
+HOMEPAGE="http://slony.info/"
+
+# ${P}-docs.tar.bz2 contains man pages as well as additional documentation
+MAJ_PV=$(get_version_component_range 1-2)
+SRC_URI="http://main.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
+ http://main.slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="|| (
+ dev-db/postgresql-server:9.3
+ dev-db/postgresql-server:9.2
+ dev-db/postgresql-server:9.1
+ dev-db/postgresql-server:9.0
+ dev-db/postgresql-server:8.4
+ dev-db/postgresql-server:8.3
+ )
+ dev-db/postgresql-base[threads]
+ perl? ( dev-perl/DBD-Pg )
+"
+
+pkg_setup() {
+ local PGSLOT="$(postgresql-config show)"
+ if [[ ${PGSLOT//.} < 83 ]] ; then
+ eerror "You must build ${CATEGORY}/${PN} against PostgreSQL 8.3 or higher."
+ eerror "Set an appropriate slot with postgresql-config."
+ die "postgresql-config not set to 8.3 or higher."
+ fi
+
+# if [[ ${PGSLOT//.} > 90 ]] ; then
+# ewarn "You are building ${CATEGORY}/${PN} against a version of PostgreSQL greater than 9.0."
+# ewarn "This is neither supported here nor upstream."
+# ewarn "Any bugs you encounter should be reported upstream."
+# fi
+}
+
+src_configure() {
+ local myconf
+ use perl && myconf='--with-perltools'
+ econf ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ dodoc INSTALL README SAMPLE TODO UPGRADING share/slon.conf-sample
+
+ if use doc ; then
+ cd "${S}"/doc
+ dohtml -r *
+ fi
+
+ newinitd "${FILESDIR}"/slony1.init slony1
+ newconfd "${FILESDIR}"/slony1.conf slony1
+}