mingw-w64-gmp
maintainer xantares
· 13 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is downloaded from the official project domain (gmplib.org), which is legitimate despite not being on a standard whitelist; the patch is fetched from Arch Linux's official GitLab, and the build process is transparent and standard for AUR packages.
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 downloaded from the official project domain (gmplib.org), which is legitimate despite not being on a standard whitelist; the patch is fetched from Arch Linux's official GitLab, and the build process is transparent and standard for AUR packages.
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:11
source=(https://gmplib.org/download/gmp/gmp-$pkgver.tar.lz{,.sig})
PKGBUILD
1 offending line(s) highlighted
1
pkgname=mingw-w64-gmp
2
pkgver=6.3.0
3
pkgrel=2
4
pkgdesc="A free library for arbitrary precision arithmetic (mingw-w64)"
5
arch=(any)
6
url="http://gmplib.org"
7
license=("LGPL3")
8
depends=(mingw-w64-crt)
9
makedepends=(mingw-w64-configure)
10
options=(staticlibs !strip !buildflags)
11
source=(https://gmplib.org/download/gmp/gmp-$pkgver.tar.lz{,.sig})
12
validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller <nisse@lysator.liu.se>
13
sha256sums=('be5c908a7a836c3a9bd9d62aa58563c5e9e7fef94c43a7f42dbc35bb6d02733c'
14
'SKIP')
15
16
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
17
18
prepare() {
19
cd "${srcdir}/gmp-${pkgver}"
20
curl -L https://gitlab.archlinux.org/archlinux/packaging/packages/gmp/-/raw/main/gmp-gcc-15.patch | patch -p1
21
autoreconf -vif
22
}
23
24
build() {
25
cd "${srcdir}/gmp-${pkgver}"
26
for _arch in ${_architectures}; do
27
mkdir -p build-${_arch} && pushd build-${_arch}
28
CC_FOR_BUILD=gcc ${_arch}-configure \
29
--enable-cxx=detect \
30
--disable-static
31
make
32
popd
33
done
34
}
35
36
package() {
37
for _arch in ${_architectures}; do
38
cd "${srcdir}/gmp-${pkgver}/build-${_arch}"
39
make DESTDIR="$pkgdir" install
40
rm -r "$pkgdir/usr/${_arch}/share"
41
${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
42
${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
43
done
44
}
45
46
47
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 |