triangle

LOW
maintainer carlosal1015 9 votes base archimedes-tools scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

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

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 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)
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 source=('http://www.netlib.org/voronoi/triangle.zip'

PKGBUILD

1 offending line(s) highlighted
1# Contributor: Renato Caldas <renato@calgera.com>
2# Contributor: Martin Diehl <m.diehl@mpie.de>
3# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
4# Contributor: A Austin <acm.austin at gmail.com>
5# Contributor: Martin Ortbauer <mortbauer@gmail.com>
6pkgbase=archimedes-tools
7pkgname=(triangle showme)
8pkgver=1.6
9pkgrel=9
10arch=(i686 x86_64)
11url="https://www.cs.cmu.edu/~quake/archimedes.html"
12pkgdesc="Archimedes is a set of tools, including mesh generators, for performing unstructured finite element simulations"
13license=('custom')
14source=('http://www.netlib.org/voronoi/triangle.zip'
15 'triangle_definitions.patch')
16md5sums=('10aff8d7950f5e0e2fb6dd2e340be2c9'
17 '98844d1b1d9de73101b660412132cd07')
18makedepends=('libx11')
19
20prepare() {
21 patch < ${srcdir}/triangle_definitions.patch triangle.h
22}
23
24build(){
25 export CFLAGS=-std=gnu11
26 gcc ${CFLAGS} -o triangle triangle.c -lm
27 gcc ${CFLAGS} -DTRILIBRARY -Wall -fpic -c triangle.c
28 gcc ${CFLAGS} -shared -o libtriangle.so triangle.o
29
30 gcc ${CFLAGS} -o showme showme.c -lX11
31}
32
33package_triangle() {
34 url="https://www.cs.cmu.edu/~quake/triangle.html"
35 pkgdesc='A Two-Dimensional Quality Mesh Generator and Delaunay Triangulator.'
36 depends=('glibc')
37
38 install -Dm755 triangle "${pkgdir}/usr/bin/triangle"
39 install -Dm644 triangle.h "${pkgdir}/usr/include/triangle.h"
40 install -Dm644 libtriangle.so "${pkgdir}/usr/lib/libtriangle.so"
41 install -Dm644 "${srcdir}/README" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
42}
43
44package_showme() {
45 url="https://www.cs.cmu.edu/~quake/showme.html"
46 pkgdesc='Show Me graphically displays the contents of geometric files, especially those generated by Triangle'
47 depends=('libx11')
48
49 install -Dm755 showme "${pkgdir}/usr/bin/showme"
50 install -Dm644 "${srcdir}/README" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
51}
52

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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