diff options
author | Alexys Jacob <ultrabug@gentoo.org> | 2015-01-14 09:26:09 +0000 |
---|---|---|
committer | Alexys Jacob <ultrabug@gentoo.org> | 2015-01-14 09:26:09 +0000 |
commit | bf6a3efbb9461187d66e247e048008425c1dd9be (patch) | |
tree | 8f3db04449ad6b2b1b560bbf69ce3523c9c168f0 /dev-db/mongodb | |
parent | Add USE=pdf dependencies (bug #536566). (diff) | |
download | historical-bf6a3efbb9461187d66e247e048008425c1dd9be.tar.gz historical-bf6a3efbb9461187d66e247e048008425c1dd9be.tar.bz2 historical-bf6a3efbb9461187d66e247e048008425c1dd9be.zip |
version bump, drop old
Package-Manager: portage-2.2.15/cvs/Linux x86_64
Manifest-Sign-Key: 0xB658FA13
Diffstat (limited to 'dev-db/mongodb')
-rw-r--r-- | dev-db/mongodb/ChangeLog | 10 | ||||
-rw-r--r-- | dev-db/mongodb/Manifest | 16 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-2.4.11.ebuild | 149 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-2.6.4-r1.ebuild | 169 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-2.6.7.ebuild (renamed from dev-db/mongodb/mongodb-2.6.5-r1.ebuild) | 4 |
5 files changed, 16 insertions, 332 deletions
diff --git a/dev-db/mongodb/ChangeLog b/dev-db/mongodb/ChangeLog index ac6ba2154d8d..1d8d42a15722 100644 --- a/dev-db/mongodb/ChangeLog +++ b/dev-db/mongodb/ChangeLog @@ -1,6 +1,12 @@ # 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.102 2014/12/10 16:57:07 ultrabug Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/ChangeLog,v 1.103 2015/01/14 09:26:02 ultrabug Exp $ + +*mongodb-2.6.7 (14 Jan 2015) + + 14 Jan 2015; Ultrabug <ultrabug@gentoo.org> -mongodb-2.4.11.ebuild, + -mongodb-2.6.4-r1.ebuild, -mongodb-2.6.5-r1.ebuild, +mongodb-2.6.7.ebuild: + version bump, drop old *mongodb-2.6.6 (10 Dec 2014) diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest index 55794f611df6..af2621c97a0c 100644 --- a/dev-db/mongodb/Manifest +++ b/dev-db/mongodb/Manifest @@ -28,24 +28,20 @@ AUX mongos.initd-r1 1370 SHA256 d4c9f32f0f001ae7cfe2b35034fd8e5a24a83fd1bc899415 AUX mongos.initd-r2 766 SHA256 673c0662c0638a77cb5f630605a828a6191abd0c4e9bd295b43d7b4aefeb2e1a SHA512 620062890f13bee96a1ff3b1c6900b8e08358481aae7476187eddee8f56f89e4a3d4351df88c9264fdf5e773f57e1c28337b6086a33fa97246005bfd027e0b6d WHIRLPOOL 74094c383596a1c24ced57aea1943ec86e6c98dad3a615fbf9bfc59969aaee2571c7f99a44de879864466fba9efd780f7187a5a95da04faf094f0ce3cd8031f7 DIST 20130821-10gen-mms-agent.zip 31918 SHA256 b48f35fe2ad058dc4ebcab01dad1229c0597e78a9011b57cd1030a05cdd16e7c SHA512 9467d229829076733a023d81e377479e1e4c71c4d2c1d163928abf7215bc87809a304768f83b531b6f585d19b18585f9d0d35fd74762cf180586be11536eb1a8 WHIRLPOOL d632c1761d1f47f2139a046d58af09641a0c8d9f3168d7ebc99dac5c6a3b5b0846cba8eac581b67d35c5e7580c6910759503b85e7ca74e5930c0e0dac3d77c97 DIST 20140409-mms-monitoring-agent.zip 40122 SHA256 9c4f89cfba10b4604512ab21eb082248104aeabe7e813b852db2b86f47d7ecb2 SHA512 5290a813c407251b5e4def813ce6fe7e09d6c3a1907fd409e326b15b07aed39f7db3a28710ecdaffe2771136c9433253c5d1857c823844a4b75dd38f1d15eefd WHIRLPOOL ce80870e2618f3d9ed80af41b1069ed5bd97af475089564eed1bc111e820c048bc5cbaa03f859349e772fe232f876127e0627c75c135a9b2e196ab13258ed9f1 -DIST mongodb-src-r2.4.11.tar.gz 14171544 SHA256 521b9df382b877f19459269269627fab51439b766a893a9887f5d16ff23258c5 SHA512 a132275b7d0be357958d4bffaa8d8b660df1812811e8b94b1482906d1cf4567f6b6f13c77dcdf6dea38c56f54fe4b462a41379185c04c9eb5661848b80e40106 WHIRLPOOL a1ebc3d291ef5283ad9fb59534bb97fb5f5ca1037cfc427a3a49704959e9c07831f670c6786d8372ff77b095f4e31856c5aee92c0682e2f94d7766643474e325 DIST mongodb-src-r2.4.12.tar.gz 14183132 SHA256 b239a065a1197f811a3908bdee8d535564b94f2d79da893935e38831ebbac8b3 SHA512 e1aef84534644121a1ed79c85b55928d0d7a627f88963e4e11c35579c9f7b42c40f7c54c2fb3fc77d063895db44b7d7ed6b5ccc5168f2600b1253e14b101daea WHIRLPOOL bd48aad0a53c517885ba38f0032cf83188e4c58d94b234742b0446e6c653805c8fdd1e51481be1393254fb999b3714cbb7b399d2a18baff1172cc7d129317dff DIST mongodb-src-r2.4.6.tar.gz 14141660 SHA256 b5f397abc92d36d84a85753d15fb5d7dab6545ce9dfd9fb7685c630e6b050acb SHA512 73921d439f1bc2b6c1f358ab96f05f5f082db7b2c09f8964f2e3cc2d3cfd059e0c923d228a77fbfb8c8613eee1fbf16a35d5347b6316219aed3b0357dec97eae WHIRLPOOL 4c5c9b8b7530a58f5fab62c414054939014a38cb49429ff619059b7305b29eb41c8ec3977a3b4490391afe963384d4560097a7ef536679c42c9d0ecc1677c958 -DIST mongodb-src-r2.6.4.tar.gz 14491215 SHA256 075411a560f5db7407032b962ebb5da16a0cca936ea82a7d264394b4d8cb99c0 SHA512 1f2be43380948897d0f1861797d5b5ef5c5d7d0252f622382221710ed6c91e34ab89825a8e98ff77218854d52e6094534e0a6a336d1c5e8ca1668f0f62c00fad WHIRLPOOL 96d56c1fbe6d7e4ed5d46fed5afe25fe302db4cf152f8affb7be8ef9271d249563a9c789927d227f5f23690a181d99695a4c702545cd704279399292d28247e6 -DIST mongodb-src-r2.6.5.tar.gz 14513441 SHA256 55d6cb624fe83935564a5e9cd38f2f94b2ec62745c5bd9c0539e4846ae9fa86c SHA512 eccf6e949fba7cca3f7401fa64c1135282d323222d2b9e53554a83748389b76b3791c5228943ef3e1064211f7fe9f8d68ce4209994dbd8065894b64a9b392f76 WHIRLPOOL b0721eb533310638966df3c9e9a37e7130c131e58156bd207182381ad04ef6686c175609ed12d10398878d01bd8dbcbf807672e98f508bd4f4bc5aa0df484a5d DIST mongodb-src-r2.6.6.tar.gz 14537624 SHA256 755d703c3a0b0f2f6486b2ddbf286bfb5e174faeda18dcbea2da63dd93010b6a SHA512 0f5fdce6ad3aa64e3636099cee9b7099b74c5f1d5887c89543bcdf900e523a855164f497071c8c4251c8e87361841eaec969bd7b7e0efcff5504cf5f1d6b9f05 WHIRLPOOL 421d310c7fb7d1a5572e8609356bd550e8808557ca2939832bab1c65c2b7ae75000b49ea72f6ca6e59a866cd32f47147e2c634082c335a1519b0887095af64a3 -EBUILD mongodb-2.4.11.ebuild 3878 SHA256 587f12a32e986d06644aa48faca03954994ba88eb44f75b3d6a4d0dce0ddc555 SHA512 2f438b41f5853e3fbeb151d509e6dbe5c1c1b0f1d6b4d71df73bfceef88c3bf0e14000a00f57d576e8bf73d118da346984dcaa963dc544ba0b97768f42de3655 WHIRLPOOL 328583765dfc73fec3f6dbce67b4dbd652d6cb976aebf1b8a0b0b1c24b04cd60c2b933f2db5476db7a91667d61a8cb825796d257e89fa3114e1736f9c8befb1e +DIST mongodb-src-r2.6.7.tar.gz 14540119 SHA256 512254d1adeaf19cc8188032ac75ce01ac114811b5a27ef3a95dc79eeedd6bc9 SHA512 c74b87d85339e27742054d4ce190e290a5116d48a39b334b6e7be62b2e35f75af99da6b8a899d8c4794b0d953f2c46bcbe5b77ce28e5194c3a0429dc813df04e WHIRLPOOL 964b4249c46199a02972c7860063dfb4a3e3db357f0694504efc1f9e9e5e4d9336430116feb2fb490a6ab5ac398bece7a8ac91ab429e0a6250bdcbe4110855ed EBUILD mongodb-2.4.12.ebuild 3878 SHA256 b91ad26c9eaef2c89009f9ca2974df1d5481b37d6cf9241e84b51e8cbd458be6 SHA512 56691ceb4aa5642a6c4c2f9095cc02ca1925e7d26b09650422587680878743a5e47094cde98468eadadc574619512286283a3d1dbdc7d846b91fd96a0b12e2c8 WHIRLPOOL 69506e21eeab662204fe45fa2a3d6f8e86fa6cad6fc47685fcc32054b6a075c4b0740fa1f52786a5d39771d9ba72cace4f013d9a1fd0ebf1a291e103525b0419 EBUILD mongodb-2.4.6-r2.ebuild 3733 SHA256 b7cdc682f6ae451dc252827a05a8b0a69ae1c78b48520512d698a61faf034c59 SHA512 07c32f6dfef084956ba6592555b13e53188718eecf55ba929e0ec5d4fd36e5d844e6cea30e1467b58d5318f668d86128a2e06019032e4f767b4cab7d535fe98c WHIRLPOOL 1a15f756fbb9a4d76e3d88e5f3a54876f93d8a963fcea4413adc25f1ff795e8c27892ee68865bdb9b747f91354a926cc609088630ab0a71c6ef67b600f0b4f14 -EBUILD mongodb-2.6.4-r1.ebuild 4511 SHA256 6612fc9c704d76e7fac3c8133152417db869526d19aa6dffd7d73492e5e21bdd SHA512 e2b5819e42ac2be5b671bf94d763a255310b7c176dc269ee148f01745859638c480767bde53c72c3f99f32e00e52a85dd4aee7065dbb17da014be4068766d822 WHIRLPOOL 2bad8378baef514c53b5b7e18f99e5cdf65e7130b8fb76c9f4aaed669cd4d62c304f4b32fdf8f24e6cb635b26defd48af81896925b533dd5f107a2dd0d2e14ad -EBUILD mongodb-2.6.5-r1.ebuild 4568 SHA256 7523d42ecd996313a461d1db93df4a0d00bd3f9aedfff068682fbc737d727115 SHA512 263c81674b96fb7750baf381e29da27947b7125aea6dffdc4472bdc0977cfc0bd1a5e1c5df81fb5bffc4a86c4ce4e76158dbd8122f2ff37aaf0047b5628923dc WHIRLPOOL 7e68f79d4d6f3a08f2f605b4a4ac49a412a8f25c9aabc1b4c4d7445fbbabea1d8277d98f722531544292d03eea94cda76bcbdbb66ad0896914ff224177f7918f EBUILD mongodb-2.6.6.ebuild 4565 SHA256 1be44ab47bb245686631475232e4febfa431a7b2d8a12c46b3fb788b90add557 SHA512 dec506d666eb6470212ceb148851057b297b5cf1aa65e3db161c9ac43b07bd83bcec8291d67886f1f751de82c2c7db3b64e71621b068029d6b5db84c555eb29c WHIRLPOOL 606251e398032152ae7a941ec05fd25ce493aa163fa6b4ebcbd8e649e72264aba45545038041031e82cafb8d895078a97d70216c44b1a106175d72ea43c96a67 -MISC ChangeLog 22052 SHA256 39745779fca683f24a00d25f5c57122e883e57b6ba3f404934fec6920f26cc92 SHA512 0e1c7c1dcc3ea67a7a00374926b03a5970d521869a62948f70a5f7c1954fdcc06b97cc73feb923a9ea9137ec8d8b94ad34f8ce5ecdd37889abea526e78cec1c3 WHIRLPOOL 88ea4b76c831fb9b5cf6710d2aaa9b52a9e733bbd86bc1640ab3c8c46347d13b47c25944616a2df20001e4d9d7a34178260e0c20b2c06eb3b5b08b0f51de2565 +EBUILD mongodb-2.6.7.ebuild 4565 SHA256 a462857c3bc6e7a279065e0cb63ddcc040177d9275e72cf49b153677bda0a9ac SHA512 32c200acde601cff588640c81323be15ba438c7a6da0fcce7d2566ce698abc68776c8aa8d8a94f434214106c7f48ebef5e9d4720cc7efe8c0b2a8720f8df0430 WHIRLPOOL 9b2a8c98b49deb0698d7f4792b5d5f0febf4c3c7b815ecbfb69a5f709c47ac50ca46b8a3d9780388834e131591a9bd037fc55ffa315dd35858850211d520ded0 +MISC ChangeLog 22255 SHA256 1529db9467b7892aed4091672426a5a59765e6f7782928ef9a64cf728b636527 SHA512 bc597721a19703d02f937bbe17cdaa34cd4bc9f3791fc51b111374eb7008b9728e8f733d71e7de5aa058fc1a2d3f63edc4de902dd6287a9fff2c73599e65cf03 WHIRLPOOL f7550bb60f582e0e4546e120a8ff0abd2b361e9206d7a5e5c2ae0044b091225290dec7fcca8c103966b96f6be3add3c665feebe29db3c0ded744ee74dfa01ac4 MISC metadata.xml 1090 SHA256 bb0066679f4a7ee9f21238becfdf1cb6e38489c1a9d46e0671d4098455f886ea SHA512 b4e4fec0815ac98c85b437f2155f4620b91fe24e81f559b92901038f68534e07dc91ae77ac609311e9febbe64b8ef0ad5ad164346cdb466e28bf1732ed18048a WHIRLPOOL b5305d0cbc7398d66d9e26b14adeaccfeeee8d0d24fad8bb957517273b97f94b0feb1afc1bdefaa01ea06502c570376e8e7a0ce68dca76c8ae5dbbf686d6458a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iF4EAREIAAYFAlSIe2gACgkQKiQSS7ZY+hMwcQEAl+OsHb1nyStmYIZUO0Y30mup -oiIVMLshQjnZDhsXIsUA/2AKqiMsJSZpyzL9s8/mlwBba+arcFvUd+42OiV+Ymj0 -=9alW +iF4EAREIAAYFAlS2Ni4ACgkQKiQSS7ZY+hO7mQEA4i2BrDleQjQPPkt9ZVUCOl8l +A++OpRr558hidAdBEYUBALriQ+SVH2gCDdhCLuFeYQG7EyJ7SgbFCKQEQwYgJyuV +=u82Q -----END PGP SIGNATURE----- diff --git a/dev-db/mongodb/mongodb-2.4.11.ebuild b/dev-db/mongodb/mongodb-2.4.11.ebuild deleted file mode 100644 index efb5f9586df0..000000000000 --- a/dev-db/mongodb/mongodb-2.4.11.ebuild +++ /dev/null @@ -1,149 +0,0 @@ -# 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.11.ebuild,v 1.1 2014/09/02 08:31:57 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/20140409-mms-monitoring-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=" --disable-warnings-as-errors --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.11-fix-scons.patch" - epatch "${FILESDIR}/${PN}-2.2-r1-fix-boost.patch" - epatch "${FILESDIR}/${PN}-2.4-fix-v8-pythonpath.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-r1" ${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}" - if use mms-agent; then - elog "You have to configure MMS Agent yourself :" - elog "Edit the settings.py file in the /opt/mms-agent/ folder." - fi -} diff --git a/dev-db/mongodb/mongodb-2.6.4-r1.ebuild b/dev-db/mongodb/mongodb-2.6.4-r1.ebuild deleted file mode 100644 index 3fc046acabb0..000000000000 --- a/dev-db/mongodb/mongodb-2.6.4-r1.ebuild +++ /dev/null @@ -1,169 +0,0 @@ -# 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.6.4-r1.ebuild,v 1.1 2014/11/12 10:22:35 ultrabug Exp $ - -EAPI=5 -SCONS_MIN_VERSION="1.2.0" -CHECKREQS_DISK_BUILD="2400M" -CHECKREQS_DISK_USR="512M" -CHECKREQS_MEMORY="1024M" - -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/20140409-mms-monitoring-agent.zip )" - -LICENSE="AGPL-3 Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="kerberos mms-agent ssl static-libs" - -PDEPEND="mms-agent? ( dev-python/pymongo app-arch/unzip )" -RDEPEND=" - app-arch/snappy - >=dev-cpp/yaml-cpp-0.5.1 - >=dev-libs/boost-1.50[threads(+)] - >=dev-libs/libpcre-8.30[cxx] - dev-libs/snowball-stemmer - dev-util/google-perftools[-minimal] - net-libs/libpcap - ssl? ( >=dev-libs/openssl-1.0.1g )" -DEPEND="${RDEPEND} - sys-libs/ncurses - sys-libs/readline - kerberos? ( dev-libs/cyrus-sasl[kerberos] )" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - enewgroup mongodb - enewuser mongodb -1 -1 /var/lib/${PN} mongodb - - scons_opts="--variant-dir=build --cc=$(tc-getCC) --cxx=$(tc-getCXX)" - scons_opts+=" --disable-warnings-as-errors" - scons_opts+=" --use-system-boost" - scons_opts+=" --use-system-pcre" - scons_opts+=" --use-system-snappy" - scons_opts+=" --use-system-stemmer" - scons_opts+=" --use-system-tcmalloc" - scons_opts+=" --use-system-yaml" - scons_opts+=" --usev8" - - 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 ssl; then - scons_opts+=" --ssl" - fi -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-2.6.2-fix-scons.patch" - epatch "${FILESDIR}/${PN}-2.4-fix-v8-pythonpath.patch" - - # fix yaml-cpp detection - sed -i -e "s/\[\"yaml\"\]/\[\"yaml-cpp\"\]/" SConstruct || die - - # 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 - - 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-r2" ${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} - - if use mms-agent; then - local MY_PN="mms-agent" - local MY_D="/opt/${MY_PN}" - - insinto /etc - newins "${WORKDIR}/${MY_PN}/settings.py" mms-agent.conf - rm "${WORKDIR}/${MY_PN}/settings.py" - - insinto ${MY_D} - doins "${WORKDIR}/${MY_PN}/"* - dosym /etc/mms-agent.conf ${MY_D}/settings.py - - fowners -R mongodb:mongodb ${MY_D} - newinitd "${FILESDIR}/${MY_PN}.initd-r2" ${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.6 ]]; 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/2.6-upgrade/" - ewarn " " - if use mms-agent; then - ewarn "MMS Agent configuration file has been moved to :" - ewarn " /etc/mms-agent.conf" - fi - else - if use mms-agent; then - elog "Edit your MMS Agent configuration file :" - elog " /etc/mms-agent.conf" - fi - fi -} diff --git a/dev-db/mongodb/mongodb-2.6.5-r1.ebuild b/dev-db/mongodb/mongodb-2.6.7.ebuild index 332b9ac4f302..348e06efefe6 100644 --- a/dev-db/mongodb/mongodb-2.6.5-r1.ebuild +++ b/dev-db/mongodb/mongodb-2.6.7.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.6.5-r1.ebuild,v 1.1 2014/11/12 10:22:35 ultrabug Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.6.7.ebuild,v 1.1 2015/01/14 09:26:02 ultrabug Exp $ EAPI=5 SCONS_MIN_VERSION="1.2.0" |