rusticprofile
LOW
maintainer l1a
0 votes
scanned 2026-08-24 21:24:32.067303
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: Ken Tobias <kentobias@gmail.com>
2
3
pkgname=rusticprofile
4
pkgver=0.2.30
5
pkgrel=1
6
pkgdesc="A local, per-machine scheduler and orchestrator for rustic backups"
7
arch=('x86_64' 'aarch64')
8
url="https://github.com/l1a/rusticprofile"
9
license=('GPL-3.0-or-later')
10
# rustic is a runtime dependency, not a build one: rusticprofile spawns it and owns none
11
# of the backup configuration itself.
12
depends=('gcc-libs' 'rustic')
13
makedepends=('cargo')
14
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
15
sha256sums=('4c147cfcd3bef6f520b3333d6ed414b4a98a5ab6957f63e5833aab48cfaea91e')
16
17
prepare() {
18
cd "$pkgname-$pkgver"
19
# Vendor and pin so the build is offline and reproducible, as the Rust packaging
20
# guidelines require.
21
export RUSTUP_TOOLCHAIN=stable
22
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
23
}
24
25
build() {
26
cd "$pkgname-$pkgver"
27
export RUSTUP_TOOLCHAIN=stable
28
export CARGO_TARGET_DIR=target
29
cargo build --frozen --release --all-features
30
31
# Completions are generated by the binary itself rather than shipped in the tree, so
32
# they can never drift from the CLI they describe.
33
./target/release/rusticprofile --completions bash > "$srcdir/rusticprofile.bash"
34
./target/release/rusticprofile --completions zsh > "$srcdir/_rusticprofile"
35
./target/release/rusticprofile --completions fish > "$srcdir/rusticprofile.fish"
36
}
37
38
check() {
39
cd "$pkgname-$pkgver"
40
export RUSTUP_TOOLCHAIN=stable
41
# The rustic-backed integration tests skip themselves with a printed notice when rustic
42
# is absent, so this stays hermetic in a clean chroot.
43
cargo test --frozen --all-features
44
}
45
46
package() {
47
cd "$pkgname-$pkgver"
48
install -Dm0755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
49
50
# The man page is committed, generated from docs/rusticprofile.1.md by `just man`, so no
51
# mandown dependency is needed at build time.
52
install -Dm0644 "docs/$pkgname.1" "$pkgdir/usr/share/man/man1/$pkgname.1"
53
54
install -Dm0644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
55
install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
56
57
install -Dm0644 "$srcdir/rusticprofile.bash" "$pkgdir/usr/share/bash-completion/completions/$pkgname"
58
install -Dm0644 "$srcdir/_rusticprofile" "$pkgdir/usr/share/zsh/site-functions/_$pkgname"
59
install -Dm0644 "$srcdir/rusticprofile.fish" "$pkgdir/usr/share/fish/vendor_completions.d/$pkgname.fish"
60
}
61
Changes since previous scan
--- PKGBUILD @ 2026-08-14 00:03+++ PKGBUILD @ 2026-08-24 21:24@@ -1,7 +1,7 @@ # Maintainer: Ken Tobias <kentobias@gmail.com> pkgname=rusticprofile-pkgver=0.2.24+pkgver=0.2.30 pkgrel=1 pkgdesc="A local, per-machine scheduler and orchestrator for rustic backups" arch=('x86_64' 'aarch64')@@ -12,7 +12,7 @@ depends=('gcc-libs' 'rustic') makedepends=('cargo') source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")-sha256sums=('d556aa5a2d8e332de90a4ae547077490601098615803a9779a274447d323ad25')+sha256sums=('4c147cfcd3bef6f520b3333d6ed414b4a98a5ab6957f63e5833aab48cfaea91e') prepare() { cd "$pkgname-$pkgver"Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-24 21:24:32 | Low | 1 |
| 2026-08-14 00:03:41 | Clean | 2 |
| 2026-08-13 19:26:43 | Low | 1 |
| 2026-08-13 15:26:23 | Low | 1 |
| 2026-08-12 00:27:08 | Clean | 2 |
| 2026-08-11 23:21:47 | Low | 1 |
| 2026-08-11 15:21:23 | Low | 1 |