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>
4
pkgname=dune-geometry
5
_tarver=2.10.0
6
_tar="${_tarver}/${pkgname}-${_tarver}.tar.gz"
7
pkgver="${_tarver}"
8
pkgrel=1
9
pkgdesc="Geometry Transformations, Reference Elements and Quadrature Rules"
10
arch=(x86_64)
11
url="https://dune-project.org/modules/${pkgname}"
12
license=(LicenseRef-GPL-2.0-only-with-DUNE-exception)
13
depends=("dune-common>=${pkgver}")
14
makedepends=(texlive-latexextra doxygen graphviz inkscape python-scikit-build)
15
optdepends=('texlive-latexextra: Type setting system'
16
'doxygen: Generate the class documentation from C++ sources'
17
'graphviz: Graph visualization software'
18
'inkscape: converts SVG images')
19
options=(!emptydirs)
20
source=(https://dune-project.org/download/${_tar}{,.asc})
21
sha512sums=('13ae5ef1e769082a4def16539d4c3f435d6a11be74e20ecdc898ca9b7285d980df94e9adfb9fe6a847c3245786aa9be1b3146fec91596f5200b340c1e151ed03'
22
'SKIP')
23
validpgpkeys=('703607A1FD9AF4205E735522B95BE0EFB19724A1') # Simon Praetorius <simon.praetorius@tu-dresden.de>
24
25
prepare() {
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
32
build() {
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
56
package() {
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) | 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 |