aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucio Sauer <watermanpaint@posteo.net>2024-07-29 11:40:25 +0200
committerLucio Sauer <watermanpaint@posteo.net>2024-07-29 12:23:15 +0200
commitec7fac377a3be215edec01d00d34734d8b847166 (patch)
tree49bfcb75d321e48016b49d8a96c6b4e42114eac4 /app-admin
parentapp-admin/rbw: sync live ebuild (diff)
downloadguru-ec7fac377a3be215edec01d00d34734d8b847166.tar.gz
guru-ec7fac377a3be215edec01d00d34734d8b847166.tar.bz2
guru-ec7fac377a3be215edec01d00d34734d8b847166.zip
app-admin/rbw: add 1.12.1
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/rbw/Manifest1
-rw-r--r--app-admin/rbw/rbw-1.12.1.ebuild372
2 files changed, 373 insertions, 0 deletions
diff --git a/app-admin/rbw/Manifest b/app-admin/rbw/Manifest
index d2cf78d49..222458d97 100644
--- a/app-admin/rbw/Manifest
+++ b/app-admin/rbw/Manifest
@@ -186,6 +186,7 @@ DIST rand_chacha-0.3.1.crate 15251 BLAKE2B 645771b2c3e274f085e0837a20306b1d59f6e
DIST rand_core-0.6.4.crate 22666 BLAKE2B 8b6b66d50aade877f2779c006f8038db450f808c66d73d79efa66c4178dc03db06f12201bf0e7930181c4b0f4030c49b20cce6eb7839763cf2217cad9710789a SHA512 36c67eb845aa2ccca49d6d680f28d418229bbc5a050729e487fe6b9f9f384fdd7b8d67fc6508b90b79ffb3c26688e72feceb3ecae57d3d7f59338aeb62296f79
DIST rbw-1.11.1.tar.gz 109620 BLAKE2B 23c16ac5b375d1dad8a63d3920e31678aa5c3d8019cf6cd281167c01a183406ec8b1c6a8ebdc5051b17fa050b445c95561c03698390ce43a66d5fcca5edf995f SHA512 5cc24365c7f0f5d2d7a345b96b3a43799badee24773fd28d05b195c5468f0e2e9dee6e554644333ddd84d3d1eb951dcf03ed73f9437f08ea9d9bca844345db46
DIST rbw-1.12.0.tar.gz 110314 BLAKE2B b5de269459b021ca90dbe8117519ba209613a6da9f0390c076c755d5756103fc4b253856aa03e98cbea08ca158fa47811cf5a519bf1aee5333558c1ef18964bb SHA512 031f0b74b9743e4df2a49c188042d404da6b283915c77ebb85519308e0c3d2830bcbfe346a12fd2caa4ff1d5d1dc91f53e4339e724461b6afc43bb6750d493e7
+DIST rbw-1.12.1.tar.gz 110322 BLAKE2B 0a138cbfc57cea71f5c17a2b5e1c774e7f0f8d8b124f50a6209436f4024992bb0def6d16903a3cc8272004d456e077dbddf087f84be8e94fda4d36e148508022 SHA512 b1d0994d942c0a09b4ceec1d7e48ce0f48fee776c495d2ee05b9824ae5fa36e45708d2deff45c29289da0cf3d153be056169712be1a724600558b875cd1aa0e4
DIST redox_syscall-0.5.2.crate 23957 BLAKE2B 6261df25a59af5119a21d31fc3b6a8800bb1783cf2fd63a5524d48d0b187f5f2e65ebbdec00d9282adf110ba8f307d4ceb154bf029a0c6a26e8a887fc722b2d7 SHA512 b7e39a08e220153370449cec7b058c2dbc4916ff7be01b34658e1793035323ecc28f40712194cb9bfc9b863e4bb316e58662721eb0e54f68f09438bd880ea032
DIST redox_syscall-0.5.3.crate 23830 BLAKE2B 0a38235ec277144f0c3e7bcb1d273c7f357d85aef33dbd06328ef16bab7df0a07b523431590899ea58d55e8e1d84c32392478530200cca3a9483e8a47b29e233 SHA512 777d1208004b7756887d6c5745ea408972670e59430e1d299d01a463ae41b98e0920ee77aefef8755fc949d4799dca679afaaae9c1a7d060f76f69af5b90427e
DIST redox_users-0.4.5.crate 15514 BLAKE2B 9fc9d9c4875ed711efb75fb08f345b5f4f0667717d37710143742e48251a709c53760bcbc31ce13e6432672f9417be429c38c2e77a6b786887841714290a1194 SHA512 7a25cc91c9d1bfe537f20b83255990681d136ced5aaa7aa0cdb1b1fc024ba36aa1fb75c335c768a85ee078019a9ca2460efd911cad8ae6fe8b0385fb171aa4b4
diff --git a/app-admin/rbw/rbw-1.12.1.ebuild b/app-admin/rbw/rbw-1.12.1.ebuild
new file mode 100644
index 000000000..acae6825d
--- /dev/null
+++ b/app-admin/rbw/rbw-1.12.1.ebuild
@@ -0,0 +1,372 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+ addr2line@0.22.0
+ adler@1.0.2
+ aes@0.8.4
+ aho-corasick@1.1.3
+ anstream@0.6.15
+ anstyle-parse@0.2.5
+ anstyle-query@1.1.1
+ anstyle-wincon@3.0.4
+ anstyle@1.0.8
+ anyhow@1.0.86
+ argon2@0.5.3
+ arrayvec@0.7.4
+ async-trait@0.1.81
+ autocfg@1.3.0
+ axum-core@0.4.3
+ axum@0.7.5
+ backtrace@0.3.73
+ base32@0.5.1
+ base64@0.22.1
+ base64ct@1.6.0
+ bitflags@1.3.2
+ bitflags@2.6.0
+ blake2@0.10.6
+ block-buffer@0.10.4
+ block-padding@0.3.3
+ block@0.1.6
+ bumpalo@3.16.0
+ byteorder@1.5.0
+ bytes@1.6.1
+ calloop-wayland-source@0.3.0
+ calloop@0.13.0
+ cbc@0.1.2
+ cc@1.1.6
+ cfg-if@1.0.0
+ cipher@0.4.4
+ clap@4.5.11
+ clap_builder@4.5.11
+ clap_complete@4.5.11
+ clap_derive@4.5.11
+ clap_lex@0.7.2
+ clipboard-win@3.1.1
+ colorchoice@1.0.2
+ concurrent-queue@2.5.0
+ const-oid@0.9.6
+ copypasta@0.10.1
+ core-foundation-sys@0.8.6
+ core-foundation@0.9.4
+ cpufeatures@0.2.12
+ crossbeam-utils@0.8.20
+ crypto-common@0.1.6
+ cursor-icon@1.1.0
+ daemonize@0.5.0
+ data-encoding@2.6.0
+ der@0.7.9
+ digest@0.10.7
+ directories@5.0.0
+ dirs-sys@0.4.0
+ dlib@0.5.2
+ downcast-rs@1.2.1
+ env_filter@0.1.2
+ env_logger@0.11.5
+ errno@0.3.9
+ fastrand@2.1.0
+ fnv@1.0.7
+ form_urlencoded@1.2.1
+ futures-channel@0.3.30
+ futures-core@0.3.30
+ futures-executor@0.3.30
+ futures-io@0.3.30
+ futures-macro@0.3.30
+ futures-sink@0.3.30
+ futures-task@0.3.30
+ futures-util@0.3.30
+ futures@0.3.30
+ generic-array@0.14.7
+ gethostname@0.4.3
+ getrandom@0.2.15
+ gimli@0.29.0
+ heck@0.5.0
+ hermit-abi@0.3.9
+ hermit-abi@0.4.0
+ hkdf@0.12.4
+ hmac@0.12.1
+ http-body-util@0.1.2
+ http-body@1.0.1
+ http@1.1.0
+ httparse@1.9.4
+ httpdate@1.0.3
+ humantime@2.1.0
+ hyper-rustls@0.27.2
+ hyper-util@0.1.6
+ hyper@1.4.1
+ idna@0.5.0
+ inout@0.1.3
+ ipnet@2.9.0
+ is-docker@0.2.0
+ is-terminal@0.4.12
+ is-wsl@0.4.0
+ is_terminal_polyfill@1.70.1
+ itoa@1.0.11
+ js-sys@0.3.69
+ lazy-bytes-cast@5.0.1
+ lazy_static@1.5.0
+ libc@0.2.155
+ libloading@0.8.5
+ libm@0.2.8
+ libredox@0.1.3
+ linux-raw-sys@0.4.14
+ lock_api@0.4.12
+ log@0.4.22
+ mach2@0.4.2
+ malloc_buf@0.0.6
+ matchit@0.7.3
+ memchr@2.7.4
+ memmap2@0.9.4
+ mime@0.3.17
+ miniz_oxide@0.7.4
+ mio@1.0.1
+ num-bigint-dig@0.8.4
+ num-integer@0.1.46
+ num-iter@0.1.45
+ num-traits@0.2.19
+ objc-foundation@0.1.1
+ objc@0.2.7
+ objc_id@0.1.1
+ object@0.36.2
+ once_cell@1.19.0
+ open@5.3.0
+ openssl-probe@0.1.5
+ parking_lot@0.12.3
+ parking_lot_core@0.9.10
+ password-hash@0.5.0
+ paste@1.0.15
+ pathdiff@0.2.1
+ pbkdf2@0.12.2
+ pem-rfc7468@0.7.0
+ percent-encoding@2.3.1
+ pin-project-internal@1.1.5
+ pin-project-lite@0.2.14
+ pin-project@1.1.5
+ pin-utils@0.1.0
+ pkcs1@0.7.5
+ pkcs8@0.10.2
+ pkg-config@0.3.30
+ polling@3.7.2
+ ppv-lite86@0.2.17
+ proc-macro2@1.0.86
+ quick-xml@0.34.0
+ quinn-proto@0.11.3
+ quinn-udp@0.5.4
+ quinn@0.11.2
+ quote@1.0.36
+ rand@0.8.5
+ rand_chacha@0.3.1
+ rand_core@0.6.4
+ redox_syscall@0.5.3
+ redox_users@0.4.5
+ regex-automata@0.4.7
+ regex-syntax@0.8.4
+ regex@1.10.5
+ region@3.0.2
+ reqwest@0.12.5
+ ring@0.17.8
+ rmp@0.8.14
+ rmpv@1.3.0
+ rsa@0.9.6
+ rustc-demangle@0.1.24
+ rustc-hash@1.1.0
+ rustix@0.38.34
+ rustls-native-certs@0.7.1
+ rustls-pemfile@2.1.2
+ rustls-pki-types@1.7.0
+ rustls-webpki@0.102.6
+ rustls@0.23.12
+ rustversion@1.0.17
+ ryu@1.0.18
+ schannel@0.1.23
+ scoped-tls@1.0.1
+ scopeguard@1.2.0
+ security-framework-sys@2.11.1
+ security-framework@2.11.1
+ serde@1.0.204
+ serde_derive@1.0.204
+ serde_json@1.0.120
+ serde_path_to_error@0.1.16
+ serde_repr@0.1.19
+ serde_urlencoded@0.7.1
+ sha1@0.10.6
+ sha2@0.10.8
+ signal-hook-registry@1.4.2
+ signature@2.2.0
+ slab@0.4.9
+ smallvec@1.13.2
+ smawk@0.3.2
+ smithay-client-toolkit@0.19.2
+ smithay-clipboard@0.7.2
+ socket2@0.5.7
+ spin@0.9.8
+ spki@0.7.3
+ strsim@0.11.1
+ subtle@2.6.1
+ syn@2.0.72
+ sync_wrapper@0.1.2
+ sync_wrapper@1.0.1
+ tempfile@3.10.1
+ terminal_size@0.3.0
+ textwrap@0.16.1
+ thiserror-impl@1.0.63
+ thiserror@1.0.63
+ tinyvec@1.8.0
+ tinyvec_macros@0.1.1
+ tokio-macros@2.4.0
+ tokio-rustls@0.26.0
+ tokio-stream@0.1.15
+ tokio-tungstenite@0.23.1
+ tokio@1.39.2
+ totp-lite@2.0.1
+ tower-layer@0.3.2
+ tower-service@0.3.2
+ tower@0.4.13
+ tracing-attributes@0.1.27
+ tracing-core@0.1.32
+ tracing@0.1.40
+ try-lock@0.2.5
+ tungstenite@0.23.0
+ typenum@1.17.0
+ unicode-bidi@0.3.15
+ unicode-ident@1.0.12
+ unicode-linebreak@0.1.5
+ unicode-normalization@0.1.23
+ unicode-width@0.1.13
+ untrusted@0.9.0
+ url@2.5.2
+ urlencoding@2.1.3
+ utf-8@0.7.6
+ utf8parse@0.2.2
+ uuid@1.10.0
+ version_check@0.9.5
+ want@0.3.1
+ wasi@0.11.0+wasi-snapshot-preview1
+ wasm-bindgen-backend@0.2.92
+ wasm-bindgen-futures@0.4.42
+ wasm-bindgen-macro-support@0.2.92
+ wasm-bindgen-macro@0.2.92
+ wasm-bindgen-shared@0.2.92
+ wasm-bindgen@0.2.92
+ wayland-backend@0.3.6
+ wayland-client@0.31.5
+ wayland-csd-frame@0.3.0
+ wayland-cursor@0.31.5
+ wayland-protocols-wlr@0.3.3
+ wayland-protocols@0.32.3
+ wayland-scanner@0.31.4
+ wayland-sys@0.31.4
+ web-sys@0.3.69
+ winapi-i686-pc-windows-gnu@0.4.0
+ winapi-x86_64-pc-windows-gnu@0.4.0
+ winapi@0.3.9
+ windows-sys@0.45.0
+ windows-sys@0.48.0
+ windows-sys@0.52.0
+ windows-targets@0.42.2
+ windows-targets@0.48.5
+ windows-targets@0.52.6
+ windows_aarch64_gnullvm@0.42.2
+ windows_aarch64_gnullvm@0.48.5
+ windows_aarch64_gnullvm@0.52.6
+ windows_aarch64_msvc@0.42.2
+ windows_aarch64_msvc@0.48.5
+ windows_aarch64_msvc@0.52.6
+ windows_i686_gnu@0.42.2
+ windows_i686_gnu@0.48.5
+ windows_i686_gnu@0.52.6
+ windows_i686_gnullvm@0.52.6
+ windows_i686_msvc@0.42.2
+ windows_i686_msvc@0.48.5
+ windows_i686_msvc@0.52.6
+ windows_x86_64_gnu@0.42.2
+ windows_x86_64_gnu@0.48.5
+ windows_x86_64_gnu@0.52.6
+ windows_x86_64_gnullvm@0.42.2
+ windows_x86_64_gnullvm@0.48.5
+ windows_x86_64_gnullvm@0.52.6
+ windows_x86_64_msvc@0.42.2
+ windows_x86_64_msvc@0.48.5
+ windows_x86_64_msvc@0.52.6
+ winreg@0.52.0
+ x11-clipboard@0.9.2
+ x11rb-protocol@0.13.1
+ x11rb@0.13.1
+ xcursor@0.3.6
+ xkeysym@0.2.1
+ zeroize@1.8.1
+"
+
+inherit cargo optfeature shell-completion
+
+DESCRIPTION="Unofficial Bitwarden CLI"
+HOMEPAGE="https://git.tozt.net/rbw"
+
+if [[ ${PV} = *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.tozt.net/rbw"
+else
+ SRC_URI="https://git.tozt.net/rbw/snapshot/${P}.tar.gz
+ ${CARGO_CRATE_URIS}"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 BSD Boost-1.0 ISC MIT Unicode-DFS-2016"
+# Manually added crate licenses
+LICENSE+=" openssl"
+SLOT="0"
+
+RDEPEND="app-crypt/pinentry"
+BDEPEND=">=virtual/rust-1.75.0"
+
+PATCHES="${FILESDIR}"/${PN}-1.11.1-gen-completions.patch
+
+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
+}
+
+pkg_postinst() {
+ if [[ "${REPLACING_VERSIONS%-r*}" = '1.11.1' ]]; then
+ elog "If you were affected by issue #163 (getting messages like failed to"
+ elog "decrypt encrypted secret: invalid mac when doing any operations on your"
+ elog "vault), you will need to rbw sync after upgrading in order to update"
+ elog "your local vault with the necessary new data."
+ fi
+ # copypasta crate provides wayland clipboard support via dlopen calls against
+ # libwayland-client.so
+ optfeature "Wayland clipboard support" dev-libs/wayland
+}