calculix-cgx
The source is a tarball from the project maintainer's official domain (dhondt.de), which hosts the official CalculiX releases; building from this source is standard practice and the package does not execute untrusted remote code or install binaries from swappable hosts.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the project maintainer's official domain (dhondt.de), which hosts the official CalculiX releases; building from this source is standard practice and the package does not execute untrusted remote code or install binaries from swappable hosts.
1 higher static finding superseded - not the current verdict (shown for transparency)
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=("http://www.dhondt.de/cgx_${pkgver}.all.tar.bz2"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Maurizio D'Addona <mauritiusdadd@gmail.com>
# Contributor: Sven Niese <Fd3querm@yahoo.de>
# Contributor: Daniel Murphy <mosquitogang201@gmail.com>
# NOTE: !buildflags is needed in order to compile the code
pkgname=calculix-cgx
pkgver=2.23
pkgrel=2
pkgdesc="CalculiX: 3D Structural Finite Element Program - Post Processor"
arch=('i686' 'x86_64')
options=(!buildflags)
url="http://www.calculix.de/"
license=('GPL2')
depends=('libsnl-svn' 'mesa' 'glu' 'libxmu' 'libxi')
optdepends=('calculix-doc: documentation and examples')
makedepends=('gcc-fortran' 'perl')
checkdepends=('perl')
source=("http://www.dhondt.de/cgx_${pkgver}.all.tar.bz2"
"calculix_cgx_${pkgver}_archlinux.patch")
sha256sums=('04abbe0d2bac6a7bff018238b409568c189ede25589880e8cdd947f56ebd67c7'
'3c321594c3cff8f0f42abe599f06e26cc12d9e8bf5c308fbeb26d7b5ecffa993')
prepare()
{
cd "${srcdir}"
msg "Patching makefiles..."
rm -rf CalculiX/libSNL
patch -p0 -f -l -s -i calculix_cgx_${pkgver}_archlinux.patch
msg2 "Done"
}
build()
{
cd "${srcdir}/CalculiX/cgx_${pkgver}/src"
make CFLAGS="-O2 -std=c11 -Wno-narrowing -Wno-old-style-definition \
-Wno-implicit-function-declaration -Wno-int-conversion \
-I./ -I/usr/include/libSNL -I../../glut-3.5/src" \
LFLAGS="-lGL -lGLU -lX11 -lXi -lXmu -lXext -lXt -lSM -lICE -lSNL -lm -lpthread -lrt"
}
package()
{
install -d ${pkgdir}/usr/bin
install -Dm755 ${srcdir}/CalculiX/cgx_${pkgver}/src/cgx ${pkgdir}/usr/bin/cgx
}
Changes since previous scan
--- PKGBUILD @ 2026-06-19 19:07+++ PKGBUILD @ 2026-10-17 00:21@@ -6,7 +6,7 @@ pkgname=calculix-cgx pkgver=2.23-pkgrel=1+pkgrel=2 pkgdesc="CalculiX: 3D Structural Finite Element Program - Post Processor" arch=('i686' 'x86_64') options=(!buildflags)@@ -21,7 +21,7 @@ "calculix_cgx_${pkgver}_archlinux.patch") sha256sums=('04abbe0d2bac6a7bff018238b409568c189ede25589880e8cdd947f56ebd67c7'- '95d91be0aa1b50a598a9bd19eed6e08fb1016934f7d600248a987db07fe530b6')+ '3c321594c3cff8f0f42abe599f06e26cc12d9e8bf5c308fbeb26d7b5ecffa993') prepare() {Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |
| 2026-10-12 00:18:51 | Low | 2 |
| 2026-10-11 11:10:32 | Medium | 1 |
| 2026-06-19 19:07:35 | Clean | 2 |
| 2026-06-18 16:11:54 | Medium | 1 |