cloud-image-inspector
LOW
maintainer Giovani_Geek
0 votes
scanned 2026-10-31 05:57:59.662655
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
# shellcheck disable=SC2034,SC2154,SC2164
2
# Maintainer: Energetix/Dark Nebula <https://github.com/Jobanny-Friki>
3
4
pkgname=cloud-image-inspector
5
pkgver=0.1.0
6
pkgrel=1
7
_tag=v$pkgver
8
_srcdir="cloud-image-inspector-$pkgver"
9
pkgdesc="Read qcow2 and raw cloud disk images without booting or mounting them: OS, login shells, sudo/doas, init system, sshd and cloud-init facts, plus ls/cat/export of files inside"
10
arch=('x86_64')
11
url="https://github.com/virtainer/cloud-image-inspector"
12
license=('Apache-2.0')
13
depends=('gcc-libs')
14
makedepends=('cargo')
15
source=("$pkgname-$pkgver.tar.gz::https://github.com/virtainer/cloud-image-inspector/archive/refs/tags/$_tag.tar.gz")
16
sha256sums=('28ac3ade6e4ef17d38b9b2be4171afdf84772fcc750187b6be34d7de64d6bbfc')
17
18
build() {
19
cd "$_srcdir"
20
# rust-toolchain.toml fija 1.95.0; se usa el toolchain estable del sistema
21
export RUSTUP_TOOLCHAIN=stable
22
export RUSTFLAGS="$RUSTFLAGS --remap-path-prefix=$srcdir=/build"
23
cargo build --release --locked
24
}
25
26
check() {
27
cd "$_srcdir"
28
export RUSTUP_TOOLCHAIN=stable
29
export RUSTFLAGS="$RUSTFLAGS --remap-path-prefix=$srcdir=/build"
30
cargo test --release --locked
31
}
32
33
package() {
34
cd "$_srcdir"
35
install -Dm755 target/release/cloud-image-inspector "$pkgdir/usr/bin/cloud-image-inspector"
36
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
37
}
38
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-31 05:57:59 | Low | 1 |