dune-geometry

LOW
maintainer carlosal1015 1 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
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

Report a package

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

0 / 4000
Your suggestion