gdbm-git
maintainer Chocobo1
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a git repository hosted on a plausibly project-owned domain (git.gnu.org.ua) for building the project's own source, which is a normal AUR practice despite the non-standard host.
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 90%): The source is a git repository hosted on a plausibly project-owned domain (git.gnu.org.ua) for building the project's own source, which is a normal AUR practice despite the non-standard host.
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:15
source=("git+https://git.gnu.org.ua/gdbm.git")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
2
3
pkgname=gdbm-git
4
pkgver=1.23.r21.gcbbf1d7
5
pkgrel=1
6
pkgdesc="GNU database library"
7
arch=('i686' 'x86_64')
8
url="https://www.gnu.org.ua/software/gdbm/gdbm.html"
9
license=('GPL-3.0-or-later')
10
depends=('glibc' 'sh')
11
makedepends=('git' 'readline' 'rsync')
12
provides=("gdbm=$pkgver" 'libgdbm.so' 'libgdbm_compat.so')
13
conflicts=('gdbm')
14
options=('staticlibs')
15
source=("git+https://git.gnu.org.ua/gdbm.git")
16
sha256sums=('SKIP')
17
18
19
pkgver() {
20
cd "gdbm"
21
22
_tag=$(git tag -l --sort -v:refname | sed '/rc[0-9]*/d' | head -n1)
23
_rev=$(git rev-list --count $_tag..HEAD)
24
_hash=$(git rev-parse --short HEAD)
25
printf "%s.r%s.g%s" "$_tag" "$_rev" "$_hash" | sed 's/^v//'
26
}
27
28
build() {
29
cd "gdbm"
30
31
./bootstrap
32
CFLAGS="$CFLAGS -ffat-lto-objects" \
33
./configure \
34
--prefix="/usr" \
35
--enable-libgdbm-compat
36
make
37
}
38
39
check() {
40
cd "gdbm"
41
42
#make check
43
}
44
45
package() {
46
cd "gdbm"
47
48
make DESTDIR="$pkgdir" install
49
install -Dm644 {AUTHORS,NEWS,NOTE-WARNING,README} -t "$pkgdir/usr/share/doc/gdbm"
50
}
51
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 |