From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 finch.gentoo.org (Postfix) with ESMTPS id CE2E415827B for ; Tue, 26 Aug 2025 08:12:56 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id B73B1340FA3 for ; Tue, 26 Aug 2025 08:12:56 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A0DB511056E; Tue, 26 Aug 2025 08:12:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 9783A11056E for ; Tue, 26 Aug 2025 08:12:34 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 54E2E340F39 for ; Tue, 26 Aug 2025 08:12:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BAAAC34EF for ; Tue, 26 Aug 2025 08:12:31 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1756134190.6f2102f6cc78be25e6b302648cdf6266ba11fd4f.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-admin/rbw/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-admin/rbw/Manifest app-admin/rbw/rbw-1.14.0.ebuild X-VCS-Directories: app-admin/rbw/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 6f2102f6cc78be25e6b302648cdf6266ba11fd4f X-VCS-Branch: master Date: Tue, 26 Aug 2025 08:12:31 +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: 35f1aaa0-954a-4531-b12c-2b102413183c X-Archives-Hash: 73537e052a3cc8f876033b9d00dd5781 commit: 6f2102f6cc78be25e6b302648cdf6266ba11fd4f Author: Takuya Wakazono gmail com> AuthorDate: Mon Aug 25 15:03:10 2025 +0000 Commit: David Roman gmail com> CommitDate: Mon Aug 25 15:03:10 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6f2102f6 app-admin/rbw: add 1.14.0 Signed-off-by: Takuya Wakazono gmail.com> app-admin/rbw/Manifest | 2 ++ app-admin/rbw/rbw-1.14.0.ebuild | 67 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/app-admin/rbw/Manifest b/app-admin/rbw/Manifest index 100c9d855a..8389016e52 100644 --- a/app-admin/rbw/Manifest +++ b/app-admin/rbw/Manifest @@ -1,2 +1,4 @@ DIST rbw-1.13.2-crates.tar.xz 21883868 BLAKE2B 5f2fa098bbc6208874740c4415297d5c347f7507bbead4059db57cff3871ed21f206e55a41353f5bd0c88c24d00478876d04c2de90b773fbbd78d7c6acab0c21 SHA512 1fb0d2147b5b76d3a5144e387050fa83a3003462d7ba4aff8326cbae783ceda41543d358e5476924a1093883010e7d03bbc7558e21cefdcf92088e4bfdc89274 DIST rbw-1.13.2.tar.gz 114013 BLAKE2B 7d5abc46807ff7255dec555fdc66e02b679703f705f1857a4ba6323cca0db4e005fb26b88cffd17002b41dcf5dfabf742e38295d45f88272f9f75642976119ad SHA512 15ade846222db380907f52d2b7494c24a3e397a91e7ffdff60a17f874f90734ca282265c247d6229fec0936a25b63dfe8add072fb29f5c045d7c7dfd44f865dc +DIST rbw-1.14.0-crates.tar.xz 20219004 BLAKE2B d4d035ce862ce0f99ba247783acccb74b88b45b67d13439a98bfd5471acdab432262940afcb11ad3a512d8fd3197b1811e50ea462eb7d0efe61e35d09294df40 SHA512 c16627fc7598a65a3dd3b0a415664f4146fee1ea069fddd639e307da3f42ba0719a2328e4bfbb2a1648758271abe7c200b65bfc62ac8a4af82d8fd90e6ec501c +DIST rbw-1.14.0.tar.gz 124487 BLAKE2B 02e354cc792049a94856b9e622b143435e0ea77ebabc9c5d6b3958cf80ea2caef615a0f12174faf68c665d11c0ff9a838a5767136ab96fdd031cd4ef6107a354 SHA512 3f077e4f0c860eb41d08af6ba9396df2b79e3dec255ffc52946e2a83eefb7838fd19281b0bd38d3db7384ecd355a92bd58078b83525e4b782c5e0edddd5653bf diff --git a/app-admin/rbw/rbw-1.14.0.ebuild b/app-admin/rbw/rbw-1.14.0.ebuild new file mode 100644 index 0000000000..db9bf35d60 --- /dev/null +++ b/app-admin/rbw/rbw-1.14.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" +RUST_MIN_VER="1.82.0" + +inherit cargo shell-completion + +DESCRIPTION="Unofficial Bitwarden CLI" +HOMEPAGE="https://git.tozt.net/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 +}