concorde-glpk
The source URLs are from the official project host (math.uwaterloo.ca) and a well-known GNU mirror (ftp.gnu.org), both legitimate and project-appropriate, despite not being on a standard whitelist; the package builds from official source code, posing no execution or supply-chain risk.
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 URLs are from the official project host (math.uwaterloo.ca) and a well-known GNU mirror (ftp.gnu.org), both legitimate and project-appropriate, despite not being on a standard whitelist; the package builds from official source code, posing no execution or supply-chain risk.
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:15
source=("http://www.math.uwaterloo.ca/tsp/concorde/downloads/codes/src/co031219.tgz"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Dario Ostuni <dario.ostuni@gmail.com>
pkgname=concorde-glpk
pkgver=03.12.19
pkgrel=2
_glpkver=5.0
pkgdesc="Travelling Salesman Problem Solver (GLPK back-end)"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="http://www.math.uwaterloo.ca/tsp/concorde/index.html"
license=('custom')
provides=('concorde')
depends=('glpk')
makedepends=()
options=('staticlibs' '!buildflags')
source=("http://www.math.uwaterloo.ca/tsp/concorde/downloads/codes/src/co031219.tgz"
"https://ftp.gnu.org/gnu/glpk/glpk-${_glpkver}.tar.gz")
sha384sums=('b6eaf8ec6cc6f28f03851169b47e790dcb7352611578052c7fa891073a778af1b28a69c4f4f6598d4a5d5cf9f39ac8d3'
'b7f3b5f4d47f4c79972ece1e3bbf829f3ec97c03241b40100620de636111c5c11560adfd47b9905c5d4b7bada438c75d')
build() {
cd "$srcdir/concorde"
cp "$srcdir/glpk-${_glpkver}/examples/cplex/cplex.c" "LP/"
cp "$srcdir/glpk-${_glpkver}/examples/cplex/cplex.h" "LP/"
echo '#include "cplex.c"' > LP/lpglpk.c
echo '#include "lpcplex8.c"' >> LP/lpglpk.c
./configure --enable-pthreads --prefix=/usr
make CPPFLAGS=-I. LPSOLVER_INTERFACE=lpglpk.c LPSOLVER_LIB=-lglpk
}
package() {
cd "$srcdir/concorde"
install -dm755 "$pkgdir/usr/bin"
install -m755 "TSP/concorde" "$pkgdir/usr/bin"
install -dm755 "$pkgdir/usr/include"
install -m644 concorde.h "$pkgdir/usr/include"
install -dm755 "$pkgdir/usr/lib"
install -m755 concorde.a "$pkgdir/usr/lib/libconcorde.a"
install -dm755 "$pkgdir/usr/share/doc/concorde"
install -m644 README "$pkgdir/usr/share/doc/concorde"
}
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 |