ocaml4-findlib-noframepointers

LOW
maintainer korimitsu 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source is a tarball from a mirror (gentoo.osuosl.org) hosting the official findlib release; building from a non-whitelisted but reputable mirror is low risk, especially for a well-known project with a verifiable checksum.

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 mirror (gentoo.osuosl.org) hosting the official findlib release; building from a non-whitelisted but reputable mirror is low risk, especially for a well-known project with a verifiable checksum.

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:29 source=("findlib-${pkgver}.tar.gz::https://gentoo.osuosl.org/distfiles/28/findlib-${pkgver}.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: korimitsu <korimitsu_aur.wackiness926@passinbox.com>
2# Based on PKGBUILD by:
3# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
4# Contributor: Alexander F. Rødseth <xyproto@archlinux.org>
5# Contributor: Lukas Fleischer <lfleischer@archlinux.org>
6# Contributor: Thomas S Hatch <thatch45@gmail.com>
7# Contributor: Sebastian Wiesner <lunaryorn@googlemail.com>
8# Contributor: Benjamin Andresen <benny@klapmuetz.org>
9# Contributor: scj <scj@archlinux.us>
10# Contributor: Alif <alive4ever@live.com>
11
12# Adds AARCH64 and mirror for source tarball
13pkgname=ocaml4-findlib-noframepointers
14pkgver=1.9.6
15pkgrel=9
16# Not enabling '--enable-frame-pointers' in the ocaml4 configure is required for aarch64 compilation, not for x86_64. This is why all the '-noframepointers' packages exist.
17pkgdesc='OCaml package manager. Patched for x86_64/aarch64 and no ocaml4 frame-pointers.'
18arch=(x86_64 aarch64)
19url='http://projects.camlcity.org/projects/findlib.html'
20license=(MIT)
21depends=(ocaml4-compiler-libs-noframepointers ocaml4-noframepointers)
22provides=("ocaml4-findlib=${pkgver}")
23conflicts=("ocaml4-findlib" "ocaml-findlib")
24options=(!makeflags !strip staticlibs zipman)
25backup=(etc/findlib.conf)
26
27# HTTP 504 most of the time
28#source=("http://download.camlcity.org/download/findlib-$pkgver.tar.gz")
29source=("findlib-${pkgver}.tar.gz::https://gentoo.osuosl.org/distfiles/28/findlib-${pkgver}.tar.gz")
30b2sums=('c9c98b9e92c0cf690e2c8794a1ed606c0288d49a016dfa08592c9f617be1020385f52bf37345a7cbcbc7f0fcb19750a6617036cbf90afef231eccdbc7132baf8')
31
32build() {
33 cd "findlib-$pkgver"
34 ./configure \
35 -config /etc/findlib.conf \
36 -mandir /usr/share/man \
37 -sitelib /usr/lib/ocaml
38 make all opt
39}
40
41package() {
42 cd "findlib-$pkgver"
43 make prefix="$pkgdir" install
44
45 # Install ocamlfind_opt (built by 'make opt')
46 install -Dm755 src/findlib/ocamlfind_opt "$pkgdir/usr/bin/ocamlfind_opt"
47
48 # Drop camlp4 META that findlib ships to avoid file overlap with ocaml4-camlp4
49 # (findlib installs site-lib-src/camlp4/META and tools/safe_camlp4)
50 # "/usr/lib/ocaml/camlp4/META" is installed too by "ocaml4-findlib-noframepointers-1.9.6-8-$ARCH.pkg.tar.xz" but belongs only to "ocaml4-camlp4-noframepointers-4.14+1-2-$ARCH.pkg.tar.xz"
51 rm -f "$pkgdir/usr/lib/ocaml/camlp4/META"
52
53 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
54}
55

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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