sandwine-git
MEDIUM
maintainer dreieck
0 votes
scanned 2026-09-05 16:00:23.828148
Why flagged
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
Triggered rules
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:43
"${_pkgname}::git+https://${_githost}/${_gituser}/${_pyname}.git"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: dreieck (https://aur.archlinux.org/account/dreieck)
2
3
_pyname="sandwine"
4
_pkgname="${_pyname}"
5
pkgname="${_pkgname}-git"
6
pkgver=8.0.1+18.r492.20260830.f21231b
7
pkgrel=1
8
pkgdesc="A command-line tool to run Windows applications on GNU/Linux that offers more isolation than raw Wine and more convenience than raw bubblewrap. (Uses bubblewrap.)"
9
arch=(
10
'any'
11
)
12
_githost='github.com'
13
_gituser='hartwork'
14
#url="https://${_githost}/${_gituser}/${_pyname}"
15
url="https://pypi.org/project/${_pyname}/"
16
license=("GPL-3.0-or-later")
17
depends=(
18
'bubblewrap>=0.8.0'
19
'python>=3.9'
20
'python-coloredlogs>=15.0.1'
21
'wine'
22
)
23
makedepends=(
24
'git'
25
'python-build'
26
'python-installer'
27
'python-setuptools>=61.0.0'
28
'python-wheel'
29
)
30
optdepends=()
31
checkdepends=()
32
provides=(
33
"${_pkgname}=${pkgver}"
34
"python-${_pkgname}=${pkgver}"
35
"python-${_pkgname}-git=${pkgver}"
36
)
37
conflicts=(
38
"${_pkgname}"
39
"python-${_pkgname}"
40
)
41
42
source=(
43
"${_pkgname}::git+https://${_githost}/${_gituser}/${_pyname}.git"
44
)
45
sha256sums=(
46
'SKIP'
47
)
48
49
prepare() {
50
cd "${srcdir}/${_pkgname}"
51
git log > "${srcdir}/git.log"
52
}
53
54
pkgver() {
55
cd "${srcdir}/${_pkgname}"
56
57
_ver="$(git describe --tags | sed -E -e 's|^[vV]||' -e 's|\-g[0-9a-f]*$||' | tr '-' '+')"
58
_rev="$(git rev-list --count HEAD)"
59
_date="$(git log -1 --date=format:"%Y%m%d" --format="%ad")"
60
_hash="$(git rev-parse --short HEAD)"
61
62
if [ -z "${_ver}" ]; then
63
error "Version could not be determined."
64
return 1
65
else
66
printf '%s' "${_ver}.r${_rev}.${_date}.${_hash}"
67
fi
68
}
69
70
build() {
71
cd "${srcdir}/${_pkgname}"
72
printf '%s\n' " --> building ..."
73
python -m build --wheel --no-isolation
74
}
75
76
package() {
77
cd "${srcdir}/${_pkgname}"
78
printf '%s\n' " --> installing ..."
79
python -m installer --destdir="$pkgdir" --compile-bytecode=2 dist/*.whl
80
81
_docfiles=(
82
"${srcdir}/git.log"
83
README.md
84
sandwine_threat_model.png
85
)
86
_docdirs=()
87
_manfiles=()
88
_infofiles=()
89
_licensefiles=(
90
COPYING
91
)
92
printf '%s\n' " --> installing documentation ..."
93
for _docfile in "${_docfiles[@]}"; do
94
install -D -v -m644 "${_docfile}" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_docfile}")"
95
done
96
for _docdir in "${_docdirs[@]}"; do
97
cp -rv "${_docdir}" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_docdir}")"
98
done
99
for _manfile in "${_manfiles[@]}"; do
100
_section="$(basename "${_manfile}" .gz | sed -E -e 's|^.*\.([^.]*)$|\1|')"
101
install -D -v -m644 "docs/build/man/${_manfile}" "${pkgdir}/usr/share/man/man${_section}/$(basename "${_manfile}")"
102
done
103
for _infofile in "${_infofiles[@]}"; do
104
install -D -v -m644 "${_infofile}" "${pkgdir}/usr/share/info/$(basename "${_infofile}")"
105
done
106
printf '%s\n' " --> installing license ..."
107
for _licensefile in "${_licensefiles[@]}"; do
108
install -D -v -m644 "${_licensefile}" "${pkgdir}/usr/share/licenses/${pkgname}/$(basename "${_licensefile}")"
109
ln -svr "${pkgdir}/usr/share/licenses/${pkgname}/$(basename "${_licensefile}")" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_licensefile}")"
110
done
111
}
112
Changes since previous scan
--- PKGBUILD @ 2026-06-19 19:07+++ PKGBUILD @ 2026-09-05 16:00@@ -3,7 +3,7 @@ _pyname="sandwine" _pkgname="${_pyname}" pkgname="${_pkgname}-git"-pkgver=6.0.0+63.r414.20260517.f7ad9d4+pkgver=8.0.1+18.r492.20260830.f21231b pkgrel=1 pkgdesc="A command-line tool to run Windows applications on GNU/Linux that offers more isolation than raw Wine and more convenience than raw bubblewrap. (Uses bubblewrap.)" arch=(Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-05 16:00:23 | Medium | 1 |
| 2026-06-19 19:07:35 | Clean | 2 |
| 2026-06-18 16:11:54 | Medium | 1 |