public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexys Jacob" <ultrabug@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/mongo-tools/
Date: Wed, 20 May 2020 16:20:26 +0000 (UTC)	[thread overview]
Message-ID: <1589991592.0499938eabb273305c76d854fb654651f54102ca.ultrabug@gentoo> (raw)

commit:     0499938eabb273305c76d854fb654651f54102ca
Author:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
AuthorDate: Wed May 20 16:15:20 2020 +0000
Commit:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Wed May 20 16:19:52 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0499938e

app-admin/mongo-tools: version bump

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alexys Jacob <ultrabug <AT> gentoo.org>

 app-admin/mongo-tools/Manifest                 |  1 +
 app-admin/mongo-tools/mongo-tools-4.2.6.ebuild | 71 ++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/app-admin/mongo-tools/Manifest b/app-admin/mongo-tools/Manifest
index 82667b49c21..988e5b1cef2 100644
--- a/app-admin/mongo-tools/Manifest
+++ b/app-admin/mongo-tools/Manifest
@@ -9,3 +9,4 @@ DIST mongo-tools-4.0.16.tar.gz 11139827 BLAKE2B 550acfd7e4434b178170dfd94c65668c
 DIST mongo-tools-4.2.1.tar.gz 14435826 BLAKE2B 8d068cb39957f6773fb6ca186a1eb324e03c21b8472fede407daf7bce091f3d401f0debe6412d70bb8e338101d7ada870e7347782ffb582b58fcafc236ad4932 SHA512 bba754acd9e21f8f832fc2e434720347c2222897b2af08d66f9491110d5491f5475ae2118ff25b263606677da10b0c96b76cc507a01287180096c25c1eab5ced
 DIST mongo-tools-4.2.2.tar.gz 14433618 BLAKE2B 7610bd6b386684836e91b6bb7f73e24267fac56ce975263ac2aaeebe51d37123baa8eb2009cf4478af89e6dcc596c9c07126224ad4bd80aee47d03fde9413eca SHA512 661813c70bf891f0a834ac9970cbe390a8616f9e89e4f33918e479ba3f3ce3851edecd63c1e35e65a4dee47419e3ce0fa3186c7ee2326bef11fce3bac8bed0c7
 DIST mongo-tools-4.2.3.tar.gz 15020325 BLAKE2B 8501a3ec6e947112ec561ce62f2ea568984f8ac911a7aff3cb8c08c1f29d2cfc64cf7f4b6a24ba73ae0f9b2b5853480f4fbed51c98fdc8c83cd433ea65e21dba SHA512 772719b450f8b656c22ac0126fee1e0fa58b5320c94ac6414b1d9af13e6437393c2482f2e386f4a73c84a2d1bfe0ea88df117a6a7ae87f4884477505cf662585
+DIST mongo-tools-4.2.6.tar.gz 15016596 BLAKE2B 5ee37bf21ea05ec5ba2764c935c1dd3632753e772a01f854dc8a9949620e9a41fe95ba658a0efae0332ed2c059561e39e681f672cf5f4302a7f92c364cfab4b6 SHA512 e91bfba4b015f80d35b6c2ca766c599c5eedea113d6415ec0aef433d46b5e5fe06956481a063e26908a45fdcee4002125ea01a29fa3ea9a541a9210d25625f8e

