fleur

maintainer a.kudelin · 2 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-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