From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 76814158CB7 for ; Thu, 19 Aug 2021 16:38:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8B943E07EE; Thu, 19 Aug 2021 16:38:20 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 67A9BE07EE for ; Thu, 19 Aug 2021 16:38:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 925FD342A1E for ; Thu, 19 Aug 2021 16:38:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 206D38C8 for ; Thu, 19 Aug 2021 16:38:18 +0000 (UTC) From: "Alexys Jacob" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexys Jacob" Message-ID: <1629391093.82513fcb978d0c8670e755c030bd5c6b119a70de.ultrabug@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/mongosh-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/mongosh-bin/Manifest app-admin/mongosh-bin/metadata.xml app-admin/mongosh-bin/mongosh-bin-1.0.4.ebuild X-VCS-Directories: app-admin/mongosh-bin/ X-VCS-Committer: ultrabug X-VCS-Committer-Name: Alexys Jacob X-VCS-Revision: 82513fcb978d0c8670e755c030bd5c6b119a70de X-VCS-Branch: master Date: Thu, 19 Aug 2021 16:38:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d02a3c82-c71c-4ba4-9df6-1f9e269cccd7 X-Archives-Hash: 7ea1fc6a2cbb44aa14490cdce6174058 commit: 82513fcb978d0c8670e755c030bd5c6b119a70de Author: Tomáš Mózes gmail com> AuthorDate: Sat Aug 7 08:22:52 2021 +0000 Commit: Alexys Jacob gentoo org> CommitDate: Thu Aug 19 16:38:13 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82513fcb app-admin/mongosh-bin: the new mongodb shell The mongo command from dev-db/mongodb is deprecated and to be removed in later releases. A binary package is used because the project is built with nodejs and thus downloads packages from the Internet. Signed-off-by: Tomáš Mózes gmail.com> Signed-off-by: Alexys Jacob gentoo.org> app-admin/mongosh-bin/Manifest | 2 ++ app-admin/mongosh-bin/metadata.xml | 19 ++++++++++++++ app-admin/mongosh-bin/mongosh-bin-1.0.4.ebuild | 34 ++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) diff --git a/app-admin/mongosh-bin/Manifest b/app-admin/mongosh-bin/Manifest new file mode 100644 index 00000000000..b6d60af0376 --- /dev/null +++ b/app-admin/mongosh-bin/Manifest @@ -0,0 +1,2 @@ +DIST mongosh-1.0.4_arm64.tgz 58296826 BLAKE2B 87304d259e731ac63b52f63e8277746042df90eeaa67771265d45fd9450950d878a20996a34285db4f8dbac9c4877c37391b54b6b9e57ff0409e0d72bec1c5a1 SHA512 ad9e9cf733915cfd6e9e2140b90cfbbc77f63160331683dee740e906c69b5993ac9704ac0bfbe8b5227eb474a0db75cddd8df310150f737de28fef00184d1280 +DIST mongosh-1.0.4_x64.tgz 62341440 BLAKE2B af4394c1312825ca0718f1ec836cde64c212533ae2210dcb64363042d066304e558c5822e46362323aeedb5cbc402fae1999689b338102d8ba8de5c74379cf21 SHA512 07091f85b14b80fcfe334ced3a1773d206e9dd09faa3ac0ec6045503f222ccba0735a861bb4088d4c7687783de37e2134c8beeaa160cd838f197233e68aae796 diff --git a/app-admin/mongosh-bin/metadata.xml b/app-admin/mongosh-bin/metadata.xml new file mode 100644 index 00000000000..2e57b644abf --- /dev/null +++ b/app-admin/mongosh-bin/metadata.xml @@ -0,0 +1,19 @@ + + + + + ultrabug@gentoo.org + Alexys Jacob + + + hydrapolic@gmail.com + Tomáš Mózes + + + proxy-maint@gentoo.org + Proxy Maintainers + + + mongodb-js/mongosh + + diff --git a/app-admin/mongosh-bin/mongosh-bin-1.0.4.ebuild b/app-admin/mongosh-bin/mongosh-bin-1.0.4.ebuild new file mode 100644 index 00000000000..4f81663b3bb --- /dev/null +++ b/app-admin/mongosh-bin/mongosh-bin-1.0.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN%-bin}" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="The MongoDB Shell" +HOMEPAGE="https://github.com/mongodb-js/mongosh https://www.mongodb.com/products/shell" + +SRC_URI_BASE="https://downloads.mongodb.com/compass/${MY_P}-linux" +SRC_URI="amd64? ( ${SRC_URI_BASE}-x64.tgz -> ${MY_P}_x64.tgz ) + arm64? ( ${SRC_URI_BASE}-arm64.tgz -> ${MY_P}_arm64.tgz )" + +LICENSE="Apache-2.0 BSD BSD-2 CC-BY-4.0 ISC MIT WTFPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND="dev-libs/cyrus-sasl[kerberos]" + +src_unpack() { + if use amd64; then + S="${WORKDIR}/${MY_P}-linux-x64" + elif use arm64; then + S="${WORKDIR}/${MY_P}-linux-arm64" + fi + + default +} + +src_install() { + dobin bin/mongosh +}