vmdebootstrap-pureos
maintainer Auerhuhn
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from puri.sm, a non-whitelisted but project-associated host, used to build the package from its own source; this is normal AUR packaging behavior and not inherently dangerous.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from puri.sm, a non-whitelisted but project-associated host, used to build the package from its own source; this is normal AUR packaging behavior and not inherently dangerous.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
source=() URL on a non-standard host
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:35
"${_gitpkgname}-${pkgver}.tar.gz::https://source.puri.sm/Librem5/vmdeboostrap/-/archive/upstream/${pkgver}/vmdeboostrap-upstream-${pkgver}.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Claudia Pellegrino <aur ät cpellegrino.de>
2
# Contributor: Andreas Grapentin <andreas@grapentin.org>
3
4
pkgname=vmdebootstrap-pureos
5
_gitpkgname="${pkgname%-pureos}"
6
pkgver=1.11
7
pkgrel=3
8
pkgdesc='Bootstrap Debian into a (virtual machine) disk image. Custom version, required to build PureOS.'
9
arch=('any')
10
url='http://git.liw.fi/vmdebootstrap/'
11
license=('GPL-3.0-or-later')
12
depends=(
13
'debootstrap-pureos'
14
'distro-info'
15
'multipath-tools'
16
'parted'
17
'python'
18
'python-cliapp-fiw'
19
'qemu'
20
'syslinux'
21
)
22
makedepends=(
23
'python-build'
24
'python-installer'
25
'python-setuptools'
26
'python-sphinx'
27
'python-wheel'
28
)
29
provides=('vmdebootstrap')
30
conflicts=('vmdebootstrap')
31
options=('!debug' '!strip')
32
33
source=(
34
# `vmdeboostrap` with a missing `t` is a legit typo
35
"${_gitpkgname}-${pkgver}.tar.gz::https://source.puri.sm/Librem5/vmdeboostrap/-/archive/upstream/${pkgver}/vmdeboostrap-upstream-${pkgver}.tar.gz"
36
'default_arch.patch'
37
'fix_path.patch'
38
'0001-Don-t-enforce-U-EFI-on-arm64.patch'
39
'python_3_syntax.patch'
40
)
41
42
sha512sums=(
43
'4fe39f6b779167d1d1ae5e02bcb9dd51d6a7e192596fc8b9ea4b737e5f510b33ebd606b38e194cd1451e445a8985f59cdb348f7c553f1c343b38c92b06c87892'
44
'f4d553b0364275809fd19f1597a149f7f8c6d4b53a654011700b2bb44b12a7bce08370488a36b359d56bfe90329b727f3f018d5670aac8c6aa3635ee26313fe7'
45
'64e32ecf6ac9089433da632b6406f3ef6da242d2443574af5a6f7d2ecdc4cb2fa3e0e366c47f890123266650dd3ccdafb797f675c96d5035aa4bd40472a7ed3c'
46
'c023215ca973d198e9067c4126252f9f9402235d22ae9d033df43fe0bc995df033620301b6ab0790964e0cd24d0d3f9bf88b2e806c0c85216dd27cf1b51775d4'
47
'1458c0c0f915ca31f6e5c4cd4e103c831ee44d82bbecdee6e6116316dd780fef2232d4160478b8f33a14afd9ccf27c36b1a2cfaf6f46da93023f8b6c5973affe'
48
)
49
50
prepare() {
51
# Fix typo and remove the `upstream` part
52
mv -v "vmdeboostrap-upstream-${pkgver}" \
53
"${_gitpkgname}-${pkgver}"
54
cd "${_gitpkgname}-${pkgver}"
55
patch -p1 < ../default_arch.patch
56
patch -p1 < ../fix_path.patch
57
patch -p1 < ../0001-Don-t-enforce-U-EFI-on-arm64.patch
58
patch -p1 < ../python_3_syntax.patch
59
}
60
61
build() {
62
cd "${_gitpkgname}-${pkgver}"
63
python -m build --wheel --no-isolation
64
make -C man man
65
}
66
67
package() {
68
cd "${_gitpkgname}-${pkgver}"
69
python -I -m installer --destdir="${pkgdir}" dist/*.whl
70
71
echo >&2 'Packaging the license'
72
install -D -m 644 COPYING \
73
"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
74
75
echo >&2 'Packaging the README'
76
install -D -m 644 README \
77
"${pkgdir}"/usr/share/doc/${pkgname}/README
78
79
echo >&2 'Packaging the manual'
80
install -D -m 644 -t "${pkgdir}/usr/share/man/man8" \
81
man/_build/man/vmdebootstrap.8
82
}
83
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |