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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CA710158041 for ; Mon, 26 Feb 2024 16:30:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4CBB8E2B2A; Mon, 26 Feb 2024 16:30:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 31C5DE2B2A for ; Mon, 26 Feb 2024 16:30:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 46B27340906 for ; Mon, 26 Feb 2024 16:30:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A73A114EA for ; Mon, 26 Feb 2024 16:30:35 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1708926432.5f7bddeb202efe247732b216b76b43046cd8d168.ceamac@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-admin/bitwarden-cli-bin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-admin/bitwarden-cli-bin/Manifest app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.0.ebuild app-admin/bitwarden-cli-bin/metadata.xml X-VCS-Directories: app-admin/bitwarden-cli-bin/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 5f7bddeb202efe247732b216b76b43046cd8d168 X-VCS-Branch: master Date: Mon, 26 Feb 2024 16:30:35 +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: 338eca92-3a90-42cd-b593-987bc66d675a X-Archives-Hash: 904c45ae32eabf8fd82d0c90be287ffa commit: 5f7bddeb202efe247732b216b76b43046cd8d168 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sun Feb 25 01:30:45 2024 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Mon Feb 26 05:47:12 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5f7bddeb app-admin/bitwarden-cli-bin: prebuilt CLI binary for Bit/Vaultwarden initial 2024.2.0 Signed-off-by: Rahil Bhimjiani rahil.rocks> app-admin/bitwarden-cli-bin/Manifest | 1 + .../bitwarden-cli-bin-2024.2.0.ebuild | 34 ++++++++++++++++++++++ app-admin/bitwarden-cli-bin/metadata.xml | 15 ++++++++++ 3 files changed, 50 insertions(+) diff --git a/app-admin/bitwarden-cli-bin/Manifest b/app-admin/bitwarden-cli-bin/Manifest new file mode 100644 index 0000000000..19b13d6396 --- /dev/null +++ b/app-admin/bitwarden-cli-bin/Manifest @@ -0,0 +1 @@ +DIST bw-linux-2024.2.0.zip 32968695 BLAKE2B 808dbd4965cc26b3880bd541bc4c3627ed6b07233bb3eb62c76c5034ba734c6211c1fc907309f71d8dcfd993a61ba0bcdd049dc052c477cb43e7d4452929fe31 SHA512 80fa0ab96bf291ed5008d5c01d00eebf950e72b8c21184be3df1018ba33d33bac038b4410e17123096113642372b8013bdde0605473449cec5c69c418fa2e3c5 diff --git a/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.0.ebuild b/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.0.ebuild new file mode 100644 index 0000000000..1469b0215f --- /dev/null +++ b/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit shell-completion + +DESCRIPTION="Precompiled CLI frontend which connects to Bitwarden comapatible servers" +HOMEPAGE="https://github.com/bitwarden/clients/tree/main/apps/cli" + +SRC_URI=" + https://github.com/bitwarden/clients/releases/download/cli-v${PV}/bw-linux-${PV}.zip +" + +S="${WORKDIR}" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +# non-stripped binary is of 99M but works +# stripped bianry is of 44M but doesnt work +RESTRICT='strip' + +RDEPEND="!app-admin/bitwarden-cli" +QA_PRESTRIPPED="usr/bin/bw" + +src_compile() { + ./bw completion --shell zsh > bw.zsh +} + +src_install() { + dobin bw + newzshcomp bw.zsh _bw +} diff --git a/app-admin/bitwarden-cli-bin/metadata.xml b/app-admin/bitwarden-cli-bin/metadata.xml new file mode 100644 index 0000000000..120e3e571a --- /dev/null +++ b/app-admin/bitwarden-cli-bin/metadata.xml @@ -0,0 +1,15 @@ + + + + + me@rahil.rocks + Rahil Bhimjiani + + + bitwarden/clients + https://github.com/bitwarden/clients/issues + https://github.com/bitwarden/clients/tree/main/apps/cli + https://contributing.bitwarden.com/getting-started/clients/cli/ + https://bitwarden.com/help/cli/ + +