dune-geometry

maintainer carlosal1015 · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a source tarball from the project's official domain (dune-project.org), which is a plausible and legitimate source for the software, even though the host is not on a standard whitelist; the source is verified by a matching PGP signature, reducing 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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a source tarball from the project's official domain (dune-project.org), which is a plausible and legitimate source for the software, even though the host is not on a standard whitelist; the source is verified by a matching PGP signature, reducing 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:20 source=(https://dune-project.org/download/${_tar}{,.asc})

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Josh Hoffer < hoffer dot joshua at gmail dot com >
2# Maintainer: Carlos Aznarán <caznaranl@uni.pe>
3# Contributor: Lukas Böger <dev___AT___lboeger___DOT___de>
4pkgname=dune-geometry
5_tarver=2.10.0
6_tar="${_tarver}/${pkgname}-${_tarver}.tar.gz"
7pkgver="${_tarver}"
8pkgrel=1
9pkgdesc="Geometry Transformations, Reference Elements and Quadrature Rules"
10arch=(x86_64)
11url="https://dune-project.org/modules/${pkgname}"
12license=(LicenseRef-GPL-2.0-only-with-DUNE-exception)
13depends=("dune-common>=${pkgver}")
14makedepends=(texlive-latexextra doxygen graphviz inkscape python-scikit-build)
15optdepends=('texlive-latexextra: Type setting system'
16 'doxygen: Generate the class documentation from C++ sources'
17 'graphviz: Graph visualization software'
18 'inkscape: converts SVG images')
19options=(!emptydirs)
20source=(https://dune-project.org/download/${_tar}{,.asc})
21sha512sums=('13ae5ef1e769082a4def16539d4c3f435d6a11be74e20ecdc898ca9b7285d980df94e9adfb9fe6a847c3245786aa9be1b3146fec91596f5200b340c1e151ed03'
22 'SKIP')
23validpgpkeys=('703607A1FD9AF4205E735522B95BE0EFB19724A1') # Simon Praetorius <simon.praetorius@tu-dresden.de>
24
25prepare() {
26 cd ${pkgname}-${pkgver}
27 sed -i '7 a BUILD_ON_INSTALL' doc/refinement/CMakeLists.txt
28 export _pyversion=$(python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")
29 python -m venv --system-site-packages _skbuild/linux-${CARCH}-${_pyversion}/cmake-build/dune-env
30}
31
32build() {
33 cd ${pkgname}-${pkgver}
34
35 XDG_CACHE_HOME="${PWD}" \
36 python setup.py build \
37 --build-type=None \
38 -G 'Unix Makefiles' \
39 -DBUILD_SHARED_LIBS=TRUE \
40 -DCMAKE_CXX_STANDARD=20 \
41 -DCMAKE_C_COMPILER=gcc \
42 -DCMAKE_CXX_COMPILER=g++ \
43 -DCMAKE_C_FLAGS='-Wall -fdiagnostics-color=always' \
44 -DCMAKE_CXX_FLAGS="-O2 -Wall -fdiagnostics-color=always -mavx" \
45 -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE \
46 -DCMAKE_DISABLE_FIND_PACKAGE_LATEX=FALSE \
47 -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=FALSE \
48 -DINKSCAPE=TRUE \
49 -DENABLE_HEADERCHECK=ON \
50 -DDUNE_ENABLE_PYTHONBINDINGS=ON \
51 -DDUNE_PYTHON_INSTALL_LOCATION='none' \
52 -DDUNE_PYTHON_WHEELHOUSE="dist" \
53 -DCMAKE_DISABLE_FIND_PACKAGE_Vc=TRUE
54}
55
56package() {
57 cd ${pkgname}-${pkgver}
58 PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python setup.py --skip-cmake install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
59 install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
60}
61

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion