Gentoo Archives: gentoo-commits

From: Alexys Jacob <ultrabug@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/mongo-tools/
Date: Thu, 02 Aug 2018 07:31:15
Message-Id: 1533195045.20f6c1370cf8a73a984e137f167894d542be8416.ultrabug@gentoo
1 commit: 20f6c1370cf8a73a984e137f167894d542be8416
2 Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Thu Jul 19 09:12:21 2018 +0000
4 Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 2 07:30:45 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20f6c137
7
8 app-admin/mongo-tools: bump to 3.4.16
9
10 Package-Manager: Portage-2.3.43, Repoman-2.3.10
11 Closes: https://github.com/gentoo/gentoo/pull/9285
12
13 app-admin/mongo-tools/Manifest | 1 +
14 app-admin/mongo-tools/mongo-tools-3.4.16.ebuild | 60 +++++++++++++++++++++++++
15 2 files changed, 61 insertions(+)
16
17 diff --git a/app-admin/mongo-tools/Manifest b/app-admin/mongo-tools/Manifest
18 index 53a8e777488..f38748714e5 100644
19 --- a/app-admin/mongo-tools/Manifest
20 +++ b/app-admin/mongo-tools/Manifest
21 @@ -5,6 +5,7 @@ DIST mongo-tools-3.4.10.tar.gz 4719399 BLAKE2B 8165248bf58f2ea2b02e365a3609c72b7
22 DIST mongo-tools-3.4.13.tar.gz 4719488 BLAKE2B 27c7716b21f1a23408d0f31aee111c5877f5172121a987c234ff01eb2690bbc71bca4e00fc13b701ca6b91dce0c9aaae43c2239a60a52e130e1390bf5bafef60 SHA512 c233268328ef868ec06c9a9d83009141b39c84ba642e7de7dece3210717ba8de600f39896a30ed23d1577db9f4697c3a8d720cf35248bca2b00a17642b043237
23 DIST mongo-tools-3.4.14.tar.gz 4719370 BLAKE2B 2add25ddf9b5b7d2ebecdd647dfb2c818643b16f623fd1faba36a8d6f5a181e80ad47de45fc56e462290f61f6c16c27a6b0587542315981537627256e69b4958 SHA512 a0d715fe36769740ba25e92b742b157dc264b141ddd56d64ca4c6f8ffea11df291ce871aaa723acdb8b7f5318ac1edb8c5fb9dd7bf2edfe08d4e7cef343abea7
24 DIST mongo-tools-3.4.15.tar.gz 4697188 BLAKE2B 690ec3187cb781c9cae903a27eca9d1d504e2e52cc7f48790b5d5b5a1dfe18cff95dd52f8fa03854548a2e634d2aed56e626b8702f2fcd27a10952a37dff9120 SHA512 f7c8655f56a1f5fedad00fbadd26b150d6fea071edccaa7ac18e80c9051ed2324691e98e799e6a9ca09e944ebe340b63a2ac0b9caeffbcc8c8dee0744cba1af7
25 +DIST mongo-tools-3.4.16.tar.gz 4697191 BLAKE2B 2e9a0e7dc8016d3e7d7c7f8d0cf80a97d3d199603c0b8b791df5a0d79d418ffaa232eee694047a7ca11fa7623023b4123becd437cfe3dec11e26cd525720bcad SHA512 b40c6dee75d860de1da73faf79f5f68c098ce7c80681486c66fff04a937474dcede91c7be907a8e36033b3898f7499e8f53271944c0df3360756c27361efb6f5
26 DIST mongo-tools-3.6.2.tar.gz 4693924 BLAKE2B 61c44d579f6eb4013ee6c0118ebe89a2d454ef8cf6ad933479885cb71d169185272b03d9c63fa738d67bbd1b9efd4bc964eb17adcc5002508589d198cdb17752 SHA512 5ac2b1d2b33271f63c406c69bd8a576a21f4dcaa6f75839e0f907ebc9968f0e121eb3800e88da050c120856e7ddda4f12d551bb731d4acac0f5cf09f66fc948a
27 DIST mongo-tools-3.6.3.tar.gz 4693833 BLAKE2B fc7139984cf3dcb7b4ce6f6c2028296651aa59ac68d7068bdf748e28eeb65b1fd9b07580d0c93f3f41dbb01030a12433a07a04deadf28e0ff792387fa78ae4aa SHA512 7dba782c84a728aa9ceb28cbd9934f58b615dccfb238a9dbd63b18661ba4e74ddba21f93d9f12e6d80d293ebe42a82d31fa64448aacdba75bd07d964a5f631fc
28 DIST mongo-tools-3.6.4.tar.gz 4693872 BLAKE2B 5d72b32fa8ad7bc106c6ea3c09a27a093b9a1ae2392b4fa534042c5461fdc2b958dcbbf32e0ed596be234921e2ee21cc8f6132d57ae870a234abfc7adbb3b2e9 SHA512 53d06fa4a1b58de8001d6bf6e85f7edc97ce2cfbbb69c1ab05219deaa05ad9dd77d93f98c5526b4f58644a766e1b0f123686358095f059c71a4277634603f23f
29
30 diff --git a/app-admin/mongo-tools/mongo-tools-3.4.16.ebuild b/app-admin/mongo-tools/mongo-tools-3.4.16.ebuild
31 new file mode 100644
32 index 00000000000..509a9eb6a0e
33 --- /dev/null
34 +++ b/app-admin/mongo-tools/mongo-tools-3.4.16.ebuild
35 @@ -0,0 +1,60 @@
36 +# Copyright 1999-2018 Gentoo Foundation
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=6
40 +
41 +MY_PV=${PV/_rc/-rc}
42 +MY_P=${PN}-r${MY_PV}
43 +
44 +DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
45 +HOMEPAGE="https://www.mongodb.com"
46 +SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
47 +
48 +LICENSE="Apache-2.0"
49 +SLOT="0"
50 +KEYWORDS="~amd64"
51 +IUSE="sasl ssl"
52 +
53 +RDEPEND="!<dev-db/mongodb-3.0.0"
54 +DEPEND="${RDEPEND}
55 + dev-lang/go:=
56 + net-libs/libpcap
57 + sasl? ( dev-libs/cyrus-sasl )
58 + ssl? ( dev-libs/openssl:0= )"
59 +
60 +S=${WORKDIR}/${MY_P}
61 +
62 +src_prepare() {
63 + default
64 +
65 + # do not substitute version because it uses git
66 + sed -i '/^sed/,+3d' build.sh || die
67 + sed -i '/^mv/d' build.sh || die
68 +
69 + # build pie to avoid text relocations wrt #582854
70 + # skip on ppc64 wrt #610984
71 + if ! use ppc64; then
72 + sed -i 's/\(go build\)/\1 -buildmode=pie/g' build.sh || die
73 + fi
74 +
75 + # ensure we use bash wrt #582906
76 + sed -i 's@/bin/sh@/bin/bash@g' build.sh || die
77 +}
78 +
79 +src_compile() {
80 + local myconf=()
81 +
82 + if use sasl; then
83 + myconf+=(sasl)
84 + fi
85 +
86 + if use ssl; then
87 + myconf+=(ssl)
88 + fi
89 +
90 + ./build.sh ${myconf[@]} || die "build failed"
91 +}
92 +
93 +src_install() {
94 + dobin bin/*
95 +}