calculix-cgx

LOW
maintainer mauritiusdadd 4 votes scanned 2026-10-17 00:21:55.226236
View on AUR
Why flagged

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

Low AI review downgraded a static finding 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)
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:20 source=("http://www.dhondt.de/cgx_${pkgver}.all.tar.bz2"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Maurizio D'Addona <mauritiusdadd@gmail.com>
2# Contributor: Sven Niese <Fd3querm@yahoo.de>
3# Contributor: Daniel Murphy <mosquitogang201@gmail.com>
4
5# NOTE: !buildflags is needed in order to compile the code
6
7pkgname=calculix-cgx
8pkgver=2.23
9pkgrel=2
10pkgdesc="CalculiX: 3D Structural Finite Element Program - Post Processor"
11arch=('i686' 'x86_64')
12options=(!buildflags)
13url="http://www.calculix.de/"
14license=('GPL2')
15depends=('libsnl-svn' 'mesa' 'glu' 'libxmu' 'libxi')
16optdepends=('calculix-doc: documentation and examples')
17makedepends=('gcc-fortran' 'perl')
18checkdepends=('perl')
19
20source=("http://www.dhondt.de/cgx_${pkgver}.all.tar.bz2"
21 "calculix_cgx_${pkgver}_archlinux.patch")
22
23sha256sums=('04abbe0d2bac6a7bff018238b409568c189ede25589880e8cdd947f56ebd67c7'
24 '3c321594c3cff8f0f42abe599f06e26cc12d9e8bf5c308fbeb26d7b5ecffa993')
25
26prepare()
27{
28 cd "${srcdir}"
29
30 msg "Patching makefiles..."
31 rm -rf CalculiX/libSNL
32 patch -p0 -f -l -s -i calculix_cgx_${pkgver}_archlinux.patch
33 msg2 "Done"
34}
35
36build()
37{
38 cd "${srcdir}/CalculiX/cgx_${pkgver}/src"
39 make CFLAGS="-O2 -std=c11 -Wno-narrowing -Wno-old-style-definition \
40 -Wno-implicit-function-declaration -Wno-int-conversion \
41 -I./ -I/usr/include/libSNL -I../../glut-3.5/src" \
42 LFLAGS="-lGL -lGLU -lX11 -lXi -lXmu -lXext -lXt -lSM -lICE -lSNL -lm -lpthread -lrt"
43}
44
45package()
46{
47 install -d ${pkgdir}/usr/bin
48 install -Dm755 ${srcdir}/CalculiX/cgx_${pkgver}/src/cgx ${pkgdir}/usr/bin/cgx
49}
50

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)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion