diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-21 23:14:26 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-21 23:14:26 +0100 |
commit | 7c59acba5699c9c58090a7a738669669a7307023 (patch) | |
tree | d51d27d020895a6b7a3298d9d1b9846c1fcb59a0 /app-admin/mongosh-bin | |
parent | e2db47eaae00ec33f8971db44b68645c5d3b9590 (diff) |
gentoo resync : 21.08.2021
Diffstat (limited to 'app-admin/mongosh-bin')
-rw-r--r-- | app-admin/mongosh-bin/Manifest | 4 | ||||
-rw-r--r-- | app-admin/mongosh-bin/metadata.xml | 19 | ||||
-rw-r--r-- | app-admin/mongosh-bin/mongosh-bin-1.0.4.ebuild | 37 |
3 files changed, 60 insertions, 0 deletions
diff --git a/app-admin/mongosh-bin/Manifest b/app-admin/mongosh-bin/Manifest new file mode 100644 index 000000000000..af9b05cc7097 --- /dev/null +++ b/app-admin/mongosh-bin/Manifest @@ -0,0 +1,4 @@ +DIST mongosh-1.0.4_arm64.tgz 58296826 BLAKE2B 87304d259e731ac63b52f63e8277746042df90eeaa67771265d45fd9450950d878a20996a34285db4f8dbac9c4877c37391b54b6b9e57ff0409e0d72bec1c5a1 SHA512 ad9e9cf733915cfd6e9e2140b90cfbbc77f63160331683dee740e906c69b5993ac9704ac0bfbe8b5227eb474a0db75cddd8df310150f737de28fef00184d1280 +DIST mongosh-1.0.4_x64.tgz 62341440 BLAKE2B af4394c1312825ca0718f1ec836cde64c212533ae2210dcb64363042d066304e558c5822e46362323aeedb5cbc402fae1999689b338102d8ba8de5c74379cf21 SHA512 07091f85b14b80fcfe334ced3a1773d206e9dd09faa3ac0ec6045503f222ccba0735a861bb4088d4c7687783de37e2134c8beeaa160cd838f197233e68aae796 +EBUILD mongosh-bin-1.0.4.ebuild 864 BLAKE2B 4aad7079d89ee34b2f60687710e7a7934a6f2e53985139ab6b3bf9a50c7574bf1f7918eb509e79c3ea497a2bd6e588716bfa461c3e636fafd89dfdb333f13954 SHA512 76268daa6d7fa44bfbe56266ce862ab50875e7a1b2c5654515f9435c5ba45f16afeddd59eb8962c486caeff4c08ac90dbb4af3928b995bc185d8f578553183d2 +MISC metadata.xml 588 BLAKE2B 5ddd57802887d11c435888078bf4fd32010623116954b981d58ed5e83843d7b6830339bbc116acc2e0003976dbb8c8b091ef5953caea1f7b38c9a0bb14520db4 SHA512 5fb39f5f92e6a329186c218f0cef2a9f4d298fa03c0eef5f0162ea997c3d6ef67f731efcca71d2986ac9114fdf6be4cbfe23cdf2bf333cf600379aa7060b386e diff --git a/app-admin/mongosh-bin/metadata.xml b/app-admin/mongosh-bin/metadata.xml new file mode 100644 index 000000000000..2e57b644abfb --- /dev/null +++ b/app-admin/mongosh-bin/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ultrabug@gentoo.org</email> + <name>Alexys Jacob</name> + </maintainer> + <maintainer type="person" proxied="yes"> + <email>hydrapolic@gmail.com</email> + <name>Tomáš Mózes</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">mongodb-js/mongosh</remote-id> + </upstream> +</pkgmetadata> 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 000000000000..efad4f587482 --- /dev/null +++ b/app-admin/mongosh-bin/mongosh-bin-1.0.4.ebuild @@ -0,0 +1,37 @@ +# 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]" + +# 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 +} |