summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomáš Mózes <hydrapolic@gmail.com>2021-12-17 21:59:33 +0000
committerSam James <sam@gentoo.org>2022-01-07 05:11:46 +0000
commitce6afa4588e5764738fab56e74ac06d1112c1ea5 (patch)
tree48625109237b2c0a4186a98e537c8c3e88e0309d /app-admin
parentdev-embedded/platformio: install missing udev rule (diff)
downloadgentoo-ce6afa4588e5764738fab56e74ac06d1112c1ea5.tar.gz
gentoo-ce6afa4588e5764738fab56e74ac06d1112c1ea5.tar.bz2
gentoo-ce6afa4588e5764738fab56e74ac06d1112c1ea5.zip
app-admin/mongosh-bin: bump to 1.1.7
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/mongosh-bin/Manifest2
-rw-r--r--app-admin/mongosh-bin/mongosh-bin-1.1.7.ebuild37
2 files changed, 39 insertions, 0 deletions
diff --git a/app-admin/mongosh-bin/Manifest b/app-admin/mongosh-bin/Manifest
index 14b8c3d90276..0ed4c582d1db 100644
--- a/app-admin/mongosh-bin/Manifest
+++ b/app-admin/mongosh-bin/Manifest
@@ -2,3 +2,5 @@ DIST mongosh-1.0.4_arm64.tgz 58296826 BLAKE2B 87304d259e731ac63b52f63e8277746042
DIST mongosh-1.0.4_x64.tgz 62341440 BLAKE2B af4394c1312825ca0718f1ec836cde64c212533ae2210dcb64363042d066304e558c5822e46362323aeedb5cbc402fae1999689b338102d8ba8de5c74379cf21 SHA512 07091f85b14b80fcfe334ced3a1773d206e9dd09faa3ac0ec6045503f222ccba0735a861bb4088d4c7687783de37e2134c8beeaa160cd838f197233e68aae796
DIST mongosh-1.0.7_arm64.tgz 59235420 BLAKE2B c1993ca1b697eac8c5ed8d2b9ec7af0b28a46021c368d14585736f5fa0a8874db8c6bfb1d362eb62b97c3331c6902c925687f4d8548f6a209dabd698a378151a SHA512 885f86fa15c2ffb596d36bbdee5d3526e7ff0ea53d0530e8066bcfbd430dac678047914de9239a49d6cb6fb1e1d21b336de2a8dae3929af8f0504bebad9265f2
DIST mongosh-1.0.7_x64.tgz 63269269 BLAKE2B 0403db9fd437a832bc37790ac38ae43b1aa0add711283d0f40631f9c7f8ba7f590d083a53e5ac5403b90d22b34e2a461304593702f876e75a6867e543ce0f152 SHA512 fd232c46dbde02bda22a36300c49748860902d51bd2b01f24464168d0e2b76083369f201900783b4a8c698a77f2a344b903f6c05f0914f9cd94be3fa01270b2f
+DIST mongosh-1.1.7_arm64.tgz 60598298 BLAKE2B 77817d970ddde690c49337d3e39d3f88fe50c442b698ea8d4aca3f7b9626d3f6f96e1094d08011e1c64caf616b9478ea7d275fc5e778b1afe1dfe762e71eff75 SHA512 b842fdc10f53eca4c310fc077340f87f22d2bff9550f8e865846fa6e503d8a8807d1b5e2cf113a636026c2fa233acf313a63bca0853fad91643cb9ce4df515c4
+DIST mongosh-1.1.7_x64.tgz 61852105 BLAKE2B c929806debbf73ba603e716c78a187626c963b6880fff1b8a853092a682c49dee9e07d51705ee365ac57f6e93bac59975d2268761ea473265460437d37dabff0 SHA512 9f89a0f50eae7a33e96d82017ae69c19ab67ff443c156ff3c809564e1a9bf41209c49bb2b04395aeba5c4604b8eb92b870bd6dc76eba0208e03ad0f30fe0a7c5
diff --git a/app-admin/mongosh-bin/mongosh-bin-1.1.7.ebuild b/app-admin/mongosh-bin/mongosh-bin-1.1.7.ebuild
new file mode 100644
index 000000000000..99b15a3d48a8
--- /dev/null
+++ b/app-admin/mongosh-bin/mongosh-bin-1.1.7.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2021 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
+}