mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
app-admin/bitwarden-cli-bin: prebuilt CLI binary for Bit/Vaultwarden
initial 2024.2.0 Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
This commit is contained in:
1
app-admin/bitwarden-cli-bin/Manifest
Normal file
1
app-admin/bitwarden-cli-bin/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST bw-linux-2024.2.0.zip 32968695 BLAKE2B 808dbd4965cc26b3880bd541bc4c3627ed6b07233bb3eb62c76c5034ba734c6211c1fc907309f71d8dcfd993a61ba0bcdd049dc052c477cb43e7d4452929fe31 SHA512 80fa0ab96bf291ed5008d5c01d00eebf950e72b8c21184be3df1018ba33d33bac038b4410e17123096113642372b8013bdde0605473449cec5c69c418fa2e3c5
|
||||||
@@ -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
|
||||||
|
}
|
||||||
15
app-admin/bitwarden-cli-bin/metadata.xml
Normal file
15
app-admin/bitwarden-cli-bin/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>me@rahil.rocks</email>
|
||||||
|
<name>Rahil Bhimjiani</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">bitwarden/clients</remote-id>
|
||||||
|
<bugs-to>https://github.com/bitwarden/clients/issues</bugs-to>
|
||||||
|
<doc>https://github.com/bitwarden/clients/tree/main/apps/cli</doc>
|
||||||
|
<doc>https://contributing.bitwarden.com/getting-started/clients/cli/</doc>
|
||||||
|
<doc>https://bitwarden.com/help/cli/</doc>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
Reference in New Issue
Block a user