liberica-jdk-11-lite-bin
maintainer bacteriostat
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads prebuilt Liberica JDK binaries from BellSoft's official download domain (download.bell-sw.com), which is the project's legitimate source; despite the static analyzer flag for a non-standard host, the source is trustworthy and the binaries are checksummed, making this a normal AUR binary package with low risk.
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 package downloads prebuilt Liberica JDK binaries from BellSoft's official download domain (download.bell-sw.com), which is the project's legitimate source; despite the static analyzer flag for a non-standard host, the source is trustworthy and the binaries are checksummed, making this a normal AUR binary package with low risk.
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:45
source_aarch64=(https://download.bell-sw.com/java/$pkgver/bellsoft-jdk$pkgver-linux-aarch64-lite.tar.gz)
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Bacteriostat <dev dot bacteriostat at aleeas dot com>
2
# Contributor: Jonathon Fernyhough <jonathon"m2x+dev>
3
# Contributor: Sam Guymer <sam at guymer dot me>
4
5
# This PKGBUILD adapted from zulu-11-bin
6
7
_jdkname=liberica-jdk-11-lite
8
pkgname="${_jdkname}-bin"
9
_java_ver=11
10
pkgver=11.0.32+11
11
pkgrel=1
12
pkgdesc='BellSoft builds of OpenJDK are fully certified and 100% open source Java Development Kits (JDKs) for all Java development and production workloads. Lite version has compressed modules.'
13
arch=(aarch64 armv7h armv8h x86_64)
14
url='https://bell-sw.com/'
15
license=('custom')
16
depends=('java-environment-common=3' 'java-runtime-common>=3' 'ca-certificates-utils')
17
optdepends=(ffmpeg freetype2 gtk2 gtk3 libnet)
18
provides=(
19
"java-environment=$_java_ver"
20
"java-environment-openjdk=$_java_ver"
21
"java-runtime-headless=$_java_ver"
22
"java-runtime-headless-openjdk=$_java_ver"
23
"java-runtime=$_java_ver"
24
"java-runtime-openjdk=$_java_ver"
25
"liberica-jdk-11-bin=$pkgver"
26
"liberica-jre-11-bin=$pkgver"
27
)
28
install=$_jdkname.install
29
30
backup=(etc/${_jdkname}/logging.properties
31
etc/${_jdkname}/management/jmxremote.access
32
etc/${_jdkname}/management/jmxremote.password.template
33
etc/${_jdkname}/management/management.properties
34
etc/${_jdkname}/net.properties
35
etc/${_jdkname}/security/java.policy
36
etc/${_jdkname}/security/java.security
37
etc/${_jdkname}/security/policy/README.txt
38
etc/${_jdkname}/security/policy/limited/default_US_export.policy
39
etc/${_jdkname}/security/policy/limited/default_local.policy
40
etc/${_jdkname}/security/policy/limited/exempt_local.policy
41
etc/${_jdkname}/security/policy/unlimited/default_US_export.policy
42
etc/${_jdkname}/security/policy/unlimited/default_local.policy
43
etc/${_jdkname}/sound.properties)
44
45
source_aarch64=(https://download.bell-sw.com/java/$pkgver/bellsoft-jdk$pkgver-linux-aarch64-lite.tar.gz)
46
source_armv7h=(https://download.bell-sw.com/java/$pkgver/bellsoft-jdk$pkgver-linux-arm32-vfp-hflt-lite.tar.gz)
47
source_armv8h=(${source_armv7h[@]})
48
source_i686=(https://download.bell-sw.com/java/$pkgver/bellsoft-jdk$pkgver-linux-i586-lite.tar.gz)
49
source_x86_64=(https://download.bell-sw.com/java/$pkgver/bellsoft-jdk$pkgver-linux-amd64-lite.tar.gz)
50
51
# Upstream-provided
52
sha1sums_aarch64=('4b78e667675800c41ee1a868e7e02fc09eb4221d')
53
sha1sums_armv7h=('e2c93caa1b0a93d81873d8b661b13c38c32f3326')
54
sha1sums_armv8h=('e2c93caa1b0a93d81873d8b661b13c38c32f3326')
55
sha1sums_x86_64=('fb6dc5765a4c95a274775356a91136a2717f3f4b')
56
57
_jvmdir="/usr/lib/jvm/${_jdkname}"
58
59
package() {
60
cd jdk-${pkgver/+*/}-lite
61
62
install -dm 755 "${pkgdir}/${_jvmdir}"
63
cp -a . "${pkgdir}/${_jvmdir}/"
64
65
# copied from java11-openjdk
66
67
# Conf
68
install -dm 755 "${pkgdir}/etc"
69
cp -r conf "${pkgdir}/etc/${_jdkname}"
70
rm -rf "${pkgdir}/${_jvmdir}/conf"
71
ln -s "/etc/${_jdkname}" "${pkgdir}/${_jvmdir}/conf"
72
73
# Legal
74
install -dm 755 "${pkgdir}/usr/share/licenses"
75
cp -r legal "${pkgdir}/usr/share/licenses/${_jdkname}"
76
rm -rf "${pkgdir}/${_jvmdir}/legal"
77
ln -s "/usr/share/licenses/${_jdkname}" "${pkgdir}/${_jvmdir}/legal"
78
79
# Man pages
80
#for f in man/man1/* man/ja/man1/*; do
81
# install -Dm 644 "${f}" "${pkgdir}/usr/share/${f/\.1/-$_jdkname.1}"
82
#done
83
#rm -rf "${pkgdir}/${_jvmdir}/man"
84
#ln -s /usr/share/man "${pkgdir}/${_jvmdir}/man"
85
86
# Link JKS keystore from ca-certificates-utils
87
rm -f "${pkgdir}/${_jvmdir}/lib/security/cacerts"
88
ln -sf /etc/ssl/certs/java/cacerts "${pkgdir}/${_jvmdir}/lib/security/cacerts"
89
}
90
Changes since previous scan
--- PKGBUILD @ 2026-06-19 19:07+++ PKGBUILD @ 2026-08-03 00:08@@ -7,7 +7,7 @@ _jdkname=liberica-jdk-11-lite pkgname="${_jdkname}-bin" _java_ver=11-pkgver=11.0.31+11+pkgver=11.0.32+11 pkgrel=1 pkgdesc='BellSoft builds of OpenJDK are fully certified and 100% open source Java Development Kits (JDKs) for all Java development and production workloads. Lite version has compressed modules.' arch=(aarch64 armv7h armv8h x86_64)@@ -49,10 +49,10 @@ source_x86_64=(https://download.bell-sw.com/java/$pkgver/bellsoft-jdk$pkgver-linux-amd64-lite.tar.gz) # Upstream-provided-sha1sums_aarch64=('1d791e54501b15ab7bf378d57aecf4227c96d75a')-sha1sums_armv7h=('f50c7c74c4a2145730ed99076bf8ecdf6565180a')-sha1sums_armv8h=('f50c7c74c4a2145730ed99076bf8ecdf6565180a')-sha1sums_x86_64=('f21289c4d516b8393b231da03f32ab98c7fca1e8')+sha1sums_aarch64=('4b78e667675800c41ee1a868e7e02fc09eb4221d')+sha1sums_armv7h=('e2c93caa1b0a93d81873d8b661b13c38c32f3326')+sha1sums_armv8h=('e2c93caa1b0a93d81873d8b661b13c38c32f3326')+sha1sums_x86_64=('fb6dc5765a4c95a274775356a91136a2717f3f4b') _jvmdir="/usr/lib/jvm/${_jdkname}" 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 13:24:23 | MEDIUM | 1 |
| 2026-06-19 19:07:35 | CLEAN | 2 |
| 2026-06-18 16:11:54 | MEDIUM | 1 |