summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/mongosh-bin')
-rw-r--r--app-admin/mongosh-bin/Manifest2
-rw-r--r--app-admin/mongosh-bin/mongosh-bin-2.0.2.ebuild37
2 files changed, 39 insertions, 0 deletions
diff --git a/app-admin/mongosh-bin/Manifest b/app-admin/mongosh-bin/Manifest
index 15b50d854cbb..6ffcdf57dcc5 100644
--- a/app-admin/mongosh-bin/Manifest
+++ b/app-admin/mongosh-bin/Manifest
@@ -2,3 +2,5 @@ DIST mongosh-1.1.9_arm64.tgz 60765908 BLAKE2B 9658285f084b22ea60eaaf0c6aca78362e
DIST mongosh-1.1.9_x64.tgz 62020005 BLAKE2B 2b634fe864bef24bd93f6676acf57d877d745e1407ec150a75e26c498affa39dbfb5918d6645ac33a3c0990a2c33dc464ad2748e7bd9b536111a86dc856a21cb SHA512 99f2b66a7adbd8a395d46e610fa493eff974ace54b2e5cf395b572e023270e5ce3fdf7e7b73bedd3f7f31c2f46964647920920c32ac7460def71dfc5630c26b8
DIST mongosh-1.3.1_arm64.tgz 61196774 BLAKE2B 6d48f06d2378d0d1f46f896b445e4022a5a8c0f7d6b9225dadf909734a721255eb0d4b6daccf52886db07a1f3186125abef10603e4cf91791b4d93c0d6ca2a30 SHA512 46519e1ccda8490ac1336014c17250392402c7497b34fdb4cdefdab322913f740b2699e2f1a94aeee5441157025586900f1ffe3bac40e4eca5e1858cdc2e406b
DIST mongosh-1.3.1_x64.tgz 62428646 BLAKE2B f92434ff73890ba38498bc51d9a497d7feab240e7bbe380565b1bf54fa58018d24250c70f20f634248b481b5b41d0c4bdea0bf130347a1fdd547cfc7d655de67 SHA512 2650f05f40594736985e11cede4d59dcce0c620654ab7c136084a94b816bafd3d2cc6ab8be05e1c844cad9221f436e9aa2e9e670cbae6505fe6d28c12cf608dd
+DIST mongosh-2.0.2_arm64.tgz 70059224 BLAKE2B 3039ddbf28ff8e11e2f8568f3b2b9aadc021b28705b96930e97c5b6352825c0ad625b68ca2c0cd55015b03aeb71c52d357d13625007e577344ed1bf9cb608146 SHA512 7569a39426fd76d6cfe6e98d7986d0f5aac443d0f227a1e479493a0d438ca291f02ae191d9b33648e797d006e6d2833608948e74d73294a21d14a9a6cfadcb56
+DIST mongosh-2.0.2_x64.tgz 71429653 BLAKE2B c6059cbb786ee29bbda63267cc7abadec38e9a4ca09162c737005de0e71c4fc8ae7cea4434117d62b9881f956b5d0dad0800013fa45f5edc6dda44b8c6897c45 SHA512 e29a4bafd2bcc57bde1f58f857a4127cc52b756078cd065434c55d910870bd3b18f732b2e1dda17afb4f338c2519ca9a64cc13216e48f5116b3cabbd38cb0a82
diff --git a/app-admin/mongosh-bin/mongosh-bin-2.0.2.ebuild b/app-admin/mongosh-bin/mongosh-bin-2.0.2.ebuild
new file mode 100644
index 000000000000..4dd1b1251ab8
--- /dev/null
+++ b/app-admin/mongosh-bin/mongosh-bin-2.0.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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]"
+
+# Do not complain about CFLAGS etc since we don't use them
+QA_FLAGS_IGNORED='.*'
+
+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
+}