python-libyami4
maintainer orphaned
· 0 votes
· base
yami4
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is downloaded from the project's official domain (inspirel.com), which hosts the upstream YAMI4 distribution; building from official project sources, even on a non-whitelisted host, 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 downloaded from the project's official domain (inspirel.com), which hosts the upstream YAMI4 distribution; building from official project sources, even on a non-whitelisted host, 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:26
source=("http://www.inspirel.com/${pkgbase}/files/${pkgbase}-gpl-${pkgver}.zip")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: taotieren <admin@taotieren.com>
2
3
pkgbase=yami4
4
pkgname=(libyami4
5
python-libyami4
6
yami4-core)
7
pkgver=2.0.0
8
pkgrel=0
9
pkgdesc="YAMI4 - Messaging Solution for Distributed Systems"
10
arch=(x86_64
11
aarch64
12
riscv64)
13
url="http://www.inspirel.com/yami4/index.html"
14
license=('GPL-3.0-or-later')
15
provides=()
16
conflicts=()
17
depends=(
18
gcc-libs
19
glibc)
20
makedepends=(
21
gawk
22
git
23
python)
24
backup=()
25
options=()
26
source=("http://www.inspirel.com/${pkgbase}/files/${pkgbase}-gpl-${pkgver}.zip")
27
sha256sums=('dd599c8d72f08e344c563057d007ff57841910f931bba184dccfa3ad7e9041f1')
28
29
build() {
30
cd "${srcdir}/${pkgbase}-gpl-${pkgver}/src"
31
32
python_version=$(python --version 2>&1)
33
python_version=${python_version#Python }
34
python_version=$(echo "$python_version" | awk -F'.' '{print $1"."$2}')
35
awk -v python_version="$python_version" '{ gsub("python3.9", "python" python_version); print }' Makefile.common > Makefile.common.tmp
36
mv Makefile.common.tmp Makefile.common
37
38
make build
39
}
40
41
42
package_yami4-core() {
43
pkgdesc+=" (core)"
44
provides+=(${pkgname})
45
46
cd "${srcdir}/${pkgbase}-gpl-${pkgver}"
47
48
install -Dm0644 lib/libyamicore-fPIC.a -t ${pkgdir}/usr/lib/
49
install -Dm0644 lib/libyamicore.a -t ${pkgdir}/usr/lib/
50
install -dm755 ${pkgdir}/usr/share/doc/${pkgname}/ \
51
${pkgdir}/usr/include/
52
cp -rv doc/core/* ${pkgdir}/usr/share/doc/${pkgname}/
53
cp -rv include/yami4-core ${pkgdir}/usr/include/
54
55
cd src/services/
56
install -Dm0755 broker/yami4broker -t ${pkgdir}/usr/bin/
57
install -Dm0755 broker/yami4broker.cfg -t ${pkgdir}/etc/${pkgname}/
58
install -Dm0755 names/yami4names -t ${pkgdir}/usr/bin/
59
install -Dm0755 names/yami4names.cfg -t ${pkgdir}/etc/${pkgname}/
60
}
61
62
package_libyami4() {
63
pkgdesc+=" (lib)"
64
provides+=(${pkgname})
65
66
cd "${srcdir}/${pkgbase}-gpl-${pkgver}/"
67
68
install -Dm0644 lib/libyamicpp-fPIC.a -t ${pkgdir}/usr/lib/
69
install -Dm0644 lib/libyamicpp.a -t ${pkgdir}/usr/lib/
70
install -dm755 ${pkgdir}/usr/share/doc/${pkgname}/ \
71
${pkgdir}/usr/include/
72
cp -rv doc/cpp/* ${pkgdir}/usr/share/doc/${pkgname}/
73
cp -rv include/yami4-cpp ${pkgdir}/usr/include/
74
}
75
76
package_python-libyami4() {
77
pkgdesc+=" (python)"
78
provides+=(${pkgname})
79
conflicts=()
80
depends=(python)
81
82
cd "${srcdir}/${pkgbase}-gpl-${pkgver}/"
83
install -Dm0644 lib/libyami4py.so -t ${pkgdir}/usr/lib/
84
install -Dm0644 lib/yami.py -t ${pkgdir}/usr/lib/
85
install -dm755 ${pkgdir}/usr/share/doc/${pkgname}/
86
cp -rv doc/python3/* ${pkgdir}/usr/share/doc/${pkgname}/
87
}
88
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 |