libiksemel-git

maintainer dreieck · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package builds from a GitHub source repository, which is a normal and expected practice for AUR git packages; the non-whitelisted host is the project's own development forge, and the source is compiled from scratch, posing no additional supply-chain risk beyond typical git-based packages.

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 package builds from a GitHub source repository, which is a normal and expected practice for AUR git packages; the non-whitelisted host is the project's own development forge, and the source is compiled from scratch, posing no additional supply-chain risk beyond typical git-based packages.

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:54 "${_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="iksemel"
4_gitname="${_pyname}"
5_pkgname="lib${_pyname}"
6pkgname="${_pkgname}-git"
7pkgver=1.6.2.r177.20240917.5abdbce
8pkgrel=2
9pkgdesc="XML parser library mainly designed for Jabber applications. It provides SAX, DOM, and special Jabber stream APIs."
10arch=(
11 'i686'
12 'x86_64'
13 'armv6h'
14 'armv7h'
15 'aarch64'
16)
17_githost='github.com'
18_gituser='Zaryob'
19url="https://${_githost}/${_gituser}/${_gitname}"
20license=("LGPL-2.1-or-later")
21depends=(
22 'glibc'
23 'openssl>=1.1'
24 'python>=3.3'
25)
26makedepends=(
27 'git'
28 'meson'
29 'ninja'
30 'python-build'
31 'python-installer'
32 'python-wheel'
33 'python-setuptools>=61.0.0'
34)
35optdepends=()
36checkdepends=()
37provides=(
38 "${_pkgname}=${pkgver}"
39 "libiksemel.so"
40 "libiksemel_openssl.so"
41 "libjabber.so"
42 "python-${_pkgname}=${pkgver}"
43 "python-${_pkgname}-git=${pkgver}"
44)
45conflicts=(
46 "${_pkgname}"
47 "libiksemel.so"
48 "libiksemel_openssl.so"
49 "libjabber.so"
50 "python-${_pkgname}"
51)
52
53source=(
54 "${_pkgname}::git+https://${_githost}/${_gituser}/${_pyname}.git"
55)
56sha256sums=(
57 'SKIP'
58)
59
60prepare() {
61 cd "${srcdir}/${_pkgname}"
62 git log > "git.log"
63}
64
65pkgver() {
66 cd "${srcdir}/${_pkgname}"
67
68 _ver="$(git describe --tags | sed -E -e 's|^[vV]||' -e 's|\-g[0-9a-f]*$||' | tr '-' '+')"
69 _rev="$(git rev-list --count HEAD)"
70 _date="$(git log -1 --date=format:"%Y%m%d" --format="%ad")"
71 _hash="$(git rev-parse --short HEAD)"
72
73 if [ -z "${_ver}" ]; then
74 error "Version could not be determined."
75 return 1
76 else
77 printf '%s' "${_ver}.r${_rev}.${_date}.${_hash}"
78 fi
79}
80
81build() {
82 cd "${srcdir}"
83
84 CFLAGS+=" -Wimplicit-function-declaration"
85 CXXFLAGS+=" -Wimplicit-function-declaration"
86 export CFLAGS
87 export CXXFLAGS
88
89 printf '%s\n' " --> building ..."
90
91 meson setup \
92 --prefix=/usr \
93 --includedir=/usr/include/iksemel \
94 --buildtype=release \
95 -Dopenssl=enabled \
96 -Dgnutls=disabled \
97 -Dwith_tools=true \
98 -Dwith_python=true \
99 -Dtests=true \
100 "${_pkgname}" build
101
102 meson compile -C build
103}
104
105check() {
106 cd "${srcdir}"
107
108 meson test -C build
109}
110
111package() {
112 cd "${srcdir}"
113 printf '%s\n' " --> installing ..."
114
115 meson install -C build --destdir="${pkgdir}"
116
117 _docfiles=(
118 "git.log"
119 README.md
120 AUTHORS
121 HACKING
122 ChangeLog
123 NEWS
124 TODO
125 )
126 _docdirs=()
127 _manfiles=()
128 _infofiles=()
129 _licensefiles=(
130 COPYING
131 )
132 printf '%s\n' " --> installing documentation ..."
133 for _docfile in "${_docfiles[@]}"; do
134 install -D -v -m644 "${srcdir}/${_pkgname}/${_docfile}" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_docfile}")"
135 done
136 for _docdir in "${_docdirs[@]}"; do
137 cp -rv "${srcdir}/${_pkgname}/${_docdir}" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_docdir}")"
138 done
139 for _manfile in "${_manfiles[@]}"; do
140 _section="$(basename "${srcdir}/${_pkgname}/${_manfile}" .gz | sed -E -e 's|^.*\.([^.]*)$|\1|')"
141 install -D -v -m644 "docs/build/man/${_manfile}" "${pkgdir}/usr/share/man/man${_section}/$(basename "${_manfile}")"
142 done
143 for _infofile in "${_infofiles[@]}"; do
144 install -D -v -m644 "${srcdir}/${_pkgname}/${_infofile}" "${pkgdir}/usr/share/info/$(basename "${_infofile}")"
145 done
146 printf '%s\n' " --> installing license ..."
147 for _licensefile in "${_licensefiles[@]}"; do
148 install -D -v -m644 "${srcdir}/${_pkgname}/${_licensefile}" "${pkgdir}/usr/share/licenses/${pkgname}/$(basename "${_licensefile}")"
149 ln -svr "${pkgdir}/usr/share/licenses/${pkgname}/$(basename "${_licensefile}")" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_licensefile}")"
150 done
151}
152
153

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion