commit:     919341574ddb78492e657702b0056ae83e787e7b
Author:     Ultrabug <ultrabug <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  5 18:12:55 2017 +0000
Commit:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Sun Nov  5 18:14:12 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91934157

dev-db/mongodb: clean up 3.4.x ebuilds for #636200

 app-admin/mongo-tools/Manifest                 |   5 -
 app-admin/mongo-tools/mongo-tools-3.4.3.ebuild |  58 --------
 app-admin/mongo-tools/mongo-tools-3.4.4.ebuild |  58 --------
 app-admin/mongo-tools/mongo-tools-3.4.6.ebuild |  58 --------
 app-admin/mongo-tools/mongo-tools-3.4.7.ebuild |  63 --------
 app-admin/mongo-tools/mongo-tools-3.4.9.ebuild |  62 --------
 dev-db/mongodb/Manifest                        |   5 -
 dev-db/mongodb/mongodb-3.4.3.ebuild            | 189 ------------------------
 dev-db/mongodb/mongodb-3.4.4.ebuild            | 190 ------------------------
 dev-db/mongodb/mongodb-3.4.6.ebuild            | 191 ------------------------
 dev-db/mongodb/mongodb-3.4.7.ebuild            | 189 ------------------------
 dev-db/mongodb/mongodb-3.4.9.ebuild            | 194 -------------------------
 12 files changed, 1262 deletions(-)

diff --git a/app-admin/mongo-tools/Manifest b/app-admin/mongo-tools/Manifest
index 03fe161e926..e9b196bcdb7 100644
--- a/app-admin/mongo-tools/Manifest
+++ b/app-admin/mongo-tools/Manifest
@@ -4,8 +4,3 @@ DIST mongo-tools-3.2.12.tar.gz 2712079 SHA256 
cda5e869b9233d591e91cac0b4c709a2e7
 DIST mongo-tools-3.2.13.tar.gz 2712076 SHA256 
a855eb0141445e34ff3b01807b016467519c390fce79f3566000b5aaecb65d72 SHA512 
caa0ba0f1452a16921c187cb407258326324b7222af91b1cd1b870ee2c9e6909d4fa94087a6da148a807f75b40f0bb97808a85804134d53cdab7970d8adf59f8
 WHIRLPOOL 
e2fb38cc8a35ab7c9461f680a2bf0647b5cb5d1225978b7321e6c4227b02ae3cae93e5f2a105f188f3329b0f0f8741e9a0c5439f37196ca875b049d3a91836d3
 DIST mongo-tools-3.2.16.tar.gz 2720003 SHA256 
1cd699f0e45b0b3afb0cfc7014258fb69e93c98e254ef9ef1605cd2de0b56d4c SHA512 
61c8cfd04a36e329c3573b73945d20a5623e1aa0a3430b309530e85e4289a27a46a850ec48ede7f04e66e67e23745ef26f5f4ddcf68ffeb647128e3d2526a724
 WHIRLPOOL 
2d2855f578f15e9afd133f6b24b23bd5d6a20516c96f665581223ca1c9a472ead6634749db46b55a1351a8b63923531046ab83a262ec54f439ccf008cb854f9e
 DIST mongo-tools-3.4.10.tar.gz 4719399 SHA256 
adaff068b7f340866dcd2085222ee4f879b26cd98a3010652fea4d53ffb8e0c7 SHA512 
b861bb3fb1a32c3aa2efefcf6a13bb6d4783ac1a9b006c477fd04deb338cbf6b7adc3944bc6919513b92bd96b8500813ff4af49c9dec0719ebd2fdaa99bc39a5
 WHIRLPOOL 
e484cec2036b1d9d88c3fa3b8142a681e0ba1d96f9a8d772fb7c7035033dac6d4e40fe154042dc8016b3a31ed09dce0081c7bc9b7d2c9f420cc2286eb47ccd2e
-DIST mongo-tools-3.4.3.tar.gz 4700637 SHA256 
70348800ca4cc04a319ca414291d5359e7dc86c888bc8264045fbc4de00adab2 SHA512 
ec754e8b19c517d9603e0eb89cc315e0af53886b74a905c0742faf5369af8b87b84cedf57aaa25f93068cd21370fa8a274a97dc3c58bbb4a50db6c2e4f0109d9
 WHIRLPOOL 
0b85fcdb52d5f08624bbcedb96d66c8a519e6415b9aefe68e7957627f3f1e220ca1174ea0a037f53ef2de0e594793ab42d6ec7db9cb42aa09b1892500dac5dd5
-DIST mongo-tools-3.4.4.tar.gz 4700326 SHA256 
d14f4ce153aec373459c802e5a159661ccfde4e5df39d8d750586bae54896cdd SHA512 
d49243e41bf3144264add3766a6f7016a07509a583a7368a639d85d2305500dd5afcfbc4449f3dcc8bec6e88bfb76ce021c813fe14169e3bd2476ed0db7c2d5d
 WHIRLPOOL 
33cb527ce7df19e92871219aef9b38f16ae292a4d1cbdd7bb3a1c6ccc752687469b9e4309cc4fd540a65e623740e1ebe20f4bdf8629b50aab25d4ea84c2988cc
-DIST mongo-tools-3.4.6.tar.gz 4715189 SHA256 
0b41ee2cb0a3d656f50ad950cc3853b41d5eb77a67ea0eb288f5ac80711ffc1d SHA512 
ad1d3acee1969934e8f679d6407b3b55aba85fb99ea806463b7418494fac491ff68033f3e59b55e17276a4d28932c6b74398fffc89ab7c229cf69e5a4714c4a2
 WHIRLPOOL 
993be475af7b71a189f2b9f7c98e3f49d7ae8d05f99928b242efbd3dd504415394c7c812c4debed192ca0a856f16f9839dc771be8efb1db48b3359e48ea48280
-DIST mongo-tools-3.4.7.tar.gz 4719398 SHA256 
8ff8c790108d3b858bb188f4cd45aedf3a1a9eddf3bd3f69627ecb35a0de2fb4 SHA512 
974062e934ff2004c2ec1b55398a04dce542542c122577326e6120154e4887dcc772fa90b0ea5e7bc57124526bbb76b8935efa75080fed78da6c252e3e599f3f
 WHIRLPOOL 
67a8e1ece75b1371df8da60780eb71db1f039912baa2f66d7cf0c79e863f5ce74a27131f1978578cebf47c3de66a5c9ef8227ce19d3a23effa40da05136ad3e4
-DIST mongo-tools-3.4.9.tar.gz 4719526 SHA256 
4b6f17afa628482c107567a82715b780d1e885125b4862ee07e0ab5080b8e0aa SHA512 
546060a65124e722a1c6eb152fd4e086bc523656312888e16238b4a1df5313ab63ece41e638f012676af4be94ed156855b053afa62d778f72cd31f0ccd70f19d
 WHIRLPOOL 
5707db723a3e502749f052d3825d5aba6bdc0ecf0d93f7f156285b2dee1196741baab4c4cabaad01eb156ad15e05b96d1dde23c24e543d17d99a7533ca80dee2

