ocaml-expat
maintainer orphaned
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a personal domain, but it is the project's own source code being built normally, with a provided checksum, posing minimal supply-chain 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 source is a tarball from a personal domain, but it is the project's own source code being built normally, with a provided checksum, posing minimal supply-chain 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:12
source=("https://mmzeeman.home.xs4all.nl/ocaml/ocaml-expat-0.9.1.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Andrea Berlingieri <andrea.berlingieri42 at gmail dot com>
2
pkgname=ocaml-expat
3
pkgver=0.9.1
4
pkgrel=1
5
pkgdesc="An ocaml wrapper for the Expat XML parsing library"
6
arch=('x86_64')
7
url="https://mmzeeman.home.xs4all.nl/ocaml/"
8
license=('custom')
9
depends=('expat')
10
makedepends=('ocaml' 'expat' 'ocaml-findlib')
11
changelog=ChangeLog
12
source=("https://mmzeeman.home.xs4all.nl/ocaml/ocaml-expat-0.9.1.tar.gz")
13
md5sums=('17aa00a46c5edeb815f1b0555bad7ed2')
14
15
build() {
16
cd "${srcdir}/$pkgname-$pkgver"
17
make EXPAT_LIBDIR=/usr/lib EXPAT_INCDIR=/usr/include depend
18
make EXPAT_LIBDIR=/usr/lib EXPAT_INCDIR=/usr/include allopt
19
make doc
20
}
21
22
package() {
23
OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"
24
mkdir -p "$OCAMLFIND_DESTDIR"
25
cd "${srcdir}/$pkgname-$pkgver"
26
env DESTDIR="${pkgdir}" \
27
OCAMLFIND_DESTDIR="$OCAMLFIND_DESTDIR" \
28
OCAMLFIND_LDCONF="ignore" \
29
make install
30
install -Dm 644 LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENSE
31
mkdir -p $pkgdir/usr/share/doc/$pkgname
32
install -Dm 644 doc/*.html $pkgdir/usr/share/doc/$pkgname
33
}
34
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 |