groonga-normalizer-mysql
maintainer kou
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The flagged external install via gem is part of the test phase for a legitimate project, uses a local gem home, and does not execute untrusted code in the final package.
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 flagged external install via gem is part of the test phase for a legitimate project, uses a local gem home, and does not execute untrusted code in the final package.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
External install via pipx/uv/poetry/cargo/go/gem
alt_pkg_manager_install
A non-pip/npm package manager (pipx, uv, poetry, cargo install, go install, gem, conda…) fetches and builds an external package at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:52
MAKEFLAGS="-j$(nproc)" gem install --no-user-install grntest
PKGBUILD
1 offending line(s) highlighted
1
pkgname=groonga-normalizer-mysql
2
pkgver=1.3.0
3
pkgrel=1
4
pkgdesc="A MySQL compatible normalizer plugin for Groonga."
5
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
6
url="https://github.com/groonga/groonga-normalizer-mysql"
7
license=('LGPL-2.0-only')
8
source=(
9
"https://github.com/groonga/groonga-normalizer-mysql/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
10
"https://github.com/groonga/groonga-normalizer-mysql/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc"
11
)
12
sha512sums=(
13
"cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e"
14
"SKIP"
15
)
16
validpgpkeys=(2701F317CFCCCB975CADE9C2624CF77434839225)
17
depends=(
18
gcc
19
groonga
20
)
21
makedepends=(
22
cmake
23
ninja
24
)
25
checkdepends=(
26
git
27
make
28
ruby-bundler
29
ruby-erb
30
)
31
32
# See also: https://wiki.archlinux.org/title/CMake_package_guidelines
33
build() {
34
rm -rf build
35
local cmake_options=(
36
-B build
37
-S "${pkgname}-${pkgver}"
38
-G Ninja
39
-W no-dev
40
-D CMAKE_BUILD_TYPE=None
41
-D CMAKE_INSTALL_PREFIX=/usr
42
-D CMAKE_SKIP_RPATH=ON
43
)
44
cmake "${cmake_options[@]}"
45
cmake --build build
46
}
47
48
check() {
49
cd build
50
export GEM_HOME="${PWD}/gem"
51
PATH="${GEM_HOME}/bin:${PATH}"
52
MAKEFLAGS="-j$(nproc)" gem install --no-user-install grntest
53
BUILD_DIR="${PWD}" \
54
"../${pkgname}-${pkgver}/test/run-test.sh" \
55
--n-retries=2 \
56
--read-timeout=30 \
57
--reporter=mark
58
}
59
60
package() {
61
DESTDIR="${pkgdir}" cmake --install build
62
}
63
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 |