fleur

LOW
maintainer a.kudelin 2 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source is downloaded from the project's official GitLab instance at FZ Jülich, a reputable research institution; despite the non-whitelisted host, this is a legitimate and expected source for the software, with no indication of malicious intent or supply-chain 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 source is downloaded from the project's official GitLab instance at FZ Jülich, a reputable research institution; despite the non-whitelisted host, this is a legitimate and expected source for the software, with no indication of malicious intent or supply-chain 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:13 source=(https://iffgit.fz-juelich.de/fleur/fleur/-/archive/MaX-R$pkgver/$pkgname-MaX-R$pkgver.tar.bz2

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Anton Kudelin <kudelin at proton dot me>
2
3pkgname=fleur
4pkgver=8.1
5pkgrel=1
6pkgdesc="A full-potential linearized augmented planewave code"
7arch=(x86_64 aarch64)
8url="https://www.flapw.de"
9license=(MIT)
10depends=(libxml2 elpa libxc fftw hdf5-openmpi)
11makedepends=(cmake ninja gcc-fortran python vim)
12checkdepends=(python-pytest python-py python-pytest-html)
13source=(https://iffgit.fz-juelich.de/fleur/fleur/-/archive/MaX-R$pkgver/$pkgname-MaX-R$pkgver.tar.bz2
14 libxc-f03.patch)
15sha256sums=('6960e037c34e5b704cd79718ec34c7147ccbf06a16fef397c7e3316f47e99a39'
16 'a69a6514d063fb928bf77c34481cd8c2ab5d2da3eaeb25f2b1367839f8875696')
17
18prepare() {
19 # Handling ELPA
20 _elpaver=$( ls /usr/include | grep elpa | sed 's/elpa_openmp-//g' )
21
22 cd "$pkgname-MaX-R$pkgver"
23 patch -p1 -i ../libxc-f03.patch
24}
25
26build() {
27 cd "$srcdir"
28 cmake \
29 -B build \
30 -S $pkgname-MaX-R$pkgver \
31 -D CMAKE_INSTALL_PREFIX=/usr \
32 -D CMAKE_Fortran_COMPILER=mpifort \
33 -D CMAKE_Fortran_FLAGS="-I/usr/include/elpa_openmp-$_elpaver/elpa -I/usr/include/elpa_openmp-$_elpaver/modules -I/usr/include -O2 -march=native" \
34 -D CMAKE_C_FLAGS="-std=gnu89 -O2 -march=native" \
35 -D CLI_FLEUR_USE_HDF5=ON \
36 -D CLI_FLEUR_USE_ELPA="external" \
37 -D CLI_ELPA_OPENMP=ON \
38 -D CLI_FLEUR_USE_MPI=ON \
39 -G Ninja \
40 -W no-dev
41 cmake --build build
42}
43
44check() {
45 cd "$srcdir/build"
46 export juDFT_MPI="mpirun --oversubscribe -np {mpi_procs} "
47 export OMP_NUM_THREADS=1
48 PYTEST_ADDOPTS="$srcdir/$pkgname-MaX-R$pkgver/testing --build_dir=$srcdir/build" \
49 python -m pytest -p no:cacheprovider
50}
51
52package() {
53 cd "$srcdir"
54 DESTDIR="$pkgdir" cmake --install build
55 install -Dm755 "$srcdir/$pkgname-MaX-R$pkgver/LICENSE" \
56 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
57}
58

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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