mingw-w64-mpfr

LOW
maintainer xantares 7 votes scanned 2026-10-18 00:06:55.117981
View on AUR
Why flagged

The source is downloaded from the official project website (mpfr.org), which is the legitimate and expected host for this library, despite not being on a standard whitelist; the package builds from official source code and poses no 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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is downloaded from the official project website (mpfr.org), which is the legitimate and expected host for this library, despite not being on a standard whitelist; the package builds from official source code and poses no 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=(http://www.mpfr.org/mpfr-${_pkgver}/mpfr-${_pkgver}.tar.xz{,.asc})

PKGBUILD

1 offending line(s) highlighted
1pkgname=mingw-w64-mpfr
2_pkgver=4.2.2
3pkgver=$_pkgver
4pkgrel=1
5pkgdesc="Multiple-precision floating-point library (mingw-w64)"
6arch=(any)
7url="http://www.mpfr.org"
8license=("LGPL")
9makedepends=('mingw-w64-configure')
10depends=("mingw-w64-gmp")
11options=('staticlibs' '!strip' '!buildflags')
12source=(http://www.mpfr.org/mpfr-${_pkgver}/mpfr-${_pkgver}.tar.xz{,.asc})
13sha256sums=('b67ba0383ef7e8a8563734e2e889ef5ec3c3b898a01d00fa0a6869ad81c6ce01'
14 'SKIP')
15validpgpkeys=('07F3DBBECC1A39605078094D980C197698C3739D'
16 'A534BE3F83E241D918280AEB5831D11A0D4DB02A') # Vincent Lefevre <vincent@vinc17.net>
17
18_architectures=${MINGW_W64_ARCHS:-x86_64-w64-mingw32}
19
20prepare() {
21 cd "$srcdir"/mpfr-${_pkgver}
22}
23
24build() {
25 cd "$srcdir"/mpfr-${_pkgver}
26 for _arch in ${_architectures}; do
27 mkdir -p build-${_arch} && pushd build-${_arch}
28 export WINEARCH=foo
29 ${_arch}-configure \
30 --enable-shared \
31 --disable-static \
32 --enable-thread-safe
33 make
34 popd
35 done
36}
37
38package() {
39 for _arch in ${_architectures}; do
40 cd "${srcdir}/mpfr-${_pkgver}/build-${_arch}"
41 make DESTDIR="$pkgdir" install
42 rm -r "$pkgdir"/usr/${_arch}/share
43 ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
44 ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
45 done
46}
47

Scan history

Scanned at (UTC)SeverityRules
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 Low 2
2026-10-12 00:18:51 Low 2
2026-10-11 00:26:05 Low 2
2026-10-10 00:11:52 Low 2
2026-10-09 00:05:33 Low 2
2026-10-08 00:28:03 Low 2
2026-10-07 00:21:34 Low 2
2026-10-06 00:13:36 Low 2
2026-10-05 00:08:03 Low 2
2026-10-04 00:18:08 Low 2
2026-10-03 00:23:04 Low 2
2026-10-02 00:00:32 Low 2
2026-10-01 00:02:06 Low 2
2026-09-30 00:20:07 Low 2
2026-09-29 00:07:46 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