diff options
author | Alexys Jacob <ultrabug@gentoo.org> | 2014-01-13 11:15:57 +0000 |
---|---|---|
committer | Alexys Jacob <ultrabug@gentoo.org> | 2014-01-13 11:15:57 +0000 |
commit | d8d9d1ca3d2ff888f908d540060d6df219438604 (patch) | |
tree | ac43a0e71c5f367cb97d160936c230ebe24e8fd4 /dev-db | |
parent | First release on the 12 branch. This is not LTS, and uses the new PJSIP-based... (diff) | |
download | historical-d8d9d1ca3d2ff888f908d540060d6df219438604.tar.gz historical-d8d9d1ca3d2ff888f908d540060d6df219438604.tar.bz2 historical-d8d9d1ca3d2ff888f908d540060d6df219438604.zip |
version bump
Package-Manager: portage-2.2.8/cvs/Linux x86_64
Manifest-Sign-Key: 0xB658FA13
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/mongodb/ChangeLog | 9 | ||||
-rw-r--r-- | dev-db/mongodb/Manifest | 10 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-2.4.9.ebuild | 145 |
3 files changed, 158 insertions, 6 deletions
diff --git a/dev-db/mongodb/ChangeLog b/dev-db/mongodb/ChangeLog index cedb458eb588..fa36e7aec598 100644 --- a/dev-db/mongodb/ChangeLog +++ b/dev-db/mongodb/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/mongodb -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/ChangeLog,v 1.85 2013/12/26 11:27:44 ultrabug Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/ChangeLog,v 1.86 2014/01/13 11:15:48 ultrabug Exp $ + +*mongodb-2.4.9 (13 Jan 2014) + + 13 Jan 2014; Ultrabug <ultrabug@gentoo.org> +mongodb-2.4.9.ebuild: + version bump 26 Dec 2013; Ultrabug <ultrabug@gentoo.org> mongodb-2.2.6-r1.ebuild, mongodb-2.4.6-r2.ebuild, mongodb-2.4.7.ebuild, mongodb-2.4.8.ebuild: diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest index d4a924356e03..e81bfe6fb626 100644 --- a/dev-db/mongodb/Manifest +++ b/dev-db/mongodb/Manifest @@ -23,16 +23,18 @@ DIST mongodb-src-r2.2.6.tar.gz 10190712 SHA256 e6864ac5fe7dabee055abc5c5d1074fa8 DIST mongodb-src-r2.4.6.tar.gz 14141660 SHA256 b5f397abc92d36d84a85753d15fb5d7dab6545ce9dfd9fb7685c630e6b050acb SHA512 73921d439f1bc2b6c1f358ab96f05f5f082db7b2c09f8964f2e3cc2d3cfd059e0c923d228a77fbfb8c8613eee1fbf16a35d5347b6316219aed3b0357dec97eae WHIRLPOOL 4c5c9b8b7530a58f5fab62c414054939014a38cb49429ff619059b7305b29eb41c8ec3977a3b4490391afe963384d4560097a7ef536679c42c9d0ecc1677c958 DIST mongodb-src-r2.4.7.tar.gz 14157198 SHA256 69e3cf697225efa2e6e65f5cfdc31742f3e4b2e069c27d84fc713abe0bf67ca7 SHA512 bd682944f5388cef9115ccdf0d8488d2a7a699974f395dd9eea62562528a7a6205fceb92c148187f003362f1ef983ead672cacacc678b2f2b77cdd827812b6c9 WHIRLPOOL 6fd7e7c5170b9ecdafb03e2d14d533f245ee1afc59c99713f5bb8c443b17c52b024c7a564146e443e748193570a49728b128f0dafcb3da0bb6d8dedfe963a179 DIST mongodb-src-r2.4.8.tar.gz 14157223 SHA256 fd703ce5e53ddfa0cca9c7fba9a0c4cea4179d38972a98c675f45d9f15b4cfdc SHA512 33202f101d00c796253c5fd333242ce2c5399352bf325e0af1df92d9c291d7a768bbed56f7b7fccfaa3cea2385cec941bd05cb27a635ca034485bd39ef4129a1 WHIRLPOOL f4c2f9ea7b313abeb8480a4d6d6d79b094c1e287228c2252717ed415ef543720fcf32314b58c72ec6efee7d1cdfdfa6a7c35c46d430f188a1253f2364fd9e315 +DIST mongodb-src-r2.4.9.tar.gz 14162773 SHA256 40755d66419a5c9f0d9909a079b092195825773ded188ded3faf07025d02600f SHA512 f9991b30eebdc13e04b553ea9c133f73cb7c0d034ae94e6293a28f3c40e8c93d3e63257e20ff801dfd586a22c95ca52551da8517d0e25534dda62f3ed650aa23 WHIRLPOOL 506d32ac3e1e8ac9423f3a712bdad35ddb82d880a03a89f461c6334e3ae2f16c7f7a25753640c7fbb5248267bc6de0096e447dd02ea8079589cdf5e5dba3036f EBUILD mongodb-2.2.6-r1.ebuild 3137 SHA256 5ba367c92ef7a811060ed261448c88e9c165f03f1bc89ddab1399c6dad42ebc0 SHA512 20f94b768f6c5ae9e1f9be8cf5a678c941b9ba51e390abcd0700f6efe3a7220e1117608ebdbfdbaeef4e6e01772f74a3526c883f5266688b1f0a9457d04a8ad0 WHIRLPOOL 07acfbf3e8dcef46ff4c7a4ab65943050f9bfba1207689557d289a6171beda0f219f0443d56bcaf3fb935b9f9085c6a710b106d16181aa55c7e9c88f77a1482c EBUILD mongodb-2.4.6-r2.ebuild 3678 SHA256 4ee29b00edac355fa6f92b17313bb11738eda8c369cac6a76617309004e745f7 SHA512 c089eec5e0fa0fc04c775faeb55a4be054bff2d1926a376c96bcba8c23328c85453794a35bb8d4b01f72f79f1dc7f34701aaee12b1291618e4b075086828ac74 WHIRLPOOL 78682d602a540661f2b95bb096a81fc33c0c6bd5b8a14aad75ac89144d787b57688f79138c82cf41b7407a64dae81f1b9f7706ffb7566c3d921e0227d8e526ee EBUILD mongodb-2.4.7.ebuild 3687 SHA256 557c06cff74a708aa9fc8c9321f2fb0e9e85e957e729be50dae83a21fd8ed5cf SHA512 83959afd8707eb893ca09824e5f518a3e17d24b4a926ded08801ad2bd75f80c4ca4fb642c3b713ced8a42371baf80fa4eef510f256082304db4e73a0adc5c64b WHIRLPOOL 4c5ac710541cd061f95a54a5040818e0b2858a57639892d1b1d99e86816ada7341fd2ef5496c040181793c39b21c60163144cc8c4761038d0e01636abf9e0660 EBUILD mongodb-2.4.8.ebuild 3687 SHA256 afea6abad8c091a543ca13d13bea1784a8b3bbb62f71c6539cf0e17b83fd1003 SHA512 6f3bd4e940877949d1dcf66f44854058be1da944f2f73aa17f98f96fc4899726902468c594d5f27baf38691b4b0198edfcc710fd53008dae4633a8a82eb7b26f WHIRLPOOL 4d5eb1f8a9cea61eea0a3b5ec4a4e6d878c3e6c6434c381ab91e0ebd427d544bd4e441e6f94c1187b994cb5554c0531929ace6036f26d74c6c15be125bcc3ace -MISC ChangeLog 18686 SHA256 1fbafeb7bad887fda8a52623b89ff22606dbd058075cd498f419cf17e24e1a7b SHA512 a03461183538afc3eec3486a8e53168cc118bd76a60ca95a8192fd52ec48635f5c8b365df9862906aaf1d1d16baf0ea4e6955e66c15bc1a722695e9d36ee85bb WHIRLPOOL 73fa438e1fb6eee3bd27387adb076d8fea8b61fd4c8f825bad0533436df83f012cb06576b6e10fdc7f8c2d72c3667037d3a1f21c94f0dbca2ddc3fcbe38657f7 +EBUILD mongodb-2.4.9.ebuild 3687 SHA256 7237a979f8a7ff2c5cbf841f1aca701b472e6130ef1f098246fd077b076146b3 SHA512 87f42a68bc99c06c45ea63db676bfbfe4371408c63727016988d37eb6909bcae8dec59abefbdc8367daeb0e230e36444d63030852c84a2ded8fe744b3943973e WHIRLPOOL ac15629f2e53812ddf68a55a5d5c113894020be5a31bc0b5cee4e2f35a622c5fd21728270b2098fee27c98283e720b84d733787185d75c538f370f0ce0032ceb +MISC ChangeLog 18801 SHA256 7f68e0aaf840b738553e05bde260fb6fb2bfc31c5a93de3505534a11ec0cde7b SHA512 d8b2bf89ddf4001dd5a7c73b4ba45580c04dc40357572154b75a6a82446e46ffbcaeb36ac8c6f7ef5781a9e8be3ae3b423977e07633fe5dce85765223a7fcdbf WHIRLPOOL 78ccc042f0df490245e7c4af5712d9d75a93a4c4ca95029fef9e4a2eac8c21334ca15a13b9a9dd705f7ee4f18fc73de48154e56049227ca24aad7e47360fa98f MISC metadata.xml 1090 SHA256 bb0066679f4a7ee9f21238becfdf1cb6e38489c1a9d46e0671d4098455f886ea SHA512 b4e4fec0815ac98c85b437f2155f4620b91fe24e81f559b92901038f68534e07dc91ae77ac609311e9febbe64b8ef0ad5ad164346cdb466e28bf1732ed18048a WHIRLPOOL b5305d0cbc7398d66d9e26b14adeaccfeeee8d0d24fad8bb957517273b97f94b0feb1afc1bdefaa01ea06502c570376e8e7a0ce68dca76c8ae5dbbf686d6458a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iF4EAREIAAYFAlK8ErYACgkQKiQSS7ZY+hM3hQEA0LeM6q+nxUGpn32M3dVq/i8F -RfXbuHFcHxy3SDF+2j8BAJ8Zm0vbnk2YN+GGxl6nfTONljabkt0ERpCcZuBNwV0t -=j8Iv +iF4EAREIAAYFAlLTyusACgkQKiQSS7ZY+hP4dwEAl5bIh8Ko0VnyYFxsqy7nOp0i +d35OfujfbiL45Iz2WOgA/2Bh0zI2MoB8k3HtUMQmLOGtwCy5RD9oRjDSWaRoEgua +=VhJX -----END PGP SIGNATURE----- diff --git a/dev-db/mongodb/mongodb-2.4.9.ebuild b/dev-db/mongodb/mongodb-2.4.9.ebuild new file mode 100644 index 000000000000..22d5f6b426e6 --- /dev/null +++ b/dev-db/mongodb/mongodb-2.4.9.ebuild @@ -0,0 +1,145 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.4.9.ebuild,v 1.1 2014/01/13 11:15:48 ultrabug Exp $ + +EAPI=4 +SCONS_MIN_VERSION="1.2.0" +CHECKREQS_DISK_BUILD="2400M" +CHECKREQS_DISK_USR="2400M" + +inherit eutils flag-o-matic multilib pax-utils scons-utils systemd 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="http://downloads.mongodb.org/src/${MY_P}.tar.gz + mms-agent? ( http://dev.gentoo.org/~ultrabug/20130821-10gen-mms-agent.zip )" + +LICENSE="AGPL-3 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="kerberos mms-agent sharedclient spidermonkey ssl static-libs" + +PDEPEND="mms-agent? ( dev-python/pymongo app-arch/unzip )" +RDEPEND=" + >=dev-libs/boost-1.50[threads(+)] + dev-libs/libpcre[cxx] + dev-util/google-perftools[-minimal] + net-libs/libpcap + app-arch/snappy + ssl? ( >=dev-libs/openssl-1.0.1c )" +DEPEND="${RDEPEND} + sys-libs/readline + sys-libs/ncurses + kerberos? ( dev-libs/cyrus-sasl[kerberos] )" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + enewgroup mongodb + enewuser mongodb -1 -1 /var/lib/${PN} mongodb + + scons_opts=" --cc=$(tc-getCC) --cxx=$(tc-getCXX)" + scons_opts+=" --use-system-tcmalloc" + scons_opts+=" --use-system-pcre" + scons_opts+=" --use-system-snappy" + scons_opts+=" --use-system-boost" + + if use prefix; then + scons_opts+=" --cpppath=${EPREFIX}/usr/include" + scons_opts+=" --libpath=${EPREFIX}/usr/$(get_libdir)" + fi + + if use kerberos; then + scons_opts+=" --use-sasl-client" + fi + + if use sharedclient; then + scons_opts+=" --sharedclient" + fi + + if use spidermonkey; then + scons_opts+=" --usesm" + else + scons_opts+=" --usev8" + fi + + if use ssl; then + scons_opts+=" --ssl" + fi +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-2.4.5-fix-scons.patch" + epatch "${FILESDIR}/${PN}-2.2-r1-fix-boost.patch" + + # bug #462606 + sed -i -e "s@\$INSTALL_DIR/lib@\$INSTALL_DIR/$(get_libdir)@g" src/SConscript.client || die + + # bug #482576 + sed -i -e "/-Werror/d" src/third_party/v8/SConscript || die +} + +src_compile() { + escons ${scons_opts} all +} + +src_install() { + escons ${scons_opts} --full --nostrip install --prefix="${ED}"/usr + + use static-libs || find "${ED}"/usr/ -type f -name "*.a" -delete + + if ! use spidermonkey; then + pax-mark m "${ED}"/usr/bin/{mongo,mongod} + fi + + 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-r1" ${PN} + newconfd "${FILESDIR}/${PN}.confd" ${PN} + newinitd "${FILESDIR}/${PN/db/s}.initd-r1" ${PN/db/s} + newconfd "${FILESDIR}/${PN/db/s}.confd" ${PN/db/s} + systemd_dounit "${FILESDIR}"/${PN}.service + insinto /etc + doins "${FILESDIR}"/${PN}.conf + + insinto /etc/logrotate.d/ + newins "${FILESDIR}/${PN}.logrotate" ${PN} + + 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 +} + +pkg_preinst() { + # wrt bug #461466 + if [[ "$(get_libdir)" == "lib64" ]]; then + rmdir "${ED}"/usr/lib/ &>/dev/null + fi +} + +src_test() { + escons ${scons_opts} test + "${S}"/test --dbpath=unittest || die +} + +pkg_postinst() { + if [[ ${REPLACING_VERSIONS} < 2.4 ]]; 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}" +} |