diff --git a/app-admin/mongo-tools/mongo-tools-3.4.3.ebuild 
b/app-admin/mongo-tools/mongo-tools-3.4.3.ebuild
deleted file mode 100644
index 992baa372c2..00000000000
--- a/app-admin/mongo-tools/mongo-tools-3.4.3.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils
-
-MY_PV=${PV/_rc/-rc}
-MY_P=${PN}-r${MY_PV}
-
-DESCRIPTION="A high-performance, open source, schema-free document-oriented 
database"
-HOMEPAGE="http://www.mongodb.org";
-SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> 
mongo-tools-${MY_PV}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="sasl ssl"
-
-# Maintainer note:
-# openssl DEPEND constraint, see:
-# https://github.com/mongodb/mongo-tools/issues/11
-
-RDEPEND="!<dev-db/mongodb-3.0.0"
-DEPEND="${RDEPEND}
-       dev-lang/go:=
-       net-libs/libpcap
-       sasl? ( dev-libs/cyrus-sasl )
-       ssl? ( dev-libs/openssl:0= )"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
-       sed -e 's|go build .*|go build -o "bin/$i" -tags "$tags" 
"$i/main/$i.go"|g' -i build.sh || die
-
-       # ensure we use bash wrt #582906
-       sed -e 's@/bin/sh@/bin/bash@g' -i build.sh || die
-
-       epatch "${FILESDIR}/${PN}-3.2.10-pie.patch"
-}
-
-src_compile() {
-       local myconf
-
-       if use sasl; then
-         myconf="${myconf} sasl"
-       fi
-
-       if use ssl; then
-         myconf="${myconf} ssl"
-       fi
-
-       ./build.sh ${myconf} || die "build failed"
-}
-
-src_install() {
-       dobin bin/*
-}

diff --git a/app-admin/mongo-tools/mongo-tools-3.4.4.ebuild 
b/app-admin/mongo-tools/mongo-tools-3.4.4.ebuild
deleted file mode 100644
index 992baa372c2..00000000000
--- a/app-admin/mongo-tools/mongo-tools-3.4.4.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils
-
-MY_PV=${PV/_rc/-rc}
-MY_P=${PN}-r${MY_PV}
-
-DESCRIPTION="A high-performance, open source, schema-free document-oriented 
database"
-HOMEPAGE="http://www.mongodb.org";
-SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> 
mongo-tools-${MY_PV}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="sasl ssl"
-
-# Maintainer note:
-# openssl DEPEND constraint, see:
-# https://github.com/mongodb/mongo-tools/issues/11
-
-RDEPEND="!<dev-db/mongodb-3.0.0"
-DEPEND="${RDEPEND}
-       dev-lang/go:=
-       net-libs/libpcap
-       sasl? ( dev-libs/cyrus-sasl )
-       ssl? ( dev-libs/openssl:0= )"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
-       sed -e 's|go build .*|go build -o "bin/$i" -tags "$tags" 
"$i/main/$i.go"|g' -i build.sh || die
-
-       # ensure we use bash wrt #582906
-       sed -e 's@/bin/sh@/bin/bash@g' -i build.sh || die
-
-       epatch "${FILESDIR}/${PN}-3.2.10-pie.patch"
-}
-
-src_compile() {
-       local myconf
-
-       if use sasl; then
-         myconf="${myconf} sasl"
-       fi
-
-       if use ssl; then
-         myconf="${myconf} ssl"
-       fi
-
-       ./build.sh ${myconf} || die "build failed"
-}
-
-src_install() {
-       dobin bin/*
-}

diff --git a/app-admin/mongo-tools/mongo-tools-3.4.6.ebuild 
b/app-admin/mongo-tools/mongo-tools-3.4.6.ebuild
deleted file mode 100644
index 992baa372c2..00000000000
--- a/app-admin/mongo-tools/mongo-tools-3.4.6.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils
-
-MY_PV=${PV/_rc/-rc}
-MY_P=${PN}-r${MY_PV}
-
-DESCRIPTION="A high-performance, open source, schema-free document-oriented 
database"
-HOMEPAGE="http://www.mongodb.org";
-SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> 
mongo-tools-${MY_PV}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="sasl ssl"
-
-# Maintainer note:
-# openssl DEPEND constraint, see:
-# https://github.com/mongodb/mongo-tools/issues/11
-
-RDEPEND="!<dev-db/mongodb-3.0.0"
-DEPEND="${RDEPEND}
-       dev-lang/go:=
-       net-libs/libpcap
-       sasl? ( dev-libs/cyrus-sasl )
-       ssl? ( dev-libs/openssl:0= )"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
-       sed -e 's|go build .*|go build -o "bin/$i" -tags "$tags" 
"$i/main/$i.go"|g' -i build.sh || die
-
-       # ensure we use bash wrt #582906
-       sed -e 's@/bin/sh@/bin/bash@g' -i build.sh || die
-
-       epatch "${FILESDIR}/${PN}-3.2.10-pie.patch"
-}
-
-src_compile() {
-       local myconf
-
-       if use sasl; then
-         myconf="${myconf} sasl"
-       fi
-
-       if use ssl; then
-         myconf="${myconf} ssl"
-       fi
-
-       ./build.sh ${myconf} || die "build failed"
-}
-
-src_install() {
-       dobin bin/*
-}

diff --git a/app-admin/mongo-tools/mongo-tools-3.4.7.ebuild 
b/app-admin/mongo-tools/mongo-tools-3.4.7.ebuild
deleted file mode 100644
index 01dd107aa1f..00000000000
--- a/app-admin/mongo-tools/mongo-tools-3.4.7.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils
-
-MY_PV=${PV/_rc/-rc}
-MY_P=${PN}-r${MY_PV}
-
-DESCRIPTION="A high-performance, open source, schema-free document-oriented 
database"
-HOMEPAGE="https://www.mongodb.org";
-SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> 
mongo-tools-${MY_PV}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="sasl ssl"
-
-# Maintainer note:
-# openssl DEPEND constraint, see:
-# https://github.com/mongodb/mongo-tools/issues/11
-
-RDEPEND="!<dev-db/mongodb-3.0.0"
-DEPEND="${RDEPEND}
-       dev-lang/go:=
-       net-libs/libpcap
-       sasl? ( dev-libs/cyrus-sasl )
-       ssl? ( dev-libs/openssl:0= )"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
-       # do not substitute version because it uses git
-       sed -i '/^sed/,+3d' build.sh || die
-       sed -i '/^mv/d' build.sh || die
-
-       # build pie to avoid text relocations wrt #582854
-       sed -i 's/go build/go build -buildmode=pie/g' build.sh || die
-
-       # ensure we use bash wrt #582906
-       sed -i 's@/bin/sh@/bin/bash@g' build.sh || die
-
-       default
-}
-
-src_compile() {
-       declare -a myconf
-
-       if use sasl; then
-         myconf+=(sasl)
-       fi
-
-       if use ssl; then
-         myconf+=(ssl)
-       fi
-
-       ./build.sh ${myconf[@]} || die "build failed"
-}
-
-src_install() {
-       dobin bin/*
-}

diff --git a/app-admin/mongo-tools/mongo-tools-3.4.9.ebuild 
b/app-admin/mongo-tools/mongo-tools-3.4.9.ebuild
deleted file mode 100644
index ba96c8cbca3..00000000000
--- a/app-admin/mongo-tools/mongo-tools-3.4.9.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils
-
-MY_PV=${PV/_rc/-rc}
-MY_P=${PN}-r${MY_PV}
-
-DESCRIPTION="A high-performance, open source, schema-free document-oriented 
database"
-HOMEPAGE="https://www.mongodb.org";
-SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> 
mongo-tools-${MY_PV}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="sasl ssl"
-
-RDEPEND="!<dev-db/mongodb-3.0.0"
-DEPEND="${RDEPEND}
-       dev-lang/go:=
-       net-libs/libpcap
-       sasl? ( dev-libs/cyrus-sasl )
-       ssl? ( dev-libs/openssl:0= )"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
-       # do not substitute version because it uses git
-       sed -i '/^sed/,+3d' build.sh || die
-       sed -i '/^mv/d' build.sh || die
-
-       # build pie to avoid text relocations wrt #582854
-       # skip on ppc64 wrt #610984
-       if ! use ppc64; then
-               sed -i 's/\(go build\)/\1 -buildmode=pie/g' build.sh || die
-       fi
-
-       # ensure we use bash wrt #582906
-       sed -i 's@/bin/sh@/bin/bash@g' build.sh || die
-
-       default
-}
-
-src_compile() {
-       local myconf=()
-
-       if use sasl; then
-         myconf+=(sasl)
-       fi
-
-       if use ssl; then
-         myconf+=(ssl)
-       fi
-
-       ./build.sh ${myconf[@]} || die "build failed"
-}
-
-src_install() {
-       dobin bin/*
-}

diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest
index 23c7ecb66a5..4b2614ca7d5 100644
--- a/dev-db/mongodb/Manifest
+++ b/dev-db/mongodb/Manifest
@@ -6,8 +6,3 @@ DIST mongodb-src-r3.2.12.tar.gz 29178424 SHA256 
406ced873a9abe8a3f0f92939bf53746
 DIST mongodb-src-r3.2.13.tar.gz 29273616 SHA256 
31492b99d12d6363a6ebcbba32269ce9e97dadedda8c470cbff8c1af227e9753 SHA512 
649b599da65fc205a6e18cde82da6153fb4c03a21cf679e18fb57f705ac168690a37f9520be1242278bc0fe441fda08f1c10c9924cabc636ba153c545d32f91d
 WHIRLPOOL 
f7ac6c5a14814650c4bbb52f25d710613ae3aa4011f2600f4727c0c81d83ec33c9be9ddac594e6a2d1ad4556bc6c9de71d3a11abfb3bd2883322ab85010ae905
 DIST mongodb-src-r3.2.16.tar.gz 29293555 SHA256 
7a8b1b16f3fa545af16f48aeef1f918f57d96a80e1ceb6e669cdb81fab6511d0 SHA512 
ba57aae430959f7df036b7e19e1b7d81956184bededd35631616c6e3dc9423dc79a50ab3265bc48b06d198a7043bca902aee2ea75954e38151ebead5b5ab2db2
 WHIRLPOOL 
0ac7b7cfae8b8b3727dc722c616eb576b3ae3aced5340b9fbd9a995d9f55552411c0507cb43a7378fa35187cf940d72d86ee20d08762f87bb4ebcd13eb697f09
 DIST mongodb-src-r3.4.10.tar.gz 39959937 SHA256 
443800ca4f52fa613b29052f5f76abc0ccc477451b55f3665b61819f28ace2f3 SHA512 
6293dde40a8433477ba3b1cf77abbdb32b28ce58279cc616b488647c8ab71b5ab3eab2146058c4a74b9e00f0938f1415020e2f26ea01f2b29dd78a1a38d58c3a
 WHIRLPOOL 
3cd03fecfc1fa077f55d9961e939d89e347ae5f41c815d81a50b88ddef9c8900f41faec6ae71b759f9f665c8a706fdd3000e96c3047711237f0d66478edbf35e
-DIST mongodb-src-r3.4.3.tar.gz 39832718 SHA256 
889d49312ed072130936cfa3281123a0e89228c04f3f8e992a0b92669b28d767 SHA512 
e2fb5fc2f02e9dbca6c30d2e2aaf1569180ca15198226cdad46f47f44905293afe77763fe2e5c9add0b5bcbd62b7ce7905fb183068c0738cdeeae8d39f848cef
 WHIRLPOOL 
ba6fa864249cc80e5f65feaed685980b874b46bcf975142e15fa0eda3e474cc85388920e152474dc5527a30d215c309db6d471c716e6bbe374193ff6016ba22e
-DIST mongodb-src-r3.4.4.tar.gz 39867133 SHA256 
09e962bf3428474b9790bbd464cb6176817f9da6121c30e096240dbb4d51c9f6 SHA512 
dbae89b49c363e7258021cd31385e4449bfdfdfd5adfcb1683e4431372731e58ec33bf8f7576d2d52659a52461bd6a32fbc67d5c6e36d52184ec1aabb345d940
 WHIRLPOOL 
5ad9f80c7f0f597982a32f95365df961fcd80ffa7c04183f9cb4952a52262a27ab09fee4d0115405c5197b6d3848ede56c9a4e5012ec1c358ea8c752164405c2
-DIST mongodb-src-r3.4.6.tar.gz 39922209 SHA256 
8170360f6dfede9c19c131f3d76831e952b3f1494925aa7e2a3a2f95b58ad901 SHA512 
68da2f385a5e1d636f1699b13818e125af2b7f13c6ff74d5f6dc8f9e04025f9baaa23acfd386118d90ac0eb8b9b7dfbf5b00f1db580a1ea1fe2309361f46eae4
 WHIRLPOOL 
71b9f42a192b41c797763a02eb8b318488edbd7ffaa149497d3dea5c446c43ff078d24e48971ce4644d54767bcb848e1acaca3e17be9e8c50bbdd349e0d05fab
-DIST mongodb-src-r3.4.7.tar.gz 39936247 SHA256 
9272e7663c7915e09ad2609e28c58437d760d54a9552c711ea735cd8e1784ec0 SHA512 
30f4d0dbd487d148531d7073881cd55db3fef3dcfd199e260e1a51858c5a2c28dfe904d1273b89b27b2fbcde23c3a301a3fa24766489ad6eb2daa25da31d3182
 WHIRLPOOL 
0ecaa271f9fbe634404aca2d13b0bb0ef47847656fc2825f5ff220655bc213df96170ec6009efc033c5e0a50baf7afd400c240dcaecdaf03fc356138121dd928
-DIST mongodb-src-r3.4.9.tar.gz 39943857 SHA256 
2fd0f47a5f9175e71d3d381e81a1b6a2500c9c414dd6ae0940ad6194a0e85549 SHA512 
b6803c91e9cda8e6963359386d2014d03f68151f64d580d5baacc3c66b2adabc62ee5c2cf203b9aee7d11942934afc6f9e17364d2f3aafd238ba88d13c77f26d
 WHIRLPOOL 
4360610c2223b7feef748f982ef3eed352ade080b48a935747056489e127759fe953dc6f1067d369b43e536fa1448c8d034f03eb1ad4dcd9ec064fd1f9491dba

diff --git a/dev-db/mongodb/mongodb-3.4.3.ebuild 
b/dev-db/mongodb/mongodb-3.4.3.ebuild
deleted file mode 100644
index 25b6b977c05..00000000000
--- a/dev-db/mongodb/mongodb-3.4.3.ebuild
+++ /dev/null
@@ -1,189 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-SCONS_MIN_VERSION="2.3.0"
-CHECKREQS_DISK_BUILD="2400M"
-CHECKREQS_DISK_USR="512M"
-CHECKREQS_MEMORY="1024M"
-
-inherit eutils flag-o-matic multilib pax-utils scons-utils systemd 
toolchain-funcs user versionator check-reqs
-
-MY_P=${PN}-src-r${PV/_rc/-rc}
-
-DESCRIPTION="A high-performance, open source, schema-free document-oriented 
database"
-HOMEPAGE="http://www.mongodb.org";
-SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz";
-
-LICENSE="AGPL-3 Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug kerberos libressl mms-agent ssl test +tools"
-
-RDEPEND=">=app-arch/snappy-1.1.3
-       >=dev-cpp/yaml-cpp-0.5.3
-       >=dev-libs/boost-1.60[threads(+)]
-       >=dev-libs/libpcre-8.39[cxx]
-       dev-libs/snowball-stemmer
-       net-libs/libpcap
-       >=sys-libs/zlib-1.2.8
-       mms-agent? ( app-admin/mms-agent )
-       ssl? (
-               !libressl? ( >=dev-libs/openssl-1.0.1g:0= )
-               libressl? ( dev-libs/libressl:0= )
-       )"
-DEPEND="${RDEPEND}
-       >=sys-devel/gcc-5.3.0:*
-       sys-libs/ncurses
-       sys-libs/readline
-       debug? ( dev-util/valgrind )
-       kerberos? ( dev-libs/cyrus-sasl[kerberos] )
-       test? (
-               dev-python/pymongo
-               dev-python/pyyaml
-       )"
-PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_pretend() {
-       if [[ ${REPLACING_VERSIONS} < 3.0 ]]; then
-               ewarn "To upgrade from a version earlier than the 3.0-series, 
you must"
-               ewarn "successively upgrade major releases until you have 
upgraded"
-               ewarn "to 3.2-series. Then upgrade to 3.4 series."
-       fi
-}
-
-pkg_setup() {
-       enewgroup mongodb
-       enewuser mongodb -1 -1 /var/lib/${PN} mongodb
-
-       # Maintainer notes
-       #
-       # --use-system-tcmalloc is strongly NOT recommended:
-       # 
https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/
-
-       scons_opts=(
-               CC="$(tc-getCC)"
-               CXX="$(tc-getCXX)"
-
-               --disable-warnings-as-errors
-               --use-system-boost
-               --use-system-pcre
-               --use-system-snappy
-               --use-system-stemmer
-               --use-system-yaml
-               --use-system-zlib
-       )
-
-       # wiredtiger not supported on 32bit platforms #572166
-       use x86 && scons_opts+=( --wiredtiger=off )
-
-       if use debug; then
-               scons_opts+=( --dbg=on )
-       fi
-
-       if use prefix; then
-               scons_opts+=(
-                       --cpppath="${EPREFIX}/usr/include"
-                       --libpath="${EPREFIX}/usr/$(get_libdir)"
-               )
-       fi
-
-       if use kerberos; then
-               scons_opts+=( --use-sasl-client )
-       fi
-
-       if use ssl; then
-               scons_opts+=( --ssl )
-       fi
-}
-
-src_prepare() {
-       epatch \
-               "${FILESDIR}/${PN}-3.4.0-fix-scons.patch"
-       if has_version ">=dev-libs/boost-1.62"; then
-               epatch "${FILESDIR}/${PN}-3.2.10-boost-1.62.patch"
-       fi
-       epatch_user
-}
-
-src_compile() {
-       # respect mongoDB upstream's basic recommendations
-       # see bug #536688 and #526114
-       if ! use debug; then
-               filter-flags '-m*'
-               filter-flags '-O?'
-       fi
-       escons "${scons_opts[@]}" core tools
-}
-
-src_install() {
-       escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr
-
-       for x in /var/{lib,log}/${PN}; do
-               keepdir "${x}"
-               fowners mongodb:mongodb "${x}"
-       done
-
-       doman debian/mongo*.1
-       dodoc README docs/building.md
-
-       newinitd "${FILESDIR}/${PN}.initd-r2" ${PN}
-       newconfd "${FILESDIR}/${PN}.confd-r2" ${PN}
-       newinitd "${FILESDIR}/${PN/db/s}.initd-r2" ${PN/db/s}
-       newconfd "${FILESDIR}/${PN/db/s}.confd-r2" ${PN/db/s}
-
-       insinto /etc
-       newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
-       newins "${FILESDIR}/${PN/db/s}.conf-r2" ${PN/db/s}.conf
-
-       systemd_dounit "${FILESDIR}/${PN}.service"
-
-       insinto /etc/logrotate.d/
-       newins "${FILESDIR}/${PN}.logrotate" ${PN}
-
-       # see bug #526114
-       pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
-}
-
-pkg_preinst() {
-       # wrt bug #461466
-       if [[ "$(get_libdir)" == "lib64" ]]; then
-               rmdir "${ED}"/usr/lib/ &>/dev/null
-       fi
-}
-
-src_test() {
-       # this one test fails
-       rm jstests/core/repl_write_threads_start_param.js
-
-       ./buildscripts/resmoke.py --dbpathPrefix=test --suites core || die 
"Tests failed"
-}
-
-pkg_postinst() {
-       local v
-       for v in ${REPLACING_VERSIONS}; do
-               if ! version_is_at_least 3.0 ${v}; then
-                       ewarn "!! IMPORTANT !!"
-                       ewarn " "
-                       ewarn "${PN} configuration files have changed !"
-                       ewarn " "
-                       ewarn "Make sure you migrate from /etc/conf.d/${PN} to 
the new YAML standard in /etc/${PN}.conf"
-                       ewarn "  
http://docs.mongodb.org/manual/reference/configuration-options/";
-                       ewarn " "
-                       ewarn "Make sure you also follow the upgrading process 
:"
-                       ewarn "  
http://docs.mongodb.org/master/release-notes/3.0-upgrade/";
-                       ewarn " "
-                       ewarn "MongoDB 3.0 introduces the WiredTiger storage 
engine."
-                       ewarn "WiredTiger is incompatible with MMAPv1 and you 
need to dump/reload your data if you want to use it."
-                       ewarn "Once you have your data dumped, you need to set 
storage.engine: wiredTiger in /etc/${PN}.conf"
-                       ewarn "  
http://docs.mongodb.org/master/release-notes/3.0-upgrade/#change-storage-engine-to-wiredtiger";
-                       break
-               fi
-       done
-
-       ewarn "Make sure to read the release notes and follow the upgrade 
process:"
-       ewarn "  https://docs.mongodb.org/manual/release-notes/3.4/";
-       ewarn "  
https://docs.mongodb.com/manual/release-notes/3.4/#upgrade-procedures";
-}

diff --git a/dev-db/mongodb/mongodb-3.4.4.ebuild 
b/dev-db/mongodb/mongodb-3.4.4.ebuild
deleted file mode 100644
index ddb22087d4a..00000000000
--- a/dev-db/mongodb/mongodb-3.4.4.ebuild
+++ /dev/null
@@ -1,190 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-SCONS_MIN_VERSION="2.3.0"
-CHECKREQS_DISK_BUILD="2400M"
-CHECKREQS_DISK_USR="512M"
-CHECKREQS_MEMORY="1024M"
-
-inherit eutils flag-o-matic multilib pax-utils scons-utils systemd 
toolchain-funcs user versionator check-reqs
-
-MY_P=${PN}-src-r${PV/_rc/-rc}
-
-DESCRIPTION="A high-performance, open source, schema-free document-oriented 
database"
-HOMEPAGE="http://www.mongodb.org";
-SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz";
-
-LICENSE="AGPL-3 Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug kerberos libressl mms-agent ssl test +tools"
-
-RDEPEND=">=app-arch/snappy-1.1.3
-       >=dev-cpp/yaml-cpp-0.5.3
-       >=dev-libs/boost-1.60[threads(+)]
-       >=dev-libs/libpcre-8.39[cxx]
-       dev-libs/snowball-stemmer
-       net-libs/libpcap
-       >=sys-libs/zlib-1.2.8
-       mms-agent? ( app-admin/mms-agent )
-       ssl? (
-               !libressl? ( >=dev-libs/openssl-1.0.1g:0= )
-               libressl? ( dev-libs/libressl:0= )
-       )"
-DEPEND="${RDEPEND}
-       >=sys-devel/gcc-5.3.0:*
-       sys-libs/ncurses
-       sys-libs/readline
-       debug? ( dev-util/valgrind )
-       kerberos? ( dev-libs/cyrus-sasl[kerberos] )
-       test? (
-               dev-python/pymongo
-               dev-python/pyyaml
-       )"
-PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_pretend() {
-       if [[ ${REPLACING_VERSIONS} < 3.0 ]]; then
-               ewarn "To upgrade from a version earlier than the 3.0-series, 
you must"
-               ewarn "successively upgrade major releases until you have 
upgraded"
-               ewarn "to 3.2-series. Then upgrade to 3.4 series."
-       fi
-}
-
-pkg_setup() {
-       enewgroup mongodb
-       enewuser mongodb -1 -1 /var/lib/${PN} mongodb
-
-       # Maintainer notes
-       #
-       # --use-system-tcmalloc is strongly NOT recommended:
-       # 
https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/
-
-       scons_opts=(
-               CC="$(tc-getCC)"
-               CXX="$(tc-getCXX)"
-
-               --disable-warnings-as-errors
-               --use-system-boost
-               --use-system-pcre
-               --use-system-snappy
-               --use-system-stemmer
-               --use-system-yaml
-               --use-system-zlib
-       )
-
-       # wiredtiger not supported on 32bit platforms #572166
-       use x86 && scons_opts+=( --wiredtiger=off )
-
-       if use debug; then
-               scons_opts+=( --dbg=on )
-       fi
-
-       if use prefix; then
-               scons_opts+=(
-                       --cpppath="${EPREFIX}/usr/include"
-                       --libpath="${EPREFIX}/usr/$(get_libdir)"
-               )
-       fi
-
-       if use kerberos; then
-               scons_opts+=( --use-sasl-client )
-       fi
-
-       if use ssl; then
-               scons_opts+=( --ssl )
-       fi
-}
-
-src_prepare() {
-       epatch \
-               "${FILESDIR}/${PN}-3.4.0-fix-scons.patch" \
-               
"${FILESDIR}/${PN}-3.4.4-Replace-string-with-explicit-std-string.patch"
-       if has_version ">=dev-libs/boost-1.62"; then
-               epatch "${FILESDIR}/${PN}-3.2.10-boost-1.62.patch"
-       fi
-       epatch_user
-}
-
-src_compile() {
-       # respect mongoDB upstream's basic recommendations
-       # see bug #536688 and #526114
-       if ! use debug; then
-               filter-flags '-m*'
-               filter-flags '-O?'
-       fi
-       escons "${scons_opts[@]}" core tools
-}
-
-src_install() {
-       escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr
-
-       for x in /var/{lib,log}/${PN}; do
-               keepdir "${x}"
-               fowners mongodb:mongodb "${x}"
-       done
-
-       doman debian/mongo*.1
-       dodoc README docs/building.md
-
-       newinitd "${FILESDIR}/${PN}.initd-r2" ${PN}
-       newconfd "${FILESDIR}/${PN}.confd-r2" ${PN}
-       newinitd "${FILESDIR}/${PN/db/s}.initd-r2" ${PN/db/s}
-       newconfd "${FILESDIR}/${PN/db/s}.confd-r2" ${PN/db/s}
-
-       insinto /etc
-       newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
-       newins "${FILESDIR}/${PN/db/s}.conf-r2" ${PN/db/s}.conf
-
-       systemd_dounit "${FILESDIR}/${PN}.service"
-
-       insinto /etc/logrotate.d/
-       newins "${FILESDIR}/${PN}.logrotate" ${PN}
-
-       # see bug #526114
-       pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
-}
-
-pkg_preinst() {
-       # wrt bug #461466
-       if [[ "$(get_libdir)" == "lib64" ]]; then
-               rmdir "${ED}"/usr/lib/ &>/dev/null
-       fi
-}
-
-src_test() {
-       # this one test fails
-       rm jstests/core/repl_write_threads_start_param.js
-
-       ./buildscripts/resmoke.py --dbpathPrefix=test --suites core || die 
"Tests failed"
-}
-
-pkg_postinst() {
-       local v
-       for v in ${REPLACING_VERSIONS}; do
-               if ! version_is_at_least 3.0 ${v}; then
-                       ewarn "!! IMPORTANT !!"
-                       ewarn " "
-                       ewarn "${PN} configuration files have changed !"
-                       ewarn " "
-                       ewarn "Make sure you migrate from /etc/conf.d/${PN} to 
the new YAML standard in /etc/${PN}.conf"
-                       ewarn "  
http://docs.mongodb.org/manual/reference/configuration-options/";
-                       ewarn " "
-                       ewarn "Make sure you also follow the upgrading process 
:"
-                       ewarn "  
http://docs.mongodb.org/master/release-notes/3.0-upgrade/";
-                       ewarn " "
-                       ewarn "MongoDB 3.0 introduces the WiredTiger storage 
engine."
-                       ewarn "WiredTiger is incompatible with MMAPv1 and you 
need to dump/reload your data if you want to use it."
-                       ewarn "Once you have your data dumped, you need to set 
storage.engine: wiredTiger in /etc/${PN}.conf"
-                       ewarn "  
http://docs.mongodb.org/master/release-notes/3.0-upgrade/#change-storage-engine-to-wiredtiger";
-                       break
-               fi
-       done
-
-       ewarn "Make sure to read the release notes and follow the upgrade 
process:"
-       ewarn "  https://docs.mongodb.org/manual/release-notes/3.4/";
-       ewarn "  
https://docs.mongodb.com/manual/release-notes/3.4/#upgrade-procedures";
-}

diff --git a/dev-db/mongodb/mongodb-3.4.6.ebuild 
b/dev-db/mongodb/mongodb-3.4.6.ebuild
deleted file mode 100644
index 5900f1f4fac..00000000000
--- a/dev-db/mongodb/mongodb-3.4.6.ebuild
+++ /dev/null
@@ -1,191 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-SCONS_MIN_VERSION="2.3.0"
-CHECKREQS_DISK_BUILD="2400M"
-CHECKREQS_DISK_USR="512M"
-CHECKREQS_MEMORY="1024M"
-
-inherit eutils flag-o-matic multilib pax-utils scons-utils systemd 
toolchain-funcs user versionator check-reqs
-
-MY_P=${PN}-src-r${PV/_rc/-rc}
-
-DESCRIPTION="A high-performance, open source, schema-free document-oriented 
database"
-HOMEPAGE="http://www.mongodb.org";
-SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz";
-
-LICENSE="AGPL-3 Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug kerberos libressl mms-agent ssl test +tools"
-
-RDEPEND=">=app-arch/snappy-1.1.3
-       >=dev-cpp/yaml-cpp-0.5.3
-       >=dev-libs/boost-1.60[threads(+)]
-       >=dev-libs/libpcre-8.39[cxx]
-       dev-libs/snowball-stemmer
-       net-libs/libpcap
-       >=sys-libs/zlib-1.2.8
-       mms-agent? ( app-admin/mms-agent )
-       ssl? (
-               !libressl? ( >=dev-libs/openssl-1.0.1g:0= )
-               libressl? ( dev-libs/libressl:0= )
-       )"
-DEPEND="${RDEPEND}
-       >=sys-devel/gcc-5.3.0:*
-       sys-libs/ncurses
-       sys-libs/readline
-       debug? ( dev-util/valgrind )
-       kerberos? ( dev-libs/cyrus-sasl[kerberos] )
-       test? (
-               dev-python/pymongo
-               dev-python/pyyaml
-       )"
-PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_pretend() {
-       if [[ ${REPLACING_VERSIONS} < 3.0 ]]; then
-               ewarn "To upgrade from a version earlier than the 3.0-series, 
you must"
-               ewarn "successively upgrade major releases until you have 
upgraded"
-               ewarn "to 3.2-series. Then upgrade to 3.4 series."
-       fi
-}
-
-pkg_setup() {
-       enewgroup mongodb
-       enewuser mongodb -1 -1 /var/lib/${PN} mongodb
-
-       # Maintainer notes
-       #
-       # --use-system-tcmalloc is strongly NOT recommended:
-       # 
https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/
-
-       scons_opts=(
-               CC="$(tc-getCC)"
-               CXX="$(tc-getCXX)"
-
-               --disable-warnings-as-errors
-               --use-system-boost
-               --use-system-pcre
-               --use-system-snappy
-               --use-system-stemmer
-               --use-system-yaml
-               --use-system-zlib
-       )
-
-       # wiredtiger not supported on 32bit platforms #572166
-       use x86 && scons_opts+=( --wiredtiger=off )
-
-       if use debug; then
-               scons_opts+=( --dbg=on )
-       fi
-
-       if use prefix; then
-               scons_opts+=(
-                       --cpppath="${EPREFIX}/usr/include"
-                       --libpath="${EPREFIX}/usr/$(get_libdir)"
-               )
-       fi
-
-       if use kerberos; then
-               scons_opts+=( --use-sasl-client )
-       fi
-
-       if use ssl; then
-               scons_opts+=( --ssl )
-       fi
-}
-
-src_prepare() {
-       epatch \
-               "${FILESDIR}/${PN}-3.4.0-fix-scons.patch" \
-               "${FILESDIR}/${P}-no-boost-check.patch" \
-               
"${FILESDIR}/${PN}-3.4.4-Replace-string-with-explicit-std-string.patch" \
-               "${FILESDIR}/${PN}-3.2.10-boost-1.62.patch" \
-               "${FILESDIR}/${PN}-3.4.6-sysmacros-include.patch"
-
-       epatch_user
-}
-
-src_compile() {
-       # respect mongoDB upstream's basic recommendations
-       # see bug #536688 and #526114
-       if ! use debug; then
-               filter-flags '-m*'
-               filter-flags '-O?'
-       fi
-       escons "${scons_opts[@]}" core tools
-}
-
-src_install() {
-       escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr
-
-       for x in /var/{lib,log}/${PN}; do
-               keepdir "${x}"
-               fowners mongodb:mongodb "${x}"
-       done
-
-       doman debian/mongo*.1
-       dodoc README docs/building.md
-
-       newinitd "${FILESDIR}/${PN}.initd-r2" ${PN}
-       newconfd "${FILESDIR}/${PN}.confd-r2" ${PN}
-       newinitd "${FILESDIR}/${PN/db/s}.initd-r2" ${PN/db/s}
-       newconfd "${FILESDIR}/${PN/db/s}.confd-r2" ${PN/db/s}
-
-       insinto /etc
-       newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
-       newins "${FILESDIR}/${PN/db/s}.conf-r2" ${PN/db/s}.conf
-
-       systemd_dounit "${FILESDIR}/${PN}.service"
-
-       insinto /etc/logrotate.d/
-       newins "${FILESDIR}/${PN}.logrotate" ${PN}
-
-       # see bug #526114
-       pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
-}
-
-pkg_preinst() {
-       # wrt bug #461466
-       if [[ "$(get_libdir)" == "lib64" ]]; then
-               rmdir "${ED}"/usr/lib/ &>/dev/null
-       fi
-}
-
-src_test() {
-       # this one test fails
-       rm jstests/core/repl_write_threads_start_param.js
-
-       ./buildscripts/resmoke.py --dbpathPrefix=test --suites core || die 
"Tests failed"
-}
-
-pkg_postinst() {
-       local v
-       for v in ${REPLACING_VERSIONS}; do
-               if ! version_is_at_least 3.0 ${v}; then
-                       ewarn "!! IMPORTANT !!"
-                       ewarn " "
-                       ewarn "${PN} configuration files have changed !"
-                       ewarn " "
-                       ewarn "Make sure you migrate from /etc/conf.d/${PN} to 
the new YAML standard in /etc/${PN}.conf"
-                       ewarn "  
http://docs.mongodb.org/manual/reference/configuration-options/";
-                       ewarn " "
-                       ewarn "Make sure you also follow the upgrading process 
:"
-                       ewarn "  
http://docs.mongodb.org/master/release-notes/3.0-upgrade/";
-                       ewarn " "
-                       ewarn "MongoDB 3.0 introduces the WiredTiger storage 
engine."
-                       ewarn "WiredTiger is incompatible with MMAPv1 and you 
need to dump/reload your data if you want to use it."
-                       ewarn "Once you have your data dumped, you need to set 
storage.engine: wiredTiger in /etc/${PN}.conf"
-                       ewarn "  
http://docs.mongodb.org/master/release-notes/3.0-upgrade/#change-storage-engine-to-wiredtiger";
-                       break
-               fi
-       done
-
-       ewarn "Make sure to read the release notes and follow the upgrade 
process:"
-       ewarn "  https://docs.mongodb.org/manual/release-notes/3.4/";
-       ewarn "  
https://docs.mongodb.com/manual/release-notes/3.4/#upgrade-procedures";
-}

diff --git a/dev-db/mongodb/mongodb-3.4.7.ebuild 
b/dev-db/mongodb/mongodb-3.4.7.ebuild
deleted file mode 100644
index 2aef3eaf125..00000000000
--- a/dev-db/mongodb/mongodb-3.4.7.ebuild
+++ /dev/null
@@ -1,189 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-SCONS_MIN_VERSION="2.3.0"
-CHECKREQS_DISK_BUILD="2400M"
-CHECKREQS_DISK_USR="512M"
-CHECKREQS_MEMORY="1024M"
-
-inherit eutils flag-o-matic multilib pax-utils scons-utils systemd 
toolchain-funcs user versionator check-reqs
-
-MY_P=${PN}-src-r${PV/_rc/-rc}
-
-DESCRIPTION="A high-performance, open source, schema-free document-oriented 
database"
-HOMEPAGE="http://www.mongodb.org";
-SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz";
-
-LICENSE="AGPL-3 Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug kerberos libressl mms-agent ssl test +tools"
-
-RDEPEND=">=app-arch/snappy-1.1.3
-       >=dev-cpp/yaml-cpp-0.5.3
-       >=dev-libs/boost-1.60[threads(+)]
-       >=dev-libs/libpcre-8.39[cxx]
-       dev-libs/snowball-stemmer
-       net-libs/libpcap
-       >=sys-libs/zlib-1.2.8
-       mms-agent? ( app-admin/mms-agent )
-       ssl? (
-               !libressl? ( >=dev-libs/openssl-1.0.1g:0= )
-               libressl? ( dev-libs/libressl:0= )
-       )"
-DEPEND="${RDEPEND}
-       >=sys-devel/gcc-5.3.0:*
-       sys-libs/ncurses
-       sys-libs/readline
-       debug? ( dev-util/valgrind )
-       kerberos? ( dev-libs/cyrus-sasl[kerberos] )
-       test? (
-               dev-python/pymongo
-               dev-python/pyyaml
-       )"
-PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-3.2.10-boost-1.62.patch"
-       "${FILESDIR}/${PN}-3.4.0-fix-scons.patch"
-       "${FILESDIR}/${PN}-3.4.4-Replace-string-with-explicit-std-string.patch"
-       "${FILESDIR}/${PN}-3.4.6-sysmacros-include.patch"
-       "${FILESDIR}/${PN}-3.4.7-no-boost-check.patch"
-)
-
-S=${WORKDIR}/${MY_P}
-
-pkg_pretend() {
-       if [[ ${REPLACING_VERSIONS} < 3.0 ]]; then
-               ewarn "To upgrade from a version earlier than the 3.0-series, 
you must"
-               ewarn "successively upgrade major releases until you have 
upgraded"
-               ewarn "to 3.2-series. Then upgrade to 3.4 series."
-       fi
-}
-
-pkg_setup() {
-       enewgroup mongodb
-       enewuser mongodb -1 -1 /var/lib/${PN} mongodb
-
-       # Maintainer notes
-       #
-       # --use-system-tcmalloc is strongly NOT recommended:
-       # 
https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/
-
-       scons_opts=(
-               CC="$(tc-getCC)"
-               CXX="$(tc-getCXX)"
-
-               --disable-warnings-as-errors
-               --use-system-boost
-               --use-system-pcre
-               --use-system-snappy
-               --use-system-stemmer
-               --use-system-yaml
-               --use-system-zlib
-       )
-
-       # wiredtiger not supported on 32bit platforms #572166
-       use x86 && scons_opts+=( --wiredtiger=off )
-
-       if use debug; then
-               scons_opts+=( --dbg=on )
-       fi
-
-       if use prefix; then
-               scons_opts+=(
-                       --cpppath="${EPREFIX}/usr/include"
-                       --libpath="${EPREFIX}/usr/$(get_libdir)"
-               )
-       fi
-
-       if use kerberos; then
-               scons_opts+=( --use-sasl-client )
-       fi
-
-       if use ssl; then
-               scons_opts+=( --ssl )
-       fi
-}
-
-src_compile() {
-       # respect mongoDB upstream's basic recommendations
-       # see bug #536688 and #526114
-       if ! use debug; then
-               filter-flags '-m*'
-               filter-flags '-O?'
-       fi
-       escons "${scons_opts[@]}" core tools
-}
-
-src_install() {
-       escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr
-
-       local x
-       for x in /var/{lib,log}/${PN}; do
-               keepdir "${x}"
-               fowners mongodb:mongodb "${x}"
-       done
-
-       doman debian/mongo*.1
-       dodoc README docs/building.md
-
-       newinitd "${FILESDIR}/${PN}.initd-r2" ${PN}
-       newconfd "${FILESDIR}/${PN}.confd-r2" ${PN}
-       newinitd "${FILESDIR}/${PN/db/s}.initd-r2" ${PN/db/s}
-       newconfd "${FILESDIR}/${PN/db/s}.confd-r2" ${PN/db/s}
-
-       insinto /etc
-       newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
-       newins "${FILESDIR}/${PN/db/s}.conf-r2" ${PN/db/s}.conf
-
-       systemd_dounit "${FILESDIR}/${PN}.service"
-
-       insinto /etc/logrotate.d/
-       newins "${FILESDIR}/${PN}.logrotate" ${PN}
-
-       # see bug #526114
-       pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
-}
-
-pkg_preinst() {
-       # wrt bug #461466
-       if [[ "$(get_libdir)" == "lib64" ]]; then
-               rmdir "${ED}"/usr/lib/ &>/dev/null
-       fi
-}
-
-src_test() {
-       # this one test fails
-       rm jstests/core/repl_write_threads_start_param.js || die
-
-       ./buildscripts/resmoke.py --dbpathPrefix=test --suites core || die 
"Tests failed"
-}
-
-pkg_postinst() {
-       local v
-       for v in ${REPLACING_VERSIONS}; do
-               if ! version_is_at_least 3.0 ${v}; then
-                       ewarn "!! IMPORTANT !!"
-                       ewarn " "
-                       ewarn "${PN} configuration files have changed !"
-                       ewarn " "
-                       ewarn "Make sure you migrate from /etc/conf.d/${PN} to 
the new YAML standard in /etc/${PN}.conf"
-                       ewarn "  
http://docs.mongodb.org/manual/reference/configuration-options/";
-                       ewarn " "
-                       ewarn "Make sure you also follow the upgrading process 
:"
-                       ewarn "  
http://docs.mongodb.org/master/release-notes/3.0-upgrade/";
-                       ewarn " "
-                       ewarn "MongoDB 3.0 introduces the WiredTiger storage 
engine."
-                       ewarn "WiredTiger is incompatible with MMAPv1 and you 
need to dump/reload your data if you want to use it."
-                       ewarn "Once you have your data dumped, you need to set 
storage.engine: wiredTiger in /etc/${PN}.conf"
-                       ewarn "  
http://docs.mongodb.org/master/release-notes/3.0-upgrade/#change-storage-engine-to-wiredtiger";
-                       break
-               fi
-       done
-
-       ewarn "Make sure to read the release notes and follow the upgrade 
process:"
-       ewarn "  https://docs.mongodb.org/manual/release-notes/3.4/";
-       ewarn "  
https://docs.mongodb.com/manual/release-notes/3.4/#upgrade-procedures";
-}

diff --git a/dev-db/mongodb/mongodb-3.4.9.ebuild 
b/dev-db/mongodb/mongodb-3.4.9.ebuild
deleted file mode 100644
index 1e193228dcc..00000000000
--- a/dev-db/mongodb/mongodb-3.4.9.ebuild
+++ /dev/null
@@ -1,194 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
-
-SCONS_MIN_VERSION="2.3.0"
-CHECKREQS_DISK_BUILD="2400M"
-CHECKREQS_DISK_USR="512M"
-CHECKREQS_MEMORY="1024M"
-
-inherit eutils flag-o-matic multilib multiprocessing pax-utils python-any-r1 
scons-utils systemd toolchain-funcs user versionator check-reqs
-
-MY_P=${PN}-src-r${PV/_rc/-rc}
-
-DESCRIPTION="A high-performance, open source, schema-free document-oriented 
database"
-HOMEPAGE="http://www.mongodb.org";
-SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz";
-
-LICENSE="AGPL-3 Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug kerberos libressl mms-agent ssl test +tools"
-
-RDEPEND=">=app-arch/snappy-1.1.3
-       >=dev-cpp/yaml-cpp-0.5.3
-       >=dev-libs/boost-1.60[threads(+)]
-       >=dev-libs/libpcre-8.39[cxx]
-       dev-libs/snowball-stemmer
-       net-libs/libpcap
-       >=sys-libs/zlib-1.2.8
-       mms-agent? ( app-admin/mms-agent )
-       ssl? (
-               !libressl? ( >=dev-libs/openssl-1.0.1g:0= )
-               libressl? ( dev-libs/libressl:0= )
-       )"
-DEPEND="${RDEPEND}
-       >=sys-devel/gcc-5.3.0:*
-       sys-libs/ncurses
-       sys-libs/readline
-       debug? ( dev-util/valgrind )
-       kerberos? ( dev-libs/cyrus-sasl[kerberos] )
-       test? (
-               dev-python/pymongo
-               dev-python/pyyaml
-       )"
-PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-3.2.10-boost-1.62.patch"
-       "${FILESDIR}/${PN}-3.4.0-fix-scons.patch"
-       "${FILESDIR}/${PN}-3.4.4-Replace-string-with-explicit-std-string.patch"
-       "${FILESDIR}/${PN}-3.4.6-sysmacros-include.patch"
-       "${FILESDIR}/${PN}-3.4.7-no-boost-check.patch"
-)
-
-S=${WORKDIR}/${MY_P}
-
-pkg_pretend() {
-       if [[ ${REPLACING_VERSIONS} < 3.0 ]]; then
-               ewarn "To upgrade from a version earlier than the 3.0-series, 
you must"
-               ewarn "successively upgrade major releases until you have 
upgraded"
-               ewarn "to 3.2-series. Then upgrade to 3.4 series."
-       fi
-}
-
-pkg_setup() {
-       enewgroup mongodb
-       enewuser mongodb -1 -1 /var/lib/${PN} mongodb
-
-       # Maintainer notes
-       #
-       # --use-system-tcmalloc is strongly NOT recommended:
-       # 
https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/
-
-       scons_opts=(
-               CC="$(tc-getCC)"
-               CXX="$(tc-getCXX)"
-
-               --disable-warnings-as-errors
-               --use-system-boost
-               --use-system-pcre
-               --use-system-snappy
-               --use-system-stemmer
-               --use-system-yaml
-               --use-system-zlib
-       )
-
-       # wiredtiger not supported on 32bit platforms #572166
-       use x86 && scons_opts+=( --wiredtiger=off )
-
-       if use debug; then
-               scons_opts+=( --dbg=on )
-       fi
-
-       if use prefix; then
-               scons_opts+=(
-                       --cpppath="${EPREFIX}/usr/include"
-                       --libpath="${EPREFIX}/usr/$(get_libdir)"
-               )
-       fi
-
-       if use kerberos; then
-               scons_opts+=( --use-sasl-client )
-       fi
-
-       if use ssl; then
-               scons_opts+=( --ssl )
-       fi
-
-       python-any-r1_pkg_setup
-}
-
-src_compile() {
-       # respect mongoDB upstream's basic recommendations
-       # see bug #536688 and #526114
-       if ! use debug; then
-               filter-flags '-m*'
-               filter-flags '-O?'
-       fi
-       escons "${scons_opts[@]}" core tools
-}
-
-src_install() {
-       escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr
-
-       local x
-       for x in /var/{lib,log}/${PN}; do
-               keepdir "${x}"
-               fowners mongodb:mongodb "${x}"
-       done
-
-       doman debian/mongo*.1
-       dodoc README docs/building.md
-
-       newinitd "${FILESDIR}/${PN}.initd-r3" ${PN}
-       newconfd "${FILESDIR}/${PN}.confd-r3" ${PN}
-       newinitd "${FILESDIR}/${PN/db/s}.initd-r3" ${PN/db/s}
-       newconfd "${FILESDIR}/${PN/db/s}.confd-r3" ${PN/db/s}
-
-       insinto /etc
-       newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
-       newins "${FILESDIR}/${PN/db/s}.conf-r2" ${PN/db/s}.conf
-
-       systemd_dounit "${FILESDIR}/${PN}.service"
-
-       insinto /etc/logrotate.d/
-       newins "${FILESDIR}/${PN}.logrotate" ${PN}
-
-       # see bug #526114
-       pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
-}
-
-pkg_preinst() {
-       # wrt bug #461466
-       if [[ "$(get_libdir)" == "lib64" ]]; then
-               rmdir "${ED}"/usr/lib/ &>/dev/null
-       fi
-}
-
-src_test() {
-       # this one test fails
-       rm jstests/core/jsHeapLimit.js || die
-
-       "${EPYTHON}" ./buildscripts/resmoke.py --dbpathPrefix=test --suites 
core --jobs=$(makeopts_jobs) || die "Tests failed"
-}
-
-pkg_postinst() {
-       local v
-       for v in ${REPLACING_VERSIONS}; do
-               if ! version_is_at_least 3.0 ${v}; then
-                       ewarn "!! IMPORTANT !!"
-                       ewarn " "
-                       ewarn "${PN} configuration files have changed !"
-                       ewarn " "
-                       ewarn "Make sure you migrate from /etc/conf.d/${PN} to 
the new YAML standard in /etc/${PN}.conf"
-                       ewarn "  
http://docs.mongodb.org/manual/reference/configuration-options/";
-                       ewarn " "
-                       ewarn "Make sure you also follow the upgrading process 
:"
-                       ewarn "  
http://docs.mongodb.org/master/release-notes/3.0-upgrade/";
-                       ewarn " "
-                       ewarn "MongoDB 3.0 introduces the WiredTiger storage 
engine."
-                       ewarn "WiredTiger is incompatible with MMAPv1 and you 
need to dump/reload your data if you want to use it."
-                       ewarn "Once you have your data dumped, you need to set 
storage.engine: wiredTiger in /etc/${PN}.conf"
-                       ewarn "  
http://docs.mongodb.org/master/release-notes/3.0-upgrade/#change-storage-engine-to-wiredtiger";
-                       break
-               fi
-       done
-
-       ewarn "Make sure to read the release notes and follow the upgrade 
process:"
-       ewarn "  https://docs.mongodb.org/manual/release-notes/3.4/";
-       ewarn "  
https://docs.mongodb.com/manual/release-notes/3.4/#upgrade-procedures";
-}

Reply via email to