xlnt-git
maintainer hrsantiago
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds from a legitimate project Git repository and a submodule from a plausible official source; the non-whitelisted hosts are standard for public forges, and the build process involves only source compilation with minor patches, posing no execution risk.
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 legitimate project Git repository and a submodule from a plausible official source; the non-whitelisted hosts are standard for public forges, and the build process involves only source compilation with minor patches, posing no execution risk.
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:15
'git+https://git.codesynthesis.com/libstudxml/libstudxml.git')
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Michael Yang <ohmyarchlinux@protonmail.com>
2
# Maintainer: Adam Nielsen <malvineous@shikadi.net>
3
4
pkgname=xlnt-git
5
pkgver=1.5.0.r176.g297b3314
6
pkgrel=1
7
pkgdesc="Cross-platform user-friendly xlsx library for C++11"
8
url="https://github.com/tfussell/xlnt"
9
arch=('i686' 'x86_64')
10
license=('MIT')
11
makedepends=('git' 'cmake>=3.1.0')
12
conflicts=('xlnt')
13
provides=('xlnt')
14
source=('git+https://github.com/tfussell/xlnt.git'
15
'git+https://git.codesynthesis.com/libstudxml/libstudxml.git')
16
sha512sums=('SKIP'
17
'SKIP')
18
19
pkgver() {
20
cd xlnt
21
git describe | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
22
}
23
24
prepare() {
25
cd xlnt
26
git submodule init
27
git config submodule.libstudxml.git.url $srcdir/libstudxml
28
git submodule update
29
30
cd ../
31
mkdir -p build
32
33
sed -e 's/DengXian Light/\\xe5\\xae\\x8b\\xe4\\xbd\\x93/' -e 's/DengXian/\\xe5\\xae\\x8b\\xe4\\xbd\\x93/' -i xlnt/source/detail/serialization/xlsx_producer.cpp
34
sed -i "1i #include <cstdint>" "xlnt/include/xlnt/cell/phonetic_run.hpp"
35
sed -i "1i #include <cstdint>" "xlnt/source/utils/time.cpp"
36
sed -i "1i #include <cstdint>" "xlnt/source/utils/timedelta.cpp"
37
sed -i "1i #include <cstdint>" "xlnt/source/utils/variant.cpp"
38
}
39
40
build() {
41
cd build
42
cmake ../xlnt \
43
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
44
-DCMAKE_BUILD_TYPE=Release \
45
-DCMAKE_INSTALL_PREFIX=/usr
46
make
47
}
48
49
package() {
50
make -C build DESTDIR="${pkgdir}" install
51
install -Dm644 xlnt/LICENSE.md "${pkgdir}"/usr/share/licenses/xlnt-git/LICENSE.md
52
}
53
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 |