1 |
commit: 99753cfc16c5c572a27a1725002c0a4ef0660e49 |
2 |
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Sep 5 16:02:12 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 21 19:49:58 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99753cfc |
7 |
|
8 |
app-admin/mongo-tools: version bump to 3.4.7. |
9 |
|
10 |
Package-Manager: Portage-2.3.8, Repoman-2.3.2 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/5527 |
12 |
|
13 |
app-admin/mongo-tools/Manifest | 1 + |
14 |
app-admin/mongo-tools/mongo-tools-3.4.7.ebuild | 66 ++++++++++++++++++++++++++ |
15 |
2 files changed, 67 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/mongo-tools/Manifest b/app-admin/mongo-tools/Manifest |
18 |
index c998423a295..30200dd8f63 100644 |
19 |
--- a/app-admin/mongo-tools/Manifest |
20 |
+++ b/app-admin/mongo-tools/Manifest |
21 |
@@ -6,3 +6,4 @@ DIST mongo-tools-3.2.16.tar.gz 2720003 SHA256 1cd699f0e45b0b3afb0cfc7014258fb69e |
22 |
DIST mongo-tools-3.4.3.tar.gz 4700637 SHA256 70348800ca4cc04a319ca414291d5359e7dc86c888bc8264045fbc4de00adab2 SHA512 ec754e8b19c517d9603e0eb89cc315e0af53886b74a905c0742faf5369af8b87b84cedf57aaa25f93068cd21370fa8a274a97dc3c58bbb4a50db6c2e4f0109d9 WHIRLPOOL 0b85fcdb52d5f08624bbcedb96d66c8a519e6415b9aefe68e7957627f3f1e220ca1174ea0a037f53ef2de0e594793ab42d6ec7db9cb42aa09b1892500dac5dd5 |
23 |
DIST mongo-tools-3.4.4.tar.gz 4700326 SHA256 d14f4ce153aec373459c802e5a159661ccfde4e5df39d8d750586bae54896cdd SHA512 d49243e41bf3144264add3766a6f7016a07509a583a7368a639d85d2305500dd5afcfbc4449f3dcc8bec6e88bfb76ce021c813fe14169e3bd2476ed0db7c2d5d WHIRLPOOL 33cb527ce7df19e92871219aef9b38f16ae292a4d1cbdd7bb3a1c6ccc752687469b9e4309cc4fd540a65e623740e1ebe20f4bdf8629b50aab25d4ea84c2988cc |
24 |
DIST mongo-tools-3.4.6.tar.gz 4715189 SHA256 0b41ee2cb0a3d656f50ad950cc3853b41d5eb77a67ea0eb288f5ac80711ffc1d SHA512 ad1d3acee1969934e8f679d6407b3b55aba85fb99ea806463b7418494fac491ff68033f3e59b55e17276a4d28932c6b74398fffc89ab7c229cf69e5a4714c4a2 WHIRLPOOL 993be475af7b71a189f2b9f7c98e3f49d7ae8d05f99928b242efbd3dd504415394c7c812c4debed192ca0a856f16f9839dc771be8efb1db48b3359e48ea48280 |
25 |
+DIST mongo-tools-3.4.7.tar.gz 4719382 SHA256 f7a7b014ad2947c0fa4d6973a669f53e8c1af29df7e8bc6daf879b1456c90ce1 SHA512 4ccc77c858f88f57f6b29bfc56361efc3362782fe82e8d73474202ca02c0cad49134f622dcc36cba669b37ac19e869cc76e07254a9eb26e9c175f8bad104a07d WHIRLPOOL 0456ccba63331496bbb8b90ce3e2ef07de97376225ffc547e598a2699d41ad5ddd23de26633a013f38d36945f89cb69fe79b930f77db00956a8ccc2d392f50dc |
26 |
|
27 |
diff --git a/app-admin/mongo-tools/mongo-tools-3.4.7.ebuild b/app-admin/mongo-tools/mongo-tools-3.4.7.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..eb6528eb5fb |
30 |
--- /dev/null |
31 |
+++ b/app-admin/mongo-tools/mongo-tools-3.4.7.ebuild |
32 |
@@ -0,0 +1,66 @@ |
33 |
+# Copyright 1999-2017 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+inherit eutils |
39 |
+ |
40 |
+MY_PV=${PV/_rc/-rc} |
41 |
+MY_P=${PN}-r${MY_PV} |
42 |
+ |
43 |
+DESCRIPTION="A high-performance, open source, schema-free document-oriented database" |
44 |
+HOMEPAGE="https://www.mongodb.org" |
45 |
+SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz" |
46 |
+ |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="sasl ssl libressl" |
51 |
+ |
52 |
+# Maintainer note: |
53 |
+# openssl DEPEND constraint, see: |
54 |
+# https://github.com/mongodb/mongo-tools/issues/11 |
55 |
+ |
56 |
+RDEPEND="!<dev-db/mongodb-3.0.0" |
57 |
+DEPEND="${RDEPEND} |
58 |
+ dev-lang/go:= |
59 |
+ net-libs/libpcap |
60 |
+ sasl? ( dev-libs/cyrus-sasl ) |
61 |
+ ssl? ( |
62 |
+ !libressl? ( dev-libs/openssl:0= ) |
63 |
+ libressl? ( dev-libs/libressl:0= ) |
64 |
+ )" |
65 |
+ |
66 |
+S=${WORKDIR}/${MY_P} |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ # do not substitute version because it uses git |
70 |
+ sed -i '/^sed/,+3d' build.sh || die |
71 |
+ sed -i '/^mv/d' build.sh || die |
72 |
+ |
73 |
+ # build pie to avoid text relocations wrt #582854 |
74 |
+ sed -i 's/go build/go build -buildmode=pie/g' build.sh || die |
75 |
+ |
76 |
+ # ensure we use bash wrt #582906 |
77 |
+ sed -i 's@/bin/sh@/bin/bash@g' build.sh || die |
78 |
+ |
79 |
+ default |
80 |
+} |
81 |
+ |
82 |
+src_compile() { |
83 |
+ declare -a myconf |
84 |
+ |
85 |
+ if use sasl; then |
86 |
+ myconf+=(sasl) |
87 |
+ fi |
88 |
+ |
89 |
+ if use ssl; then |
90 |
+ myconf+=(ssl) |
91 |
+ fi |
92 |
+ |
93 |
+ ./build.sh ${myconf[@]} || die "build failed" |
94 |
+} |
95 |
+ |
96 |
+src_install() { |
97 |
+ dobin bin/* |
98 |
+} |