diff options
author | Alexys Jacob <ultrabug@gentoo.org> | 2014-04-08 15:25:20 +0000 |
---|---|---|
committer | Alexys Jacob <ultrabug@gentoo.org> | 2014-04-08 15:25:20 +0000 |
commit | 136e54400e618cf1b80a829093b27bfcc6dbc94a (patch) | |
tree | 11fa25499d49aa4c24f2b8915ae04da233f19bd5 /dev-db/mongodb | |
parent | version bump (diff) | |
download | historical-136e54400e618cf1b80a829093b27bfcc6dbc94a.tar.gz historical-136e54400e618cf1b80a829093b27bfcc6dbc94a.tar.bz2 historical-136e54400e618cf1b80a829093b27bfcc6dbc94a.zip |
version bump
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xB658FA13
Diffstat (limited to 'dev-db/mongodb')
-rw-r--r-- | dev-db/mongodb/ChangeLog | 7 | ||||
-rw-r--r-- | dev-db/mongodb/Manifest | 10 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-2.4.10.ebuild | 145 |
3 files changed, 157 insertions, 5 deletions
diff --git a/dev-db/mongodb/ChangeLog b/dev-db/mongodb/ChangeLog index bb0a87805158..a20b1ab83085 100644 --- a/dev-db/mongodb/ChangeLog +++ b/dev-db/mongodb/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/mongodb # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/ChangeLog,v 1.87 2014/02/17 09:43:11 ultrabug Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/ChangeLog,v 1.88 2014/04/08 15:25:12 ultrabug Exp $ + +*mongodb-2.4.10 (08 Apr 2014) + + 08 Apr 2014; Ultrabug <ultrabug@gentoo.org> +mongodb-2.4.10.ebuild: + version bump *mongodb-2.2.7 (17 Feb 2014) diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest index ef620e548227..1751ed64c2d5 100644 --- a/dev-db/mongodb/Manifest +++ b/dev-db/mongodb/Manifest @@ -21,22 +21,24 @@ AUX mongos.initd-r1 1370 SHA256 d4c9f32f0f001ae7cfe2b35034fd8e5a24a83fd1bc899415 DIST 20130821-10gen-mms-agent.zip 31918 SHA256 b48f35fe2ad058dc4ebcab01dad1229c0597e78a9011b57cd1030a05cdd16e7c SHA512 9467d229829076733a023d81e377479e1e4c71c4d2c1d163928abf7215bc87809a304768f83b531b6f585d19b18585f9d0d35fd74762cf180586be11536eb1a8 WHIRLPOOL d632c1761d1f47f2139a046d58af09641a0c8d9f3168d7ebc99dac5c6a3b5b0846cba8eac581b67d35c5e7580c6910759503b85e7ca74e5930c0e0dac3d77c97 DIST mongodb-src-r2.2.6.tar.gz 10190712 SHA256 e6864ac5fe7dabee055abc5c5d1074fa826f53715211227aaac64abaf55bf6ee SHA512 5d2be83dedfac4ce3c01c048480fcd4b67848b7e12b1f7854cf54477319ecbee0636e2a969e4dea33aea90514dba89ab9dda356a77426143ac9b60d1c07fb4da WHIRLPOOL a11fe32101717c6e287848c34c05a91e50d92d3e99bf9bb8f52957b3b145931fc51de34a8858b647e48841ef3b1111d3511dbf14033ae78d6a27af7f267a8ebd DIST mongodb-src-r2.2.7.tar.gz 10191656 SHA256 4ff250458940c3f408f8992b41b41c114cc6cc166bb7e88bc7d7b62b1621aeb6 SHA512 b4297ea86499e611aca1455ba48f984b9df7ec7dd03cfe586ab14fd0c68c6a917272d0a26b7de89bb9e3a4d7fa9f07c0fb6a6627544762b66f29fa25ccbf0ee4 WHIRLPOOL b043fe4e284d0ef19cc282cb413a1b7305e62021da3ca087bd8275c0b05d24d8cb97b56b374fdb3cf181e75602389b4562ebb1952a091746265840629cd1c7b8 +DIST mongodb-src-r2.4.10.tar.gz 14166404 SHA256 8ac8d0537e5316e842e3713870b76ea3cc18ec1234307e850046449f48a87402 SHA512 970364dda2dba18bf979a0fc8291d9656b3cc3ba0aec1ca26d81f14f833e355c023d19b3cfaa81704013bf2c0e732d72de08b0f8236dafe85a3ac4d51b87edc6 WHIRLPOOL d2503300499c213c76ad1185fceec5a495c79ec6774af11ebfc372f1c56515b5727a0538c7d26f310b100582c675ff3b70334030d784a87af3ff372bff16507c 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 3136 SHA256 108a7f33bdb1d092f4cddf1c7d147f8fbcdf3c4eaf818af7d93448ba755bf92d SHA512 8377b33f8262022fc52aa3c93737bdf256827296665c3d1bfc5acb4237447a95c0ecec9221cc0e9ab481e1034e665ed78031b953f81a6a4a40fe3afc4d2a6edf WHIRLPOOL 5bf26c9a04890e7622699f5f80abd5b731ff93f1fbdd77cf18ae7d6b906f6c93004760d655b649fe098e132d7dbeb8c81bc8cc98af61d6cad2b090c0f5ef452f EBUILD mongodb-2.2.7.ebuild 3133 SHA256 292e974b583ac64e0c4535b8c1c89ad41058d19317623e7348dec8a720e4ea19 SHA512 bf8172cac0f6894aa9c955c88d10c39b4129c9a06bbdc94708cef7eab5e7e68f55775d2974c2ccccea4f8bbe3f2435d5c32976b8f1a057419ca1e9bc1d2e85f4 WHIRLPOOL 1e7c824d394c80dbe6fd288ee3e520ae2f05e47a1a87e1f80d16782c9ba6d8817ff4b32693b720c106032de3920940041fbb1fc1a5cedcc7fe28782f4bbdbf47 +EBUILD mongodb-2.4.10.ebuild 3687 SHA256 6d8e85eae0c0902ccb29740c32dccd5a084a839521571fceda3858c3c3767b84 SHA512 aacfd71531461811d9811cd0d9a6eb1d99c53343ef7d61303d91e8de282021aa9b103504006a218f63edcc5ebe6fc19db4fa262211fb7e22c570c1c39b17aaa4 WHIRLPOOL edaae957e1f035aed1881608bdd248d715b4d05dfeae89ebc65da549b3ea3559cd7818e1a757a6082ca578a3ec145630e5e13de5df327c6e0f982f2a516dbfba EBUILD mongodb-2.4.6-r2.ebuild 3677 SHA256 2ad1fac6ad10fb3ed2530f97e1500aa2b2576f9f845eaff5a4a1254c86d626a6 SHA512 83d396726c65dc3b93bccb83565747be36ce8450eed15003c97d6f38494d6c3327841533fc5c23892d395b26ffe2f32312923b633ad1d1a05a72390366b02295 WHIRLPOOL 86e336db935611354c71e2c1282f8dffcc6575ef41cad3af43114e9b0e14e628402e0ac5f864fc9bafa33a380758a4864c2801a38f7cc620b0680e5dc5500e7c EBUILD mongodb-2.4.7.ebuild 3686 SHA256 e931ba25741a3d0d3cf098e736623c4fe81e90e508a6a587f4ae7c45869157f8 SHA512 9172dd9f37c2f3e2d2f7861bfacb426e7df50551831a7c42a84b28f80e2ffa9efc3b47b5954e9ebad0aab1fd8a4d34c0867e0c33a0108f042ce23bfd8bc25666 WHIRLPOOL 7ed22a6d4c9b01e1a7ff03fcd91c5dc41332395e838c1c5aeb623e1617ff79a02521700eae21f72e6d3fc7889ac554ad51c7357fd4cd8087c981c3fe925253db EBUILD mongodb-2.4.8.ebuild 3686 SHA256 6e7c047a00eb446cae999c10c272a8778deb5671c1642e51e36236222c071b8a SHA512 67348ab82c4858ef3f1316a50aabd69d41edfd177f0a06246bcdbd4d70719365be0a782ceef61d027af207b85aa6b7e57d65d21eaf81231afc3cc1d355b679a8 WHIRLPOOL 462704d8b210cc050b41367f8422c67e65c30b2e4250758c0dff25aa204482a44be8cc20b79340760b203457ceca6c19465e48970dd48181cee7143cf244a6e1 EBUILD mongodb-2.4.9.ebuild 3686 SHA256 bd390daf710132b8a9d54ab9a3b3d82069ee41ce23e1d551b89e95e61112963c SHA512 14c165a57b74980f4ff7762c9e66085752fa921b150edd804352b7dd9ab44618081a1654683e5a03120a7d5b48044454c6cbf06751df58b93dd95e7e4a0dda9e WHIRLPOOL d51b4a5a8035f4b78d895551ccbbb080a2bedffb33f51a970e4afed4918654746f58762102b16e664d4ad4684c8fba0281bb012b2ea78761b681db5224f6f70f -MISC ChangeLog 19097 SHA256 ca4210a34b208f5b054de24afab6becd5a14d0e1900135e82f38b87f81e35a5f SHA512 aa6426acb8a8ba6f0361adbc14a56b07da31a96d288ad50a92c1340fcc45af898b1978e0e7b64a6aae9409a7c3c80754c15b0b554335891976ec86d7db101db0 WHIRLPOOL ef61f48afef1e6aa647712314bc5e234886896094136d948dc1a96127e72b14372f7f1fa141275dba7bfebf47676943f191e0f7e1340543799851dc5eeb8ea12 +MISC ChangeLog 19214 SHA256 c1d7b3df058bc1b8638a435209f3435dfb6ee95590244f92f2e0d4ab2c586fe0 SHA512 9be77a1967682ea28bd6efcb1626454090e2e50436e6cd9a4261f703987f28606c9838200cb79f0da72ff9daec224fb8a100269391e1be74984180294e4cbea4 WHIRLPOOL dfbed20c052eff1d25a3d253e39d54d98843eba161c8c09f07575fb1900ec6cf5abe7a76b66f9745d26049a99876640a21c253514c9ef80550d1d9d635d958ec MISC metadata.xml 1090 SHA256 bb0066679f4a7ee9f21238becfdf1cb6e38489c1a9d46e0671d4098455f886ea SHA512 b4e4fec0815ac98c85b437f2155f4620b91fe24e81f559b92901038f68534e07dc91ae77ac609311e9febbe64b8ef0ad5ad164346cdb466e28bf1732ed18048a WHIRLPOOL b5305d0cbc7398d66d9e26b14adeaccfeeee8d0d24fad8bb957517273b97f94b0feb1afc1bdefaa01ea06502c570376e8e7a0ce68dca76c8ae5dbbf686d6458a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iF4EAREIAAYFAlMB2bUACgkQKiQSS7ZY+hOPWgD/UuTcPtia427GmLONSpTJUDMn -fJwiSQRw/HvvTlHMsVcBAMtobQ6BNXvtjypqRMaFfwTe1Cqry4oAlGxHwXJuuNeO -=jhmy +iF4EAREIAAYFAlNEFN4ACgkQKiQSS7ZY+hNu9gD/d6rDhGSLFBnvCdS686F8EQOD +j1JCMC7fvvG4Y/L2NZUBAOcrhGXQ5cptJm0N68qj/21Su1AsJcDD4jD9+kdnkC6L +=5yje -----END PGP SIGNATURE----- diff --git a/dev-db/mongodb/mongodb-2.4.10.ebuild b/dev-db/mongodb/mongodb-2.4.10.ebuild new file mode 100644 index 000000000000..e68a3994d5dd --- /dev/null +++ b/dev-db/mongodb/mongodb-2.4.10.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.10.ebuild,v 1.1 2014/04/08 15:25:12 ultrabug Exp $ + +EAPI=4 +SCONS_MIN_VERSION="1.2.0" +CHECKREQS_DISK_BUILD="2400M" +CHECKREQS_DISK_USR="512M" + +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}" +} |