calculix-precice
maintainer carlosal1015
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The non-standard host (dhondt.de) hosts a source tarball for CalculiX, which is a legitimate project component; building from project-owned sources is normal AUR practice, and no code execution or exfiltration occurs.
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 non-standard host (dhondt.de) hosts a source tarball for CalculiX, which is a legitimate project component; building from project-owned sources is normal AUR practice, and no code execution or exfiltration occurs.
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:14
http://dhondt.de/ccx_${pkgver::4}.src.tar.bz2)
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Gerasimos Chourdakis <chourdak at in dot tum dot de>
2
# Maintainer: Carlos Aznarán <caznaranl@uni.pe>
3
pkgname=calculix-precice
4
pkgver=2.20.1
5
pkgrel=6
6
pkgdesc="preCICE-adapter for the CSM code CalculiX"
7
url="https://github.com/${pkgname/calculix-/}/${pkgname/precice/adapter}"
8
license=(GPL-3.0-or-later)
9
arch=(x86_64)
10
depends=(calculix-ccx precice yaml-cpp) # pastix
11
makedepends=(gcc-fortran pandoc-cli) # mono
12
optdepends=('man-db: manual pages for ccx_preCICE')
13
source=(${pkgname/precice/adapter}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz
14
http://dhondt.de/ccx_${pkgver::4}.src.tar.bz2)
15
sha512sums=('52fbef41b3eed6ce211bb09d22d40511392669dcf2144d0a83249c6bfd6bf3a81d4d68cd04085902d54e635ce2c0e7c2e57f492eef6dcb10906991dd611a4790'
16
'3888c1411ad42c6f2483cbf7d8994e8175ffa9ad4f0c4df224e2d16a7d80973d32f6a8cf10844255586d4f8e076fee99017cee5f2b9bb6576b82edcfe4b4ffb8')
17
18
prepare() {
19
# https://github.com/precice/precice.github.io/blob/master/pages/docs/adapters/calculix/adapter-calculix-get-adapter.md?plain=1#L94
20
sed -i 's/^FFLAGS = -Wall -O3 -fopenmp $(INCLUDES)/FFLAGS = -Wall -O3 -fopenmp -fallow-argument-mismatch $(INCLUDES)/' ${pkgname/precice/adapter}-${pkgver}/Makefile
21
sed -i 's/^CFLAGS = -Wall/CFLAGS =-std=gnu11 -Wno-implicit-function-declaration -Wno-incompatible-pointer-types/' ${pkgname/precice/adapter}-${pkgver}/Makefile
22
cd ${pkgname/precice/adapter}-${pkgver}/packaging
23
pandoc manpage.md -s -t man -o ccx_preCICE.1
24
}
25
26
build() {
27
cd ${pkgname/precice/adapter}-${pkgver}
28
make CCX="${srcdir}/CalculiX/ccx_${pkgver::4}/src"
29
}
30
31
check() {
32
cd ${pkgname/precice/adapter}-${pkgver}
33
./bin/ccx_preCICE -v || true
34
}
35
36
package() {
37
cd ${pkgname/precice/adapter}-${pkgver}
38
install -Dvm755 bin/ccx_preCICE -t ${pkgdir}/usr/bin
39
install -Dm 644 LICENSE -t ${pkgdir}/usr/share/licenses/${pkgname}
40
install -Dm 644 packaging/ccx_preCICE.1 -t ${pkgdir}/usr/share/man/man1/
41
install -Dm 644 README.md -t ${pkgdir}/usr/share/doc/${pkgname}
42
}
43
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 |