ocaml4-findlib-noframepointers
maintainer korimitsu
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
13
pkgname=ocaml4-findlib-noframepointers
14
pkgver=1.9.6
15
pkgrel=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.
17
pkgdesc='OCaml package manager. Patched for x86_64/aarch64 and no ocaml4 frame-pointers.'
18
arch=(x86_64 aarch64)
19
url='http://projects.camlcity.org/projects/findlib.html'
20
license=(MIT)
21
depends=(ocaml4-compiler-libs-noframepointers ocaml4-noframepointers)
22
provides=("ocaml4-findlib=${pkgver}")
23
conflicts=("ocaml4-findlib" "ocaml-findlib")
24
options=(!makeflags !strip staticlibs zipman)
25
backup=(etc/findlib.conf)
26
27
# HTTP 504 most of the time
28
#source=("http://download.camlcity.org/download/findlib-$pkgver.tar.gz")
29
source=("findlib-${pkgver}.tar.gz::https://gentoo.osuosl.org/distfiles/28/findlib-${pkgver}.tar.gz")
30
b2sums=('c9c98b9e92c0cf690e2c8794a1ed606c0288d49a016dfa08592c9f617be1020385f52bf37345a7cbcbc7f0fcb19750a6617036cbf90afef231eccdbc7132baf8')
31
32
build() {
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
41
package() {
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) | 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 |