summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorAlexys Jacob <ultrabug@gentoo.org>2011-12-12 15:54:34 +0000
committerAlexys Jacob <ultrabug@gentoo.org>2011-12-12 15:54:34 +0000
commitc7c38e3be289553bae20009f2a5ebca26ebb90d7 (patch)
treeb91e839a94964cb0f672ceeaf709e48ed743e31c /dev-db
parentdropped trailing whitespace note from ChangeLog (diff)
downloadhistorical-c7c38e3be289553bae20009f2a5ebca26ebb90d7.tar.gz
historical-c7c38e3be289553bae20009f2a5ebca26ebb90d7.tar.bz2
historical-c7c38e3be289553bae20009f2a5ebca26ebb90d7.zip
version bump.
Package-Manager: portage-2.1.10.34/cvs/Linux x86_64
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/mongodb/ChangeLog7
-rw-r--r--dev-db/mongodb/Manifest10
-rw-r--r--dev-db/mongodb/mongodb-2.0.2_rc2.ebuild100
3 files changed, 112 insertions, 5 deletions
diff --git a/dev-db/mongodb/ChangeLog b/dev-db/mongodb/ChangeLog
index 84306bdaf29b..85b0beec4b48 100644
--- a/dev-db/mongodb/ChangeLog
+++ b/dev-db/mongodb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/mongodb
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/ChangeLog,v 1.28 2011/11/23 12:29:18 ultrabug Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/ChangeLog,v 1.29 2011/12/12 15:54:34 ultrabug Exp $
+
+*mongodb-2.0.2_rc2 (12 Dec 2011)
+
+ 12 Dec 2011; Ultrabug <ultrabug@gentoo.org> +mongodb-2.0.2_rc2.ebuild:
+ Version bump.
*mongodb-2.0.2_rc1 (23 Nov 2011)
diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest
index 99c4679bf022..b5002e6069c5 100644
--- a/dev-db/mongodb/Manifest
+++ b/dev-db/mongodb/Manifest
@@ -14,15 +14,17 @@ DIST 20111027-10gen-mms-agent.zip 25241 RMD160 418b238a317583bace686f1386b2a4d0c
DIST mongodb-src-r1.8.3.tar.gz 1726144 RMD160 9662b6963e7e6a4b5adcbea3faa36dd50a794457 SHA1 3c5c9819ef20c759aec1dc6800a3c4d4f6841299 SHA256 ee121c9698a48b819f1c5b5ba10a98d565bd732d527743f1475f54f697dd63e2
DIST mongodb-src-r1.8.4.tar.gz 1727826 RMD160 6b561592b4f58f08ca2789e5ab92a3d31597912e SHA1 d296a6e04057e17989de5c7ded3a8c4d28285156 SHA256 c4e27bf22f2353e28ce169dbdbc24205baf863d1f61bd9a31b2230386cada4ae
DIST mongodb-src-r2.0.2-rc1.tar.gz 2955888 RMD160 373d373a66fb5c721835217920dc70a6c203f9a0 SHA1 92e73fedf82dcd9049fb0cc93661e2c8c1f20622 SHA256 ec8fd245edfd8c9cb76df657e7a0f7a3c87448b3c6239f597982c675c20a23f2
+DIST mongodb-src-r2.0.2-rc2.tar.gz 2956224 RMD160 80efab525b0058f81d4a5e36a58cb56dc73e35ca SHA1 4b0772d18300baf5cd57525ce0d131e3b772430a SHA256 bcb745595f51d86dca80adf66189ec5af0d3b16b75f1ffc9f0481f76591635ed
EBUILD mongodb-1.8.3.ebuild 2013 RMD160 d4b6aa684d5ff860fe570ed597128344ff15cb7e SHA1 ff8deee519548ef021632e671707728d5b321824 SHA256 42b7bb8edb6b19f3cb98681fc07f143722d0e61d73b8458c4479a53659154923
EBUILD mongodb-1.8.4-r1.ebuild 2416 RMD160 3d4796a1bae38ee88f840c187210670a0587ba18 SHA1 a2eca19cc6a570c1fd3eea5ab9642511f6052056 SHA256 19fd7efd7411cba453a224ba95904c31c5d0233d46c9683ec41fb0c6c309ad83
EBUILD mongodb-2.0.2_rc1.ebuild 2593 RMD160 5079e6e3ede2953ae347e8f12aacbbf4273487a3 SHA1 f6bc60a4ed70a9cd7674c1e1ad9a6b2a080a1263 SHA256 9cafd0482af7a6bd5831e3a823aacd24b1a04e9e43336d7110cf94965d29273f
-MISC ChangeLog 7271 RMD160 0acc60698ffcdc8f43bc2f8ac0f0051be893c919 SHA1 7209cdbaa373e4e1ebca3c3b3c91896c4af3e438 SHA256 7c7a4c4f2e9a2fe4c816e92543730d2d5f85a3459095a90109bef52b8db9f37b
+EBUILD mongodb-2.0.2_rc2.ebuild 2593 RMD160 e02d49f17be791ebfed5d46efae7f57573be9881 SHA1 d77bab9a47c9697a1ad1e4c428725e7c3a6a2238 SHA256 32b9d714b76d0db2b2baa73152f286332659d0fa91a6544a8e89f64b137f7486
+MISC ChangeLog 7395 RMD160 3c12229d09ce7ea79818524c492c63ff665bd0f4 SHA1 338b904f3afee16fbe397b65e583cee3e279040a SHA256 c85a394031234369ee782c7d434fe9ecad568497ca0e33487c7fcb12cb876be2
MISC metadata.xml 1094 RMD160 382287bd018ebf994f0997376095d1735858ca0f SHA1 4063b9bc6bb3d95e4b1a5aab9bf63ea567f92329 SHA256 8b325542cc2200f22d21915688992073cc1b0a8c5c4f08f34771df2ac6a9cfaf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iF4EAREIAAYFAk7M5ycACgkQKiQSS7ZY+hN3ywEAoi7X7Pjde9YdpuiYKKqnlyC7
-81wH6UkvA8ydvdfoXtQA/2kpD3k6EAr3yGWPZ70XPjgzBEWlhQHf93I5/hvIejjw
-=Dlr8
+iF4EAREIAAYFAk7mI8MACgkQKiQSS7ZY+hORWAD6AmyLJRi+65NreB1nnnCz8hF2
+S6SMEL0hoKxuiIvs1b0BAMgbXcLyH8tltf/yOAepeE95uj0jfHalutwhSkUglVHc
+=aC9Q
-----END PGP SIGNATURE-----
diff --git a/dev-db/mongodb/mongodb-2.0.2_rc2.ebuild b/dev-db/mongodb/mongodb-2.0.2_rc2.ebuild
new file mode 100644
index 000000000000..e8a6c56fe272
--- /dev/null
+++ b/dev-db/mongodb/mongodb-2.0.2_rc2.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.0.2_rc2.ebuild,v 1.1 2011/12/12 15:54:34 ultrabug Exp $
+
+EAPI=4
+SCONS_MIN_VERSION="1.2.0"
+
+inherit eutils multilib scons-utils versionator
+
+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="http://downloads.mongodb.org/src/${MY_P}.tar.gz
+ mms-agent? ( http://dev.gentoo.org/~ultrabug/20111027-10gen-mms-agent.zip )"
+
+LICENSE="AGPL-3 Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="mms-agent static-libs v8"
+
+PDEPEND="mms-agent? ( dev-python/pymongo )"
+RDEPEND="!v8? ( <dev-lang/spidermonkey-1.8[unicode] )
+ v8? ( dev-lang/v8 )
+ dev-libs/boost
+ dev-libs/libpcre[cxx]
+ net-libs/libpcap
+ app-arch/snappy
+ "
+DEPEND="${RDEPEND}
+ sys-libs/readline
+ sys-libs/ncurses"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ enewgroup mongodb
+ enewuser mongodb -1 -1 /var/lib/${PN} mongodb
+
+ scons_opts=" --cxx=$(tc-getCXX) --use-system-all --sharedclient"
+ if use v8; then
+ scons_opts+=" --usev8"
+ else
+ scons_opts+=" --usesm"
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-2.0-fix-scons.patch"
+ sed -i -e "s@jsapi.h@js/jsapi.h@g" \
+ -e "s@jsobj.h@js/jsobj.h@g" \
+ -e "s@jsdate.h@js/jsdate.h@g" \
+ -e "s@jsregexp.h@js/jsregexp.h@g" scripting/engine_spidermonkey.h
+}
+
+src_compile() {
+ escons ${scons_opts} all
+}
+
+src_install() {
+ escons ${scons_opts} --full --nostrip install --prefix="${D}"/usr
+
+ use static-libs || rm "${D}/usr/$(get_libdir)/libmongoclient.a"
+
+ for x in /var/{lib,log,run}/${PN}; do
+ keepdir "${x}"
+ fowners mongodb:mongodb "${x}"
+ done
+
+ doman debian/mongo*.1
+ dodoc README docs/building.md
+
+ newinitd "${FILESDIR}/${PN}.initd" ${PN}
+ newconfd "${FILESDIR}/${PN}.confd" ${PN}
+ newinitd "${FILESDIR}/${PN/db/s}.initd" ${PN/db/s}
+ newconfd "${FILESDIR}/${PN/db/s}.confd" ${PN/db/s}
+
+ if use mms-agent; then
+ local MY_PN="mms-agent"
+ local MY_D="/opt/${MY_PN}"
+ insinto ${MY_D}
+ doins "${WORKDIR}/${MY_PN}/"*
+ fowners -R mongodb:mongodb ${MY_D}
+ newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN}
+ newconfd "${FILESDIR}/${MY_PN}.confd" ${MY_PN}
+ fi
+}
+
+src_test() {
+ escons ${scons_opts} test
+ "${S}"/test --dbpath=unittest || die
+}
+
+pkg_postinst() {
+ if [[ ${REPLACING_VERSIONS} < 1.8 ]]; then
+ ewarn "You just upgraded from a previous version of mongodb !"
+ ewarn "Make sure you run 'mongod --upgrade' before using this version."
+ fi
+ elog "Journaling is now enabled by default, see /etc/conf.d/${PN}"
+}