freefem-cs

maintainer AFT · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package builds from source tarballs hosted on official project domains (UPMC and VTK), which are plausibly legitimate; VTK is patched for compatibility and built locally, posing no remote code execution 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 90%): The package builds from source tarballs hosted on official project domains (UPMC and VTK), which are plausibly legitimate; VTK is patched for compatibility and built locally, posing no remote code execution 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://www.ljll.math.upmc.fr/lehyaric/ffcs/packs/ffcs-21.1-source.tgz"
  • PKGBUILD:14 "https://www.vtk.org/files/release/6.3/VTK-6.3.0.tar.gz"

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: AFT <aft.power.2014@gmail.com>
2pkgname=freefem-cs
3pkgver=21.1
4pkgrel=1
5pkgdesc='An integrated environment for FreeFEM'
6arch=('x86_64')
7url='https://www.ljll.math.upmc.fr/lehyaric/ffcs/'
8license=('LGPL')
9makedepends=( 'fakeroot' 'gcc' 'patch' 'cmake'
10 'make' 'libglvnd' 'libxt' 'glu' 'libxpm' 'autoconf'
11 'fltk' 'bison' 'suitesparse' 'arpack' 'rsync' )
12depends=( 'libglvnd' 'suitesparse' 'arpack' 'libxpm' )
13source=("https://www.ljll.math.upmc.fr/lehyaric/ffcs/packs/ffcs-21.1-source.tgz"
14 "https://www.vtk.org/files/release/6.3/VTK-6.3.0.tar.gz"
15 "vtk_gcc.patch"
16 "examples.patch"
17 "freefem-cs"
18 "freefem-cs.desktop")
19options=(staticlibs)
20sha512sums=( '8dea4cd99b02d8e5cef18cb21e8a96e12acb3afb8a029651f22db6c5de4d41aed811340f94395ffba42f8597bf5f70d7c7378c185b3a13c0be9108ac02f15d86'
21 'a05598ed2a70fae9f07a8d9172cb963194cf75d0fcd995c9ebb614a488d4272988212494b1e9aa87272c0ed732161bba8ff97a0cf6874391c1c5fcf7dc22c309'
22 '3ef8abc42d4b111bb507fd41dd8e889027be18a67665596f9852d02504310c67534b0a1d1be24b34aa68ed3d4354633008b7e2e9f49ce8397fc06c9d60d309ca'
23 'f98c6124e782726c39b8ecac4ee9849484c761f18add6928e9e172f1b31306883291f53a8c29ad30ea5430906f66d44beb2e6149a71c170f332a6b1e9d79f0fb'
24 'c5cb8979ef96d8b1759f99f19863f5d47b91a310cf50d88e2282ec2b16801408441925d29d409e779b2995993e7c95a2234a69545a1a8b42bd8be50da537394b'
25 '4ebbfb0ca1957f9f5ed01b3b40c0aa9fb5bd70cf4b47ad1dc55f8ab7394fe7e2120aec8839bc2146861ef021f62f340b3f028ba39bf7f57bd0ce4f1c6b59394f')
26
27prepare() {
28 # Patch VTK6 to work with newwer versions of GCC
29 cd "${srcdir}"/VTK-6.3.0
30 patch -Np1 -i "${srcdir}"/vtk_gcc.patch
31
32 # Patch the examples installation script as it causes problems
33 # for when it tries to delete directories that aren't there
34 cd "${srcdir}"/ffcs
35 patch -Np1 -i "${srcdir}"/examples.patch
36
37}
38
39build() {
40 mkdir -p "${srcdir}"/vtk-build
41 cd "${srcdir}"/vtk-build
42
43 # Build VTK6 with c++11 because newer standards raise errors
44 cmake -Wno-dev -DCMAKE_CXX_STANDARD=11 "${srcdir}"/VTK-6.3.0
45 make -j8
46
47 # Install VTK6 to a temporary directory to be used by FF-cs
48 make DESTDIR="${srcdir}"/vtk-install -j8 install
49
50 # Configure and build FF-cs
51 cd "${srcdir}"/ffcs
52 ./configure --with-vtk-libdir="${srcdir}/vtk-install/usr/local/lib" --with-vtk-includedir="${srcdir}/vtk-install/usr/local/include/vtk-6.3/" --with-vtk-major="6.3"
53 make -j8
54
55}
56
57
58package() {
59 # Install the package files to /opt
60 install -dv "${pkgdir}/opt"
61 cp -r "${srcdir}/ffcs/pack/work" "${pkgdir}/opt/ffcs"
62 install -Dm755 "${srcdir}/freefem-cs" "${pkgdir}/usr/bin/freefem-cs"
63
64 # Install license
65 install -Dm644 "${srcdir}/ffcs/COPYING" "${pkgdir}/usr/share/licenses/FreeFem-cs/COPYING"
66
67 # Install the desktop entry
68 install -Dm644 "${srcdir}/freefem-cs.desktop" "${pkgdir}/usr/share/applications/freefem-cs.desktop"
69
70}
71

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