bws
LOW
maintainer pngdeity
0 votes
scanned 2026-10-17 03:16:27.273275
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: pngdeity <pngdeity@tutanota.com>
2
_deploy_aur=true
3
4
_pkgname=bws
5
pkgname=$_pkgname
6
_githubname="bitwarden/sdk-sm"
7
_tag="bws-v\${pkgver}"
8
pkgver=2.1.0
9
pkgrel=1
10
pkgdesc="Bitwarden Secrets Manager CLI"
11
arch=('x86_64' 'aarch64')
12
url="https://github.com/bitwarden/sdk-sm"
13
license=('custom:Bitwarden-SDK-License-Agreement')
14
makedepends=('cargo' 'jq')
15
depends=('glibc' 'libgcc')
16
provides=('bws-bin')
17
conflicts=('bws-bin')
18
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/bws-v${pkgver}.tar.gz")
19
sha256sums=('3ea669ae57b1d3090f98ff2c09894b4da0bf2c700a4f8d79f70a0f96615cd9ed')
20
21
prepare() {
22
cd "sdk-sm-bws-v${pkgver}"
23
export RUSTUP_TOOLCHAIN=stable
24
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
25
}
26
27
build() {
28
cd "sdk-sm-bws-v${pkgver}"
29
export RUSTUP_TOOLCHAIN=stable
30
cargo build --frozen --release -p bws --message-format json > build.json
31
}
32
33
check() {
34
cd "sdk-sm-bws-v${pkgver}"
35
export RUSTUP_TOOLCHAIN=stable
36
cargo test --frozen -p bws
37
}
38
39
package() {
40
cd "sdk-sm-bws-v${pkgver}"
41
42
install -Dm755 "target/release/bws" "${pkgdir}/usr/bin/bws"
43
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
44
45
local _out_dir
46
_out_dir=$(jq -r --slurp \
47
'.[] | select(.reason == "build-script-executed")
48
| select(.package_id | contains("crates/bws")) | .out_dir' \
49
build.json)
50
install -Dm644 -t "${pkgdir}/usr/share/man/man1" "${_out_dir}"/manpages/*.1
51
}
52
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-17 03:16:27 | Low | 1 |
| 2026-10-17 00:21:55 | Clean | 2 |
| 2026-10-16 23:16:14 | Low | 1 |