commit:     5f156b055166464825a020e5724ab9352171cb5a
Author:     Ultrabug <ultrabug <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 20 12:47:41 2016 +0000
Commit:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Wed Jan 20 12:47:41 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f156b05

dev-db/mongodb: drop old

 app-admin/mongo-tools/mongo-tools-3.2.0.ebuild |  53 --------
 dev-db/mongodb/Manifest                        |   1 -
 dev-db/mongodb/mongodb-3.2.0.ebuild            | 180 -------------------------
 3 files changed, 234 deletions(-)

diff --git a/app-admin/mongo-tools/mongo-tools-3.2.0.ebuild 
b/app-admin/mongo-tools/mongo-tools-3.2.0.ebuild
deleted file mode 100644
index 658782f..0000000
--- a/app-admin/mongo-tools/mongo-tools-3.2.0.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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:=
-       sasl? ( dev-libs/cyrus-sasl )
-       ssl? ( dev-libs/openssl )"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
-       epatch "${FILESDIR}/${PN}-3.0.0-build.patch"
-}
-
-src_compile() {
-       local myconf
-
-       if use sasl; then
-         myconf="${myconf} sasl"
-       fi
-
-       if use ssl; then
-         myconf="${myconf} ssl"
-       fi
-
-       ./build.sh ${myconf}
-}
-
-src_install() {
-       dobin bin/*
-}

diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest
index f031480..3481214 100644
--- a/dev-db/mongodb/Manifest
+++ b/dev-db/mongodb/Manifest
@@ -5,5 +5,4 @@ DIST mongodb-src-r3.0.5.tar.gz 26332788 SHA256 
05b16a7991aa65b1d396a3dc622107fba
 DIST mongodb-src-r3.0.6.tar.gz 26241944 SHA256 
609f6bd416ed11898b49406332b8ff301de239ba72df0bdbf1603233229c822d SHA512 
1990e9011ae586e30aef28be58f9fc6d8b7f45b787dbde9785c82eff6fb0a70ea45152e450c032a898e6464bbb9b1683082f2a072ba874f7532e167330658175
 WHIRLPOOL 
4090cfb5912f81e6329d3c3680009037f22cd406611f78dc0ddd6fc9a63ee5261c7751fe83c60add2d5917f57b2a3c2796c48abb6f633157a8811d0571793a35
 DIST mongodb-src-r3.0.7.tar.gz 26261343 SHA256 
2d25bae7c3bfb3c0e168fcad526dc212da72faaeae6d1573db631cacb172a7e7 SHA512 
183691c5dc137ea4b86d53d24d2935fd66ed8de60fbf5eca0a0a39c159be1f29043cd655cde1a213a98a76b2b3e6369dbccf790b02a1cc4b622c067ad3c0c91b
 WHIRLPOOL 
986d962e76122142ca810eb7fe13ef66c88c7e354f066292836fc1207fa64c8bbb7fc49d1392db503c8a594d2593e2a19d831d7367462fcfa43eea38768e6323
 DIST mongodb-src-r3.0.8.tar.gz 26245612 SHA256 
3574f2f577e212ff1876485e1502c91f70f996fbbcc5a4657fe440ac76bd97a5 SHA512 
3b8578ed2a6196cda0867d219214e1dc9fe95ecaa8320cdee3766c9a8a78e9cf66013769a3fbbf03ccf9a35d97e02a1eaa5fe8fc7429a0d76dd78486db7520ac
 WHIRLPOOL 
ded0b84b940c66b8a7ef6b363f179a4b2c1ddc23a3077b9cadb01f76c2a90956f0a720e713d4806db6132ac96b1026b82c2bf966ec3869af095e12590ea04d0e
-DIST mongodb-src-r3.2.0.tar.gz 26440220 SHA256 
c6dd1d1670b86cbf02a531ddf7a7cda8f138d8733acce33766f174bd1e5ab2ee SHA512 
4b321b582f5ec2613b869b003a02494c8a9e3b772b1f13898417b1e831c204468309a0e1785acd3b85c8a663cae91e55e44f53f8b74bd3a516b1e1471f606882
 WHIRLPOOL 
c10639597303c122376d7387a4d5c9bdf6c44d9971f476fab72c85e78206ed256270d1a5e01e53aef4979127fdd03b3e5fbefa50ebf7639fa172723d6eee9737
 DIST mongodb-src-r3.2.1.tar.gz 26397562 SHA256 
50431a3ba5ab68bd0bed4a157a8528ca27753a63cf101f13135255e4e9d42f15 SHA512 
5ce0af3e70010e3602dd2f7c49c80feee1c89903a694db038543a7f399f4296f2c04bf3aee7089da0b24aa9239aa79823e6f5408bf0f3c6fade6166e94070309
 WHIRLPOOL 
de59175ad56577ffc5a90358e2f387c901a8353bb3b98ef6861d917480d853f926de7645ee4a2d8a704824609f251c82ead6e6cd95e982be18271677cfd6e2b3

diff --git a/dev-db/mongodb/mongodb-3.2.0.ebuild 
b/dev-db/mongodb/mongodb-3.2.0.ebuild
deleted file mode 100644
index 64205f5..0000000
--- a/dev-db/mongodb/mongodb-3.2.0.ebuild
+++ /dev/null
@@ -1,180 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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.2
-       >=dev-cpp/yaml-cpp-0.5.1
-       >=dev-libs/boost-1.57[threads(+)]
-       >=dev-libs/libpcre-8.37[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:= )
-       )"
-DEPEND="${RDEPEND}
-       >=sys-devel/gcc-4.8.2:*
-       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 an existing MongoDB deployment to 3.2, you 
must be"
-               ewarn "running a 3.0-series release. Please update to the 
latest 3.0"
-               ewarn "release before continuing if wish to keep your data."
-       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
-       )
-
-       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.2.0-fix-scons.patch"
-}
-
-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() {
-       if [[ ${REPLACING_VERSIONS} < 3.0 ]]; 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";
-       fi
-
-       ewarn "Make sure to read the release notes and follow the upgrade 
process:"
-       ewarn "  https://docs.mongodb.org/manual/release-notes/3.2/";
-       ewarn "  https://docs.mongodb.org/master/release-notes/3.2-upgrade/";
-       ewarn
-       ewarn " Starting in 3.2, MongoDB uses the WiredTiger as the default 
storage engine."
-}

Reply via email to