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