libodb-mysql

LOW
maintainer migrev 5 votes scanned 2026-09-17 00:27:14.276658
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
3pkgname=libodb-mysql
4pkgver=2.6.0
5pkgrel=1
6pkgdesc="The ODB MySQL runtime library"
7arch=('i686' 'x86_64')
8url="https://www.codesynthesis.com/products/odb/"
9depends=('build2' 'mariadb-libs' 'libodb')
10options=('!libtool')
11license=('GPL3')
12source=("https://www.codesynthesis.com/download/odb/${pkgver}/${pkgname}-${pkgver}.tar.gz")
13sha256sums=('d06b552a64d24fb542319733d3264b954bf361e77608391b721036814de267ff')
14
15prepare() {
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
29build() {
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
37package() {
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

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