java-berkeleydb
maintainer edoardolopresti
· 16 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a legitimate Berkeley DB tarball from Oracle's official domain and a patch from zeroc.com, both plausibly project-owned; building from official sources is normal AUR practice despite the non-whitelisted 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 95%): The source is a legitimate Berkeley DB tarball from Oracle's official domain and a patch from zeroc.com, both plausibly project-owned; building from official sources is normal AUR practice despite the non-whitelisted 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:12
source=(http://download.oracle.com/berkeley-db/db-${pkgver}.tar.gz https://zeroc.com/download/berkeley-db/berkeley-db.5.3.28.patch) -
PKGBUILD:12
source=(http://download.oracle.com/berkeley-db/db-${pkgver}.tar.gz https://zeroc.com/download/berkeley-db/berkeley-db.5.3.28.patch)
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Joe George <joe@externl.com>
2
3
pkgname=java-berkeleydb
4
pkgver=5.3.28
5
_pkg_major=5.3
6
pkgrel=4
7
pkgdesc="Java bindings for the Berkeley DB embedded database system"
8
arch=(i686 x86_64)
9
license=('custom')
10
url="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
11
depends=('java-environment' 'db')
12
source=(http://download.oracle.com/berkeley-db/db-${pkgver}.tar.gz https://zeroc.com/download/berkeley-db/berkeley-db.5.3.28.patch)
13
14
build() {
15
cd ${srcdir}/db-${pkgver}/build_unix
16
../dist/configure --prefix=/usr --enable-compat185 \
17
--enable-shared --enable-static --enable-java
18
make LIBSO_LIBS=-lpthread
19
}
20
21
package() {
22
install -Dm644 ${srcdir}/db-${pkgver}/build_unix/db.jar \
23
${pkgdir}/usr/share/java/berkeleydb/db.jar
24
25
install -Dm644 ${srcdir}/db-${pkgver}/build_unix/libdb_java-$_pkg_major.la \
26
${pkgdir}/usr/lib/libdb_java-$_pkg_major.la
27
}
28
29
prepare() {
30
cd ${srcdir}/db-${pkgver}
31
patch -Np1 -i ../berkeley-db.${pkgver}.patch
32
}
33
34
md5sums=('b99454564d5b4479750567031d66fe24'
35
'1892bb1e53db84242eda1d80c15b64cc')
36
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 |