triangle
archimedes-tools
scanned 2026-11-01 00:21:48.120785
The source is a well-known academic library hosted on netlib.org, a reputable repository for scientific software, and the build process compiles unobfuscated source code without executing remote scripts or installing prebuilt binaries.
Triggered rules
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 a well-known academic library hosted on netlib.org, a reputable repository for scientific software, and the build process compiles unobfuscated source code without executing remote scripts or installing prebuilt binaries.
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:14
source=('http://www.netlib.org/voronoi/triangle.zip'
PKGBUILD
1 offending line(s) highlighted# Contributor: Renato Caldas <renato@calgera.com>
# Contributor: Martin Diehl <m.diehl@mpie.de>
# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
# Contributor: A Austin <acm.austin at gmail.com>
# Contributor: Martin Ortbauer <mortbauer@gmail.com>
pkgbase=archimedes-tools
pkgname=(triangle showme)
pkgver=1.6
pkgrel=9
arch=(i686 x86_64)
url="https://www.cs.cmu.edu/~quake/archimedes.html"
pkgdesc="Archimedes is a set of tools, including mesh generators, for performing unstructured finite element simulations"
license=('custom')
source=('http://www.netlib.org/voronoi/triangle.zip'
'triangle_definitions.patch')
md5sums=('10aff8d7950f5e0e2fb6dd2e340be2c9'
'98844d1b1d9de73101b660412132cd07')
makedepends=('libx11')
prepare() {
patch < ${srcdir}/triangle_definitions.patch triangle.h
}
build(){
export CFLAGS=-std=gnu11
gcc ${CFLAGS} -o triangle triangle.c -lm
gcc ${CFLAGS} -DTRILIBRARY -Wall -fpic -c triangle.c
gcc ${CFLAGS} -shared -o libtriangle.so triangle.o
gcc ${CFLAGS} -o showme showme.c -lX11
}
package_triangle() {
url="https://www.cs.cmu.edu/~quake/triangle.html"
pkgdesc='A Two-Dimensional Quality Mesh Generator and Delaunay Triangulator.'
depends=('glibc')
install -Dm755 triangle "${pkgdir}/usr/bin/triangle"
install -Dm644 triangle.h "${pkgdir}/usr/include/triangle.h"
install -Dm644 libtriangle.so "${pkgdir}/usr/lib/libtriangle.so"
install -Dm644 "${srcdir}/README" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
package_showme() {
url="https://www.cs.cmu.edu/~quake/showme.html"
pkgdesc='Show Me graphically displays the contents of geometric files, especially those generated by Triangle'
depends=('libx11')
install -Dm755 showme "${pkgdir}/usr/bin/showme"
install -Dm644 "${srcdir}/README" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 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 |