dune-mmesh
maintainer carlosal1015
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a project-owned GitLab instance (gitlab.dune-project.org), which is plausibly the official source; building from project-owned infrastructure is normal for AUR packages, 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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from a project-owned GitLab instance (gitlab.dune-project.org), which is plausibly the official source; building from project-owned infrastructure is normal for AUR packages, 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:18
source=(https://gitlab.dune-project.org/samuel.burbulla/${pkgname}/-/archive/release/${_tar})
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Carlos Aznarán <caznaranl@uni.pe>
2
pkgname=dune-mmesh
3
_dunever=2.9.0
4
_tarver=1.4
5
_tar="${_tarver}/${pkgname}-release-${_tarver}.tar.gz"
6
pkgver="${_tarver}"
7
pkgrel=2
8
pkgdesc="MMesh is a grid implementation based on CGAL triangulations"
9
arch=(x86_64)
10
url="https://dune-project.org/modules/${pkgname}"
11
license=(GPL3)
12
depends=("dune-grid>=${_dunever}" cgal)
13
makedepends=(texlive-basic doxygen graphviz python-scikit-build)
14
optdepends=('vc: C++ Vectorization library'
15
'doxygen: Generate the class documentation from C++ sources'
16
'graphviz: Graph visualization software'
17
'dune-fem: for store static information about grid implementation or support type of boundary id provider specialized for each grid type')
18
source=(https://gitlab.dune-project.org/samuel.burbulla/${pkgname}/-/archive/release/${_tar})
19
sha512sums=('1c5d085fcba29051e9981b31c5d7bc2f52aff4f15f9bb1700cc9d017de8d084a4e88c82a9adab9437d4c607535a2f061b7d1d32352a7f4760925e900aaca3492')
20
21
prepare() {
22
cd ${pkgname}-release-${_tarver}
23
export _pyversion=$(python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")
24
# Use system-wide CGAL installation
25
sed -i '/install/,+2 s/^/#/' CMakeLists.txt
26
rm -r CGAL
27
python -m venv --system-site-packages _skbuild/linux-${CARCH}-${_pyversion}/cmake-build/dune-env
28
}
29
30
build() {
31
cd ${pkgname}-release-${_tarver}
32
33
XDG_CACHE_HOME="${PWD}" \
34
python setup.py build \
35
--build-type=None \
36
-G 'Unix Makefiles' \
37
-DBUILD_SHARED_LIBS=TRUE \
38
-DCMAKE_CXX_STANDARD=17 \
39
-DCMAKE_C_COMPILER=gcc \
40
-DCMAKE_CXX_COMPILER=g++ \
41
-DCMAKE_C_FLAGS='-Wall -fdiagnostics-color=always' \
42
-DCMAKE_CXX_FLAGS="-O2 -Wno-narrowing -Wall -fdiagnostics-color=always -mavx" \
43
-DCMAKE_POSITION_INDEPENDENT_CODE=TRUE \
44
-DALLOW_CXXFLAGS_OVERWRITE=ON \
45
-DCMAKE_DISABLE_FIND_PACKAGE_LATEX=FALSE \
46
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=FALSE \
47
-DENABLE_HEADERCHECK=ON \
48
-DDUNE_ENABLE_PYTHONBINDINGS=ON \
49
-DDUNE_PYTHON_INSTALL_LOCATION='none' \
50
-DDUNE_PYTHON_WHEELHOUSE="dist"
51
}
52
53
package() {
54
cd ${pkgname}-release-${_tarver}
55
PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python setup.py --skip-cmake install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
56
install -Dm 644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
57
find "${pkgdir}" -type d -empty -delete
58
}
59
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 |