python-aardwolf-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:64
"${_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="aardwolf"
4
_pkgname="python-${_pyname}"
5
pkgname="${_pkgname}-git"
6
pkgver=0.2.14+14.r168.20260816.115f1cc
7
pkgrel=1
8
pkgdesc="Asynchronous RDP protocol implementation for python."
9
arch=(
10
'aarch64'
11
'armv6h'
12
'armv7h'
13
'armv8h'
14
'i686'
15
'x86_64'
16
)
17
_githost='github.com'
18
_gituser='skelsec'
19
url="https://${_githost}/${_gituser}/${_pyname}"
20
license=("MIT")
21
depends=(
22
'gcc-libs'
23
'glibc'
24
'python>=3.7'
25
'python-unicrypto>=0.0.10'
26
'python-asyauth>=0.0.13'
27
'python-asysocks'
28
'python-tqdm'
29
'python-colorama'
30
'python-asn1crypto'
31
'python-asn1tools'
32
'python-bitstruct' # Needed by 'python-asn1tools', but there it was forgotten, so we place it here for now.
33
'python-pyperclip>=1.8.2'
34
'python-arc4>=0.3.0' # faster than cryptodome
35
'python-pillow>=9.0.0'
36
)
37
makedepends=(
38
'cython'
39
'git'
40
'python-build'
41
'python-installer'
42
'python-wheel'
43
'python-setuptools>=62.4'
44
'python-setuptools-rust>=1.5.2'
45
'rust'
46
)
47
optdepends=(
48
'python-pyqt5'
49
)
50
checkdepends=()
51
provides=(
52
"ardpscan=${pkgver}"
53
"${_pkgname}=${pkgver}"
54
"${_pyname}=${pkgver}" # It installs a file into `/usr/bin`.
55
"${_pyname}-git=${pkgver}"
56
)
57
conflicts=(
58
"ardpscan"
59
"${_pkgname}"
60
"${_pyname}"
61
)
62
63
source=(
64
"${_pkgname}::git+https://${_githost}/${_gituser}/${_pyname}.git"
65
)
66
sha256sums=(
67
'SKIP'
68
)
69
70
prepare() {
71
cd "${srcdir}/${_pkgname}"
72
export CARGO_HOME="${srcdir}/cargo"
73
74
git log > "${srcdir}/git.log"
75
76
cd aardwolf/utils/rlers
77
cargo fetch -v
78
}
79
80
pkgver() {
81
cd "${srcdir}/${_pkgname}"
82
83
# _ver="$(grep -E '^[[:space:]]*version[[:space:]]*=' setup.cfg | tail -n1 | sed -E -e 's|^[^=]*=[[:space:]]*||' -e 's|,.*$||' | tr -d \'\")"
84
_ver="$(git describe --tags | sed -E -e 's|^[vV]||' -e 's|\-g[0-9a-f]*$||' | tr '-' '+')"
85
_rev="$(git rev-list --count HEAD)"
86
_date="$(git log -1 --date=format:"%Y%m%d" --format="%ad")"
87
_hash="$(git rev-parse --short HEAD)"
88
89
if [ -z "${_ver}" ]; then
90
error "Version could not be determined."
91
return 1
92
else
93
printf '%s' "${_ver}.r${_rev}.${_date}.${_hash}"
94
fi
95
}
96
97
build() {
98
cd "${srcdir}/${_pkgname}"
99
export CARGO_HOME="${srcdir}/cargo"
100
101
printf '%s\n' " --> building ..."
102
python -m build --wheel --no-isolation
103
}
104
105
package() {
106
cd "${srcdir}/${_pkgname}"
107
export CARGO_HOME="${srcdir}/cargo"
108
109
printf '%s\n' " --> installing ..."
110
python -m installer --destdir="$pkgdir" --compile-bytecode=2 dist/*.whl
111
112
_docfiles=(
113
"${srcdir}/git.log"
114
README.md
115
)
116
_docdirs=()
117
_manfiles=()
118
_infofiles=()
119
_licensefiles=(
120
LICENSE
121
)
122
printf '%s\n' " --> installing documentation ..."
123
for _docfile in "${_docfiles[@]}"; do
124
install -D -v -m644 "${_docfile}" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_docfile}")"
125
done
126
for _docdir in "${_docdirs[@]}"; do
127
cp -rv "${_docdir}" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_docdir}")"
128
done
129
for _manfile in "${_manfiles[@]}"; do
130
_section="$(basename "${_manfile}" .gz | sed -E -e 's|^.*\.([^.]*)$|\1|')"
131
install -D -v -m644 "docs/build/man/${_manfile}" "${pkgdir}/usr/share/man/man${_section}/$(basename "${_manfile}")"
132
done
133
for _infofile in "${_infofiles[@]}"; do
134
install -D -v -m644 "${_infofile}" "${pkgdir}/usr/share/info/$(basename "${_infofile}")"
135
done
136
printf '%s\n' " --> installing license ..."
137
for _licensefile in "${_licensefiles[@]}"; do
138
install -D -v -m644 "${_licensefile}" "${pkgdir}/usr/share/licenses/${pkgname}/$(basename "${_licensefile}")"
139
ln -svr "${pkgdir}/usr/share/licenses/${pkgname}/$(basename "${_licensefile}")" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_licensefile}")"
140
done
141
}
142
143
Changes since previous scan
--- PKGBUILD @ 2026-06-19 19:07+++ PKGBUILD @ 2026-09-05 16:00@@ -3,7 +3,7 @@ _pyname="aardwolf" _pkgname="python-${_pyname}" pkgname="${_pkgname}-git"-pkgver=0.2.13.r148.20250819.5d44d39+pkgver=0.2.14+14.r168.20260816.115f1cc pkgrel=1 pkgdesc="Asynchronous RDP protocol implementation for python." 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 |