libiksemel-git

LOW
maintainer dreieck 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The source is a git checkout from a GitHub user's repository, which is a common and acceptable practice for -git AUR packages; the code is built from source, and GitHub is a standard development platform, so the risk is low despite the non-whitelisted host pattern.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a git checkout from a GitHub user's repository, which is a common and acceptable practice for -git AUR packages; the code is built from source, and GitHub is a standard development platform, so the risk is low despite the non-whitelisted host pattern.

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+2.r179.20261009.0952acd
8pkgrel=1
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

Changes since previous scan

--- PKGBUILD @ 2026-10-21 00:12
+++ PKGBUILD @ 2026-11-01 00:21
@@ -4,8 +4,8 @@
_gitname="${_pyname}"
_pkgname="lib${_pyname}"
pkgname="${_pkgname}-git"
-pkgver=1.6.2.r177.20240917.5abdbce
-pkgrel=2
+pkgver=1.6.2+2.r179.20261009.0952acd
+pkgrel=1
pkgdesc="XML parser library mainly designed for Jabber applications. It provides SAX, DOM, and special Jabber stream APIs."
arch=(
'i686'

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 19:33:05 Medium 1
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 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