{ "name": "temurin-jre", "version": "25.0.4.1+1", "summary": "Java 25 runtime from Eclipse Temurin's JDK, made with jlink: the modules OpenSearch uses, headless", "category": "language", "license": "GPL-2.0-only WITH Classpath-exception-2.0", "homepage": "https://adoptium.net/", "source": { "url": "https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.4.1%2B1/OpenJDK25U-jdk_x64_linux_hotspot_25.0.4.1_1.tar.gz", "sha256": "dbb698396d478e7fa2b1e50f4103324b2a99b90569ee27c33f2261f9215cf41e" }, "watch": {"kind": "github-release", "repo": "adoptium/temurin25-binaries", "tag_regex": "^jdk-(?P[0-9]+\\.[0-9]+\\.[0-9]+(?:\\.[0-9]+)?\\+[0-9]+)$"}, "vendor": "vendor.txt", "deps": [], "env_packages": [], "static": false, "nss": true, "check": "bin/java -version 2>&1 | first && bin/java -version 2>&1 | has -F 'openjdk version \"25.0.4.1\"' && m=\" $(bin/java --list-modules | sed 's/@.*//' | tr '\\n' ' ')\" && for x in java.base java.desktop java.instrument java.logging java.management java.naming java.sql java.xml jdk.incubator.vector jdk.localedata jdk.management jdk.net jdk.unsupported java.compiler java.net.http java.security.jgss jdk.charsets jdk.jfr; do case $m in *\" $x \"*) ;; *) echo \"temurin-jre: no module $x\"; exit 1 ;; esac; done && for x in jdk.compiler jdk.jshell jdk.jlink; do case $m in *\" $x \"*) echo \"temurin-jre: module $x should not be in the runtime\"; exit 1 ;; esac; done && for x in libawt_xawt libjawt libsplashscreen libjsound; do [ ! -e \"java/lib/$x.so\" ] || { echo \"temurin-jre: java/lib/$x.so should be left out\"; exit 1; }; done && bad=0 && for f in $(find java -type f); do [ \"$(head -c 4 \"$f\" | od -An -tx1 | tr -d ' \\n')\" = 7f454c46 ] || continue; for l in $(readelf -d \"$f\" | sed -n 's/.*(NEEDED).*\\[\\(.*\\)\\]/\\1/p'); do case $l in libc.so.6 | libm.so.6 | libpthread.so.0 | libdl.so.2 | librt.so.1 | ld-linux-*) continue ;; esac; [ -e \"java/lib/$l\" ] || [ -e \"java/lib/server/$l\" ] || { echo \"temurin-jre: $f needs $l, which is neither glibc nor in java/lib\"; bad=1; }; done; done && [ $bad = 0 ] && need=$(for f in $(find java -type f); do [ \"$(head -c 4 \"$f\" | od -An -tx1 | tr -d ' \\n')\" = 7f454c46 ] || continue; objdump -T \"$f\"; done 2>/dev/null | grep -o 'GLIBC_2\\.[0-9]*' | cut -d. -f2 | sort -n | tail -n 1) && have=$(getconf GNU_LIBC_VERSION | cut -d. -f2) && echo \"glibc 2.$need needed, 2.$have in the builder environment\" && [ \"$need\" -le \"$have\" ] && bin/java -Xshare:on -Xmx64m -version 2>&1 | has 'sharing' && bin/java -XshowSettings:properties -version 2>&1 | has -F \"java.home = $PREFIX/java\" && bin/java -XshowSettings:locale -version 2>&1 | has -w pl_PL && t=$(mktemp -d) && java/bin/keytool -genkeypair -keyalg EC -groupname secp256r1 -dname CN=bvs -alias bvs -keystore \"$t/k.p12\" -storetype PKCS12 -storepass bvscheck -validity 1 -noprompt && java/bin/keytool -list -keystore \"$t/k.p12\" -storepass bvscheck | has PrivateKeyEntry && { java/bin/keytool -list -keystore \"$t/k.p12\" -storepass wrongpass > \"$t/wrong\" 2>&1; [ $? != 0 ]; } && has -i 'password' < \"$t/wrong\"" }