fleur

LOW
maintainer a.kudelin 2 votes scanned 2026-11-01 00:21:48.120785
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-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