diff options
author | Ultrabug <ultrabug@gentoo.org> | 2016-08-19 14:35:57 +0200 |
---|---|---|
committer | Ultrabug <ultrabug@gentoo.org> | 2016-08-19 14:35:57 +0200 |
commit | 3291812d8d1226b678289ce8e09a5f9a50d88122 (patch) | |
tree | c87385d688fd7c8c1499544806e50634f7a4b034 /app-admin | |
parent | profiles/prefix/darwin/use.mask: mask inotify on darwin. (diff) | |
download | gentoo-3291812d8d1226b678289ce8e09a5f9a50d88122.tar.gz gentoo-3291812d8d1226b678289ce8e09a5f9a50d88122.tar.bz2 gentoo-3291812d8d1226b678289ce8e09a5f9a50d88122.zip |
app-admin/mongo-tools: version bump
Package-Manager: portage-2.2.27
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/mongo-tools/Manifest | 1 | ||||
-rw-r--r-- | app-admin/mongo-tools/mongo-tools-3.2.9.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/app-admin/mongo-tools/Manifest b/app-admin/mongo-tools/Manifest index 228d67957c97..626dfc17fb9d 100644 --- a/app-admin/mongo-tools/Manifest +++ b/app-admin/mongo-tools/Manifest @@ -1,3 +1,4 @@ DIST mongo-tools-3.0.10.tar.gz 2185555 SHA256 2bd5c984ca8b745b33aeb1e1a8118acd675bc5a408845eb3bb0b70c4fa680d71 SHA512 36d57150f4fb331149a2a7cbcde54253316cf3c5bc8ab195584c057c35b30d5acfabcafa25d314d378388254ac5a0ce75d0d8867e344fb7006593319ce9d028c WHIRLPOOL a6961a1fccb7ba353616fe4bfbe182c6a076f13c23492f4d06d274a0ff4d3f09a811413f77a2353b20801462b3a72f74073e38b8b1b4f4e3abf0026774dbcea2 DIST mongo-tools-3.0.12.tar.gz 2196136 SHA256 390d6842e83463943383ba7a6d6b8feb050fd170f8003aef46037722693734d0 SHA512 2954972b999d8eb87ff7ce65697740fc5893d5caa24234309f1d182109f627a5cce9b22d9da1154af74606725269c48ded8361b9f3bf171a10aed9ad7b33dda8 WHIRLPOOL 13e1e433f242be3ec9cea259bb3ae70220d1b7feccaf722ce31d9c1a0b30a8aef0c945e1147662acab22b3d7c1c719055fda6dfc9c605d205ceb227d639f6598 DIST mongo-tools-3.2.8.tar.gz 2500291 SHA256 8c147ecec459dd16f3a9f7ad74627fb31375183e145723b84d9ce10a30eafbfb SHA512 5b791fc8f377826d466871fb9108a3c6ea59eeba12ad98e7b39ad2ebc8bdb48263a6a46ee64e4c56ba38230d463ad779440b7f4a8ad36db0e0bc61d0abbf7204 WHIRLPOOL 2b8640615eb0e309124d1434d5a9ef93955986767dca2b2c0b1407d8a36734777d83f9db9f424282d04bccbfe6cb08854384789112e36cb70e3007d889b452d4 +DIST mongo-tools-3.2.9.tar.gz 2504722 SHA256 7f1dcbd54a1d9ebf6a1e17e4f548e53bab239960e7de600a50f82cdd13c73afe SHA512 c297153ec24428813348d1cb2723b872cd9af49c0cc3087ee21e8df708fde2b32de7f5ff68af5d5b97b9b832cb20ef9b9fd3d94882d94c53479429299ef4329d WHIRLPOOL 766f9a4ca9b26c44c4093e10d8ed4f16332fe5e84b91eb61c3b377d9e46f4d86eceeb3d6bbdec46b35b3bc0572794be7547895479d48f0a2d7cf297dfc9d392f diff --git a/app-admin/mongo-tools/mongo-tools-3.2.9.ebuild b/app-admin/mongo-tools/mongo-tools-3.2.9.ebuild new file mode 100644 index 000000000000..81808be14276 --- /dev/null +++ b/app-admin/mongo-tools/mongo-tools-3.2.9.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +MY_PV=${PV/_rc/-rc} +MY_P=${PN}-r${MY_PV} + +DESCRIPTION="A high-performance, open source, schema-free document-oriented database" +HOMEPAGE="http://www.mongodb.org" +SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="sasl ssl" + +# Maintainer note: +# openssl DEPEND constraint, see: +# https://github.com/mongodb/mongo-tools/issues/11 + +RDEPEND="!<dev-db/mongodb-3.0.0" +DEPEND="${RDEPEND} + dev-lang/go:= + sasl? ( dev-libs/cyrus-sasl ) + ssl? ( dev-libs/openssl )" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -e 's|go build .*|go build -o "bin/$i" -tags "$tags" "$i/main/$i.go"|g' -i build.sh || die +} + +src_compile() { + local myconf + + if use sasl; then + myconf="${myconf} sasl" + fi + + if use ssl; then + myconf="${myconf} ssl" + fi + + ./build.sh ${myconf} +} + +src_install() { + dobin bin/* +} |