summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorAlexys Jacob <ultrabug@gentoo.org>2011-06-03 08:48:34 +0000
committerAlexys Jacob <ultrabug@gentoo.org>2011-06-03 08:48:34 +0000
commit8f57722f918a0879c7fa83cc75913465ca8bc573 (patch)
tree88a00998c83c3da40e385b47a244d43ab669f3ae /dev-db
parentVersion bump and remove old. (diff)
downloadhistorical-8f57722f918a0879c7fa83cc75913465ca8bc573.tar.gz
historical-8f57722f918a0879c7fa83cc75913465ca8bc573.tar.bz2
historical-8f57722f918a0879c7fa83cc75913465ca8bc573.zip
version bump
Package-Manager: portage-2.1.9.50/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-1.8.2_rc3.ebuild82
3 files changed, 94 insertions, 5 deletions
diff --git a/dev-db/mongodb/ChangeLog b/dev-db/mongodb/ChangeLog
index abb334b20b5c..d25acc6bc58a 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.16 2011/05/13 09:53:12 ultrabug Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/ChangeLog,v 1.17 2011/06/03 08:48:34 ultrabug Exp $
+
+*mongodb-1.8.2_rc3 (03 Jun 2011)
+
+ 03 Jun 2011; Ultrabug <ultrabug@gentoo.org> +mongodb-1.8.2_rc3.ebuild:
+ Version bump.
*mongodb-1.8.2_rc1 (13 May 2011)
diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest
index 4bcd0abf6746..375debe4f574 100644
--- a/dev-db/mongodb/Manifest
+++ b/dev-db/mongodb/Manifest
@@ -9,14 +9,16 @@ AUX mongos.confd 261 RMD160 cd0164a9f54d53871a5a15ea15034479e9360d1d SHA1 193e29
AUX mongos.initd 1176 RMD160 4463298c196ddb8784115680fca6e6362d93d21e SHA1 94d7d526d1fda14888bbb8ba3e3b70df4354db70 SHA256 83f2f456b9a95454ad081efdcc18eb868b7ba1d348c1e7e753199467768049e0
DIST mongodb-src-r1.6.5.tar.gz 1506561 RMD160 de98b9558544eafb809131347b6a339c46f09732 SHA1 4aed2da91377c2a5c8722c0c6873117014faf31a SHA256 5feac5302be91eea758851d28e4ad09ff4d11a28ffcb61e792ab7aeb5327a8a0
DIST mongodb-src-r1.8.2-rc1.tar.gz 1721798 RMD160 9f516335e8ab02c0db7286a4f5a38b06b80f0d9e SHA1 e16c369b0bbbff62bef6d75740f2c0a3a577a3a2 SHA256 708c581904fd76ae6b1f95354ada5d35e0340d0e7a159656d3e28d81a2442ade
+DIST mongodb-src-r1.8.2-rc3.tar.gz 1722716 RMD160 32c70893e1f33b07d582b91520ca3b446caf65d7 SHA1 8b63d3ce9e04df33480e0434154bfdf8c8e8c776 SHA256 72954d3ab217b2fe8a7d586f3e45e93ec3303390ea68242b0ec07057694a9dd6
EBUILD mongodb-1.6.5-r1.ebuild 1937 RMD160 eaec689df1a62d3f44ad0260cc2e02f546504a33 SHA1 f8b91f220d242903b84d7bba97ab8e3841b8f477 SHA256 939ab56b39c483c8703119f894557c4002c6b59ef11b1643712a245c918a7514
EBUILD mongodb-1.8.2_rc1.ebuild 1979 RMD160 22245d3d5e27243045a487e8650cb05774280d38 SHA1 885003b56fc06a422436cb42ce501401aa9a9725 SHA256 4836d817aa8d802e4eebb70673473400c142c86f8bb7b8792cac73283fc941e5
-MISC ChangeLog 4697 RMD160 ef8962bc5ac865b43de8b147c4855883df083b89 SHA1 a7a9e998e2e9470fe8952f3228b3ec68c104a2a8 SHA256 d418dedd65b2c8bcd06f233b4770dc720e74656e46c19c92832da77097f50fea
+EBUILD mongodb-1.8.2_rc3.ebuild 1979 RMD160 b23b614a53606594b77fa9e92d0528debdfd0526 SHA1 dffc2ee932337a49b39e46bbb40c9f844e70f0ba SHA256 7428bd43b9001e38dbae21176a908405b91b290ea9aa95fd9b035b4708599ae2
+MISC ChangeLog 4821 RMD160 c46097baf500eea05a9c305b5b0cc8fd9b7ca499 SHA1 4e0e86c23c8933834bb526956c49d292207a4769 SHA256 1ddf257fd5feb1f46222397ed6b23f7b9af67483ea5d266a586fa7879f31288c
MISC metadata.xml 884 RMD160 f0cb7b3592708ec85696616af69b9bfc0e81e9c2 SHA1 de8f61e005e2c499c24084a0e0ab493c65a50c0c SHA256 e15990a373759e839063bd6bf698f0cc835bb4ef46352dbe50020d14335b91c7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk3M/5IACgkQKiQSS7ZY+hMyTgEAw5uQv62GVLHbHqFZMLfnOI73
-s+B6WUA5nE7lJ2mdNOwBAJQoZLGFyDsndf5zHtdKasiad1KatO3trlLKbf0VKBih
-=aoAY
+iF4EAREIAAYFAk3on+sACgkQKiQSS7ZY+hPfegD+Pb0a56EhuoB8TZlNmOUbhovy
+0c+g3wUrcA1ySMHOlGwBAKvbay3vCX3KRfVJgigrtdG9EtcbTbmghOZUYBdKMu7c
+=Amtm
-----END PGP SIGNATURE-----
diff --git a/dev-db/mongodb/mongodb-1.8.2_rc3.ebuild b/dev-db/mongodb/mongodb-1.8.2_rc3.ebuild
new file mode 100644
index 000000000000..5ff14cd5afdc
--- /dev/null
+++ b/dev-db/mongodb/mongodb-1.8.2_rc3.ebuild
@@ -0,0 +1,82 @@
+# 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-1.8.2_rc3.ebuild,v 1.1 2011/06/03 08:48: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"
+
+LICENSE="AGPL-3 Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs v8"
+
+RDEPEND="!v8? ( >=dev-lang/spidermonkey-1.9 )
+ v8? ( dev-lang/v8 )
+ dev-libs/boost
+ dev-libs/libpcre[cxx]
+ net-libs/libpcap"
+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) --sharedclient"
+ if use v8; then
+ scons_opts+=" --usev8"
+ else
+ scons_opts+=" --usesm"
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-1.8-fix-scons.patch"
+}
+
+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}
+}
+
+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}.conf"
+}