libodb-mysql
maintainer migrev
· 5 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from the official project domain codesynthesis.com, which is the legitimate upstream for ODB; building from upstream source on the project's own domain is normal AUR packaging, even if the host is not 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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the official project domain codesynthesis.com, which is the legitimate upstream for ODB; building from upstream source on the project's own domain is normal AUR packaging, even if the host is not 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:12
source=("https://www.codesynthesis.com/download/odb/${pkgver}/${pkgname}-${pkgver}.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Miguel Revilla <yo at miguelrevilla dot com>
2
3
pkgname=libodb-mysql
4
pkgver=2.6.0
5
pkgrel=1
6
pkgdesc="The ODB MySQL runtime library"
7
arch=('i686' 'x86_64')
8
url="https://www.codesynthesis.com/products/odb/"
9
depends=('build2' 'mariadb-libs' 'libodb')
10
options=('!libtool')
11
license=('GPL3')
12
source=("https://www.codesynthesis.com/download/odb/${pkgver}/${pkgname}-${pkgver}.tar.gz")
13
sha256sums=('d06b552a64d24fb542319733d3264b954bf361e77608391b721036814de267ff')
14
15
prepare() {
16
17
GPPVER="$(${CXX:-g++} --version | grep 'g++ (GCC)' | sed 's/g++ (GCC) //' | sed 's/\s.*$//')"
18
19
bpkg create -d odb-gcc-${GPPVER} cc \
20
config.cxx=${CXX:-g++} \
21
config.cc.coptions="-O3 -DODB_GCC_PLUGIN_DIR $CXXFLAGS -I/usr/include/mysql" \
22
config.bin.rpath=${pkgdir}/usr/lib \
23
config.install.root=${pkgdir}/usr \
24
config.install.relocatable=true
25
26
mv ${pkgname}-${pkgver}.tar.gz odb-gcc-${GPPVER}
27
}
28
29
build() {
30
31
GPPVER="$(${CXX:-g++} --version | grep 'g++ (GCC)' | sed 's/g++ (GCC) //' | sed 's/\s.*$//')"
32
cd "${srcdir}/odb-gcc-${GPPVER}"
33
34
bpkg build ${pkgname}-${pkgver}.tar.gz ?sys:libodb/* ?sys:libmysqlclient/* ?sys:cli/*
35
}
36
37
package() {
38
39
GPPVER="$(${CXX:-g++} --version | grep 'g++ (GCC)' | sed 's/g++ (GCC) //' | sed 's/\s.*$//')"
40
cd "${srcdir}/odb-gcc-${GPPVER}"
41
42
bpkg install ${pkgname}
43
44
rm ${pkgdir}/usr/lib/pkgconfig/${pkgname}.static.pc
45
46
mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}/
47
mv ${pkgdir}/usr/share/doc/${pkgname}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/
48
}
49
Changes since previous scan
--- PKGBUILD @ 2026-06-19 19:07+++ PKGBUILD @ 2026-08-03 00:08@@ -1,7 +1,7 @@ # Maintainer: Miguel Revilla <yo at miguelrevilla dot com> pkgname=libodb-mysql-pkgver=2.5.0+pkgver=2.6.0 pkgrel=1 pkgdesc="The ODB MySQL runtime library" arch=('i686' 'x86_64')@@ -10,7 +10,7 @@ options=('!libtool') license=('GPL3') source=("https://www.codesynthesis.com/download/odb/${pkgver}/${pkgname}-${pkgver}.tar.gz")-sha256sums=('456bc2624b232a1066cc22503a19b0492d17b5bd42eef3b0dba7ea85c78e705f')+sha256sums=('d06b552a64d24fb542319733d3264b954bf361e77608391b721036814de267ff') prepare() { @@ -41,7 +41,7 @@ bpkg install ${pkgname} - rm ${pkgdir}/usr/lib/pkgconfig/${pkgname}.static.pc+ rm ${pkgdir}/usr/lib/pkgconfig/${pkgname}.static.pc mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}/ mv ${pkgdir}/usr/share/doc/${pkgname}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/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 17:39:33 | MEDIUM | 1 |
| 2026-06-19 19:07:35 | CLEAN | 2 |
| 2026-06-18 16:11:54 | MEDIUM | 1 |