app-admin/rbw: add 1.15.0

Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono
2026-01-07 00:57:44 +09:00
parent ac1f8dfe98
commit ab6f3ad2c2
3 changed files with 75 additions and 4 deletions

View File

@@ -2,3 +2,5 @@ DIST rbw-1.14.0-crates.tar.xz 20219004 BLAKE2B d4d035ce862ce0f99ba247783acccb74b
DIST rbw-1.14.0.tar.gz 124487 BLAKE2B 02e354cc792049a94856b9e622b143435e0ea77ebabc9c5d6b3958cf80ea2caef615a0f12174faf68c665d11c0ff9a838a5767136ab96fdd031cd4ef6107a354 SHA512 3f077e4f0c860eb41d08af6ba9396df2b79e3dec255ffc52946e2a83eefb7838fd19281b0bd38d3db7384ecd355a92bd58078b83525e4b782c5e0edddd5653bf
DIST rbw-1.14.1-crates.tar.xz 20241568 BLAKE2B a0a39143d525ed29d522355b85a8d42a4a99fdd7d40f9f378eb01dbfea86b1e06162e8bba4ce6f36012c5c99aa653011eebf4af77f305f77742e2a28caa4c3f0 SHA512 43793a3c73170c8da2cbcd130b9bf32db2120aa5d71d87af947188781d6dea036257614f6d2375e73b37b1745f22f61fa8c11ef1d55c54f2964e7ecd77219964
DIST rbw-1.14.1.tar.gz 124422 BLAKE2B c3c84a435282ed86165afe3312533e3aedd91e3f095f8c0596d5c09ce0b8606b6a0cc2c5e1f1ea2daa0b4f5ed4f3d15e06d491c6292af610c48389409b373874 SHA512 e1d6906a1e24da1718a25a6584aaecb1d67824109fd57164c466cdf28c526f875cda965f155e76923081bb37137d91602ad390ed6b4360c4c517c32e09432df4
DIST rbw-1.15.0-crates.tar.xz 20661592 BLAKE2B 09b2f63d0d58d7592099c85fdaa7c6edf18e407bcf24c11a3333ea7dcee96e6a9d0960f16babdc743659b2291239a81dc71a9688a4fd1cc3102e6eb597d67aa1 SHA512 5ce05d72a0b356d8105a2017e915f57b88483040fd79f29c86358b4b0dc02d5097b11bab2af68e6d57d3b5556ded7c076e85ebaaeb8d685df6794bb2c98a7993
DIST rbw-1.15.0.tar.gz 127920 BLAKE2B aa5be5e99f36325b020bda022afb77343cac7ec1f1fb8d3fbcb6dfa7ae9954f1b623538bee2b61f960b58438345a79191affdab6b4727df206056b00749a72d7 SHA512 8ec109c62ced929db36aca8b828d01c1fe46ca5b6a7970fdf9c1e4566fa8c7873c076fc8e0500ba3afbe6d1fd91d0e84177eac452a7fb9ec86451b8b2e08d2d6

View File

@@ -0,0 +1,67 @@
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
"
RUST_MIN_VER="1.85.0"
inherit cargo shell-completion
DESCRIPTION="Unofficial Bitwarden CLI"
HOMEPAGE="https://github.com/doy/rbw"
if [[ ${PV} = *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/doy/rbw.git"
else
SRC_URI="
https://github.com/doy/rbw/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
https://github.com/pastalian/distfiles/releases/download/${P}/${P}-crates.tar.xz
"
KEYWORDS="~amd64"
fi
LICENSE="MIT"
# Dependent crate licenses
LICENSE+=" Apache-2.0 BSD Boost-1.0 ISC MIT MPL-2.0 Unicode-3.0"
# Manually added crate licenses
LICENSE+=" openssl"
SLOT="0"
RDEPEND="app-crypt/pinentry"
QA_FLAGS_IGNORED="
usr/bin/rbw
usr/bin/rbw-agent
"
src_unpack() {
if [[ ${PV} = *9999* ]]; then
git-r3_src_unpack
cargo_live_src_unpack
else
cargo_src_unpack
fi
}
src_compile() {
# cc-rs picks up CFLAGS from the env
export CFLAGS
cargo_src_compile
}
src_install() {
cargo_src_install
local comp DOCS="CHANGELOG.md README.md"
for comp in bash fish zsh; do
"$(cargo_target_dir)"/rbw gen-completions ${comp} > rbw.${comp} || \
die "Failed to generate completions for ${comp}."
done
newbashcomp rbw.bash rbw
dofishcomp rbw.fish
newzshcomp rbw.zsh _rbw
einstalldocs
}

View File

@@ -1,14 +1,16 @@
# Copyright 2021-2025 Gentoo Authors
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
RUST_MIN_VER="1.75.0"
CRATES="
"
RUST_MIN_VER="1.85.0"
inherit cargo shell-completion
DESCRIPTION="Unofficial Bitwarden CLI"
HOMEPAGE="https://git.tozt.net/rbw"
HOMEPAGE="https://github.com/doy/rbw"
if [[ ${PV} = *9999* ]]; then
inherit git-r3
@@ -23,7 +25,7 @@ fi
LICENSE="MIT"
# Dependent crate licenses
LICENSE+=" Apache-2.0 BSD Boost-1.0 ISC MIT Unicode-3.0"
LICENSE+=" Apache-2.0 BSD Boost-1.0 ISC MIT MPL-2.0 Unicode-3.0"
# Manually added crate licenses
LICENSE+=" openssl"
SLOT="0"