mingw-w64-mumps
maintainer xantares
· 0 votes
· scanned 2026-08-18 00:03:42.021799
LOW
View on AUR ↗
Why flagged
The source is a tarball from the project's official domain (mumps-solver.org), which is plausibly the project's own; building from official source is normal AUR packaging, even if the host is not on a standard whitelist.
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 a tarball from the project's official domain (mumps-solver.org), which is plausibly the project's own; building from official source is normal AUR packaging, even if the host is not on a standard whitelist.
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://mumps-solver.org/MUMPS_${pkgver}.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
pkgname=mingw-w64-mumps
2
pkgver=5.9.1
3
pkgrel=1
4
pkgdesc='Sparse solver library using Gaussian elimination (mingw-w64)'
5
url='https://mumps-solver.org'
6
license=('CECILL-C')
7
depends=('mingw-w64-lapack')
8
makedepends=('mingw-w64-gcc')
9
arch=('any')
10
options=('!buildflags' '!strip' 'staticlibs')
11
source=("https://mumps-solver.org/MUMPS_${pkgver}.tar.gz")
12
sha256sums=('659c9b57646b5a003ac618baa1faf9dd2044e46c732b3daaccbc7158003e1b46')
13
14
_architectures=${MINGW_W64_ARCHS:-x86_64-w64-mingw32}
15
16
prepare () {
17
cd "${srcdir}/MUMPS_${pkgver}"
18
cp Make.inc/Makefile.inc.generic.SEQ Makefile.inc
19
20
# calling convention
21
sed -i "s|define MUMPS_CALL|define MUMPS_CALL __declspec(dllexport)|g" include/mumps_compat.h
22
23
# static inline + __declspec(dllexport) does not make sense
24
sed -i "s|define MUMPS_INLINE static inline|define MUMPS_INLINE|g" include/mumps_compat.h
25
26
# fortran mangling
27
sed -i "s/#if defined(UPPER) || defined(MUMPS_WIN32)/#if defined(UPPER)/g" src/mumps_common.h
28
sed -i "s/if defined(UPPER) || defined(MUMPS_WIN32)/if defined(UPPER)/g" src/mumps_c.c
29
}
30
31
build() {
32
cd "${srcdir}"
33
for _arch in ${_architectures}; do
34
cp -r MUMPS_${pkgver} build-${_arch} && pushd build-${_arch}
35
make -C src ../include/mumps_int_def.h
36
make CC=${_arch}-gcc OPTC="-D_FORTIFY_SOURCE=3 -O2 -pipe -fexceptions --param=ssp-buffer-size=4" FC=${_arch}-gfortran FL=${_arch}-gfortran OPTF="-O2 -fallow-argument-mismatch" AR="${_arch}-ar vr " RANLIB=${_arch}-ranlib LIBOTHERS="-lpthread -lssp" -j1
37
popd
38
done
39
}
40
41
package() {
42
for _arch in ${_architectures}; do
43
cd "${srcdir}"/build-${_arch}
44
install -d "${pkgdir}"/usr/${_arch}/{include/mumps_seq,lib}
45
install -m644 include/*.h "${pkgdir}"/usr/${_arch}/include
46
install -m644 lib/*.a "${pkgdir}"/usr/${_arch}/lib
47
install -m644 libseq/*.h "${pkgdir}"/usr/${_arch}/include/mumps_seq
48
done
49
}
50
Changes since previous scan
--- PKGBUILD @ 2026-06-19 19:07+++ PKGBUILD @ 2026-08-18 00:03@@ -1,5 +1,5 @@ pkgname=mingw-w64-mumps-pkgver=5.9.0+pkgver=5.9.1 pkgrel=1 pkgdesc='Sparse solver library using Gaussian elimination (mingw-w64)' url='https://mumps-solver.org'@@ -9,7 +9,7 @@ arch=('any') options=('!buildflags' '!strip' 'staticlibs') source=("https://mumps-solver.org/MUMPS_${pkgver}.tar.gz")-sha256sums=('02c6efdb91749ec0f82351d40f3f860547272a1eb1d899126a4265b4d6bcc4ca')+sha256sums=('659c9b57646b5a003ac618baa1faf9dd2044e46c732b3daaccbc7158003e1b46') _architectures=${MINGW_W64_ARCHS:-x86_64-w64-mingw32} Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-18 00:03:42 | LOW | 2 |
| 2026-08-17 00:18:29 | LOW | 2 |
| 2026-08-16 00:03:42 | LOW | 2 |
| 2026-08-15 00:26:13 | LOW | 2 |
| 2026-08-14 00:03:41 | LOW | 2 |
| 2026-08-13 00:17:07 | LOW | 2 |
| 2026-08-12 00:27:08 | LOW | 2 |
| 2026-08-11 17:21:34 | MEDIUM | 1 |
| 2026-06-19 19:07:35 | CLEAN | 2 |
| 2026-06-18 17:53:10 | CLEAN | 2 |
| 2026-06-18 16:11:54 | MEDIUM | 1 |