diff --git a/app-admin/mongo-tools/mongo-tools-4.2.6.ebuild b/app-admin/mongo-tools/mongo-tools-4.2.6.ebuild
new file mode 100644
index 00000000000..7d8cc9a0ebc
--- /dev/null
+++ b/app-admin/mongo-tools/mongo-tools-4.2.6.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV=${PV/_rc/-rc}
+MY_P=${PN}-r${MY_PV}
+
+DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
+HOMEPAGE="https://www.mongodb.com"
+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 ~arm64"
+IUSE="sasl ssl"
+
+DEPEND="dev-lang/go:=
+	net-libs/libpcap
+	sasl? ( dev-libs/cyrus-sasl )
+	ssl? ( dev-libs/openssl:0= )"
+
+# Do not complain about CFLAGS etc since go projects do not use them.
+QA_FLAGS_IGNORED='.*'
+
+EGO_PN="github.com/mongodb/mongo-tools"
+S="${WORKDIR}/src/${EGO_PN}"
+
+src_unpack() {
+	mkdir -p "${S%/*}" || die
+	default
+	mv ${MY_P} "${S}" || die
+}
+
+src_prepare() {
+	default
+
+	# allow building with go 1.12 #678924
+	sed -i 's/_Ctype_struct_/C.struct_/' vendor/github.com/google/gopacket/pcap/pcap.go || die
+}
+
+src_compile() {
+	local myconf=()
+
+	if use sasl; then
+		myconf+=(sasl)
+	fi
+
+	if use ssl; then
+		myconf+=(ssl)
+	fi
+
+	# build pie to avoid text relocations wrt #582854
+	local buildmode="pie"
+
+	# skip on ppc64 wrt #610984
+	if use ppc64; then
+		buildmode="default"
+	fi
+
+	mkdir -p bin || die
+	for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do
+		echo "Building $i"
+		GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \
+			-ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" --tags "${myconf[*]}" "$i/main/$i.go" || die
+	done
+}
+
+src_install() {
+	dobin bin/*
+}


             reply	other threads:[~2020-05-20 16:20 UTC|newest]

Thread overview: 115+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-20 16:20 Alexys Jacob [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-10 14:18 [gentoo-commits] repo/gentoo:master commit in: app-admin/mongo-tools/ Alexys Jacob
2023-09-01 14:12 Sam James
2022-06-02  4:00 Sam James
2022-02-07 13:23 Alexys Jacob
2022-02-07 13:23 Alexys Jacob
2021-10-20  6:57 Sam James
2021-10-20  6:57 Sam James
2021-08-19 16:38 Alexys Jacob
2021-08-19 16:38 Alexys Jacob
2021-07-27 11:00 Marek Szuba
2021-03-12 15:25 Sam James
2021-03-12 15:25 Sam James
2021-03-07 15:54 Thomas Deutschmann
2021-03-07 15:54 Thomas Deutschmann
2021-02-18  8:39 Sam James
2020-12-03 20:34 Thomas Deutschmann
2020-12-03  4:34 Sam James
2020-11-09 14:11 Alexys Jacob
2020-11-09 14:11 Alexys Jacob
2020-09-28 22:08 Sam James
2020-09-27 14:15 Sam James
2020-06-26 23:00 Thomas Deutschmann
2020-06-26 23:00 Thomas Deutschmann
2020-05-20 16:25 Alexys Jacob
2020-05-11 15:32 Mart Raudsepp
2020-02-09 16:31 Alexys Jacob
2019-12-30 12:36 Alexys Jacob
2019-09-26 19:57 Mikle Kolyada
2019-09-23 13:43 Alexys Jacob
2019-09-22 18:59 Alexys Jacob
2019-08-13  5:57 Alexys Jacob
2019-08-09 14:50 Agostino Sarubbo
2019-08-09 12:51 Agostino Sarubbo
2019-08-09  7:28 Alexys Jacob
2019-08-09  7:28 Alexys Jacob
2019-08-09  7:28 Alexys Jacob
2019-06-17 12:34 Alexys Jacob
2019-06-07  9:45 Alexys Jacob
2019-04-17 13:11 Alexys Jacob
2019-04-14 10:51 Alexys Jacob
2019-04-14 10:36 Alexys Jacob
2019-03-28 17:39 Zac Medico
2019-03-28 17:39 Zac Medico
2019-03-28 17:39 Zac Medico
2019-03-28 17:39 Zac Medico
2019-03-07  3:32 Zac Medico
2019-03-07  3:32 Zac Medico
2019-03-07  2:56 Zac Medico
2019-03-04 15:58 Thomas Deutschmann
2019-03-04  1:35 Thomas Deutschmann
2019-03-04  1:35 Thomas Deutschmann
2019-03-04  1:35 Thomas Deutschmann
2018-12-17 11:26 Alexys Jacob
2018-11-10 20:57 Thomas Deutschmann
2018-11-10 20:57 Thomas Deutschmann
2018-11-03 18:31 Mikle Kolyada
2018-10-26 13:18 Thomas Deutschmann
2018-10-26 13:18 Thomas Deutschmann
2018-09-28  7:53 Alexys Jacob
2018-09-09 20:41 Thomas Deutschmann
2018-08-29 20:57 Alexys Jacob
2018-08-09  9:04 Alexys Jacob
2018-08-02  7:31 Alexys Jacob
2018-08-02  7:31 Alexys Jacob
2018-06-28 12:45 Alexys Jacob
2018-06-11 19:25 Alexys Jacob
2018-06-11 19:25 Alexys Jacob
2018-05-07  7:39 Alexys Jacob
2018-03-02 14:34 Alexys Jacob
2018-03-02 14:34 Alexys Jacob
2018-02-15 15:02 Alexys Jacob
2018-02-14 15:11 Alexys Jacob
2018-01-26 21:24 Mikle Kolyada
2018-01-06 21:34 Alexys Jacob
2017-11-21 21:16 Alexys Jacob
2017-11-05 17:11 Alexys Jacob
2017-10-13  8:33 Alexys Jacob
2017-10-13  8:33 Alexys Jacob
2017-09-22  8:13 Patrice Clement
2017-09-21 19:50 Patrice Clement
2017-07-31 14:38 Alexys Jacob
2017-07-31 14:38 Alexys Jacob
2017-07-31 12:14 Alexys Jacob
2017-07-31 12:14 Alexys Jacob
2017-05-02  8:56 Alexys Jacob
2017-04-26 13:22 Alexys Jacob
2017-04-26 13:22 Alexys Jacob
2017-03-31 14:47 Alexys Jacob
2017-03-31 14:47 Alexys Jacob
2017-03-03 13:49 Anthony G. Basile
2017-02-08  8:19 Alexys Jacob
2017-02-06 16:10 Alexys Jacob
2017-01-25 15:35 Agostino Sarubbo
2017-01-25 14:29 Agostino Sarubbo
2017-01-11  7:43 Alexys Jacob
2016-11-20 13:41 Alexys Jacob
2016-11-20 13:35 Alexys Jacob
2016-11-05 14:46 Alexys Jacob
2016-11-03 16:19 Göktürk Yüksek
2016-11-03  8:22 Alexys Jacob
2016-10-04  8:50 Alexys Jacob
2016-08-19 12:59 Alexys Jacob
2016-08-04 14:42 Alexys Jacob
2016-04-04  9:00 Ian Delaney
2016-03-09 10:58 Alexys Jacob
2016-03-09  8:16 Alexys Jacob
2016-02-18 11:15 Alexys Jacob
2016-01-27  9:42 Alexys Jacob
2016-01-20 12:48 Alexys Jacob
2016-01-20 12:46 Alexys Jacob
2015-12-27 16:59 Alexys Jacob
2015-12-21 15:17 Alexys Jacob
2015-10-14  9:33 Alexys Jacob
2015-08-25  8:38 Alexys Jacob

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1589991592.0499938eabb273305c76d854fb654651f54102ca.ultrabug@gentoo \
    --to=ultrabug@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox