ceres-solver-legacy
maintainer orphaned
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from the project's official domain (ceres-solver.org), which is plausibly the project's own release infrastructure; building from official project sources is normal AUR packaging, even if the host isn't on a whitelist.
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 tarball from the project's official domain (ceres-solver.org), which is plausibly the project's own release infrastructure; building from official project sources is normal AUR packaging, even if the host isn't on a whitelist.
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:17
source=("http://ceres-solver.org/ceres-solver-${pkgver}.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: kino <cybao292261@163.com>
2
# Contributor: dtag <dtag00@gmail.com>
3
4
pkgname=ceres-solver-legacy
5
pkgver=1.14.0
6
pkgrel=6
7
pkgdesc="Solver for nonlinear least squares problems. Legacy version needed for google cartographer"
8
arch=('i686' 'x86_64')
9
url="http://ceres-solver.org/"
10
license=('LGPL')
11
makedepends=('cmake' 'eigen>=3.3.0')
12
depends=('google-glog>=0.3.4' 'suitesparse>=4.4.5')
13
optdepends=('openmp')
14
provides=(ceres-solver)
15
conflicts=(ceres-solver)
16
17
source=("http://ceres-solver.org/ceres-solver-${pkgver}.tar.gz"
18
"ceres-solver-fix-cmake-findtbb.patch"
19
"ceres-solver-fix-suitesparse-7.2.patch")
20
sha256sums=('4744005fc3b902fed886ea418df70690caa8e2ff6b5a90f3dd88a3d291ef8e8e'
21
'6166866bf678ac26acaf0c95279c02a039652856f924b2782dff4d46bb39402b'
22
'30020a2a3d6827e269ab3ec4c14397c3ce2ab2b19afc85e61ae268dd301dec7b')
23
options=('staticlibs')
24
25
_cmakeopts=('-D CMAKE_BUILD_TYPE=Release'
26
'-D CMAKE_INSTALL_PREFIX=/usr'
27
'-D EIGENSPARSE=ON'
28
'-D CXX11=ON'
29
'-D BUILD_SHARED_LIBS=ON'
30
'-D BUILD_TESTING=OFF'
31
'-D BUILD_EXAMPLES=OFF')
32
33
prepare() {
34
cd $srcdir/ceres-solver-$pkgver
35
patch -p1 -i "$srcdir"/ceres-solver-fix-cmake-findtbb.patch
36
patch -p1 -i "$srcdir"/ceres-solver-fix-suitesparse-7.2.patch
37
}
38
39
build() {
40
cd $srcdir/ceres-solver-$pkgver
41
42
mkdir -p ./build
43
cd ./build
44
cmake ${_cmakeopts[@]} ../ -DLIB_SUFFIX=""
45
make
46
}
47
48
package() {
49
cd $srcdir/ceres-solver-$pkgver/build/
50
make DESTDIR=$pkgdir install
51
install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
52
}
53
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |