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