├── linux ├── ca-certificates │ ├── debian │ │ └── src │ │ │ ├── main │ │ │ └── packaging │ │ │ │ ├── debian │ │ │ │ ├── compat │ │ │ │ ├── default │ │ │ │ ├── postinst │ │ │ │ ├── postrm │ │ │ │ ├── rules │ │ │ │ ├── control │ │ │ │ ├── adoptium-cacerts.sh │ │ │ │ └── changelog │ │ │ │ ├── build.sh │ │ │ │ ├── entrypoint.sh │ │ │ │ └── Dockerfile │ │ │ └── packageTest │ │ │ ├── resources │ │ │ ├── junit-platform.properties │ │ │ └── deb-contents.txt │ │ │ └── java │ │ │ └── org │ │ │ └── adoptium │ │ │ └── cacertificates │ │ │ ├── IOUtil.java │ │ │ └── ChangesVerificationTest.java │ └── build.gradle ├── jdk │ ├── debian │ │ └── src │ │ │ ├── main │ │ │ └── packaging │ │ │ │ ├── temurin │ │ │ │ ├── 8 │ │ │ │ │ └── debian │ │ │ │ │ │ ├── compat │ │ │ │ │ │ ├── copyright │ │ │ │ │ │ ├── prerm.in │ │ │ │ │ │ ├── postinst.in │ │ │ │ │ │ └── control │ │ │ │ ├── 11 │ │ │ │ │ └── debian │ │ │ │ │ │ ├── compat │ │ │ │ │ │ ├── copyright │ │ │ │ │ │ ├── prerm.in │ │ │ │ │ │ ├── postinst.in │ │ │ │ │ │ └── jinfo.in │ │ │ │ ├── 17 │ │ │ │ │ └── debian │ │ │ │ │ │ ├── compat │ │ │ │ │ │ ├── copyright │ │ │ │ │ │ ├── prerm.in │ │ │ │ │ │ ├── postinst.in │ │ │ │ │ │ └── jinfo.in │ │ │ │ ├── 19 │ │ │ │ │ └── debian │ │ │ │ │ │ ├── compat │ │ │ │ │ │ ├── copyright │ │ │ │ │ │ ├── prerm.in │ │ │ │ │ │ ├── changelog │ │ │ │ │ │ ├── postinst.in │ │ │ │ │ │ └── jinfo.in │ │ │ │ ├── 20 │ │ │ │ │ └── debian │ │ │ │ │ │ ├── compat │ │ │ │ │ │ ├── copyright │ │ │ │ │ │ ├── prerm.in │ │ │ │ │ │ ├── changelog │ │ │ │ │ │ ├── postinst.in │ │ │ │ │ │ └── jinfo.in │ │ │ │ ├── 21 │ │ │ │ │ └── debian │ │ │ │ │ │ ├── compat │ │ │ │ │ │ ├── copyright │ │ │ │ │ │ ├── prerm.in │ │ │ │ │ │ ├── postinst.in │ │ │ │ │ │ ├── changelog │ │ │ │ │ │ └── jinfo.in │ │ │ │ ├── 22 │ │ │ │ │ └── debian │ │ │ │ │ │ ├── compat │ │ │ │ │ │ ├── copyright │ │ │ │ │ │ ├── prerm.in │ │ │ │ │ │ ├── changelog │ │ │ │ │ │ ├── postinst.in │ │ │ │ │ │ └── jinfo.in │ │ │ │ └── 23 │ │ │ │ │ └── debian │ │ │ │ │ ├── compat │ │ │ │ │ ├── copyright │ │ │ │ │ ├── changelog │ │ │ │ │ ├── prerm.in │ │ │ │ │ ├── postinst.in │ │ │ │ │ └── jinfo.in │ │ │ │ ├── dragonwell │ │ │ │ └── 11 │ │ │ │ │ └── debian │ │ │ │ │ ├── compat │ │ │ │ │ ├── changelog │ │ │ │ │ ├── prerm.in │ │ │ │ │ ├── postinst.in │ │ │ │ │ └── jinfo.in │ │ │ │ ├── microsoft │ │ │ │ ├── 11 │ │ │ │ │ └── debian │ │ │ │ │ │ ├── compat │ │ │ │ │ │ ├── copyright │ │ │ │ │ │ ├── prerm.in │ │ │ │ │ │ ├── postinst.in │ │ │ │ │ │ └── jinfo.in │ │ │ │ ├── 17 │ │ │ │ │ └── debian │ │ │ │ │ │ ├── compat │ │ │ │ │ │ ├── copyright │ │ │ │ │ │ ├── prerm.in │ │ │ │ │ │ ├── postinst.in │ │ │ │ │ │ └── jinfo.in │ │ │ │ └── 21 │ │ │ │ │ └── debian │ │ │ │ │ ├── compat │ │ │ │ │ ├── copyright │ │ │ │ │ ├── prerm.in │ │ │ │ │ ├── postinst.in │ │ │ │ │ ├── changelog │ │ │ │ │ └── jinfo.in │ │ │ │ ├── entrypoint.sh │ │ │ │ ├── Dockerfile │ │ │ │ └── build.sh │ │ │ └── packageTest │ │ │ ├── resources │ │ │ ├── junit-platform.properties │ │ │ └── dependencies │ │ │ │ └── deb │ │ │ │ └── adoptium-ca-certificates_1.0.0-1_all.deb │ │ │ └── java │ │ │ └── packaging │ │ │ └── DebFiles.java │ ├── alpine │ │ └── src │ │ │ ├── main │ │ │ └── packaging │ │ │ │ ├── temurin │ │ │ │ ├── 8 │ │ │ │ │ └── HelloWorld.java │ │ │ │ ├── 11 │ │ │ │ │ ├── HelloWorld.java │ │ │ │ │ └── TestECDSA.java │ │ │ │ ├── 17 │ │ │ │ │ ├── HelloWorld.java │ │ │ │ │ └── TestECDSA.java │ │ │ │ ├── 19 │ │ │ │ │ ├── HelloWorld.java │ │ │ │ │ └── TestECDSA.java │ │ │ │ ├── 20 │ │ │ │ │ ├── HelloWorld.java │ │ │ │ │ └── TestECDSA.java │ │ │ │ ├── 21 │ │ │ │ │ ├── HelloWorld.java │ │ │ │ │ └── TestECDSA.java │ │ │ │ ├── 22 │ │ │ │ │ ├── HelloWorld.java │ │ │ │ │ └── TestECDSA.java │ │ │ │ └── 23 │ │ │ │ │ ├── HelloWorld.java │ │ │ │ │ └── TestECDSA.java │ │ │ │ ├── build.sh │ │ │ │ ├── entrypoint.sh │ │ │ │ └── Dockerfile │ │ │ └── packageTest │ │ │ ├── resources │ │ │ └── junit-platform.properties │ │ │ └── java │ │ │ └── packaging │ │ │ ├── ApkFiles.java │ │ │ └── TestContainersUtil.java │ ├── build.gradle │ ├── suse │ │ └── src │ │ │ └── main │ │ │ └── packaging │ │ │ ├── entrypoint.sh │ │ │ ├── Dockerfile │ │ │ └── build.sh │ └── redhat │ │ └── src │ │ └── main │ │ └── packaging │ │ ├── entrypoint.sh │ │ ├── openj9 │ │ └── run_build.sh │ │ └── Dockerfile ├── jre │ ├── debian │ │ └── src │ │ │ ├── main │ │ │ └── packaging │ │ │ │ ├── temurin │ │ │ │ ├── 8 │ │ │ │ │ └── debian │ │ │ │ │ │ ├── compat │ │ │ │ │ │ ├── copyright │ │ │ │ │ │ ├── prerm.in │ │ │ │ │ │ ├── jinfo.in │ │ │ │ │ │ ├── postinst.in │ │ │ │ │ │ ├── control │ │ │ │ │ │ └── changelog │ │ │ │ ├── 11 │ │ │ │ │ └── debian │ │ │ │ │ │ ├── compat │ │ │ │ │ │ ├── copyright │ │ │ │ │ │ ├── jinfo.in │ │ │ │ │ │ ├── prerm.in │ │ │ │ │ │ ├── postinst.in │ │ │ │ │ │ ├── control │ │ │ │ │ │ └── changelog │ │ │ │ ├── 17 │ │ │ │ │ └── debian │ │ │ │ │ │ ├── compat │ │ │ │ │ │ ├── copyright │ │ │ │ │ │ ├── jinfo.in │ │ │ │ │ │ ├── prerm.in │ │ │ │ │ │ ├── postinst.in │ │ │ │ │ │ ├── changelog │ │ │ │ │ │ └── control │ │ │ │ ├── 19 │ │ │ │ │ └── debian │ │ │ │ │ │ ├── compat │ │ │ │ │ │ ├── copyright │ │ │ │ │ │ ├── changelog │ │ │ │ │ │ ├── jinfo.in │ │ │ │ │ │ ├── prerm.in │ │ │ │ │ │ └── postinst.in │ │ │ │ ├── 20 │ │ │ │ │ └── debian │ │ │ │ │ │ ├── compat │ │ │ │ │ │ ├── copyright │ │ │ │ │ │ ├── jinfo.in │ │ │ │ │ │ ├── prerm.in │ │ │ │ │ │ ├── changelog │ │ │ │ │ │ └── postinst.in │ │ │ │ ├── 21 │ │ │ │ │ └── debian │ │ │ │ │ │ ├── compat │ │ │ │ │ │ ├── copyright │ │ │ │ │ │ ├── jinfo.in │ │ │ │ │ │ ├── prerm.in │ │ │ │ │ │ ├── postinst.in │ │ │ │ │ │ └── changelog │ │ │ │ ├── 22 │ │ │ │ │ └── debian │ │ │ │ │ │ ├── compat │ │ │ │ │ │ ├── copyright │ │ │ │ │ │ ├── jinfo.in │ │ │ │ │ │ ├── changelog │ │ │ │ │ │ ├── prerm.in │ │ │ │ │ │ └── postinst.in │ │ │ │ └── 23 │ │ │ │ │ └── debian │ │ │ │ │ ├── compat │ │ │ │ │ ├── copyright │ │ │ │ │ ├── jinfo.in │ │ │ │ │ ├── changelog │ │ │ │ │ ├── prerm.in │ │ │ │ │ └── postinst.in │ │ │ │ ├── entrypoint.sh │ │ │ │ └── Dockerfile │ │ │ └── packageTest │ │ │ ├── resources │ │ │ ├── junit-platform.properties │ │ │ └── dependencies │ │ │ │ └── deb │ │ │ │ └── adoptium-ca-certificates_1.0.0-1_all.deb │ │ │ └── java │ │ │ └── packaging │ │ │ └── DebFiles.java │ ├── alpine │ │ └── src │ │ │ ├── packageTest │ │ │ ├── resources │ │ │ │ └── junit-platform.properties │ │ │ └── java │ │ │ │ └── packaging │ │ │ │ ├── ApkFiles.java │ │ │ │ └── TestContainersUtil.java │ │ │ └── main │ │ │ └── packaging │ │ │ ├── build.sh │ │ │ ├── entrypoint.sh │ │ │ ├── Dockerfile │ │ │ └── temurin │ │ │ └── 8 │ │ │ └── APKBUILD │ ├── build.gradle │ ├── suse │ │ └── src │ │ │ └── main │ │ │ └── packaging │ │ │ ├── entrypoint.sh │ │ │ ├── Dockerfile │ │ │ └── build.sh │ └── redhat │ │ └── src │ │ └── main │ │ └── packaging │ │ ├── entrypoint.sh │ │ └── Dockerfile ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── settings.gradle └── build.gradle ├── wix ├── Resources │ ├── logo.ico │ ├── wix-banner.png │ ├── wix-banner.psd │ ├── wix-dialog.png │ ├── wix-dialog.psd │ ├── heat.icedteaweb.xslt │ └── heat.tools.xslt ├── Lang │ ├── LanguageList.config │ ├── OpenJDK.microsoft.en-us.wxl.template │ ├── OpenJDK.microsoft.de-de.wxl.template │ ├── OpenJDK.microsoft.fr-fr.wxl.template │ ├── OpenJDK.microsoft.ja-jp.wxl.template │ ├── OpenJDK.microsoft.zh-cn.wxl.template │ ├── OpenJDK.microsoft.zh-tw.wxl.template │ ├── OpenJDK.microsoft.es-es.wxl.template │ ├── OpenJDK.hotspot.en-us.wxl.template │ ├── OpenJDK.hotspot.de-de.wxl.template │ ├── OpenJDK.hotspot.es-es.wxl.template │ ├── OpenJDK.hotspot.fr-fr.wxl.template │ ├── OpenJDK.hotspot.ja-jp.wxl.template │ ├── OpenJDK.hotspot.zh-cn.wxl.template │ ├── OpenJDK.hotspot.zh-tw.wxl.template │ ├── OpenJDK.openj9.en-us.wxl.template │ ├── OpenJDK.openj9.de-de.wxl.template │ ├── OpenJDK.openj9.es-es.wxl.template │ ├── OpenJDK.openj9.fr-fr.wxl.template │ ├── OpenJDK.openj9.ja-jp.wxl.template │ ├── OpenJDK.openj9.zh-cn.wxl.template │ ├── OpenJDK.openj9.zh-tw.wxl.template │ ├── OpenJDK.dragonwell.en-us.wxl.template │ ├── OpenJDK.dragonwell.de-de.wxl.template │ ├── OpenJDK.dragonwell.es-es.wxl.template │ ├── OpenJDK.dragonwell.fr-fr.wxl.template │ ├── OpenJDK.dragonwell.ja-jp.wxl.template │ ├── OpenJDK.dragonwell.zh-cn.wxl.template │ └── OpenJDK.dragonwell.zh-tw.wxl.template ├── fixChangelog.sh ├── getGuid.ps1 ├── serverTimestamp.config ├── helpers │ └── Validate-Input.ps1 └── SourceDir │ └── CreateSourceFolder.OpenJDK11.ps1 ├── pkgbuild ├── .gitignore ├── Resources │ ├── adoptium.png │ ├── preinstall │ └── en.lproj │ │ ├── welcome.html.tmpl │ │ └── conclusion.html.tmpl ├── README.md └── Jenkinsfile ├── .project ├── .github ├── workflows │ ├── dependabot-auto-merge.yml │ ├── linuxTriage.yml │ ├── semgrep_diff.yml │ └── code-freeze.yml └── dependabot.yml ├── .gitignore ├── test └── functional │ └── wintps │ ├── runInstallerTests.sh │ └── playlist.xml ├── CONTRIBUTING.md └── CONFIGURATION.md /linux/ca-certificates/debian/src/main/packaging/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/11/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/17/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/19/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/20/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/21/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/22/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/23/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/8/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/11/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/17/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/19/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/20/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/21/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/22/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/23/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/8/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/dragonwell/11/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/microsoft/11/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/microsoft/17/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/microsoft/21/debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /wix/Resources/logo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/judovana/installer/master/wix/Resources/logo.ico -------------------------------------------------------------------------------- /wix/Resources/wix-banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/judovana/installer/master/wix/Resources/wix-banner.png -------------------------------------------------------------------------------- /wix/Resources/wix-banner.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/judovana/installer/master/wix/Resources/wix-banner.psd -------------------------------------------------------------------------------- /wix/Resources/wix-dialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/judovana/installer/master/wix/Resources/wix-dialog.png -------------------------------------------------------------------------------- /wix/Resources/wix-dialog.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/judovana/installer/master/wix/Resources/wix-dialog.psd -------------------------------------------------------------------------------- /pkgbuild/.gitignore: -------------------------------------------------------------------------------- 1 | distribution.xml 2 | *.pkg 3 | OpenJDKPKG.pkgproj 4 | *.html 5 | *.jdk 6 | Resources/license.rtf -------------------------------------------------------------------------------- /pkgbuild/Resources/adoptium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/judovana/installer/master/pkgbuild/Resources/adoptium.png -------------------------------------------------------------------------------- /linux/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/judovana/installer/master/linux/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /linux/jdk/alpine/src/main/packaging/temurin/11/HelloWorld.java: -------------------------------------------------------------------------------- 1 | public class HelloWorld { 2 | public static void main(String[] args) { System.out.println("Hello World!"); } 3 | } 4 | -------------------------------------------------------------------------------- /linux/jdk/alpine/src/main/packaging/temurin/17/HelloWorld.java: -------------------------------------------------------------------------------- 1 | public class HelloWorld { 2 | public static void main(String[] args) { System.out.println("Hello World!"); } 3 | } 4 | -------------------------------------------------------------------------------- /linux/jdk/alpine/src/main/packaging/temurin/19/HelloWorld.java: -------------------------------------------------------------------------------- 1 | public class HelloWorld { 2 | public static void main(String[] args) { System.out.println("Hello World!"); } 3 | } 4 | -------------------------------------------------------------------------------- /linux/jdk/alpine/src/main/packaging/temurin/20/HelloWorld.java: -------------------------------------------------------------------------------- 1 | public class HelloWorld { 2 | public static void main(String[] args) { System.out.println("Hello World!"); } 3 | } 4 | -------------------------------------------------------------------------------- /linux/jdk/alpine/src/main/packaging/temurin/21/HelloWorld.java: -------------------------------------------------------------------------------- 1 | public class HelloWorld { 2 | public static void main(String[] args) { System.out.println("Hello World!"); } 3 | } 4 | -------------------------------------------------------------------------------- /linux/jdk/alpine/src/main/packaging/temurin/22/HelloWorld.java: -------------------------------------------------------------------------------- 1 | public class HelloWorld { 2 | public static void main(String[] args) { System.out.println("Hello World!"); } 3 | } 4 | -------------------------------------------------------------------------------- /linux/jdk/alpine/src/main/packaging/temurin/23/HelloWorld.java: -------------------------------------------------------------------------------- 1 | public class HelloWorld { 2 | public static void main(String[] args) { System.out.println("Hello World!"); } 3 | } 4 | -------------------------------------------------------------------------------- /linux/jdk/alpine/src/main/packaging/temurin/8/HelloWorld.java: -------------------------------------------------------------------------------- 1 | public class HelloWorld { 2 | public static void main(String[] args) { System.out.println("Hello World!"); } 3 | } 4 | -------------------------------------------------------------------------------- /linux/jdk/alpine/src/packageTest/resources/junit-platform.properties: -------------------------------------------------------------------------------- 1 | junit.jupiter.execution.parallel.enabled = true 2 | junit.jupiter.execution.parallel.mode.default = concurrent 3 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/packageTest/resources/junit-platform.properties: -------------------------------------------------------------------------------- 1 | junit.jupiter.execution.parallel.enabled = true 2 | junit.jupiter.execution.parallel.mode.default = concurrent 3 | -------------------------------------------------------------------------------- /linux/jre/alpine/src/packageTest/resources/junit-platform.properties: -------------------------------------------------------------------------------- 1 | junit.jupiter.execution.parallel.enabled = true 2 | junit.jupiter.execution.parallel.mode.default = concurrent 3 | -------------------------------------------------------------------------------- /linux/jre/debian/src/packageTest/resources/junit-platform.properties: -------------------------------------------------------------------------------- 1 | junit.jupiter.execution.parallel.enabled = true 2 | junit.jupiter.execution.parallel.mode.default = concurrent 3 | -------------------------------------------------------------------------------- /linux/ca-certificates/debian/src/packageTest/resources/junit-platform.properties: -------------------------------------------------------------------------------- 1 | junit.jupiter.execution.parallel.enabled = true 2 | junit.jupiter.execution.parallel.mode.default = concurrent 3 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/11/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: Oracle and/or its affiliates 5 | License: GPL-2.0+CE -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/17/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: Oracle and/or its affiliates 5 | License: GPL-2.0+CE -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/19/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: Oracle and/or its affiliates 5 | License: GPL-2.0+CE -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/20/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: Oracle and/or its affiliates 5 | License: GPL-2.0+CE -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/21/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: Oracle and/or its affiliates 5 | License: GPL-2.0+CE -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/22/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: Oracle and/or its affiliates 5 | License: GPL-2.0+CE -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/23/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: Oracle and/or its affiliates 5 | License: GPL-2.0+CE -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/8/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: Oracle and/or its affiliates 5 | License: GPL-2.0+CE -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/11/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: Oracle and/or its affiliates 5 | License: GPL-2.0+CE -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/17/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: Oracle and/or its affiliates 5 | License: GPL-2.0+CE -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/19/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: Oracle and/or its affiliates 5 | License: GPL-2.0+CE -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/20/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: Oracle and/or its affiliates 5 | License: GPL-2.0+CE -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/21/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: Oracle and/or its affiliates 5 | License: GPL-2.0+CE -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/22/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: Oracle and/or its affiliates 5 | License: GPL-2.0+CE -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/23/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: Oracle and/or its affiliates 5 | License: GPL-2.0+CE -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/8/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: Oracle and/or its affiliates 5 | License: GPL-2.0+CE -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/microsoft/11/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: Oracle and/or its affiliates 5 | License: GPL-2.0+CE -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/microsoft/17/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: Oracle and/or its affiliates 5 | License: GPL-2.0+CE -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/microsoft/21/debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: Oracle and/or its affiliates 5 | License: GPL-2.0+CE -------------------------------------------------------------------------------- /pkgbuild/Resources/preinstall: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | JDK_INSTALL_PATH="/Library/Java/JavaVirtualMachines" 3 | MKDIR=`which mkdir` 4 | 5 | if [[ ! -d ${JDK_INSTALL_PATH} ]]; then 6 | ${MKDIR} -p ${JDK_INSTALL_PATH} 7 | fi 8 | 9 | exit 0 -------------------------------------------------------------------------------- /linux/ca-certificates/debian/src/main/packaging/debian/default: -------------------------------------------------------------------------------- 1 | # Defaults for adoptium-ca-certificates 2 | 3 | # Enable/disable updates of the keystore /etc/ssl/certs/adoptium/cacerts. 4 | # Any value other than yes disables it. 5 | cacerts_updates=yes 6 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/packageTest/resources/dependencies/deb/adoptium-ca-certificates_1.0.0-1_all.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/judovana/installer/master/linux/jdk/debian/src/packageTest/resources/dependencies/deb/adoptium-ca-certificates_1.0.0-1_all.deb -------------------------------------------------------------------------------- /linux/jre/debian/src/packageTest/resources/dependencies/deb/adoptium-ca-certificates_1.0.0-1_all.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/judovana/installer/master/linux/jre/debian/src/packageTest/resources/dependencies/deb/adoptium-ca-certificates_1.0.0-1_all.deb -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | installer 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /linux/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/19/debian/changelog: -------------------------------------------------------------------------------- 1 | temurin-19-jre (19.0.2.0.0+7-1) STABLE; urgency=medium 2 | 3 | * Eclipse Temurin 19.0.2.0.0+7 release. 4 | 5 | -- Eclipse Adoptium Package Maintainers Mon, Jan 30 2023 11:35:00 +0000 6 | -------------------------------------------------------------------------------- /wix/Lang/LanguageList.config: -------------------------------------------------------------------------------- 1 | ; comment with semicolon 2 | ; blank line are ingnored 3 | ; script use only first two column 4 | de-de 1031 5 | es-es 3082 6 | fr-fr 1036 7 | ;it-it 1040 8 | ja-jp 1041 9 | ;ko-kr 1042 10 | ;ru-ru 1049 11 | zh-cn 2052 12 | zh-tw 1028 13 | -------------------------------------------------------------------------------- /.github/workflows/dependabot-auto-merge.yml: -------------------------------------------------------------------------------- 1 | name: Dependabot auto-merge 2 | on: pull_request_target 3 | 4 | permissions: 5 | contents: write 6 | pull-requests: write 7 | 8 | jobs: 9 | dependabot: 10 | uses: adoptium/.github/.github/workflows/dependabot-auto-merge.yml@main 11 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/dragonwell/11/debian/changelog: -------------------------------------------------------------------------------- 1 | dragonwell-11-jdk (11.0.10.5.0.0-0) UNRELEASED; urgency=medium 2 | 3 | * Alibaba Dragonwell 11.0.10.5 GA release. 4 | 5 | -- Eclipse Adoptium Package Maintainers Sat, 3 Mar 2021 15:39:10 +0000 6 | -------------------------------------------------------------------------------- /linux/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = "adoptium-packages-linux" 2 | 3 | include "ca-certificates", 4 | "ca-certificates:debian", 5 | 6 | "jdk", 7 | "jdk:alpine", 8 | "jdk:debian", 9 | "jdk:redhat", 10 | "jdk:suse", 11 | 12 | "jre", 13 | "jre:alpine", 14 | "jre:debian", 15 | "jre:redhat", 16 | "jre:suse" 17 | -------------------------------------------------------------------------------- /wix/fixChangelog.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #helper script to replace #xxx (with x) is a number by url to issue/pullrequest 4 | #the tag [#xxx] can be anywhere (start, middle, end of line) 5 | 6 | FILE=InstallerChangelog.md 7 | 8 | [ -e $FILE ] && sed -i 's![^[]#\([0-9]\+\)! [#\1]\(https://github.com/AdoptOpenJDK/openjdk-installer/issues/\1)!g' $FILE 9 | 10 | echo $? 11 | -------------------------------------------------------------------------------- /linux/jdk/build.gradle: -------------------------------------------------------------------------------- 1 | tasks.register("packageJdk") { 2 | group = "packaging" 3 | description = "Creates Linux packages of a JDK." 4 | } 5 | 6 | tasks.register("checkJdkPackage") { 7 | description = "Tests the generated JDK packages." 8 | group = "verification" 9 | } 10 | 11 | rootProject.package.dependsOn(packageJdk) 12 | rootProject.checkPackage.dependsOn(checkJdkPackage) 13 | -------------------------------------------------------------------------------- /linux/jre/build.gradle: -------------------------------------------------------------------------------- 1 | tasks.register("packageJre") { 2 | group = "packaging" 3 | description = "Creates Linux packages of a JRE." 4 | } 5 | 6 | tasks.register("checkJrePackage") { 7 | description = "Tests the generated JRE packages." 8 | group = "verification" 9 | } 10 | 11 | rootProject.package.dependsOn(packageJre) 12 | rootProject.checkPackage.dependsOn(checkJrePackage) 13 | -------------------------------------------------------------------------------- /wix/getGuid.ps1: -------------------------------------------------------------------------------- 1 | param([string] $someString = "") 2 | $md5 = new-object -TypeName System.Security.Cryptography.MD5CryptoServiceProvider 3 | $utf8 = new-object -TypeName System.Text.UTF8Encoding 4 | $hash = [System.BitConverter]::ToString($md5.ComputeHash($utf8.GetBytes($someString))) -replace "-", "" 5 | $guid = [System.Guid]::Parse($hash) 6 | Write-Output $guid.ToString('b').ToUpper() 7 | -------------------------------------------------------------------------------- /linux/ca-certificates/debian/src/main/packaging/debian/postinst: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | set -eu 3 | 4 | case "$1" in 5 | configure) 6 | /etc/ca-certificates/update.d/adoptium-cacerts 7 | ;; 8 | 9 | abort-upgrade | abort-remove | abort-deconfigure) 10 | # Nothing to do 11 | ;; 12 | *) 13 | echo "postinst called with unknown argument \`$1'" >&2 14 | exit 1 15 | ;; 16 | esac 17 | 18 | exit 0 19 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/17/debian/jinfo.in: -------------------------------------------------------------------------------- 1 | name=@pkg_alias@ 2 | alias=@pkg_alias@ 3 | priority=@priority@ 4 | section=contrib 5 | 6 | hl java /usr/lib/jvm/@jvm_dir@/bin/java 7 | hl jfr /usr/lib/jvm/@jvm_dir@/bin/jfr 8 | hl jrunscript /usr/lib/jvm/@jvm_dir@/bin/jrunscript 9 | hl keytool /usr/lib/jvm/@jvm_dir@/bin/keytool 10 | hl rmiregistry /usr/lib/jvm/@jvm_dir@/bin/rmiregistry 11 | -------------------------------------------------------------------------------- /linux/ca-certificates/debian/src/main/packaging/debian/postrm: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | case "$1" in 5 | purge) 6 | rm -rf /etc/ssl/certs/adoptium 7 | rmdir /etc/ssl/certs 2>/dev/null || true 8 | ;; 9 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear) 10 | # Nothing to do 11 | ;; 12 | *) 13 | echo "postrm called with unknown argument \`$1'" >&2 14 | exit 1 15 | ;; 16 | esac 17 | 18 | exit 0 19 | -------------------------------------------------------------------------------- /pkgbuild/Resources/en.lproj/welcome.html.tmpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 |
12 |

This package will install:

13 |
    14 |
  • {package-name} {full_version} to /Library/Java/JavaVirtualMachines/{directory}
  • 15 |
16 |
17 | 18 | 19 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/19/debian/jinfo.in: -------------------------------------------------------------------------------- 1 | name=@pkg_alias@ 2 | alias=@pkg_alias@ 3 | priority=@priority@ 4 | section=contrib 5 | 6 | hl java /usr/lib/jvm/@jvm_dir@/bin/java 7 | hl jfr /usr/lib/jvm/@jvm_dir@/bin/jfr 8 | hl jrunscript /usr/lib/jvm/@jvm_dir@/bin/jrunscript 9 | jdkhl jwebserver /usr/lib/jvm/@jvm_dir@/bin/jwebserver 10 | hl keytool /usr/lib/jvm/@jvm_dir@/bin/keytool 11 | hl rmiregistry /usr/lib/jvm/@jvm_dir@/bin/rmiregistry 12 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/20/debian/jinfo.in: -------------------------------------------------------------------------------- 1 | name=@pkg_alias@ 2 | alias=@pkg_alias@ 3 | priority=@priority@ 4 | section=contrib 5 | 6 | hl java /usr/lib/jvm/@jvm_dir@/bin/java 7 | hl jfr /usr/lib/jvm/@jvm_dir@/bin/jfr 8 | hl jrunscript /usr/lib/jvm/@jvm_dir@/bin/jrunscript 9 | jdkhl jwebserver /usr/lib/jvm/@jvm_dir@/bin/jwebserver 10 | hl keytool /usr/lib/jvm/@jvm_dir@/bin/keytool 11 | hl rmiregistry /usr/lib/jvm/@jvm_dir@/bin/rmiregistry 12 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/21/debian/jinfo.in: -------------------------------------------------------------------------------- 1 | name=@pkg_alias@ 2 | alias=@pkg_alias@ 3 | priority=@priority@ 4 | section=contrib 5 | 6 | hl java /usr/lib/jvm/@jvm_dir@/bin/java 7 | hl jfr /usr/lib/jvm/@jvm_dir@/bin/jfr 8 | hl jrunscript /usr/lib/jvm/@jvm_dir@/bin/jrunscript 9 | jdkhl jwebserver /usr/lib/jvm/@jvm_dir@/bin/jwebserver 10 | hl keytool /usr/lib/jvm/@jvm_dir@/bin/keytool 11 | hl rmiregistry /usr/lib/jvm/@jvm_dir@/bin/rmiregistry 12 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/22/debian/jinfo.in: -------------------------------------------------------------------------------- 1 | name=@pkg_alias@ 2 | alias=@pkg_alias@ 3 | priority=@priority@ 4 | section=contrib 5 | 6 | hl java /usr/lib/jvm/@jvm_dir@/bin/java 7 | hl jfr /usr/lib/jvm/@jvm_dir@/bin/jfr 8 | hl jrunscript /usr/lib/jvm/@jvm_dir@/bin/jrunscript 9 | jdkhl jwebserver /usr/lib/jvm/@jvm_dir@/bin/jwebserver 10 | hl keytool /usr/lib/jvm/@jvm_dir@/bin/keytool 11 | hl rmiregistry /usr/lib/jvm/@jvm_dir@/bin/rmiregistry 12 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/23/debian/jinfo.in: -------------------------------------------------------------------------------- 1 | name=@pkg_alias@ 2 | alias=@pkg_alias@ 3 | priority=@priority@ 4 | section=contrib 5 | 6 | hl java /usr/lib/jvm/@jvm_dir@/bin/java 7 | hl jfr /usr/lib/jvm/@jvm_dir@/bin/jfr 8 | hl jrunscript /usr/lib/jvm/@jvm_dir@/bin/jrunscript 9 | jdkhl jwebserver /usr/lib/jvm/@jvm_dir@/bin/jwebserver 10 | hl keytool /usr/lib/jvm/@jvm_dir@/bin/keytool 11 | hl rmiregistry /usr/lib/jvm/@jvm_dir@/bin/rmiregistry 12 | -------------------------------------------------------------------------------- /linux/ca-certificates/build.gradle: -------------------------------------------------------------------------------- 1 | tasks.register("packageCaCertificates") { 2 | group = "packaging" 3 | description = "Creates Linux packages of Adoptium CA Certificates." 4 | } 5 | 6 | tasks.register("checkCaCertificatesPackage") { 7 | description = "Tests the generated Linux Adoptium CA Certificates package." 8 | group = "verification" 9 | } 10 | 11 | rootProject.package.dependsOn(project.packageCaCertificates) 12 | rootProject.checkPackage.dependsOn(project.checkCaCertificatesPackage) 13 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/23/debian/changelog: -------------------------------------------------------------------------------- 1 | temurin-23-jdk (23.0.1.0.0+11) STABLE; urgency=medium 2 | 3 | * Eclipse Temurin 23.0.1.0.0+11 release. 4 | 5 | -- Eclipse Adoptium Package Maintainers Wed, 16 Oct 2024 00:00:00 +0000 6 | 7 | temurin-23-jdk (23.0.0.0.0+37) STABLE; urgency=medium 8 | 9 | * Eclipse Temurin 23.0.0.0.0+37 release. 10 | 11 | -- Eclipse Adoptium Package Maintainers Wed, 18 Sep 2024 00:00:00 +0000 12 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/22/debian/changelog: -------------------------------------------------------------------------------- 1 | temurin-22-jre (22.0.2.0.0+9-1) STABLE; urgency=medium 2 | 3 | * Eclipse Temurin 22.0.2.0.0+9-1 release. 4 | 5 | -- Eclipse Adoptium Package Maintainers Wed, 17 Jul 2024 00:00:00 +0000 6 | 7 | temurin-22-jre (22.0.0.0.0+36-0) STABLE; urgency=medium 8 | 9 | * Eclipse Temurin 22.0.0.0.0+36-0 release. 10 | 11 | -- Eclipse Adoptium Package Maintainers Wed, 20 Mar 2024 00:00:00 +0000 12 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/23/debian/changelog: -------------------------------------------------------------------------------- 1 | temurin-23-jre (23.0.1.0.0+11-0) STABLE; urgency=medium 2 | 3 | * Eclipse Temurin 23.0.1.0.0+11-0 release. 4 | 5 | -- Eclipse Adoptium Package Maintainers Wed, 16 Oct 2024 00:00:00 +0000 6 | 7 | temurin-23-jre (23.0.0.0.0+37-0) STABLE; urgency=medium 8 | 9 | * Eclipse Temurin 23.0.0.0.0+37-0 release. 10 | 11 | -- Eclipse Adoptium Package Maintainers Wed, 18 Sep 2024 00:00:00 +0000 12 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.microsoft.en-us.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.microsoft.de-de.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.microsoft.fr-fr.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.microsoft.ja-jp.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.microsoft.zh-cn.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.microsoft.zh-tw.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | osx/ 2 | windows/ 3 | linux_x64/ 4 | aix/ 5 | linux_s390x/ 6 | linux_ppc64le/ 7 | 8 | # Ignore build outputs, temporary directories 9 | build 10 | .gradle 11 | 12 | # Ignore Finder, Explorer files 13 | Thumbs.db 14 | .DS_Store 15 | ._* 16 | 17 | # Ignore IDE files 18 | .idea 19 | *.iml 20 | 21 | # Ignore VS Code / Eclipse IDE files 22 | **/*.classpath 23 | **/*.project 24 | **/*.settings 25 | .java-version 26 | .vscode 27 | 28 | # Ignore build artifacts from packagers 29 | **/*/bin 30 | 31 | node_modules/ 32 | wix/Workdir/ 33 | -------------------------------------------------------------------------------- /pkgbuild/Resources/en.lproj/conclusion.html.tmpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 13 | 14 | 15 |
16 |

This package has installed:

17 |
    18 |
  • {package-name} {full_version} to /Library/Java/JavaVirtualMachines/{directory}
  • 19 |
20 |
21 | 22 | 23 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.microsoft.es-es.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /wix/Resources/heat.icedteaweb.xslt: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | IcedTeaWebBin 12 | 13 | 14 | -------------------------------------------------------------------------------- /linux/ca-certificates/debian/src/main/packaging/debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | 3 | d = debian/adoptium-ca-certificates 4 | 5 | %: 6 | dh $@ 7 | 8 | override_dh_auto_clean: 9 | override_dh_auto_test: 10 | override_dh_auto_build: 11 | override_dh_auto_install: 12 | dh_installdirs \ 13 | etc/ca-certificates/update.d \ 14 | etc/default \ 15 | etc/ssl/certs/adoptium 16 | install -m600 debian/default \ 17 | $(d)/etc/default/adoptium-ca-certificates 18 | install -m755 debian/adoptium-cacerts.sh \ 19 | $(d)/etc/ca-certificates/update.d/adoptium-cacerts 20 | 21 | override_dh_gencontrol: 22 | dh_gencontrol -- 23 | -------------------------------------------------------------------------------- /linux/jdk/alpine/src/main/packaging/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euxo pipefail 3 | 4 | # Copy build scripts into a directory within the container. Avoids polluting the mounted 5 | # directory and permission errors. 6 | mkdir /home/builder/workspace 7 | cp -R /home/builder/build/generated/packaging /home/builder/workspace 8 | 9 | # Build package and set distributions it supports 10 | cd /home/builder/workspace/packaging 11 | abuild -r 12 | 13 | arch=$(abuild -A) 14 | 15 | # Copy resulting files into mounted directory where artifacts should be placed. 16 | mv /home/builder/packages/workspace/$arch/*.{apk,tar.gz} /home/builder/out 17 | -------------------------------------------------------------------------------- /linux/jre/alpine/src/main/packaging/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euxo pipefail 3 | 4 | # Copy build scripts into a directory within the container. Avoids polluting the mounted 5 | # directory and permission errors. 6 | mkdir /home/builder/workspace 7 | cp -R /home/builder/build/generated/packaging /home/builder/workspace 8 | 9 | # Build package and set distributions it supports 10 | cd /home/builder/workspace/packaging 11 | abuild -r 12 | 13 | arch=$(abuild -A) 14 | 15 | # Copy resulting files into mounted directory where artifacts should be placed. 16 | mv /home/builder/packages/workspace/$arch/*.{apk,tar.gz} /home/builder/out 17 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/11/debian/jinfo.in: -------------------------------------------------------------------------------- 1 | name=@pkg_alias@ 2 | alias=@pkg_alias@ 3 | priority=@priority@ 4 | section=contrib 5 | 6 | jdkhl jaotc /usr/lib/jvm/@jvm_dir@/bin/jaotc 7 | hl java /usr/lib/jvm/@jvm_dir@/bin/java 8 | hl jfr /usr/lib/jvm/@jvm_dir@/bin/jfr 9 | hl jjs /usr/lib/jvm/@jvm_dir@/bin/jjs 10 | hl jrunscript /usr/lib/jvm/@jvm_dir@/bin/jrunscript 11 | hl keytool /usr/lib/jvm/@jvm_dir@/bin/keytool 12 | hl pack200 /usr/lib/jvm/@jvm_dir@/bin/pack200 13 | hl rmid /usr/lib/jvm/@jvm_dir@/bin/rmid 14 | hl rmiregistry /usr/lib/jvm/@jvm_dir@/bin/rmiregistry 15 | hl unpack200 /usr/lib/jvm/@jvm_dir@/bin/unpack200 16 | -------------------------------------------------------------------------------- /linux/ca-certificates/debian/src/main/packaging/debian/control: -------------------------------------------------------------------------------- 1 | Source: adoptium-ca-certificates 2 | Section: java 3 | Priority: optional 4 | Maintainer: Eclipse Adoptium Package Maintainers 5 | Build-Depends: debhelper (>= 11), lsb-release 6 | 7 | Package: adoptium-ca-certificates 8 | Architecture: all 9 | Depends: ca-certificates, p11-kit 10 | Description: CA certificates for OpenJDK, Adoptium and compatible runtimes 11 | Provides a Java keystore with CA certificates for OpenJDK, Eclipse Adoptium 12 | and compatible runtimes. The keystore is automatically synchronized with the 13 | operating system's certificate store. 14 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/8/debian/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 5 | tools="@jvm_tools@" 6 | 7 | case "$1" in 8 | purge) 9 | # Nothing to do 10 | ;; 11 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear | deconfigure) 12 | for tool in $tools; do 13 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 14 | if [ ! -e "$tool_path" ]; then 15 | continue 16 | fi 17 | 18 | update-alternatives --remove "$tool" "$tool_path" 19 | done 20 | done 21 | ;; 22 | *) 23 | echo "prerm called with unknown argument \`$1'" >&2 24 | exit 1 25 | ;; 26 | esac 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/8/debian/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 5 | tools="@jvm_tools@" 6 | 7 | case "$1" in 8 | purge) 9 | # Nothing to do 10 | ;; 11 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear | deconfigure) 12 | for tool in $tools; do 13 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 14 | if [ ! -e "$tool_path" ]; then 15 | continue 16 | fi 17 | 18 | update-alternatives --remove "$tool" "$tool_path" 19 | done 20 | done 21 | ;; 22 | *) 23 | echo "prerm called with unknown argument \`$1'" >&2 24 | exit 1 25 | ;; 26 | esac 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/dragonwell/11/debian/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 5 | tools="@jvm_tools@" 6 | 7 | case "$1" in 8 | purge) 9 | # Nothing to do 10 | ;; 11 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear | deconfigure) 12 | for tool in $tools; do 13 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 14 | if [ ! -e "$tool_path" ]; then 15 | continue 16 | fi 17 | 18 | update-alternatives --remove "$tool" "$tool_path" 19 | done 20 | done 21 | ;; 22 | *) 23 | echo "prerm called with unknown argument \`$1'" >&2 24 | exit 1 25 | ;; 26 | esac 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/microsoft/11/debian/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 5 | tools="@jvm_tools@" 6 | 7 | case "$1" in 8 | purge) 9 | # Nothing to do 10 | ;; 11 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear | deconfigure) 12 | for tool in $tools; do 13 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 14 | if [ ! -e "$tool_path" ]; then 15 | continue 16 | fi 17 | 18 | update-alternatives --remove "$tool" "$tool_path" 19 | done 20 | done 21 | ;; 22 | *) 23 | echo "prerm called with unknown argument \`$1'" >&2 24 | exit 1 25 | ;; 26 | esac 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/microsoft/17/debian/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 5 | tools="@jvm_tools@" 6 | 7 | case "$1" in 8 | purge) 9 | # Nothing to do 10 | ;; 11 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear | deconfigure) 12 | for tool in $tools; do 13 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 14 | if [ ! -e "$tool_path" ]; then 15 | continue 16 | fi 17 | 18 | update-alternatives --remove "$tool" "$tool_path" 19 | done 20 | done 21 | ;; 22 | *) 23 | echo "prerm called with unknown argument \`$1'" >&2 24 | exit 1 25 | ;; 26 | esac 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/microsoft/21/debian/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 5 | tools="@jvm_tools@" 6 | 7 | case "$1" in 8 | purge) 9 | # Nothing to do 10 | ;; 11 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear | deconfigure) 12 | for tool in $tools; do 13 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 14 | if [ ! -e "$tool_path" ]; then 15 | continue 16 | fi 17 | 18 | update-alternatives --remove "$tool" "$tool_path" 19 | done 20 | done 21 | ;; 22 | *) 23 | echo "prerm called with unknown argument \`$1'" >&2 24 | exit 1 25 | ;; 26 | esac 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/11/debian/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 5 | tools="@jvm_tools@" 6 | 7 | case "$1" in 8 | purge) 9 | # Nothing to do 10 | ;; 11 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear | deconfigure) 12 | for tool in $tools; do 13 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 14 | if [ ! -e "$tool_path" ]; then 15 | continue 16 | fi 17 | 18 | update-alternatives --remove "$tool" "$tool_path" 19 | done 20 | done 21 | ;; 22 | *) 23 | echo "prerm called with unknown argument \`$1'" >&2 24 | exit 1 25 | ;; 26 | esac 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/17/debian/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 5 | tools="@jvm_tools@" 6 | 7 | case "$1" in 8 | purge) 9 | # Nothing to do 10 | ;; 11 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear | deconfigure) 12 | for tool in $tools; do 13 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 14 | if [ ! -e "$tool_path" ]; then 15 | continue 16 | fi 17 | 18 | update-alternatives --remove "$tool" "$tool_path" 19 | done 20 | done 21 | ;; 22 | *) 23 | echo "prerm called with unknown argument \`$1'" >&2 24 | exit 1 25 | ;; 26 | esac 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/19/debian/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 5 | tools="@jvm_tools@" 6 | 7 | case "$1" in 8 | purge) 9 | # Nothing to do 10 | ;; 11 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear | deconfigure) 12 | for tool in $tools; do 13 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 14 | if [ ! -e "$tool_path" ]; then 15 | continue 16 | fi 17 | 18 | update-alternatives --remove "$tool" "$tool_path" 19 | done 20 | done 21 | ;; 22 | *) 23 | echo "prerm called with unknown argument \`$1'" >&2 24 | exit 1 25 | ;; 26 | esac 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/20/debian/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 5 | tools="@jvm_tools@" 6 | 7 | case "$1" in 8 | purge) 9 | # Nothing to do 10 | ;; 11 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear | deconfigure) 12 | for tool in $tools; do 13 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 14 | if [ ! -e "$tool_path" ]; then 15 | continue 16 | fi 17 | 18 | update-alternatives --remove "$tool" "$tool_path" 19 | done 20 | done 21 | ;; 22 | *) 23 | echo "prerm called with unknown argument \`$1'" >&2 24 | exit 1 25 | ;; 26 | esac 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/21/debian/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 5 | tools="@jvm_tools@" 6 | 7 | case "$1" in 8 | purge) 9 | # Nothing to do 10 | ;; 11 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear | deconfigure) 12 | for tool in $tools; do 13 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 14 | if [ ! -e "$tool_path" ]; then 15 | continue 16 | fi 17 | 18 | update-alternatives --remove "$tool" "$tool_path" 19 | done 20 | done 21 | ;; 22 | *) 23 | echo "prerm called with unknown argument \`$1'" >&2 24 | exit 1 25 | ;; 26 | esac 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/22/debian/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 5 | tools="@jvm_tools@" 6 | 7 | case "$1" in 8 | purge) 9 | # Nothing to do 10 | ;; 11 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear | deconfigure) 12 | for tool in $tools; do 13 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 14 | if [ ! -e "$tool_path" ]; then 15 | continue 16 | fi 17 | 18 | update-alternatives --remove "$tool" "$tool_path" 19 | done 20 | done 21 | ;; 22 | *) 23 | echo "prerm called with unknown argument \`$1'" >&2 24 | exit 1 25 | ;; 26 | esac 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/23/debian/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 5 | tools="@jvm_tools@" 6 | 7 | case "$1" in 8 | purge) 9 | # Nothing to do 10 | ;; 11 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear | deconfigure) 12 | for tool in $tools; do 13 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 14 | if [ ! -e "$tool_path" ]; then 15 | continue 16 | fi 17 | 18 | update-alternatives --remove "$tool" "$tool_path" 19 | done 20 | done 21 | ;; 22 | *) 23 | echo "prerm called with unknown argument \`$1'" >&2 24 | exit 1 25 | ;; 26 | esac 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/11/debian/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 5 | tools="@jvm_tools@" 6 | 7 | case "$1" in 8 | purge) 9 | # Nothing to do 10 | ;; 11 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear | deconfigure) 12 | for tool in $tools; do 13 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 14 | if [ ! -e "$tool_path" ]; then 15 | continue 16 | fi 17 | 18 | update-alternatives --remove "$tool" "$tool_path" 19 | done 20 | done 21 | ;; 22 | *) 23 | echo "prerm called with unknown argument \`$1'" >&2 24 | exit 1 25 | ;; 26 | esac 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/17/debian/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 5 | tools="@jvm_tools@" 6 | 7 | case "$1" in 8 | purge) 9 | # Nothing to do 10 | ;; 11 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear | deconfigure) 12 | for tool in $tools; do 13 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 14 | if [ ! -e "$tool_path" ]; then 15 | continue 16 | fi 17 | 18 | update-alternatives --remove "$tool" "$tool_path" 19 | done 20 | done 21 | ;; 22 | *) 23 | echo "prerm called with unknown argument \`$1'" >&2 24 | exit 1 25 | ;; 26 | esac 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/19/debian/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 5 | tools="@jvm_tools@" 6 | 7 | case "$1" in 8 | purge) 9 | # Nothing to do 10 | ;; 11 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear | deconfigure) 12 | for tool in $tools; do 13 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 14 | if [ ! -e "$tool_path" ]; then 15 | continue 16 | fi 17 | 18 | update-alternatives --remove "$tool" "$tool_path" 19 | done 20 | done 21 | ;; 22 | *) 23 | echo "prerm called with unknown argument \`$1'" >&2 24 | exit 1 25 | ;; 26 | esac 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/20/debian/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 5 | tools="@jvm_tools@" 6 | 7 | case "$1" in 8 | purge) 9 | # Nothing to do 10 | ;; 11 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear | deconfigure) 12 | for tool in $tools; do 13 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 14 | if [ ! -e "$tool_path" ]; then 15 | continue 16 | fi 17 | 18 | update-alternatives --remove "$tool" "$tool_path" 19 | done 20 | done 21 | ;; 22 | *) 23 | echo "prerm called with unknown argument \`$1'" >&2 24 | exit 1 25 | ;; 26 | esac 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/21/debian/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 5 | tools="@jvm_tools@" 6 | 7 | case "$1" in 8 | purge) 9 | # Nothing to do 10 | ;; 11 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear | deconfigure) 12 | for tool in $tools; do 13 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 14 | if [ ! -e "$tool_path" ]; then 15 | continue 16 | fi 17 | 18 | update-alternatives --remove "$tool" "$tool_path" 19 | done 20 | done 21 | ;; 22 | *) 23 | echo "prerm called with unknown argument \`$1'" >&2 24 | exit 1 25 | ;; 26 | esac 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/22/debian/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 5 | tools="@jvm_tools@" 6 | 7 | case "$1" in 8 | purge) 9 | # Nothing to do 10 | ;; 11 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear | deconfigure) 12 | for tool in $tools; do 13 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 14 | if [ ! -e "$tool_path" ]; then 15 | continue 16 | fi 17 | 18 | update-alternatives --remove "$tool" "$tool_path" 19 | done 20 | done 21 | ;; 22 | *) 23 | echo "prerm called with unknown argument \`$1'" >&2 24 | exit 1 25 | ;; 26 | esac 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/23/debian/prerm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 5 | tools="@jvm_tools@" 6 | 7 | case "$1" in 8 | purge) 9 | # Nothing to do 10 | ;; 11 | remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear | deconfigure) 12 | for tool in $tools; do 13 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 14 | if [ ! -e "$tool_path" ]; then 15 | continue 16 | fi 17 | 18 | update-alternatives --remove "$tool" "$tool_path" 19 | done 20 | done 21 | ;; 22 | *) 23 | echo "prerm called with unknown argument \`$1'" >&2 24 | exit 1 25 | ;; 26 | esac 27 | 28 | exit 0 29 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/8/debian/jinfo.in: -------------------------------------------------------------------------------- 1 | name=@pkg_alias@ 2 | alias=@pkg_alias@ 3 | priority=@priority@ 4 | section=contrib 5 | 6 | hl java /usr/lib/jvm/@jvm_dir@/bin/java 7 | hl jjs /usr/lib/jvm/@jvm_dir@/bin/jjs 8 | hl keytool /usr/lib/jvm/@jvm_dir@/bin/keytool 9 | hl orbd /usr/lib/jvm/@jvm_dir@/bin/orbd 10 | hl pack200 /usr/lib/jvm/@jvm_dir@/bin/pack200 11 | hl rmid /usr/lib/jvm/@jvm_dir@/bin/rmid 12 | hl rmiregistry /usr/lib/jvm/@jvm_dir@/bin/rmiregistry 13 | jre policytool /usr/lib/jvm/@jvm_dir@/bin/policytool 14 | hl servertool /usr/lib/jvm/@jvm_dir@/bin/servertool 15 | hl tnameserv /usr/lib/jvm/@jvm_dir@/bin/tnameserv 16 | hl unpack200 /usr/lib/jvm/@jvm_dir@/bin/unpack200 17 | -------------------------------------------------------------------------------- /linux/ca-certificates/debian/src/main/packaging/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euxo pipefail 3 | 4 | # Copy build scripts into a directory within the container. Avoids polluting the mounted 5 | # directory and permission errors 6 | mkdir /home/builder/workspace 7 | cp -R /home/builder/build/generated/packaging /home/builder/workspace 8 | 9 | # Build package and set distributions it supports 10 | cd /home/builder/workspace/packaging 11 | dpkg-buildpackage -us -uc -b 12 | changestool /home/builder/workspace/*.changes setdistribution $VERSIONS 13 | 14 | # Copy resulting files into mounted directory where artifacts should be placed. 15 | mv /home/builder/workspace/*.{deb,changes,buildinfo} /home/builder/out 16 | -------------------------------------------------------------------------------- /pkgbuild/README.md: -------------------------------------------------------------------------------- 1 | # pkgbuild mac installers 2 | 3 | ## Prerequisites 4 | 5 | The generation of the OpenJDK installer depends on an open-source utility tool [Packages](http://s.sudre.free.fr/Software/Packages/about.html). 6 | The application must be installed before running the installer generation task. 7 | 8 | ```bash 9 | brew install --cask packages 10 | ``` 11 | 12 | ## Example Usage 13 | 14 | ```bash 15 | ./packagesbuild.sh --major_version 17 --full_version 17.0.3_7 --input_directory /path/to/jdk --output_directory OpenJDK17U-jdk_x64_mac_hotspot_17.0.3_7.pkg --jvm hotspot --architecture x86_64 --type jdk 16 | ``` 17 | 18 | ## Sign the installer 19 | 20 | ```bash 21 | --sign 22 | ``` 23 | -------------------------------------------------------------------------------- /linux/jdk/alpine/src/main/packaging/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euox pipefail 3 | 4 | # Copy build scripts into a directory within the container. Avoids polluting the mounted 5 | # directory and permission errors. 6 | mkdir /home/builder/workspace 7 | cp -R /home/builder/build/generated/packaging /home/builder/workspace 8 | 9 | # Set permssions 10 | sudo chown -R builder /home/builder/out 11 | 12 | # Build package and set distributions it supports 13 | cd /home/builder/workspace/packaging 14 | abuild -r 15 | 16 | arch=$(abuild -A) 17 | 18 | # Copy resulting files into mounted directory where artifacts should be placed. 19 | mv /home/builder/packages/workspace/$arch/*.{apk,tar.gz} /home/builder/out 20 | -------------------------------------------------------------------------------- /linux/jre/alpine/src/main/packaging/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euox pipefail 3 | 4 | # Copy build scripts into a directory within the container. Avoids polluting the mounted 5 | # directory and permission errors. 6 | mkdir /home/builder/workspace 7 | cp -R /home/builder/build/generated/packaging /home/builder/workspace 8 | 9 | # Set permssions 10 | sudo chown -R builder /home/builder/out 11 | 12 | # Build package and set distributions it supports 13 | cd /home/builder/workspace/packaging 14 | abuild -r 15 | 16 | arch=$(abuild -A) 17 | 18 | # Copy resulting files into mounted directory where artifacts should be placed. 19 | mv /home/builder/packages/workspace/$arch/*.{apk,tar.gz} /home/builder/out 20 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/20/debian/changelog: -------------------------------------------------------------------------------- 1 | temurin-20-jdk (20.0.2.0.0+9) STABLE; urgency=medium 2 | 3 | * Eclipse Temurin 20.0.2.0.0+9 release. 4 | 5 | -- Eclipse Adoptium Package Maintainers Tue, 25 Jul 2023 11:59:00 +0000 6 | 7 | temurin-20-jdk (20.0.1.0.0+9) STABLE; urgency=medium 8 | 9 | * Eclipse Temurin 20.0.1.0.0+9 release. 10 | 11 | -- Eclipse Adoptium Package Maintainers Wed, 26 Apr 2023 16:16:20 +0000 12 | 13 | temurin-20-jdk (20.0.0.0.0+36) STABLE; urgency=medium 14 | 15 | * Eclipse Temurin 20.0.0.0.0+36 release. 16 | 17 | -- Eclipse Adoptium Package Maintainers Wed, 22 Mar 2023 09:43:20 +0000 18 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/20/debian/changelog: -------------------------------------------------------------------------------- 1 | temurin-20-jre (20.0.2.0.0+9) STABLE; urgency=medium 2 | 3 | * Eclipse Temurin 20.0.2.0.0+9 release. 4 | 5 | -- Eclipse Adoptium Package Maintainers Tue, 25 Jul 2023 11:59:00 +0000 6 | 7 | temurin-20-jre (20.0.1.0.0+9) STABLE; urgency=medium 8 | 9 | * Eclipse Temurin 20.0.1.0.0+9 release. 10 | 11 | -- Eclipse Adoptium Package Maintainers Wed, 26 Apr 2023 16:16:20 +0000 12 | 13 | temurin-20-jre (20.0.0.0.0+36) STABLE; urgency=medium 14 | 15 | * Eclipse Temurin 20.0.0.0.0+36 release. 16 | 17 | -- Eclipse Adoptium Package Maintainers Wed, 22 Mar 2023 09:43:20 +0000 18 | -------------------------------------------------------------------------------- /linux/ca-certificates/debian/src/main/packaging/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euox pipefail 3 | 4 | # The directory mounted into the container has the UID/GID of the host user. In order to allow the user builder to write 5 | # into it without changing its ownership (which could render the folder or its contents inaccessible to the host user), 6 | # add the user builder to the group with the same GID as the host user. 7 | HOST_USER_GID=$(stat -c "%g" /home/builder/out) 8 | getent group "$HOST_USER_GID" || groupadd -g "$HOST_USER_GID" hostusrg 9 | usermod -a -G "$HOST_USER_GID" builder 10 | chmod g+w /home/builder/out 11 | 12 | # Drop root privileges and build the package. 13 | gosu builder /home/builder/build.sh 14 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/22/debian/changelog: -------------------------------------------------------------------------------- 1 | temurin-22-jdk (22.0.2.0.0+9-1) STABLE; urgency=medium 2 | 3 | * Eclipse Temurin 22.0.2.0.0+9-1 release. 4 | 5 | -- Eclipse Adoptium Package Maintainers Wed, 17 Jul 2024 00:00:00 +0000 6 | 7 | temurin-22-jdk (22.0.1.0.0+8-1) STABLE; urgency=medium 8 | 9 | * Eclipse Temurin 22.0.1.0.0+8-1 release. 10 | 11 | -- Eclipse Adoptium Package Maintainers Wed, 17 Apr 2024 00:00:00 +0000 12 | 13 | temurin-22-jdk (22.0.0.0.0+36) STABLE; urgency=medium 14 | 15 | * Eclipse Temurin 22.0.0.0.0+36 release. 16 | 17 | -- Eclipse Adoptium Package Maintainers Wed, 20 Mar 2024 00:00:00 +0000 18 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euox pipefail 3 | 4 | # The directory mounted into the container has the UID/GID of the host user. In order to allow the user builder to write 5 | # into it without changing its ownership (which could render the folder or its contents inaccessible to the host user), 6 | # add the user builder to the group with the same GID as the host user. 7 | HOST_USER_GID=$(stat -c "%g" /home/builder/out) 8 | getent group "$HOST_USER_GID" || groupadd -g "$HOST_USER_GID" hostusrg 9 | usermod -a -G "$HOST_USER_GID" builder 10 | chown builder /home/builder/out 11 | chmod g+w /home/builder/out 12 | 13 | # Drop root privileges and build the package. 14 | gosu builder /home/builder/build.sh 15 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euox pipefail 3 | 4 | # The directory mounted into the container has the UID/GID of the host user. In order to allow the user builder to write 5 | # into it without changing its ownership (which could render the folder or its contents inaccessible to the host user), 6 | # add the user builder to the group with the same GID as the host user. 7 | HOST_USER_GID=$(stat -c "%g" /home/builder/out) 8 | getent group "$HOST_USER_GID" || groupadd -g "$HOST_USER_GID" hostusrg 9 | usermod -a -G "$HOST_USER_GID" builder 10 | chown builder /home/builder/out 11 | chmod g+w /home/builder/out 12 | 13 | # Drop root privileges and build the package. 14 | gosu builder /home/builder/build.sh 15 | -------------------------------------------------------------------------------- /linux/ca-certificates/debian/src/main/packaging/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG CONTAINER_REGISTRY="" 2 | 3 | FROM ${CONTAINER_REGISTRY}debian:bullseye 4 | 5 | # Combine apt-get update with apt-get install to prevent stale package indexes. 6 | RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential \ 7 | debhelper lsb-release reprepro gosu tini 8 | 9 | # Create unprivileged user for building, see 10 | # https://github.com/hexops/dockerfile#use-a-static-uid-and-gid 11 | RUN groupadd -g 10001 builder \ 12 | && useradd -m -d /home/builder -u 10000 -g 10001 builder 13 | 14 | # Prepare entrypoint and build scripts 15 | ADD entrypoint.sh /entrypoint.sh 16 | ADD build.sh /home/builder/build.sh 17 | RUN chmod +x /home/builder/build.sh 18 | 19 | ENTRYPOINT ["/usr/bin/tini", "--", "/bin/bash", "/entrypoint.sh" ] 20 | -------------------------------------------------------------------------------- /.github/workflows/linuxTriage.yml: -------------------------------------------------------------------------------- 1 | name: Publish Test Reports 2 | on: 3 | workflow_run: 4 | workflows: ['Check Linux Packages'] # runs after Check Linux Packages worflow 5 | types: 6 | - completed 7 | jobs: 8 | report: 9 | permissions: 10 | contents: read 11 | actions: read 12 | checks: write 13 | runs-on: ubuntu-latest 14 | steps: 15 | - uses: dorny/test-reporter@31a54ee7ebcacc03a09ea97a7e5465a47b84aea5 # v1.9.1 16 | with: 17 | artifact: test-results # artifact name 18 | name: JUnit Test Report # Name of the check run which will be created 19 | path: '**/build/test-results/**/TEST-*.xml' # Path to test results (inside artifact .zip) 20 | reporter: java-junit # Format of test results 21 | fail-on-empty: false 22 | -------------------------------------------------------------------------------- /linux/ca-certificates/debian/src/packageTest/resources/deb-contents.txt: -------------------------------------------------------------------------------- 1 | drwxr-xr-x root/root ./ 2 | drwxr-xr-x root/root ./etc/ 3 | drwxr-xr-x root/root ./etc/ca-certificates/ 4 | drwxr-xr-x root/root ./etc/ca-certificates/update.d/ 5 | -rwxr-xr-x root/root ./etc/ca-certificates/update.d/adoptium-cacerts 6 | drwxr-xr-x root/root ./etc/default/ 7 | -rw-r--r-- root/root ./etc/default/adoptium-ca-certificates 8 | drwxr-xr-x root/root ./etc/ssl/ 9 | drwxr-xr-x root/root ./etc/ssl/certs/ 10 | drwxr-xr-x root/root ./etc/ssl/certs/adoptium/ 11 | drwxr-xr-x root/root ./usr/ 12 | drwxr-xr-x root/root ./usr/share/ 13 | drwxr-xr-x root/root ./usr/share/doc/ 14 | drwxr-xr-x root/root ./usr/share/doc/adoptium-ca-certificates/ 15 | -rw-r--r-- root/root ./usr/share/doc/adoptium-ca-certificates/changelog.Debian.gz 16 | -------------------------------------------------------------------------------- /linux/jdk/suse/src/main/packaging/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euox pipefail 3 | 4 | # The directory mounted into the container has the UID/GID of the host user. In order to allow the user builder to write 5 | # into it without changing its ownership (which could render the folder or its contents inaccessible to the host user), 6 | # add the user builder to the group with the same GID as the host user. 7 | HOST_USER_GID=$(stat -c "%g" /home/builder/out) 8 | # The command below fixes gpg: signing failed: Inappropriate ioctl for device 9 | export GPG_TTY=$(tty) 10 | getent group "$HOST_USER_GID" || groupadd -g "$HOST_USER_GID" hostusrg 11 | usermod -a -G "$HOST_USER_GID" builder 12 | chown builder /home/builder/out 13 | chmod g+w /home/builder/out 14 | 15 | # Drop root privileges and build the package. 16 | gosu builder /home/builder/build.sh 17 | -------------------------------------------------------------------------------- /linux/jre/suse/src/main/packaging/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euox pipefail 3 | 4 | # The directory mounted into the container has the UID/GID of the host user. In order to allow the user builder to write 5 | # into it without changing its ownership (which could render the folder or its contents inaccessible to the host user), 6 | # add the user builder to the group with the same GID as the host user. 7 | HOST_USER_GID=$(stat -c "%g" /home/builder/out) 8 | # The command below fixes gpg: signing failed: Inappropriate ioctl for device 9 | export GPG_TTY=$(tty) 10 | getent group "$HOST_USER_GID" || groupadd -g "$HOST_USER_GID" hostusrg 11 | usermod -a -G "$HOST_USER_GID" builder 12 | chown builder /home/builder/out 13 | chmod g+w /home/builder/out 14 | 15 | # Drop root privileges and build the package. 16 | gosu builder /home/builder/build.sh 17 | -------------------------------------------------------------------------------- /linux/jdk/redhat/src/main/packaging/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euox pipefail 3 | 4 | # The directory mounted into the container has the UID/GID of the host user. In order to allow the user builder to write 5 | # into it without changing its ownership (which could render the folder or its contents inaccessible to the host user), 6 | # add the user builder to the group with the same GID as the host user. 7 | HOST_USER_GID=$(stat -c "%g" /home/builder/out) 8 | # The command below fixes gpg: signing failed: Inappropriate ioctl for device 9 | export GPG_TTY=$(tty) 10 | getent group "$HOST_USER_GID" || groupadd -g "$HOST_USER_GID" hostusrg 11 | usermod -a -G "$HOST_USER_GID" builder 12 | chown builder /home/builder/out 13 | chmod g+w /home/builder/out 14 | 15 | # Drop root privileges and build the package. 16 | gosu builder /home/builder/build.sh 17 | -------------------------------------------------------------------------------- /linux/jre/redhat/src/main/packaging/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euox pipefail 3 | 4 | # The directory mounted into the container has the UID/GID of the host user. In order to allow the user builder to write 5 | # into it without changing its ownership (which could render the folder or its contents inaccessible to the host user), 6 | # add the user builder to the group with the same GID as the host user. 7 | HOST_USER_GID=$(stat -c "%g" /home/builder/out) 8 | # The command below fixes gpg: signing failed: Inappropriate ioctl for device 9 | export GPG_TTY=$(tty) 10 | getent group "$HOST_USER_GID" || groupadd -g "$HOST_USER_GID" hostusrg 11 | usermod -a -G "$HOST_USER_GID" builder 12 | chown builder /home/builder/out 13 | chmod g+w /home/builder/out 14 | 15 | # Drop root privileges and build the package. 16 | gosu builder /home/builder/build.sh 17 | -------------------------------------------------------------------------------- /.github/workflows/semgrep_diff.yml: -------------------------------------------------------------------------------- 1 | # ******************************************************************************** 2 | # Copyright (c) 2024 Contributors to the Eclipse Foundation 3 | # 4 | # See the NOTICE file(s) with this work for additional 5 | # information regarding copyright ownership. 6 | # 7 | # This program and the accompanying materials are made 8 | # available under the terms of the Apache Software License 2.0 9 | # which is available at https://www.apache.org/licenses/LICENSE-2.0. 10 | # 11 | # SPDX-License-Identifier: Apache-2.0 12 | # ******************************************************************************** 13 | --- 14 | name: Semgrep Differential Scan 15 | on: 16 | pull_request: 17 | 18 | permissions: 19 | contents: read 20 | statuses: write 21 | 22 | jobs: 23 | semgrep-diff: 24 | uses: adoptium/.github/.github/workflows/semgrep_diff.yml@main 25 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.hotspot.en-us.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.hotspot.de-de.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.hotspot.es-es.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.hotspot.fr-fr.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.hotspot.ja-jp.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.hotspot.zh-cn.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.hotspot.zh-tw.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.openj9.en-us.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.openj9.de-de.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.openj9.es-es.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.openj9.fr-fr.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.openj9.ja-jp.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.openj9.zh-cn.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.openj9.zh-tw.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/19/debian/changelog: -------------------------------------------------------------------------------- 1 | temurin-19-jdk (19.0.2.0.0+7) STABLE; urgency=medium 2 | 3 | * Eclipse Temurin 19.0.2.0.0+7 release. 4 | 5 | -- Eclipse Adoptium Package Maintainers Wed, 18 Jan 2023 09:43:20 +0000 6 | 7 | temurin-19-jdk (19.0.1.0.0+10-1) STABLE; urgency=medium 8 | 9 | * Add Ubuntu Kinetic (22.10) to the list of supported Ubuntu releases. 10 | 11 | -- Eclipse Adoptium Package Maintainers Tue, 06 Dec 2022 15:42:00 +0000 12 | 13 | temurin-19-jdk (19.0.1.0.0+10) STABLE; urgency=medium 14 | 15 | * Eclipse Temurin 19.0.1.0.0+10 release. 16 | 17 | -- Eclipse Adoptium Package Maintainers Sat, 05 Nov 2022 09:25:40 +0000 18 | 19 | temurin-19-jdk (19+36) STABLE; urgency=medium 20 | 21 | * Eclipse Temurin 19+36 release. 22 | 23 | -- Eclipse Adoptium Package Maintainers Tue, 20 Sep 2022 16:32:30 +0000 24 | -------------------------------------------------------------------------------- /linux/ca-certificates/debian/src/main/packaging/debian/adoptium-cacerts.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | set -eu 3 | 4 | cacerts_updates=yes 5 | 6 | if [ -f /etc/default/adoptium-ca-certificates ]; then 7 | # shellcheck disable=SC1091 8 | . /etc/default/adoptium-ca-certificates 9 | fi 10 | 11 | # We need to leave the update-ca-certificates hook in place until the package 12 | # is purged. Therefore we have to check whether trust is a known command. 13 | if [ "$cacerts_updates" != yes ] || ! command -v trust >/dev/null 2>&1 ; then 14 | echo "Updates of adoptium-ca-certificates' keystore disabled." 15 | exit 0 16 | fi 17 | 18 | # Trust does not overwrite existing files, therefore we need to remove it 19 | # beforehand. 20 | if [ -e "/etc/ssl/certs/adoptium/cacerts" ]; then 21 | rm -f /etc/ssl/certs/adoptium/cacerts 22 | fi 23 | 24 | trust extract --format=java-cacerts /etc/ssl/certs/adoptium/cacerts 25 | 26 | echo "/etc/ssl/certs/adoptium/cacerts successfully populated." 27 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.dragonwell.en-us.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.dragonwell.de-de.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.dragonwell.es-es.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.dragonwell.fr-fr.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.dragonwell.ja-jp.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.dragonwell.zh-cn.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /wix/Lang/OpenJDK.dragonwell.zh-tw.wxl.template: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/11/debian/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | priority="@priority@" 5 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 6 | tools="@jvm_tools@" 7 | 8 | case "$1" in 9 | configure) 10 | for tool in $tools; do 11 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 12 | if [ ! -e "$tool_path" ]; then 13 | continue 14 | fi 15 | 16 | slave="" 17 | tool_man_path="$jdk_base_dir/man/man1/$tool.1" 18 | if [ -e "$tool_man_path" ]; then 19 | slave="--slave /usr/share/man/man1/$tool.1 $tool.1 $tool_man_path" 20 | fi 21 | 22 | update-alternatives \ 23 | --install \ 24 | "/usr/bin/$tool" \ 25 | "$tool" \ 26 | "$tool_path" \ 27 | "$priority" \ 28 | $slave 29 | done 30 | done 31 | ;; 32 | 33 | abort-upgrade | abort-remove | abort-deconfigure) 34 | # Nothing to do 35 | ;; 36 | *) 37 | echo "postinst called with unknown argument \`$1'" >&2 38 | exit 1 39 | ;; 40 | esac 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/17/debian/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | priority="@priority@" 5 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 6 | tools="@jvm_tools@" 7 | 8 | case "$1" in 9 | configure) 10 | for tool in $tools; do 11 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 12 | if [ ! -e "$tool_path" ]; then 13 | continue 14 | fi 15 | 16 | slave="" 17 | tool_man_path="$jdk_base_dir/man/man1/$tool.1" 18 | if [ -e "$tool_man_path" ]; then 19 | slave="--slave /usr/share/man/man1/$tool.1 $tool.1 $tool_man_path" 20 | fi 21 | 22 | update-alternatives \ 23 | --install \ 24 | "/usr/bin/$tool" \ 25 | "$tool" \ 26 | "$tool_path" \ 27 | "$priority" \ 28 | $slave 29 | done 30 | done 31 | ;; 32 | 33 | abort-upgrade | abort-remove | abort-deconfigure) 34 | # Nothing to do 35 | ;; 36 | *) 37 | echo "postinst called with unknown argument \`$1'" >&2 38 | exit 1 39 | ;; 40 | esac 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/19/debian/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | priority="@priority@" 5 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 6 | tools="@jvm_tools@" 7 | 8 | case "$1" in 9 | configure) 10 | for tool in $tools; do 11 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 12 | if [ ! -e "$tool_path" ]; then 13 | continue 14 | fi 15 | 16 | slave="" 17 | tool_man_path="$jdk_base_dir/man/man1/$tool.1" 18 | if [ -e "$tool_man_path" ]; then 19 | slave="--slave /usr/share/man/man1/$tool.1 $tool.1 $tool_man_path" 20 | fi 21 | 22 | update-alternatives \ 23 | --install \ 24 | "/usr/bin/$tool" \ 25 | "$tool" \ 26 | "$tool_path" \ 27 | "$priority" \ 28 | $slave 29 | done 30 | done 31 | ;; 32 | 33 | abort-upgrade | abort-remove | abort-deconfigure) 34 | # Nothing to do 35 | ;; 36 | *) 37 | echo "postinst called with unknown argument \`$1'" >&2 38 | exit 1 39 | ;; 40 | esac 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/20/debian/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | priority="@priority@" 5 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 6 | tools="@jvm_tools@" 7 | 8 | case "$1" in 9 | configure) 10 | for tool in $tools; do 11 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 12 | if [ ! -e "$tool_path" ]; then 13 | continue 14 | fi 15 | 16 | slave="" 17 | tool_man_path="$jdk_base_dir/man/man1/$tool.1" 18 | if [ -e "$tool_man_path" ]; then 19 | slave="--slave /usr/share/man/man1/$tool.1 $tool.1 $tool_man_path" 20 | fi 21 | 22 | update-alternatives \ 23 | --install \ 24 | "/usr/bin/$tool" \ 25 | "$tool" \ 26 | "$tool_path" \ 27 | "$priority" \ 28 | $slave 29 | done 30 | done 31 | ;; 32 | 33 | abort-upgrade | abort-remove | abort-deconfigure) 34 | # Nothing to do 35 | ;; 36 | *) 37 | echo "postinst called with unknown argument \`$1'" >&2 38 | exit 1 39 | ;; 40 | esac 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/21/debian/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | priority="@priority@" 5 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 6 | tools="@jvm_tools@" 7 | 8 | case "$1" in 9 | configure) 10 | for tool in $tools; do 11 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 12 | if [ ! -e "$tool_path" ]; then 13 | continue 14 | fi 15 | 16 | slave="" 17 | tool_man_path="$jdk_base_dir/man/man1/$tool.1" 18 | if [ -e "$tool_man_path" ]; then 19 | slave="--slave /usr/share/man/man1/$tool.1 $tool.1 $tool_man_path" 20 | fi 21 | 22 | update-alternatives \ 23 | --install \ 24 | "/usr/bin/$tool" \ 25 | "$tool" \ 26 | "$tool_path" \ 27 | "$priority" \ 28 | $slave 29 | done 30 | done 31 | ;; 32 | 33 | abort-upgrade | abort-remove | abort-deconfigure) 34 | # Nothing to do 35 | ;; 36 | *) 37 | echo "postinst called with unknown argument \`$1'" >&2 38 | exit 1 39 | ;; 40 | esac 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/22/debian/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | priority="@priority@" 5 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 6 | tools="@jvm_tools@" 7 | 8 | case "$1" in 9 | configure) 10 | for tool in $tools; do 11 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 12 | if [ ! -e "$tool_path" ]; then 13 | continue 14 | fi 15 | 16 | slave="" 17 | tool_man_path="$jdk_base_dir/man/man1/$tool.1" 18 | if [ -e "$tool_man_path" ]; then 19 | slave="--slave /usr/share/man/man1/$tool.1 $tool.1 $tool_man_path" 20 | fi 21 | 22 | update-alternatives \ 23 | --install \ 24 | "/usr/bin/$tool" \ 25 | "$tool" \ 26 | "$tool_path" \ 27 | "$priority" \ 28 | $slave 29 | done 30 | done 31 | ;; 32 | 33 | abort-upgrade | abort-remove | abort-deconfigure) 34 | # Nothing to do 35 | ;; 36 | *) 37 | echo "postinst called with unknown argument \`$1'" >&2 38 | exit 1 39 | ;; 40 | esac 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/23/debian/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | priority="@priority@" 5 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 6 | tools="@jvm_tools@" 7 | 8 | case "$1" in 9 | configure) 10 | for tool in $tools; do 11 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 12 | if [ ! -e "$tool_path" ]; then 13 | continue 14 | fi 15 | 16 | slave="" 17 | tool_man_path="$jdk_base_dir/man/man1/$tool.1" 18 | if [ -e "$tool_man_path" ]; then 19 | slave="--slave /usr/share/man/man1/$tool.1 $tool.1 $tool_man_path" 20 | fi 21 | 22 | update-alternatives \ 23 | --install \ 24 | "/usr/bin/$tool" \ 25 | "$tool" \ 26 | "$tool_path" \ 27 | "$priority" \ 28 | $slave 29 | done 30 | done 31 | ;; 32 | 33 | abort-upgrade | abort-remove | abort-deconfigure) 34 | # Nothing to do 35 | ;; 36 | *) 37 | echo "postinst called with unknown argument \`$1'" >&2 38 | exit 1 39 | ;; 40 | esac 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/8/debian/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | priority="@priority@" 5 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 6 | tools="@jvm_tools@" 7 | 8 | case "$1" in 9 | configure) 10 | for tool in $tools; do 11 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 12 | if [ ! -e "$tool_path" ]; then 13 | continue 14 | fi 15 | 16 | slave="" 17 | tool_man_path="$jdk_base_dir/man/man1/$tool.1" 18 | if [ -e "$tool_man_path" ]; then 19 | slave="--slave /usr/share/man/man1/$tool.1 $tool.1 $tool_man_path" 20 | fi 21 | 22 | update-alternatives \ 23 | --install \ 24 | "/usr/bin/$tool" \ 25 | "$tool" \ 26 | "$tool_path" \ 27 | "$priority" \ 28 | $slave 29 | done 30 | done 31 | ;; 32 | 33 | abort-upgrade | abort-remove | abort-deconfigure) 34 | # Nothing to do 35 | ;; 36 | *) 37 | echo "postinst called with unknown argument \`$1'" >&2 38 | exit 1 39 | ;; 40 | esac 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/11/debian/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | priority="@priority@" 5 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 6 | tools="@jvm_tools@" 7 | 8 | case "$1" in 9 | configure) 10 | for tool in $tools; do 11 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 12 | if [ ! -e "$tool_path" ]; then 13 | continue 14 | fi 15 | 16 | slave="" 17 | tool_man_path="$jdk_base_dir/man/man1/$tool.1" 18 | if [ -e "$tool_man_path" ]; then 19 | slave="--slave /usr/share/man/man1/$tool.1 $tool.1 $tool_man_path" 20 | fi 21 | 22 | update-alternatives \ 23 | --install \ 24 | "/usr/bin/$tool" \ 25 | "$tool" \ 26 | "$tool_path" \ 27 | "$priority" \ 28 | $slave 29 | done 30 | done 31 | ;; 32 | 33 | abort-upgrade | abort-remove | abort-deconfigure) 34 | # Nothing to do 35 | ;; 36 | *) 37 | echo "postinst called with unknown argument \`$1'" >&2 38 | exit 1 39 | ;; 40 | esac 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/17/debian/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | priority="@priority@" 5 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 6 | tools="@jvm_tools@" 7 | 8 | case "$1" in 9 | configure) 10 | for tool in $tools; do 11 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 12 | if [ ! -e "$tool_path" ]; then 13 | continue 14 | fi 15 | 16 | slave="" 17 | tool_man_path="$jdk_base_dir/man/man1/$tool.1" 18 | if [ -e "$tool_man_path" ]; then 19 | slave="--slave /usr/share/man/man1/$tool.1 $tool.1 $tool_man_path" 20 | fi 21 | 22 | update-alternatives \ 23 | --install \ 24 | "/usr/bin/$tool" \ 25 | "$tool" \ 26 | "$tool_path" \ 27 | "$priority" \ 28 | $slave 29 | done 30 | done 31 | ;; 32 | 33 | abort-upgrade | abort-remove | abort-deconfigure) 34 | # Nothing to do 35 | ;; 36 | *) 37 | echo "postinst called with unknown argument \`$1'" >&2 38 | exit 1 39 | ;; 40 | esac 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/19/debian/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | priority="@priority@" 5 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 6 | tools="@jvm_tools@" 7 | 8 | case "$1" in 9 | configure) 10 | for tool in $tools; do 11 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 12 | if [ ! -e "$tool_path" ]; then 13 | continue 14 | fi 15 | 16 | slave="" 17 | tool_man_path="$jdk_base_dir/man/man1/$tool.1" 18 | if [ -e "$tool_man_path" ]; then 19 | slave="--slave /usr/share/man/man1/$tool.1 $tool.1 $tool_man_path" 20 | fi 21 | 22 | update-alternatives \ 23 | --install \ 24 | "/usr/bin/$tool" \ 25 | "$tool" \ 26 | "$tool_path" \ 27 | "$priority" \ 28 | $slave 29 | done 30 | done 31 | ;; 32 | 33 | abort-upgrade | abort-remove | abort-deconfigure) 34 | # Nothing to do 35 | ;; 36 | *) 37 | echo "postinst called with unknown argument \`$1'" >&2 38 | exit 1 39 | ;; 40 | esac 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/20/debian/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | priority="@priority@" 5 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 6 | tools="@jvm_tools@" 7 | 8 | case "$1" in 9 | configure) 10 | for tool in $tools; do 11 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 12 | if [ ! -e "$tool_path" ]; then 13 | continue 14 | fi 15 | 16 | slave="" 17 | tool_man_path="$jdk_base_dir/man/man1/$tool.1" 18 | if [ -e "$tool_man_path" ]; then 19 | slave="--slave /usr/share/man/man1/$tool.1 $tool.1 $tool_man_path" 20 | fi 21 | 22 | update-alternatives \ 23 | --install \ 24 | "/usr/bin/$tool" \ 25 | "$tool" \ 26 | "$tool_path" \ 27 | "$priority" \ 28 | $slave 29 | done 30 | done 31 | ;; 32 | 33 | abort-upgrade | abort-remove | abort-deconfigure) 34 | # Nothing to do 35 | ;; 36 | *) 37 | echo "postinst called with unknown argument \`$1'" >&2 38 | exit 1 39 | ;; 40 | esac 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/21/debian/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | priority="@priority@" 5 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 6 | tools="@jvm_tools@" 7 | 8 | case "$1" in 9 | configure) 10 | for tool in $tools; do 11 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 12 | if [ ! -e "$tool_path" ]; then 13 | continue 14 | fi 15 | 16 | slave="" 17 | tool_man_path="$jdk_base_dir/man/man1/$tool.1" 18 | if [ -e "$tool_man_path" ]; then 19 | slave="--slave /usr/share/man/man1/$tool.1 $tool.1 $tool_man_path" 20 | fi 21 | 22 | update-alternatives \ 23 | --install \ 24 | "/usr/bin/$tool" \ 25 | "$tool" \ 26 | "$tool_path" \ 27 | "$priority" \ 28 | $slave 29 | done 30 | done 31 | ;; 32 | 33 | abort-upgrade | abort-remove | abort-deconfigure) 34 | # Nothing to do 35 | ;; 36 | *) 37 | echo "postinst called with unknown argument \`$1'" >&2 38 | exit 1 39 | ;; 40 | esac 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/22/debian/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | priority="@priority@" 5 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 6 | tools="@jvm_tools@" 7 | 8 | case "$1" in 9 | configure) 10 | for tool in $tools; do 11 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 12 | if [ ! -e "$tool_path" ]; then 13 | continue 14 | fi 15 | 16 | slave="" 17 | tool_man_path="$jdk_base_dir/man/man1/$tool.1" 18 | if [ -e "$tool_man_path" ]; then 19 | slave="--slave /usr/share/man/man1/$tool.1 $tool.1 $tool_man_path" 20 | fi 21 | 22 | update-alternatives \ 23 | --install \ 24 | "/usr/bin/$tool" \ 25 | "$tool" \ 26 | "$tool_path" \ 27 | "$priority" \ 28 | $slave 29 | done 30 | done 31 | ;; 32 | 33 | abort-upgrade | abort-remove | abort-deconfigure) 34 | # Nothing to do 35 | ;; 36 | *) 37 | echo "postinst called with unknown argument \`$1'" >&2 38 | exit 1 39 | ;; 40 | esac 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/23/debian/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | priority="@priority@" 5 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 6 | tools="@jvm_tools@" 7 | 8 | case "$1" in 9 | configure) 10 | for tool in $tools; do 11 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 12 | if [ ! -e "$tool_path" ]; then 13 | continue 14 | fi 15 | 16 | slave="" 17 | tool_man_path="$jdk_base_dir/man/man1/$tool.1" 18 | if [ -e "$tool_man_path" ]; then 19 | slave="--slave /usr/share/man/man1/$tool.1 $tool.1 $tool_man_path" 20 | fi 21 | 22 | update-alternatives \ 23 | --install \ 24 | "/usr/bin/$tool" \ 25 | "$tool" \ 26 | "$tool_path" \ 27 | "$priority" \ 28 | $slave 29 | done 30 | done 31 | ;; 32 | 33 | abort-upgrade | abort-remove | abort-deconfigure) 34 | # Nothing to do 35 | ;; 36 | *) 37 | echo "postinst called with unknown argument \`$1'" >&2 38 | exit 1 39 | ;; 40 | esac 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/8/debian/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | priority="@priority@" 5 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 6 | tools="@jvm_tools@" 7 | 8 | case "$1" in 9 | configure) 10 | for tool in $tools; do 11 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 12 | if [ ! -e "$tool_path" ]; then 13 | continue 14 | fi 15 | 16 | slave="" 17 | tool_man_path="$jdk_base_dir/man/man1/$tool.1" 18 | if [ -e "$tool_man_path" ]; then 19 | slave="--slave /usr/share/man/man1/$tool.1 $tool.1 $tool_man_path" 20 | fi 21 | 22 | update-alternatives \ 23 | --install \ 24 | "/usr/bin/$tool" \ 25 | "$tool" \ 26 | "$tool_path" \ 27 | "$priority" \ 28 | $slave 29 | done 30 | done 31 | ;; 32 | 33 | abort-upgrade | abort-remove | abort-deconfigure) 34 | # Nothing to do 35 | ;; 36 | *) 37 | echo "postinst called with unknown argument \`$1'" >&2 38 | exit 1 39 | ;; 40 | esac 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /linux/ca-certificates/debian/src/main/packaging/debian/changelog: -------------------------------------------------------------------------------- 1 | adoptium-ca-certificates (1.0.3-1) STABLE; urgency=medium 2 | 3 | * Add Debian Trixie & Ubuntu Noble to the list of supported releases. 4 | 5 | -- Eclipse Adoptium Package Maintainers Thu, 25 April 2024 10:30:30 +0000 6 | 7 | adoptium-ca-certificates (1.0.2-1) STABLE; urgency=medium 8 | 9 | * Add Debian Bookworm to the list of supported releases. 10 | 11 | -- Eclipse Adoptium Package Maintainers Tue, 13 Jun 2023 13:08:30 +0000 12 | 13 | adoptium-ca-certificates (1.0.1-1) STABLE; urgency=medium 14 | 15 | * Add Ubuntu Kinetic (22.10) to the list of supported Ubuntu releases. 16 | 17 | -- Eclipse Adoptium Package Maintainers Tue, 06 Dec 2022 15:42:00 +0000 18 | 19 | adoptium-ca-certificates (1.0.0-1) UNRELEASED; urgency=medium 20 | 21 | * Create package. 22 | 23 | -- Andreas Ahlenstorf Wed, 29 Jul 2020 13:35:00 +0000 24 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/dragonwell/11/debian/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | priority="@priority@" 5 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 6 | tools="@jvm_tools@" 7 | 8 | case "$1" in 9 | configure) 10 | for tool in $tools; do 11 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 12 | if [ ! -e "$tool_path" ]; then 13 | continue 14 | fi 15 | 16 | slave="" 17 | tool_man_path="$jdk_base_dir/man/man1/$tool.1" 18 | if [ -e "$tool_man_path" ]; then 19 | slave="--slave /usr/share/man/man1/$tool.1 $tool.1 $tool_man_path" 20 | fi 21 | 22 | update-alternatives \ 23 | --install \ 24 | "/usr/bin/$tool" \ 25 | "$tool" \ 26 | "$tool_path" \ 27 | "$priority" \ 28 | $slave 29 | done 30 | done 31 | ;; 32 | 33 | abort-upgrade | abort-remove | abort-deconfigure) 34 | # Nothing to do 35 | ;; 36 | *) 37 | echo "postinst called with unknown argument \`$1'" >&2 38 | exit 1 39 | ;; 40 | esac 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/microsoft/11/debian/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | priority="@priority@" 5 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 6 | tools="@jvm_tools@" 7 | 8 | case "$1" in 9 | configure) 10 | for tool in $tools; do 11 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 12 | if [ ! -e "$tool_path" ]; then 13 | continue 14 | fi 15 | 16 | slave="" 17 | tool_man_path="$jdk_base_dir/man/man1/$tool.1" 18 | if [ -e "$tool_man_path" ]; then 19 | slave="--slave /usr/share/man/man1/$tool.1 $tool.1 $tool_man_path" 20 | fi 21 | 22 | update-alternatives \ 23 | --install \ 24 | "/usr/bin/$tool" \ 25 | "$tool" \ 26 | "$tool_path" \ 27 | "$priority" \ 28 | $slave 29 | done 30 | done 31 | ;; 32 | 33 | abort-upgrade | abort-remove | abort-deconfigure) 34 | # Nothing to do 35 | ;; 36 | *) 37 | echo "postinst called with unknown argument \`$1'" >&2 38 | exit 1 39 | ;; 40 | esac 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/microsoft/17/debian/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | priority="@priority@" 5 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 6 | tools="@jvm_tools@" 7 | 8 | case "$1" in 9 | configure) 10 | for tool in $tools; do 11 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 12 | if [ ! -e "$tool_path" ]; then 13 | continue 14 | fi 15 | 16 | slave="" 17 | tool_man_path="$jdk_base_dir/man/man1/$tool.1" 18 | if [ -e "$tool_man_path" ]; then 19 | slave="--slave /usr/share/man/man1/$tool.1 $tool.1 $tool_man_path" 20 | fi 21 | 22 | update-alternatives \ 23 | --install \ 24 | "/usr/bin/$tool" \ 25 | "$tool" \ 26 | "$tool_path" \ 27 | "$priority" \ 28 | $slave 29 | done 30 | done 31 | ;; 32 | 33 | abort-upgrade | abort-remove | abort-deconfigure) 34 | # Nothing to do 35 | ;; 36 | *) 37 | echo "postinst called with unknown argument \`$1'" >&2 38 | exit 1 39 | ;; 40 | esac 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/microsoft/21/debian/postinst.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | priority="@priority@" 5 | jdk_base_dir="/usr/lib/jvm/@jvm_dir@" 6 | tools="@jvm_tools@" 7 | 8 | case "$1" in 9 | configure) 10 | for tool in $tools; do 11 | for tool_path in "$jdk_base_dir/bin/$tool" "$jdk_base_dir/lib/$tool"; do 12 | if [ ! -e "$tool_path" ]; then 13 | continue 14 | fi 15 | 16 | slave="" 17 | tool_man_path="$jdk_base_dir/man/man1/$tool.1" 18 | if [ -e "$tool_man_path" ]; then 19 | slave="--slave /usr/share/man/man1/$tool.1 $tool.1 $tool_man_path" 20 | fi 21 | 22 | update-alternatives \ 23 | --install \ 24 | "/usr/bin/$tool" \ 25 | "$tool" \ 26 | "$tool_path" \ 27 | "$priority" \ 28 | $slave 29 | done 30 | done 31 | ;; 32 | 33 | abort-upgrade | abort-remove | abort-deconfigure) 34 | # Nothing to do 35 | ;; 36 | *) 37 | echo "postinst called with unknown argument \`$1'" >&2 38 | exit 1 39 | ;; 40 | esac 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /wix/serverTimestamp.config: -------------------------------------------------------------------------------- 1 | ; comment with semicolon 2 | ; blank line are ingnored 3 | ; script use only first column 4 | ; ordered by timestamp expiry date desc 5 | http://timestamp.comodoca.com/authenticode -> OK 02/08/2030 -> Sectigo RSA Time Stamping Signer #1 6 | http://timestamp.sectigo.com -> OK 02/08/2030 -> Sectigo RSA Time Stamping Signer #1 .. same as previous but with another url 7 | http://timestamp.comodoca.com/rfc3161 -> OK 02/08/2030 -> Sectigo RSA Time Stamping Signer #1 .. same as previous but with another url 8 | http://tsa.startssl.com/rfc3161 -> OK 15/08/2028 -> WoSign Time Stamping Signer ( buyed by WoTrus ) 9 | http://tsa.starfieldtech.com -> OK 17/09/2027 -> Starfield Timestamp Authority - G2 10 | http://timestamp.globalsign.com/scripts/timstamp.dll -> OK 24/06/2027 -> GlobalSign TSA for MS Authenticode - G2 11 | http://timestamp.digicert.com -> OK 22/10/2024 -> DigiCert Timestamp Responder 12 | ;http://timestamp.verisign.com/scripts/timstamp.dll -> Expire to soon 30/12/2020 -> Symantec Time Stamping Services Signer - G4 -------------------------------------------------------------------------------- /linux/jdk/redhat/src/main/packaging/openj9/run_build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Simple script to run a local RPM build including 3 | # download of binary blobs. 4 | # 5 | # Examples: 6 | # 7 | # bash $(pwd)/run_build.sh $(pwd)/8/java-1.8.0-openj9.spec 8 | # 9 | # bash $(pwd)/run_build.sh $(pwd)/11/java-11-openj9.spec 10 | set -exv 11 | 12 | if [ $# -ne 1 ]; then 13 | echo "Usage: $0 " 14 | exit 1 15 | fi 16 | mytmpdir=$(mktemp -d) 17 | 18 | spec=$1 19 | pushd $mytmpdir 20 | spectool --gf ${spec} 21 | # work-around issue of wrong filename in sha256 file 22 | sed -i 's/OpenJDK11U/OpenJDK11u/g' *.sha256.txt 23 | rpmbuild --define "_sourcedir $(pwd)" --define "_specdir $(pwd)" \ 24 | --define "_builddir $(pwd)" --define "_srcrpmdir $(pwd)" \ 25 | --define "_rpmdir $(pwd)" --nodeps -bs ${spec} 26 | rpmbuild --define "_sourcedir $(pwd)" --define "_specdir $(pwd)" \ 27 | --define "_builddir $(pwd)" --define "_srcrpmdir $(pwd)" \ 28 | --define "_rpmdir $(pwd)" --rebuild *.src.rpm 29 | popd 30 | 31 | echo "Results in $mytmpdir" 32 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG CONTAINER_REGISTRY="" 2 | ARG IMAGE=debian:bullseye 3 | FROM ${CONTAINER_REGISTRY}${IMAGE} 4 | 5 | # Combine apt-get update with apt-get install to prevent stale package indexes. 6 | RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential \ 7 | debhelper \ 8 | lsb-release \ 9 | reprepro \ 10 | gosu \ 11 | java-common \ 12 | libasound2 \ 13 | libc6 \ 14 | libx11-6 \ 15 | libfontconfig1 \ 16 | libfreetype6 \ 17 | libxext6 \ 18 | libxi6 \ 19 | libxrender1 \ 20 | libxtst6 \ 21 | zlib1g \ 22 | tini \ 23 | wget 24 | 25 | # Create unprivileged user for building, see 26 | # https://github.com/hexops/dockerfile#use-a-static-uid-and-gid 27 | RUN groupadd -g 10001 builder \ 28 | && useradd -m -d /home/builder -u 10000 -g 10001 builder 29 | 30 | # Prepare entrypoint and build scripts 31 | ADD entrypoint.sh /entrypoint.sh 32 | ADD build.sh /home/builder/build.sh 33 | RUN chmod +x /home/builder/build.sh 34 | 35 | ENTRYPOINT ["/usr/bin/tini", "--", "/bin/bash", "/entrypoint.sh" ] 36 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG CONTAINER_REGISTRY="" 2 | ARG IMAGE=debian:bullseye 3 | FROM ${CONTAINER_REGISTRY}${IMAGE} 4 | 5 | # Combine apt-get update with apt-get install to prevent stale package indexes. 6 | RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential \ 7 | debhelper \ 8 | lsb-release \ 9 | reprepro \ 10 | gosu \ 11 | java-common \ 12 | libasound2 \ 13 | libc6 \ 14 | libx11-6 \ 15 | libfontconfig1 \ 16 | libfreetype6 \ 17 | libxext6 \ 18 | libxi6 \ 19 | libxrender1 \ 20 | libxtst6 \ 21 | zlib1g \ 22 | tini \ 23 | wget 24 | 25 | # Create unprivileged user for building, see 26 | # https://github.com/hexops/dockerfile#use-a-static-uid-and-gid 27 | RUN groupadd -g 10001 builder \ 28 | && useradd -m -d /home/builder -u 10000 -g 10001 builder 29 | 30 | # Prepare entrypoint and build scripts 31 | ADD entrypoint.sh /entrypoint.sh 32 | ADD build.sh /home/builder/build.sh 33 | RUN chmod +x /home/builder/build.sh 34 | 35 | ENTRYPOINT ["/usr/bin/tini", "--", "/bin/bash", "/entrypoint.sh" ] 36 | -------------------------------------------------------------------------------- /wix/Resources/heat.tools.xslt: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | 15 | 16 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 30 | -------------------------------------------------------------------------------- /test/functional/wintps/runInstallerTests.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # https://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | set -x 16 | set -eo pipefail 17 | 18 | mkdir input 19 | 20 | export RESULTS_FOLDER=$1/result 21 | export INPUT_FOLDER="$(pwd)/input" 22 | export JDK_VERSION=$2 23 | export MSI_VENDOR="Adoptium" 24 | export CURRENT_USER_NAME='jenkins' 25 | 26 | echo "Fetch the MSI file" 27 | curl -OLJSks "https://api.adoptium.net/v3/installer/latest/$JDK_VERSION/ga/windows/x64/jdk/hotspot/normal/eclipse?project=jdk" 28 | mv *.msi $INPUT_FOLDER/ 29 | ls $INPUT_FOLDER 30 | ./WindowsTPS/wrapper/run-tps-win-vagrant.sh 31 | -------------------------------------------------------------------------------- /linux/jdk/redhat/src/main/packaging/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG CONTAINER_REGISTRY="" 2 | 3 | FROM ${CONTAINER_REGISTRY}tianon/gosu as gosu 4 | FROM ${CONTAINER_REGISTRY}fedora:38 5 | 6 | RUN dnf update -y && dnf install -y rpmdevtools \ 7 | rpm-sign \ 8 | rpmlint \ 9 | tar \ 10 | dpkg \ 11 | findutils \ 12 | tini \ 13 | wget 14 | 15 | COPY --from=gosu /gosu /usr/local/bin/ 16 | 17 | # Create unprivileged user for building, see 18 | # https://github.com/hexops/dockerfile#use-a-static-uid-and-gid 19 | RUN groupadd -g 10001 builder \ 20 | && useradd -m -d /home/builder -u 10000 -g 10001 builder 21 | 22 | # Add GPG key 23 | USER builder 24 | RUN --mount=type=secret,id=gpg,gid=10001,uid=10000,dst=/tmp/private.gpg \ 25 | if [[ -f /tmp/private.gpg ]]; then \ 26 | gpg --import /tmp/private.gpg; \ 27 | printf '%%_signature gpg\n\ 28 | %%_gpg_name 3B04D753C9050D9A5D343F39843C48A565F8F04B\n\ 29 | %%__gpg /usr/bin/gpg\n\ 30 | '\ 31 | >> /home/builder/.rpmmacros; \ 32 | fi 33 | 34 | # Prepare entrypoint and build scripts 35 | ADD entrypoint.sh /entrypoint.sh 36 | ADD build.sh /home/builder/build.sh 37 | USER root 38 | RUN chmod +x /home/builder/build.sh 39 | 40 | ENTRYPOINT ["/usr/bin/tini", "--", "/bin/bash", "/entrypoint.sh" ] 41 | -------------------------------------------------------------------------------- /linux/jre/redhat/src/main/packaging/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG CONTAINER_REGISTRY="" 2 | 3 | FROM ${CONTAINER_REGISTRY}tianon/gosu as gosu 4 | FROM ${CONTAINER_REGISTRY}fedora:40 5 | 6 | RUN dnf update -y && dnf install -y rpmdevtools \ 7 | rpm-sign \ 8 | rpmlint \ 9 | tar \ 10 | dpkg \ 11 | findutils \ 12 | tini \ 13 | wget 14 | 15 | COPY --from=gosu /gosu /usr/local/bin/ 16 | 17 | # Create unprivileged user for building, see 18 | # https://github.com/hexops/dockerfile#use-a-static-uid-and-gid 19 | RUN groupadd -g 10001 builder \ 20 | && useradd -m -d /home/builder -u 10000 -g 10001 builder 21 | 22 | # Add GPG key 23 | USER builder 24 | RUN --mount=type=secret,id=gpg,gid=10001,uid=10000,dst=/tmp/private.gpg \ 25 | if [[ -f /tmp/private.gpg ]]; then \ 26 | gpg --import /tmp/private.gpg; \ 27 | printf '%%_signature gpg\n\ 28 | %%_gpg_name 3B04D753C9050D9A5D343F39843C48A565F8F04B\n\ 29 | %%__gpg /usr/bin/gpg\n\ 30 | '\ 31 | >> /home/builder/.rpmmacros; \ 32 | fi 33 | 34 | # Prepare entrypoint and build scripts 35 | ADD entrypoint.sh /entrypoint.sh 36 | ADD build.sh /home/builder/build.sh 37 | USER root 38 | RUN chmod +x /home/builder/build.sh 39 | 40 | ENTRYPOINT ["/usr/bin/tini", "--", "/bin/bash", "/entrypoint.sh" ] 41 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/microsoft/21/debian/changelog: -------------------------------------------------------------------------------- 1 | msopenjdk-21 (21.0.5-1) STABLE; urgency=medium 2 | 3 | * Microsoft 21.0.5-1 release. 4 | 5 | -- Microsoft Package Maintainers Sat, 12 Oct 2024 01:31:27 +0000 6 | 7 | msopenjdk-21 (21.0.4-1) STABLE; urgency=medium 8 | 9 | * Microsoft 21.0.4-1 release. 10 | 11 | -- Microsoft Package Maintainers Wed, 17 Jul 2024 18:05:59 +0000 12 | 13 | msopenjdk-21 (21.0.3-1) STABLE; urgency=medium 14 | 15 | * Microsoft 21.0.3-1 release. 16 | 17 | -- Microsoft Package Maintainers Wed, 10 Apr 2024 05:09:39 +0000 18 | 19 | msopenjdk-21 (21.0.2-1) STABLE; urgency=medium 20 | 21 | * Microsoft 21.0.2-1 release. 22 | 23 | -- Microsoft Package Maintainers Thu, 11 Jan 2024 05:36:38 +0000 24 | 25 | msopenjdk-21 (21.0.1-1) STABLE; urgency=medium 26 | 27 | * Microsoft 21.0.1-1 release. 28 | 29 | -- Microsoft Package Maintainers Thu, 12 Oct 2023 17:07:03 +0000 30 | 31 | msopenjdk-21 (21.0.0-1) STABLE; urgency=medium 32 | 33 | * Microsoft 21.0.0-1 release. 34 | 35 | -- Microsoft Package Maintainers Tue, 19 Sep 2023 09:00:00 +0000 -------------------------------------------------------------------------------- /test/functional/wintps/playlist.xml: -------------------------------------------------------------------------------- 1 | 2 | 15 | 16 | 17 | WinTPSTests 18 | $(CD) $(TEST_ROOT)$(D)functional$(D)wintps; $(TEST_ROOT)$(D)functional$(D)wintps$(D)runInstallerTests.sh $(REPORTDIR) ${JDK_VERSION}; \ 19 | $(TEST_STATUS) 20 | 21 | hotspot 22 | 23 | 24 | dev 25 | 26 | 27 | functional 28 | 29 | 30 | -------------------------------------------------------------------------------- /linux/jdk/suse/src/main/packaging/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG CONTAINER_REGISTRY="" 2 | 3 | FROM ${CONTAINER_REGISTRY}tianon/gosu as gosu 4 | FROM ${CONTAINER_REGISTRY}opensuse/leap:15.6 5 | 6 | RUN zypper update -y && zypper install -y rpm-build \ 7 | rpm-devel \ 8 | rpmdevtools \ 9 | rpmlint \ 10 | dirmngr \ 11 | tar \ 12 | dpkg \ 13 | findutils \ 14 | tini \ 15 | wget 16 | 17 | COPY --from=gosu /gosu /usr/local/bin/ 18 | 19 | # Create unprivileged user for building, see 20 | # https://github.com/hexops/dockerfile#use-a-static-uid-and-gid 21 | RUN groupadd -g 10001 builder \ 22 | && useradd -m -d /home/builder -u 10000 -g 10001 builder 23 | 24 | # Add GPG key 25 | USER builder 26 | RUN --mount=type=secret,id=gpg,gid=10001,uid=10000,dst=/tmp/private.gpg \ 27 | if [[ -f /tmp/private.gpg ]]; then \ 28 | gpg --import /tmp/private.gpg; \ 29 | printf '%%_signature gpg\n\ 30 | %%_gpg_name 3B04D753C9050D9A5D343F39843C48A565F8F04B\n\ 31 | %%__gpg /usr/bin/gpg\n\ 32 | '\ 33 | >> /home/builder/.rpmmacros; \ 34 | fi 35 | 36 | # Prepare entrypoint and build scripts 37 | ADD entrypoint.sh /entrypoint.sh 38 | ADD build.sh /home/builder/build.sh 39 | USER root 40 | RUN chmod +x /home/builder/build.sh 41 | 42 | ENTRYPOINT ["/tini", "--", "/bin/bash", "/entrypoint.sh" ] 43 | -------------------------------------------------------------------------------- /linux/jre/suse/src/main/packaging/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG CONTAINER_REGISTRY="" 2 | 3 | FROM ${CONTAINER_REGISTRY}tianon/gosu as gosu 4 | FROM ${CONTAINER_REGISTRY}opensuse/leap:15.6 5 | 6 | RUN zypper update -y && zypper install -y rpm-build \ 7 | rpm-devel \ 8 | rpmdevtools \ 9 | rpmlint \ 10 | dirmngr \ 11 | tar \ 12 | dpkg \ 13 | findutils \ 14 | tini \ 15 | wget 16 | 17 | COPY --from=gosu /gosu /usr/local/bin/ 18 | 19 | # Create unprivileged user for building, see 20 | # https://github.com/hexops/dockerfile#use-a-static-uid-and-gid 21 | RUN groupadd -g 10001 builder \ 22 | && useradd -m -d /home/builder -u 10000 -g 10001 builder 23 | 24 | # Add GPG key 25 | USER builder 26 | RUN --mount=type=secret,id=gpg,gid=10001,uid=10000,dst=/tmp/private.gpg \ 27 | if [[ -f /tmp/private.gpg ]]; then \ 28 | gpg --import /tmp/private.gpg; \ 29 | printf '%%_signature gpg\n\ 30 | %%_gpg_name 3B04D753C9050D9A5D343F39843C48A565F8F04B\n\ 31 | %%__gpg /usr/bin/gpg\n\ 32 | '\ 33 | >> /home/builder/.rpmmacros; \ 34 | fi 35 | 36 | # Prepare entrypoint and build scripts 37 | ADD entrypoint.sh /entrypoint.sh 38 | ADD build.sh /home/builder/build.sh 39 | USER root 40 | RUN chmod +x /home/builder/build.sh 41 | 42 | ENTRYPOINT ["/tini", "--", "/bin/bash", "/entrypoint.sh" ] 43 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/8/debian/control: -------------------------------------------------------------------------------- 1 | Source: temurin-8-jre 2 | Section: java 3 | Priority: optional 4 | Maintainer: Eclipse Adoptium Package Maintainers 5 | Build-Depends: debhelper (>= 11), lsb-release 6 | 7 | Package: temurin-8-jre 8 | Architecture: amd64 armhf arm64 ppc64el 9 | Depends: adoptium-ca-certificates, 10 | fonts-dejavu, 11 | java-common, 12 | libasound2, 13 | libatomic1 [armhf], 14 | libc6, 15 | libfontconfig1, 16 | libfreetype6, 17 | libx11-6, 18 | libxext6, 19 | libxi6, 20 | libxrender1, 21 | libxtst6, 22 | zlib1g 23 | Recommends: fonts-dejavu-core, 24 | fonts-dejavu-extra 25 | Provides: java-runtime (= 8), 26 | java-runtime-headless (= 8), 27 | java2-runtime, 28 | java5-runtime, 29 | java6-runtime, 30 | java7-runtime, 31 | java8-runtime, 32 | java2-runtime-headless, 33 | java5-runtime-headless, 34 | java6-runtime-headless, 35 | java7-runtime-headless, 36 | java8-runtime-headless 37 | Description: Eclipse Temurin 8 JRE 38 | Eclipse Temurin JRE is an OpenJDK-based runtime environment to execute 39 | Java applications and services. 40 | -------------------------------------------------------------------------------- /linux/jre/alpine/src/main/packaging/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG CONTAINER_REGISTRY="" 2 | 3 | FROM ${CONTAINER_REGISTRY}alpine 4 | ENV GOSU_VERSION 1.14 5 | 6 | RUN set -eux; \ 7 | \ 8 | apk add \ 9 | alpine-sdk \ 10 | bash \ 11 | ca-certificates \ 12 | dpkg \ 13 | sudo 14 | 15 | # Create unprivileged user for building, see 16 | # https://github.com/hexops/dockerfile#use-a-static-uid-and-gid 17 | RUN adduser -D -h /home/builder builder \ 18 | && addgroup builder abuild \ 19 | && echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers 20 | 21 | USER builder 22 | WORKDIR /home/builder 23 | RUN --mount=type=secret,id=gpg,gid=1000,uid=1000,dst=/tmp/private.rsa \ 24 | if [[ -f /tmp/private.rsa ]]; then \ 25 | mkdir /home/builder/.abuild; \ 26 | cp /tmp/private.rsa /home/builder/.abuild; \ 27 | printf 'PACKAGER_PRIVKEY=/home/builder/.abuild/private.rsa'\ 28 | >> /home/builder/.abuild/abuild.conf; \ 29 | wget -o /home/builder/.abuild/private.rsa.pub https://packages.adoptium.net/artifactory/api/security/keypair/public/repositories/apk; \ 30 | else \ 31 | abuild-keygen -a -n; \ 32 | sudo cp /home/builder/.abuild/*.rsa.pub /etc/apk/keys/; \ 33 | fi 34 | 35 | # Prepare entrypoint 36 | COPY --chown=builder:abuild entrypoint.sh /home/builder/entrypoint.sh 37 | RUN chmod +x /home/builder/entrypoint.sh 38 | 39 | ENTRYPOINT ["/home/builder/entrypoint.sh"] 40 | -------------------------------------------------------------------------------- /linux/build.gradle: -------------------------------------------------------------------------------- 1 | plugins { 2 | id "java" 3 | } 4 | 5 | ext { 6 | junitVersion = "5.7.0" 7 | testcontainersVersion = "1.15.1" 8 | assertjCoreVersion = "3.18.1" 9 | } 10 | 11 | repositories { 12 | mavenCentral() 13 | } 14 | 15 | group "org.adoptium" 16 | version "1.0.0-SNAPSHOT" 17 | 18 | java { 19 | sourceCompatibility = JavaVersion.VERSION_1_8 20 | targetCompatibility = JavaVersion.VERSION_1_8 21 | } 22 | 23 | tasks.register("package") { 24 | group = "packaging" 25 | description = "Creates Linux packages." 26 | } 27 | 28 | tasks.register("checkPackage") { 29 | description = "Tests the generated packages." 30 | group = "verification" 31 | } 32 | 33 | check.dependsOn(checkPackage) 34 | 35 | def getProduct() { 36 | return hasProperty("PRODUCT") ? PRODUCT.toString().toLowerCase(Locale.US) : null 37 | } 38 | 39 | def getProductVersion() { 40 | return hasProperty("PRODUCT_VERSION") ? Integer.parseInt(PRODUCT_VERSION) : null 41 | } 42 | 43 | def getGPGKey() { 44 | return hasProperty("GPG_KEY") ? GPG_KEY.toString() : null 45 | } 46 | 47 | def getArch() { 48 | return hasProperty("ARCH") ? ARCH.toString() : "all" 49 | } 50 | 51 | def getInputDir() { 52 | return hasProperty("INPUT_DIR") ? INPUT_DIR.toString() : null 53 | } 54 | 55 | def getLocalBuildStatus() { 56 | return hasProperty("INPUT_DIR") ? "true" : "false" 57 | } 58 | 59 | def getContainerRegistry() { 60 | return hasProperty("CONTAINER_REGISTRY") ? CONTAINER_REGISTRY.toString() : "" 61 | } -------------------------------------------------------------------------------- /linux/jdk/alpine/src/main/packaging/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG CONTAINER_REGISTRY="" 2 | 3 | FROM ${CONTAINER_REGISTRY}alpine 4 | ENV GOSU_VERSION 1.14 5 | 6 | RUN set -eux; \ 7 | \ 8 | apk add \ 9 | alpine-sdk \ 10 | bash \ 11 | ca-certificates \ 12 | doas \ 13 | dpkg \ 14 | sudo \ 15 | wget 16 | 17 | # Create unprivileged user for building, see 18 | # https://github.com/hexops/dockerfile#use-a-static-uid-and-gid 19 | RUN adduser -D -h /home/builder builder \ 20 | && addgroup builder abuild \ 21 | && echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers \ 22 | && echo 'permit builder as root' > /etc/doas.d/doas.conf 23 | 24 | # Add GPG key 25 | USER builder 26 | WORKDIR /home/builder 27 | RUN --mount=type=secret,id=gpg,gid=1000,uid=1000,dst=/tmp/private.rsa \ 28 | if [[ -f /tmp/private.rsa ]]; then \ 29 | mkdir /home/builder/.abuild; \ 30 | cp /tmp/private.rsa /home/builder/.abuild; \ 31 | printf 'PACKAGER_PRIVKEY=/home/builder/.abuild/private.rsa'\ 32 | >> /home/builder/.abuild/abuild.conf; \ 33 | wget -o /home/builder/.abuild/private.rsa.pub https://packages.adoptium.net/artifactory/api/security/keypair/public/repositories/apk; \ 34 | else \ 35 | abuild-keygen -a -n; \ 36 | sudo cp /home/builder/.abuild/*.rsa.pub /etc/apk/keys/; \ 37 | fi 38 | 39 | # Prepare entrypoint 40 | COPY --chown=builder:abuild entrypoint.sh /home/builder/entrypoint.sh 41 | RUN chmod +x /home/builder/entrypoint.sh 42 | 43 | ENTRYPOINT ["/home/builder/entrypoint.sh"] 44 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/11/debian/control: -------------------------------------------------------------------------------- 1 | Source: temurin-11-jre 2 | Section: java 3 | Priority: optional 4 | Maintainer: Eclipse Adoptium Package Maintainers 5 | Build-Depends: debhelper (>= 11), lsb-release 6 | 7 | Package: temurin-11-jre 8 | Architecture: amd64 armhf arm64 ppc64el s390x 9 | Depends: adoptium-ca-certificates, 10 | java-common, 11 | libasound2, 12 | libc6, 13 | libfontconfig1, 14 | libfreetype6, 15 | libx11-6, 16 | libxext6, 17 | libxi6, 18 | libxrender1, 19 | libxtst6, 20 | zlib1g 21 | Recommends: fonts-dejavu-core, 22 | fonts-dejavu-extra 23 | Provides: java-runtime (= 11), 24 | java-runtime-headless (= 11), 25 | java10-runtime, 26 | java11-runtime, 27 | java2-runtime, 28 | java5-runtime, 29 | java6-runtime, 30 | java7-runtime, 31 | java8-runtime, 32 | java9-runtime, 33 | java10-runtime-headless, 34 | java11-runtime-headless, 35 | java2-runtime-headless, 36 | java5-runtime-headless, 37 | java6-runtime-headless, 38 | java7-runtime-headless, 39 | java8-runtime-headless, 40 | java9-runtime-headless 41 | Description: Eclipse Temurin 11 JRE 42 | Eclipse Temurin JRE is an OpenJDK-based runtime environment to execute 43 | Java applications and services. 44 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to installer 2 | 3 | Thanks for your interest in this project. 4 | 5 | ## Project description 6 | 7 | installer is a project that contains all the code to produce installers for Temurin binaries (macOS, Linux, Windows) 8 | 9 | * [https://github.com/adoptium/installer](https://github.com/adoptium/installer) 10 | 11 | ## Developer resources 12 | 13 | The project maintains the following source code repositories 14 | 15 | * [https://github.com/adoptium/installer](https://github.com/adoptium/installer) 16 | 17 | ## Eclipse Contributor Agreement 18 | 19 | Before your contribution can be accepted by the project team contributors must 20 | electronically sign the Eclipse Contributor Agreement (ECA). 21 | 22 | * [http://www.eclipse.org/legal/ECA.php](http://www.eclipse.org/legal/ECA.php)[] 23 | 24 | Commits that are provided by non-committers must have a Signed-off-by field in 25 | the footer indicating that the author is aware of the terms by which the 26 | contribution has been provided to the project. The non-committer must 27 | additionally have an Eclipse Foundation account and must have a signed Eclipse 28 | Contributor Agreement (ECA) on file. 29 | 30 | For more information, please see the Eclipse Committer Handbook: 31 | [https://www.eclipse.org/projects/handbook/#resources-commit](https://www.eclipse.org/projects/handbook/#resources-commit) 32 | 33 | ## Contact 34 | 35 | Contact the Eclipse Foundation Webdev team via webdev@eclipse-foundation.org. 36 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: github-actions 4 | directory: "/" 5 | schedule: 6 | interval: daily 7 | open-pull-requests-limit: 10 8 | - package-ecosystem: "gradle" 9 | directory: "/linux" 10 | schedule: 11 | interval: "daily" 12 | open-pull-requests-limit: 10 13 | 14 | - package-ecosystem: docker 15 | directory: /linux/ca-certificates/debian/src/main/packaging 16 | schedule: 17 | interval: daily 18 | 19 | - package-ecosystem: docker 20 | directory: /linux/jdk/alpine/src/main/packaging 21 | schedule: 22 | interval: daily 23 | 24 | - package-ecosystem: docker 25 | directory: /linux/jdk/debian/src/main/packaging 26 | schedule: 27 | interval: daily 28 | 29 | - package-ecosystem: docker 30 | directory: /linux/jdk/redhat/src/main/packaging 31 | schedule: 32 | interval: daily 33 | 34 | - package-ecosystem: docker 35 | directory: /linux/jdk/suse/src/main/packaging 36 | schedule: 37 | interval: daily 38 | 39 | - package-ecosystem: docker 40 | directory: /linux/jre/alpine/src/main/packaging 41 | schedule: 42 | interval: daily 43 | 44 | - package-ecosystem: docker 45 | directory: /linux/jre/debian/src/main/packaging 46 | schedule: 47 | interval: daily 48 | 49 | - package-ecosystem: docker 50 | directory: /linux/jre/redhat/src/main/packaging 51 | schedule: 52 | interval: daily 53 | 54 | - package-ecosystem: docker 55 | directory: /linux/jre/suse/src/main/packaging 56 | schedule: 57 | interval: daily 58 | -------------------------------------------------------------------------------- /.github/workflows/code-freeze.yml: -------------------------------------------------------------------------------- 1 | # ******************************************************************************** 2 | # Copyright (c) 2023, 2024 Contributors to the Eclipse Foundation 3 | # 4 | # See the NOTICE file(s) with this work for additional 5 | # information regarding copyright ownership. 6 | # 7 | # This program and the accompanying materials are made 8 | # available under the terms of the Apache Software License 2.0 9 | # which is available at https://www.apache.org/licenses/LICENSE-2.0. 10 | # 11 | # SPDX-License-Identifier: Apache-2.0 12 | # ******************************************************************************** 13 | 14 | name: Code Freeze Bot 15 | 16 | # Controls when the workflow will run 17 | on: 18 | pull_request_target: 19 | issue_comment: 20 | types: [created] 21 | 22 | permissions: 23 | contents: write 24 | pull-requests: write 25 | 26 | jobs: 27 | # Check if the pull request target branch matches the required branch-regex? 28 | codefreeze_branch_check: 29 | uses: adoptium/.github/.github/workflows/code-freeze-regex-branch.yml@main 30 | with: 31 | branch-regex: "^master$" 32 | 33 | # Code freeze if branch-regex matches 34 | codefreeze_if_branch_match: 35 | needs: codefreeze_branch_check 36 | uses: adoptium/.github/.github/workflows/code-freeze.yml@main 37 | if: (github.event_name == 'pull_request_target' || (github.event_name == 'issue_comment' && github.event.issue.pull_request)) && needs.codefreeze_branch_check.outputs.regex-matches == 'true' 38 | secrets: inherit 39 | -------------------------------------------------------------------------------- /wix/helpers/Validate-Input.ps1: -------------------------------------------------------------------------------- 1 | <# 2 | .SYNOPSIS 3 | This script verifies the validity an input, given a list of possible inputs. 4 | 5 | .DESCRIPTION 6 | The script takes a string as input and checks if it is valid against a list of valid inputs. 7 | If the input is valid, the script returns 0. If the input is invalid, the script returns 1. 8 | 9 | .PARAMETER validInputs 10 | A comma seperated list of valid inputs. 11 | 12 | .PARAMETER toValidate 13 | The input to be verified. 14 | 15 | .PARAMETER delimiter 16 | The delimiter used to split the input string. Default is a space. 17 | 18 | .NOTES 19 | File Name: Validate-Input.ps1 20 | Author : Joshua Martin-Jaffe 21 | Version : 1.0 22 | Date : Feb. 29, 2024 23 | 24 | .EXAMPLE 25 | PS> .\Validate-Input.ps1 -validInputs 'x86-32 x64' -toValidate 'x86-32 x64' -delimiter ' ' 26 | 27 | True 28 | 29 | #> 30 | 31 | param ( 32 | [Parameter(Mandatory = $true)] 33 | [string]$validInputs, 34 | [Parameter(Mandatory = $true)] 35 | [string]$toValidate, 36 | [Parameter(Mandatory = $true)] 37 | [string]$delimiter 38 | ) 39 | 40 | $validInputs = $validInputs.Trim("'") 41 | $validInputArray = $validInputs -split "$delimiter" 42 | 43 | $toValidate = $toValidate.Trim("'") 44 | $inputArray = $toValidate -split "$delimiter" 45 | 46 | 47 | for ($i = 0; $i -lt $inputArray.Length; $i++) { 48 | if ($validInputArray -notcontains $inputArray[$i]) { 49 | Write-Output $inputArray[$i] ' is an invalid input' 50 | exit 1 # Invalid input 51 | } 52 | } 53 | exit 0 # Valid input -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/21/debian/changelog: -------------------------------------------------------------------------------- 1 | temurin-21-jdk (21.0.5.0.0+11-1) STABLE; urgency=medium 2 | 3 | * Eclipse Temurin 21.0.5.0.0+11-1 release. 4 | 5 | -- Eclipse Adoptium Package Maintainers Wed, 16 Oct 2024 00:00:00 +0000 6 | 7 | temurin-21-jdk (21.0.4.0.0+7-1) STABLE; urgency=medium 8 | 9 | * Eclipse Temurin 21.0.4.0.0+7-1 release. 10 | 11 | -- Eclipse Adoptium Package Maintainers Wed, 17 Jul 2024 00:00:00 +0000 12 | 13 | temurin-21-jdk (21.0.3.0.0+9-1) STABLE; urgency=medium 14 | 15 | * Eclipse Temurin 21.0.3.0.0+9-1 release. 16 | 17 | -- Eclipse Adoptium Package Maintainers Wed, 17 Apr 2024 00:00:00 +0000 18 | 19 | temurin-21-jdk (21.0.2.0.0+13-2) STABLE; urgency=medium 20 | 21 | * Eclipse Temurin 21.0.2.0.0+13-2 release. 22 | 23 | -- Eclipse Adoptium Package Maintainers Wed, 21 Feb 2024 00:00:00 +0000 24 | 25 | temurin-21-jdk (21.0.2.0.0+13) STABLE; urgency=medium 26 | 27 | * Eclipse Temurin 21.0.2.0.0+13 release. 28 | 29 | -- Eclipse Adoptium Package Maintainers Tue, 23 Jan 2024 00:00:00 +0000 30 | 31 | temurin-21-jdk (21.0.1.0.0+12) STABLE; urgency=medium 32 | 33 | * Eclipse Temurin 21.0.1.0.0+12 release. 34 | 35 | -- Eclipse Adoptium Package Maintainers Tue, 24 Oct 2023 11:59:00 +0000 36 | 37 | temurin-21-jdk (21.0.0.0.0+35) STABLE; urgency=medium 38 | 39 | * Eclipse Temurin 21.0.0.0.0+35 release. 40 | 41 | -- Eclipse Adoptium Package Maintainers Wed, 20 Sep 2023 09:00:00 +0000 42 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/21/debian/changelog: -------------------------------------------------------------------------------- 1 | temurin-21-jre (21.0.5.0.0+11-1) STABLE; urgency=medium 2 | 3 | * Eclipse Temurin 21.0.5.0.0+11-1 release. 4 | 5 | -- Eclipse Adoptium Package Maintainers Wed, 16 Oct 2024 00:00:00 +0000 6 | 7 | temurin-21-jre (21.0.4.0.0+7-1) STABLE; urgency=medium 8 | 9 | * Eclipse Temurin 21.0.4.0.0+7-1 release. 10 | 11 | -- Eclipse Adoptium Package Maintainers Wed, 17 Jul 2024 00:00:00 +0000 12 | 13 | temurin-21-jre (21.0.3.0.0+9-1) STABLE; urgency=medium 14 | 15 | * Eclipse Temurin 21.0.3.0.0+9-1 release. 16 | 17 | -- Eclipse Adoptium Package Maintainers Wed, 17 Apr 2024 00:00:00 +0000 18 | 19 | temurin-21-jre (21.0.2.0.0+13-2) STABLE; urgency=medium 20 | 21 | * Eclipse Temurin 21.0.2.0.0+13-2 release. 22 | 23 | -- Eclipse Adoptium Package Maintainers Wed, 21 Feb 2024 00:00:00 +0000 24 | 25 | temurin-21-jre (21.0.2.0.0+13) STABLE; urgency=medium 26 | 27 | * Eclipse Temurin 21.0.2.0.0+13 release. 28 | 29 | -- Eclipse Adoptium Package Maintainers Tue, 23 Jan 2024 00:00:00 +0000 30 | 31 | temurin-21-jre (21.0.1.0.0+12) STABLE; urgency=medium 32 | 33 | * Eclipse Temurin 21.0.1.0.0+12 release. 34 | 35 | -- Eclipse Adoptium Package Maintainers Tue, 24 Oct 2023 11:59:00 +0000 36 | 37 | temurin-21-jre (21.0.0.0.0+35) STABLE; urgency=medium 38 | 39 | * Eclipse Temurin 21.0.0.0.0+35 release. 40 | 41 | -- Eclipse Adoptium Package Maintainers Wed, 20 Sep 2023 09:00:00 +0000 42 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/microsoft/17/debian/jinfo.in: -------------------------------------------------------------------------------- 1 | name=@pkg_alias@ 2 | alias=@pkg_alias@ 3 | priority=@priority@ 4 | section=contrib 5 | 6 | jdkhl jar /usr/lib/jvm/@jvm_dir@/bin/jar 7 | jdkhl jarsigner /usr/lib/jvm/@jvm_dir@/bin/jarsigner 8 | hl java /usr/lib/jvm/@jvm_dir@/bin/java 9 | jdkhl javac /usr/lib/jvm/@jvm_dir@/bin/javac 10 | jdkhl javadoc /usr/lib/jvm/@jvm_dir@/bin/javadoc 11 | jdkhl javap /usr/lib/jvm/@jvm_dir@/bin/javap 12 | jdkhl jcmd /usr/lib/jvm/@jvm_dir@/bin/jcmd 13 | jdk jconsole /usr/lib/jvm/@jvm_dir@/bin/jconsole 14 | jdkhl jdb /usr/lib/jvm/@jvm_dir@/bin/jdb 15 | jdkhl jdeprscan /usr/lib/jvm/@jvm_dir@/bin/jdeprscan 16 | jdkhl jdeps /usr/lib/jvm/@jvm_dir@/bin/jdeps 17 | hl jfr /usr/lib/jvm/@jvm_dir@/bin/jfr 18 | jdkhl jhsdb /usr/lib/jvm/@jvm_dir@/bin/jhsdb 19 | jdkhl jimage /usr/lib/jvm/@jvm_dir@/bin/jimage 20 | jdkhl jinfo /usr/lib/jvm/@jvm_dir@/bin/jinfo 21 | jdkhl jlink /usr/lib/jvm/@jvm_dir@/bin/jlink 22 | jdkhl jmap /usr/lib/jvm/@jvm_dir@/bin/jmap 23 | jdkhl jmod /usr/lib/jvm/@jvm_dir@/bin/jmod 24 | jdkhl jpackage /usr/lib/jvm/@jvm_dir@/bin/jpackage 25 | jdkhl jps /usr/lib/jvm/@jvm_dir@/bin/jps 26 | hl jrunscript /usr/lib/jvm/@jvm_dir@/bin/jrunscript 27 | jdkhl jshell /usr/lib/jvm/@jvm_dir@/bin/jshell 28 | jdkhl jstack /usr/lib/jvm/@jvm_dir@/bin/jstack 29 | jdkhl jstat /usr/lib/jvm/@jvm_dir@/bin/jstat 30 | jdkhl jstatd /usr/lib/jvm/@jvm_dir@/bin/jstatd 31 | hl keytool /usr/lib/jvm/@jvm_dir@/bin/keytool 32 | hl rmiregistry /usr/lib/jvm/@jvm_dir@/bin/rmiregistry 33 | jdkhl serialver /usr/lib/jvm/@jvm_dir@/bin/serialver 34 | hl jexec /usr/lib/jvm/@jvm_dir@/lib/jexec 35 | hl jspawnhelper /usr/lib/jvm/@jvm_dir@/lib/jspawnhelper 36 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/17/debian/jinfo.in: -------------------------------------------------------------------------------- 1 | name=@pkg_alias@ 2 | alias=@pkg_alias@ 3 | priority=@priority@ 4 | section=contrib 5 | 6 | jdkhl jar /usr/lib/jvm/@jvm_dir@/bin/jar 7 | jdkhl jarsigner /usr/lib/jvm/@jvm_dir@/bin/jarsigner 8 | hl java /usr/lib/jvm/@jvm_dir@/bin/java 9 | jdkhl javac /usr/lib/jvm/@jvm_dir@/bin/javac 10 | jdkhl javadoc /usr/lib/jvm/@jvm_dir@/bin/javadoc 11 | jdkhl javap /usr/lib/jvm/@jvm_dir@/bin/javap 12 | jdkhl jcmd /usr/lib/jvm/@jvm_dir@/bin/jcmd 13 | jdk jconsole /usr/lib/jvm/@jvm_dir@/bin/jconsole 14 | jdkhl jdb /usr/lib/jvm/@jvm_dir@/bin/jdb 15 | jdkhl jdeprscan /usr/lib/jvm/@jvm_dir@/bin/jdeprscan 16 | jdkhl jdeps /usr/lib/jvm/@jvm_dir@/bin/jdeps 17 | hl jfr /usr/lib/jvm/@jvm_dir@/bin/jfr 18 | jdkhl jhsdb /usr/lib/jvm/@jvm_dir@/bin/jhsdb 19 | jdkhl jimage /usr/lib/jvm/@jvm_dir@/bin/jimage 20 | jdkhl jinfo /usr/lib/jvm/@jvm_dir@/bin/jinfo 21 | jdkhl jlink /usr/lib/jvm/@jvm_dir@/bin/jlink 22 | jdkhl jmap /usr/lib/jvm/@jvm_dir@/bin/jmap 23 | jdkhl jmod /usr/lib/jvm/@jvm_dir@/bin/jmod 24 | jdkhl jpackage /usr/lib/jvm/@jvm_dir@/bin/jpackage 25 | jdkhl jps /usr/lib/jvm/@jvm_dir@/bin/jps 26 | hl jrunscript /usr/lib/jvm/@jvm_dir@/bin/jrunscript 27 | jdkhl jshell /usr/lib/jvm/@jvm_dir@/bin/jshell 28 | jdkhl jstack /usr/lib/jvm/@jvm_dir@/bin/jstack 29 | jdkhl jstat /usr/lib/jvm/@jvm_dir@/bin/jstat 30 | jdkhl jstatd /usr/lib/jvm/@jvm_dir@/bin/jstatd 31 | hl keytool /usr/lib/jvm/@jvm_dir@/bin/keytool 32 | hl rmiregistry /usr/lib/jvm/@jvm_dir@/bin/rmiregistry 33 | jdkhl serialver /usr/lib/jvm/@jvm_dir@/bin/serialver 34 | hl jexec /usr/lib/jvm/@jvm_dir@/lib/jexec 35 | hl jspawnhelper /usr/lib/jvm/@jvm_dir@/lib/jspawnhelper 36 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/microsoft/21/debian/jinfo.in: -------------------------------------------------------------------------------- 1 | name=@pkg_alias@ 2 | alias=@pkg_alias@ 3 | priority=@priority@ 4 | section=contrib 5 | 6 | jdkhl jar /usr/lib/jvm/@jvm_dir@/bin/jar 7 | jdkhl jarsigner /usr/lib/jvm/@jvm_dir@/bin/jarsigner 8 | hl java /usr/lib/jvm/@jvm_dir@/bin/java 9 | jdkhl javac /usr/lib/jvm/@jvm_dir@/bin/javac 10 | jdkhl javadoc /usr/lib/jvm/@jvm_dir@/bin/javadoc 11 | jdkhl javap /usr/lib/jvm/@jvm_dir@/bin/javap 12 | jdkhl jcmd /usr/lib/jvm/@jvm_dir@/bin/jcmd 13 | jdk jconsole /usr/lib/jvm/@jvm_dir@/bin/jconsole 14 | jdkhl jdb /usr/lib/jvm/@jvm_dir@/bin/jdb 15 | jdkhl jdeprscan /usr/lib/jvm/@jvm_dir@/bin/jdeprscan 16 | jdkhl jdeps /usr/lib/jvm/@jvm_dir@/bin/jdeps 17 | hl jfr /usr/lib/jvm/@jvm_dir@/bin/jfr 18 | jdkhl jhsdb /usr/lib/jvm/@jvm_dir@/bin/jhsdb 19 | jdkhl jimage /usr/lib/jvm/@jvm_dir@/bin/jimage 20 | jdkhl jinfo /usr/lib/jvm/@jvm_dir@/bin/jinfo 21 | jdkhl jlink /usr/lib/jvm/@jvm_dir@/bin/jlink 22 | jdkhl jmap /usr/lib/jvm/@jvm_dir@/bin/jmap 23 | jdkhl jmod /usr/lib/jvm/@jvm_dir@/bin/jmod 24 | jdkhl jpackage /usr/lib/jvm/@jvm_dir@/bin/jpackage 25 | jdkhl jps /usr/lib/jvm/@jvm_dir@/bin/jps 26 | hl jrunscript /usr/lib/jvm/@jvm_dir@/bin/jrunscript 27 | jdkhl jshell /usr/lib/jvm/@jvm_dir@/bin/jshell 28 | jdkhl jstack /usr/lib/jvm/@jvm_dir@/bin/jstack 29 | jdkhl jstat /usr/lib/jvm/@jvm_dir@/bin/jstat 30 | jdkhl jstatd /usr/lib/jvm/@jvm_dir@/bin/jstatd 31 | jdkhl jwebserver /usr/lib/jvm/@jvm_dir@/bin/jwebserver 32 | hl keytool /usr/lib/jvm/@jvm_dir@/bin/keytool 33 | hl rmiregistry /usr/lib/jvm/@jvm_dir@/bin/rmiregistry 34 | jdkhl serialver /usr/lib/jvm/@jvm_dir@/bin/serialver 35 | hl jexec /usr/lib/jvm/@jvm_dir@/lib/jexec 36 | hl jspawnhelper /usr/lib/jvm/@jvm_dir@/lib/jspawnhelper 37 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/19/debian/jinfo.in: -------------------------------------------------------------------------------- 1 | name=@pkg_alias@ 2 | alias=@pkg_alias@ 3 | priority=@priority@ 4 | section=contrib 5 | 6 | jdkhl jar /usr/lib/jvm/@jvm_dir@/bin/jar 7 | jdkhl jarsigner /usr/lib/jvm/@jvm_dir@/bin/jarsigner 8 | hl java /usr/lib/jvm/@jvm_dir@/bin/java 9 | jdkhl javac /usr/lib/jvm/@jvm_dir@/bin/javac 10 | jdkhl javadoc /usr/lib/jvm/@jvm_dir@/bin/javadoc 11 | jdkhl javap /usr/lib/jvm/@jvm_dir@/bin/javap 12 | jdkhl jcmd /usr/lib/jvm/@jvm_dir@/bin/jcmd 13 | jdk jconsole /usr/lib/jvm/@jvm_dir@/bin/jconsole 14 | jdkhl jdb /usr/lib/jvm/@jvm_dir@/bin/jdb 15 | jdkhl jdeprscan /usr/lib/jvm/@jvm_dir@/bin/jdeprscan 16 | jdkhl jdeps /usr/lib/jvm/@jvm_dir@/bin/jdeps 17 | hl jfr /usr/lib/jvm/@jvm_dir@/bin/jfr 18 | jdkhl jhsdb /usr/lib/jvm/@jvm_dir@/bin/jhsdb 19 | jdkhl jimage /usr/lib/jvm/@jvm_dir@/bin/jimage 20 | jdkhl jinfo /usr/lib/jvm/@jvm_dir@/bin/jinfo 21 | jdkhl jlink /usr/lib/jvm/@jvm_dir@/bin/jlink 22 | jdkhl jmap /usr/lib/jvm/@jvm_dir@/bin/jmap 23 | jdkhl jmod /usr/lib/jvm/@jvm_dir@/bin/jmod 24 | jdkhl jpackage /usr/lib/jvm/@jvm_dir@/bin/jpackage 25 | jdkhl jps /usr/lib/jvm/@jvm_dir@/bin/jps 26 | hl jrunscript /usr/lib/jvm/@jvm_dir@/bin/jrunscript 27 | jdkhl jshell /usr/lib/jvm/@jvm_dir@/bin/jshell 28 | jdkhl jstack /usr/lib/jvm/@jvm_dir@/bin/jstack 29 | jdkhl jstat /usr/lib/jvm/@jvm_dir@/bin/jstat 30 | jdkhl jstatd /usr/lib/jvm/@jvm_dir@/bin/jstatd 31 | jdkhl jwebserver /usr/lib/jvm/@jvm_dir@/bin/jwebserver 32 | hl keytool /usr/lib/jvm/@jvm_dir@/bin/keytool 33 | hl rmiregistry /usr/lib/jvm/@jvm_dir@/bin/rmiregistry 34 | jdkhl serialver /usr/lib/jvm/@jvm_dir@/bin/serialver 35 | hl jexec /usr/lib/jvm/@jvm_dir@/lib/jexec 36 | hl jspawnhelper /usr/lib/jvm/@jvm_dir@/lib/jspawnhelper 37 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/20/debian/jinfo.in: -------------------------------------------------------------------------------- 1 | name=@pkg_alias@ 2 | alias=@pkg_alias@ 3 | priority=@priority@ 4 | section=contrib 5 | 6 | jdkhl jar /usr/lib/jvm/@jvm_dir@/bin/jar 7 | jdkhl jarsigner /usr/lib/jvm/@jvm_dir@/bin/jarsigner 8 | hl java /usr/lib/jvm/@jvm_dir@/bin/java 9 | jdkhl javac /usr/lib/jvm/@jvm_dir@/bin/javac 10 | jdkhl javadoc /usr/lib/jvm/@jvm_dir@/bin/javadoc 11 | jdkhl javap /usr/lib/jvm/@jvm_dir@/bin/javap 12 | jdkhl jcmd /usr/lib/jvm/@jvm_dir@/bin/jcmd 13 | jdk jconsole /usr/lib/jvm/@jvm_dir@/bin/jconsole 14 | jdkhl jdb /usr/lib/jvm/@jvm_dir@/bin/jdb 15 | jdkhl jdeprscan /usr/lib/jvm/@jvm_dir@/bin/jdeprscan 16 | jdkhl jdeps /usr/lib/jvm/@jvm_dir@/bin/jdeps 17 | hl jfr /usr/lib/jvm/@jvm_dir@/bin/jfr 18 | jdkhl jhsdb /usr/lib/jvm/@jvm_dir@/bin/jhsdb 19 | jdkhl jimage /usr/lib/jvm/@jvm_dir@/bin/jimage 20 | jdkhl jinfo /usr/lib/jvm/@jvm_dir@/bin/jinfo 21 | jdkhl jlink /usr/lib/jvm/@jvm_dir@/bin/jlink 22 | jdkhl jmap /usr/lib/jvm/@jvm_dir@/bin/jmap 23 | jdkhl jmod /usr/lib/jvm/@jvm_dir@/bin/jmod 24 | jdkhl jpackage /usr/lib/jvm/@jvm_dir@/bin/jpackage 25 | jdkhl jps /usr/lib/jvm/@jvm_dir@/bin/jps 26 | hl jrunscript /usr/lib/jvm/@jvm_dir@/bin/jrunscript 27 | jdkhl jshell /usr/lib/jvm/@jvm_dir@/bin/jshell 28 | jdkhl jstack /usr/lib/jvm/@jvm_dir@/bin/jstack 29 | jdkhl jstat /usr/lib/jvm/@jvm_dir@/bin/jstat 30 | jdkhl jstatd /usr/lib/jvm/@jvm_dir@/bin/jstatd 31 | jdkhl jwebserver /usr/lib/jvm/@jvm_dir@/bin/jwebserver 32 | hl keytool /usr/lib/jvm/@jvm_dir@/bin/keytool 33 | hl rmiregistry /usr/lib/jvm/@jvm_dir@/bin/rmiregistry 34 | jdkhl serialver /usr/lib/jvm/@jvm_dir@/bin/serialver 35 | hl jexec /usr/lib/jvm/@jvm_dir@/lib/jexec 36 | hl jspawnhelper /usr/lib/jvm/@jvm_dir@/lib/jspawnhelper 37 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/21/debian/jinfo.in: -------------------------------------------------------------------------------- 1 | name=@pkg_alias@ 2 | alias=@pkg_alias@ 3 | priority=@priority@ 4 | section=contrib 5 | 6 | jdkhl jar /usr/lib/jvm/@jvm_dir@/bin/jar 7 | jdkhl jarsigner /usr/lib/jvm/@jvm_dir@/bin/jarsigner 8 | hl java /usr/lib/jvm/@jvm_dir@/bin/java 9 | jdkhl javac /usr/lib/jvm/@jvm_dir@/bin/javac 10 | jdkhl javadoc /usr/lib/jvm/@jvm_dir@/bin/javadoc 11 | jdkhl javap /usr/lib/jvm/@jvm_dir@/bin/javap 12 | jdkhl jcmd /usr/lib/jvm/@jvm_dir@/bin/jcmd 13 | jdk jconsole /usr/lib/jvm/@jvm_dir@/bin/jconsole 14 | jdkhl jdb /usr/lib/jvm/@jvm_dir@/bin/jdb 15 | jdkhl jdeprscan /usr/lib/jvm/@jvm_dir@/bin/jdeprscan 16 | jdkhl jdeps /usr/lib/jvm/@jvm_dir@/bin/jdeps 17 | hl jfr /usr/lib/jvm/@jvm_dir@/bin/jfr 18 | jdkhl jhsdb /usr/lib/jvm/@jvm_dir@/bin/jhsdb 19 | jdkhl jimage /usr/lib/jvm/@jvm_dir@/bin/jimage 20 | jdkhl jinfo /usr/lib/jvm/@jvm_dir@/bin/jinfo 21 | jdkhl jlink /usr/lib/jvm/@jvm_dir@/bin/jlink 22 | jdkhl jmap /usr/lib/jvm/@jvm_dir@/bin/jmap 23 | jdkhl jmod /usr/lib/jvm/@jvm_dir@/bin/jmod 24 | jdkhl jpackage /usr/lib/jvm/@jvm_dir@/bin/jpackage 25 | jdkhl jps /usr/lib/jvm/@jvm_dir@/bin/jps 26 | hl jrunscript /usr/lib/jvm/@jvm_dir@/bin/jrunscript 27 | jdkhl jshell /usr/lib/jvm/@jvm_dir@/bin/jshell 28 | jdkhl jstack /usr/lib/jvm/@jvm_dir@/bin/jstack 29 | jdkhl jstat /usr/lib/jvm/@jvm_dir@/bin/jstat 30 | jdkhl jstatd /usr/lib/jvm/@jvm_dir@/bin/jstatd 31 | jdkhl jwebserver /usr/lib/jvm/@jvm_dir@/bin/jwebserver 32 | hl keytool /usr/lib/jvm/@jvm_dir@/bin/keytool 33 | hl rmiregistry /usr/lib/jvm/@jvm_dir@/bin/rmiregistry 34 | jdkhl serialver /usr/lib/jvm/@jvm_dir@/bin/serialver 35 | hl jexec /usr/lib/jvm/@jvm_dir@/lib/jexec 36 | hl jspawnhelper /usr/lib/jvm/@jvm_dir@/lib/jspawnhelper 37 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/22/debian/jinfo.in: -------------------------------------------------------------------------------- 1 | name=@pkg_alias@ 2 | alias=@pkg_alias@ 3 | priority=@priority@ 4 | section=contrib 5 | 6 | jdkhl jar /usr/lib/jvm/@jvm_dir@/bin/jar 7 | jdkhl jarsigner /usr/lib/jvm/@jvm_dir@/bin/jarsigner 8 | hl java /usr/lib/jvm/@jvm_dir@/bin/java 9 | jdkhl javac /usr/lib/jvm/@jvm_dir@/bin/javac 10 | jdkhl javadoc /usr/lib/jvm/@jvm_dir@/bin/javadoc 11 | jdkhl javap /usr/lib/jvm/@jvm_dir@/bin/javap 12 | jdkhl jcmd /usr/lib/jvm/@jvm_dir@/bin/jcmd 13 | jdk jconsole /usr/lib/jvm/@jvm_dir@/bin/jconsole 14 | jdkhl jdb /usr/lib/jvm/@jvm_dir@/bin/jdb 15 | jdkhl jdeprscan /usr/lib/jvm/@jvm_dir@/bin/jdeprscan 16 | jdkhl jdeps /usr/lib/jvm/@jvm_dir@/bin/jdeps 17 | hl jfr /usr/lib/jvm/@jvm_dir@/bin/jfr 18 | jdkhl jhsdb /usr/lib/jvm/@jvm_dir@/bin/jhsdb 19 | jdkhl jimage /usr/lib/jvm/@jvm_dir@/bin/jimage 20 | jdkhl jinfo /usr/lib/jvm/@jvm_dir@/bin/jinfo 21 | jdkhl jlink /usr/lib/jvm/@jvm_dir@/bin/jlink 22 | jdkhl jmap /usr/lib/jvm/@jvm_dir@/bin/jmap 23 | jdkhl jmod /usr/lib/jvm/@jvm_dir@/bin/jmod 24 | jdkhl jpackage /usr/lib/jvm/@jvm_dir@/bin/jpackage 25 | jdkhl jps /usr/lib/jvm/@jvm_dir@/bin/jps 26 | hl jrunscript /usr/lib/jvm/@jvm_dir@/bin/jrunscript 27 | jdkhl jshell /usr/lib/jvm/@jvm_dir@/bin/jshell 28 | jdkhl jstack /usr/lib/jvm/@jvm_dir@/bin/jstack 29 | jdkhl jstat /usr/lib/jvm/@jvm_dir@/bin/jstat 30 | jdkhl jstatd /usr/lib/jvm/@jvm_dir@/bin/jstatd 31 | jdkhl jwebserver /usr/lib/jvm/@jvm_dir@/bin/jwebserver 32 | hl keytool /usr/lib/jvm/@jvm_dir@/bin/keytool 33 | hl rmiregistry /usr/lib/jvm/@jvm_dir@/bin/rmiregistry 34 | jdkhl serialver /usr/lib/jvm/@jvm_dir@/bin/serialver 35 | hl jexec /usr/lib/jvm/@jvm_dir@/lib/jexec 36 | hl jspawnhelper /usr/lib/jvm/@jvm_dir@/lib/jspawnhelper 37 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/23/debian/jinfo.in: -------------------------------------------------------------------------------- 1 | name=@pkg_alias@ 2 | alias=@pkg_alias@ 3 | priority=@priority@ 4 | section=contrib 5 | 6 | jdkhl jar /usr/lib/jvm/@jvm_dir@/bin/jar 7 | jdkhl jarsigner /usr/lib/jvm/@jvm_dir@/bin/jarsigner 8 | hl java /usr/lib/jvm/@jvm_dir@/bin/java 9 | jdkhl javac /usr/lib/jvm/@jvm_dir@/bin/javac 10 | jdkhl javadoc /usr/lib/jvm/@jvm_dir@/bin/javadoc 11 | jdkhl javap /usr/lib/jvm/@jvm_dir@/bin/javap 12 | jdkhl jcmd /usr/lib/jvm/@jvm_dir@/bin/jcmd 13 | jdk jconsole /usr/lib/jvm/@jvm_dir@/bin/jconsole 14 | jdkhl jdb /usr/lib/jvm/@jvm_dir@/bin/jdb 15 | jdkhl jdeprscan /usr/lib/jvm/@jvm_dir@/bin/jdeprscan 16 | jdkhl jdeps /usr/lib/jvm/@jvm_dir@/bin/jdeps 17 | hl jfr /usr/lib/jvm/@jvm_dir@/bin/jfr 18 | jdkhl jhsdb /usr/lib/jvm/@jvm_dir@/bin/jhsdb 19 | jdkhl jimage /usr/lib/jvm/@jvm_dir@/bin/jimage 20 | jdkhl jinfo /usr/lib/jvm/@jvm_dir@/bin/jinfo 21 | jdkhl jlink /usr/lib/jvm/@jvm_dir@/bin/jlink 22 | jdkhl jmap /usr/lib/jvm/@jvm_dir@/bin/jmap 23 | jdkhl jmod /usr/lib/jvm/@jvm_dir@/bin/jmod 24 | jdkhl jpackage /usr/lib/jvm/@jvm_dir@/bin/jpackage 25 | jdkhl jps /usr/lib/jvm/@jvm_dir@/bin/jps 26 | hl jrunscript /usr/lib/jvm/@jvm_dir@/bin/jrunscript 27 | jdkhl jshell /usr/lib/jvm/@jvm_dir@/bin/jshell 28 | jdkhl jstack /usr/lib/jvm/@jvm_dir@/bin/jstack 29 | jdkhl jstat /usr/lib/jvm/@jvm_dir@/bin/jstat 30 | jdkhl jstatd /usr/lib/jvm/@jvm_dir@/bin/jstatd 31 | jdkhl jwebserver /usr/lib/jvm/@jvm_dir@/bin/jwebserver 32 | hl keytool /usr/lib/jvm/@jvm_dir@/bin/keytool 33 | hl rmiregistry /usr/lib/jvm/@jvm_dir@/bin/rmiregistry 34 | jdkhl serialver /usr/lib/jvm/@jvm_dir@/bin/serialver 35 | hl jexec /usr/lib/jvm/@jvm_dir@/lib/jexec 36 | hl jspawnhelper /usr/lib/jvm/@jvm_dir@/lib/jspawnhelper 37 | -------------------------------------------------------------------------------- /CONFIGURATION.md: -------------------------------------------------------------------------------- 1 | This document describes the install packages created for each Temurin OpenJDK release and jdk / jre, the default installation locations and other pertinent information such as registry updates and post installation actions such as setting symlinks. 2 | 3 | It is intended for use either for reference or as a specification document for developing new installers. 4 | 5 | ## openjdk8 releases 6 | | Platform | Variant | JDK / JRE | Type of installable | Default install location (JAVA_HOME) | Metadata | Other | 7 | |----------------|---------|-----------| --------------------|----------------------------------------------------|----------------------|-------| 8 | | Windows x64 | hotspot | jdk | msi | C:\Program Files\AdoptOpenJDK\jdk-8.0.192.12 | Windows Registry key(s): HKEY_LOCAL_MACHINE\SOFTWARE\AdoptOpenJDK\JDK\8.0.192.12\MSI\Path | - | 9 | | Windows x64 | hotspot | jre | msi | C:\Program Files\AdoptOpenJDK\jre-8.0.192.12 | Windows Registry key(s): HKEY_LOCAL_MACHINE\SOFTWARE\AdoptOpenJDK\JRE\8.0.192.12\MSI\Path | - | 10 | | Windows x32 | openj9 | jdk | msi | C:\Program Files (x86)\AdoptOpenJDK\jdk-8.0.192.12 | Windows Registry key(s): HKEY_LOCAL_MACHINE\SOFTWARE\AdoptOpenJDK\JDK\8.0.192.12\MSI\Path | - | 11 | | Windows x32 | openj9 | jre | msi | C:\Program Files (x86)\AdoptOpenJDK\jre-8.0.192.12 | Windows Registry key(s): HKEY_LOCAL_MACHINE\SOFTWARE\AdoptOpenJDK\JRE\8.0.192.12\MSI\Path | - | 12 | | Linux x64 RHEL | hotspot | jdk | rpm | /usr/lib/jdk-8.0.192.12 | ?? | symlink /usr/bin/java | 13 | 14 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/8/debian/changelog: -------------------------------------------------------------------------------- 1 | temurin-8-jre (8.0.432.0.0+6) STABLE; urgency=medium 2 | 3 | * Eclipse Temurin 8.0.432.0.0+6 release. 4 | 5 | -- Eclipse Adoptium Package Maintainers Wed, Oct 16 2024 00:00:00 +0000 6 | 7 | temurin-8-jre (8.0.422.0.0+5) STABLE; urgency=medium 8 | 9 | * Eclipse Temurin 8.0.422.0.0+5 release. 10 | 11 | -- Eclipse Adoptium Package Maintainers Wed, Jul 17 2024 00:00:00 +0000 12 | 13 | temurin-8-jre (8.0.412.0.0+8) STABLE; urgency=medium 14 | 15 | * Eclipse Temurin 8.0.412.0.0+8 release. 16 | 17 | -- Eclipse Adoptium Package Maintainers Wed, Apr 17 2024 00:00:00 +0000 18 | 19 | temurin-8-jre (8.0.402.0.0+6) STABLE; urgency=medium 20 | 21 | * Eclipse Temurin 8.0.402.0.0+6 release. 22 | 23 | -- Eclipse Adoptium Package Maintainers Wed, Jan 24 2024 00:00:00 +0000 24 | 25 | temurin-8-jre (8.0.392.0.0+8) STABLE; urgency=medium 26 | 27 | * Eclipse Temurin 8.0.392.0.0+8 release. 28 | 29 | temurin-8-jre (8.0.382.0.0+5) STABLE; urgency=medium 30 | 31 | * Eclipse Temurin 8.0.382.0.0+5 release. 32 | 33 | -- Eclipse Adoptium Package Maintainers Tue, Jul 25 2023 11:59:00 +0000 34 | 35 | temurin-8-jre (8.0.372.0.0.7-1) STABLE; urgency=medium 36 | 37 | * Eclipse Temurin 8.0.372.0.0.7-1 release. 38 | 39 | -- Eclipse Adoptium Package Maintainers Mon, Apr 26 2023 16:16:00 +0000 40 | 41 | temurin-8-jre (8.0.362.0.0.9) STABLE; urgency=medium 42 | 43 | * Eclipse Temurin 8.0.362.0.0.9 release. 44 | 45 | -- Eclipse Adoptium Package Maintainers Mon, Jan 30 2023 11:35:00 +0000 46 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/8/debian/control: -------------------------------------------------------------------------------- 1 | Source: temurin-8-jdk 2 | Section: java 3 | Priority: optional 4 | Maintainer: Eclipse Adoptium Package Maintainers 5 | Build-Depends: debhelper (>= 11), lsb-release 6 | 7 | Package: temurin-8-jdk 8 | Architecture: amd64 armhf arm64 ppc64el 9 | Depends: adoptium-ca-certificates, 10 | fonts-dejavu, 11 | java-common, 12 | libasound2, 13 | libatomic1 [armhf], 14 | libc6, 15 | libfontconfig1, 16 | libfreetype6, 17 | libx11-6, 18 | libxext6, 19 | libxi6, 20 | libxrender1, 21 | libxtst6, 22 | zlib1g 23 | Recommends: fonts-dejavu-core, 24 | fonts-dejavu-extra 25 | Provides: java-compiler, 26 | java-sdk, 27 | java-sdk-headless, 28 | java2-sdk, 29 | java5-sdk, 30 | java6-sdk, 31 | java7-sdk, 32 | java8-sdk, 33 | java2-sdk-headless, 34 | java5-sdk-headless, 35 | java6-sdk-headless, 36 | java7-sdk-headless, 37 | java8-sdk-headless, 38 | java-runtime (= 8), 39 | java-runtime-headless (= 8), 40 | java2-runtime, 41 | java5-runtime, 42 | java6-runtime, 43 | java7-runtime, 44 | java8-runtime, 45 | java2-runtime-headless, 46 | java5-runtime-headless, 47 | java6-runtime-headless, 48 | java7-runtime-headless, 49 | java8-runtime-headless 50 | Description: Eclipse Temurin 8 JDK 51 | Eclipse Temurin JDK is an OpenJDK-based development environment to create 52 | applications and components using the programming language Java. 53 | -------------------------------------------------------------------------------- /pkgbuild/Jenkinsfile: -------------------------------------------------------------------------------- 1 | pipeline { 2 | agent { 3 | label 'mac&&xcode11.7' 4 | } 5 | options { 6 | timeout(time: 1, unit: 'HOURS') 7 | buildDiscarder(logRotator(numToKeepStr: '50', artifactNumToKeepStr: '20')) 8 | copyArtifactPermission('*'); 9 | } 10 | parameters { 11 | string(name: 'UPSTREAM_JOB_NAME', description: 'e.g. build-scripts/openjdk11-pipeline') 12 | string(name: 'UPSTREAM_JOB_NUMBER', description: 'e.g. 123') 13 | string(name: 'CERTIFICATE', description: 'Certificate name to sign the installer') 14 | string(name: 'FILTER', defaultValue: '**/OpenJDK*_mac_*.tar.gz', description: 'e.g. **/OpenJDK*_mac_*.tar.gz') 15 | string(name: 'MAJOR_VERSION', description: 'e.g. 8') 16 | string(name: 'FULL_VERSION', description: 'e.g 1.8.0_192 or 11+28') 17 | } 18 | // checkout git repo 19 | stages { 20 | stage('Checkout') { 21 | steps { 22 | step([$class: 'WsCleanup']) 23 | checkout scm 24 | } 25 | } 26 | stage('Copy Artifacts') { 27 | steps { 28 | copyArtifacts filter: '${FILTER}', fingerprintArtifacts: true, projectName: '${UPSTREAM_JOB_NAME}', selector: specific('${UPSTREAM_JOB_NUMBER}') 29 | } 30 | } 31 | stage('Build Installer') { 32 | steps { 33 | sh ''' 34 | bash pkgbuild/create-installer-mac.sh 35 | ''' 36 | } 37 | } 38 | stage('Archive Installer') { 39 | steps { 40 | archiveArtifacts artifacts: 'workspace/target/OpenJDK*.pkg', followSymlinks: true 41 | } 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /linux/jdk/suse/src/main/packaging/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euxo pipefail 3 | 4 | # Ensure necessary directories for rpmbuild operation are present. 5 | rpmdev-setuptree 6 | 7 | echo "DEBUG: building Suse arch ${buildArch} with version ${buildVersion}" 8 | # Build specified target or build all 9 | if [ "${buildArch}" != "all" ]; then 10 | targets=${buildArch} 11 | elif [ ${buildVersion} -gt 20 ]; then 12 | targets="x86_64 ppc64le aarch64 s390x riscv64" 13 | else 14 | targets="x86_64 ppc64le aarch64 armv7hl s390x" 15 | fi 16 | 17 | for spec in "$(ls /home/builder/build/generated/packaging/*.spec)"; do 18 | rpmdev-spectool -g -R "$spec"; 19 | rpmbuild --nodeps -bs "$spec"; 20 | # if buildArch == all, extract ExclusiveArch from the spec file 21 | if [ "${buildArch}" = "all" ]; then 22 | # extract the ExclusiveArch from the spec file 23 | # the sed command is to remove the trailing whitespace 24 | # the second sed command is to replace %{arm} with armv7hl 25 | ExclusiveArch=$(grep -E "^ExclusiveArch:" "$spec" | sed -e 's/ExclusiveArch: *//' | sed -e 's/%{arm}/armv7hl/g') 26 | [ -n "$ExclusiveArch" ] && targets="${ExclusiveArch}" 27 | fi 28 | for target in $targets; do 29 | rpmbuild --target "$target" --rebuild /home/builder/rpmbuild/SRPMS/*.src.rpm; 30 | done; 31 | done; 32 | 33 | # Copy generated RPMs to destination folder 34 | find /home/builder/rpmbuild/SRPMS /home/builder/rpmbuild/RPMS -type f -name "*.rpm" -print0 | xargs -0 -I {} cp {} /home/builder/out 35 | # Sign generated RPMs with rpmsign 36 | if grep -q %_gpg_name /home/builder/.rpmmacros; then 37 | rm -f ~/.gnupg/public-keys.d/pubring.db.lock 38 | for file in `ls /home/builder/out/*.rpm`; do 39 | echo Signing: $file 40 | rpmsign --addsign $file 41 | done 42 | fi; 43 | -------------------------------------------------------------------------------- /linux/jre/suse/src/main/packaging/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euxo pipefail 3 | 4 | # Ensure necessary directories for rpmbuild operation are present. 5 | rpmdev-setuptree 6 | 7 | echo "DEBUG: building Suse arch ${buildArch} with version ${buildVersion}" 8 | # Build specified target or build all (not s390x on jre8) 9 | if [ "${buildArch}" != "all" ]; then 10 | targets=${buildArch} 11 | elif [ ${buildVersion} -gt 20 ]; then 12 | targets="x86_64 ppc64le aarch64 s390x riscv64" 13 | else 14 | targets="x86_64 ppc64le aarch64 armv7hl s390x" 15 | fi 16 | 17 | for spec in "$(ls /home/builder/build/generated/packaging/*.spec)"; do 18 | rpmdev-spectool -g -R "$spec"; 19 | rpmbuild --nodeps -bs "$spec"; 20 | # if buildArch == all, extract ExclusiveArch from the spec file 21 | if [ "${buildArch}" = "all" ]; then 22 | # extract the ExclusiveArch from the spec file 23 | # the sed command is to remove the trailing whitespace 24 | # the second sed command is to replace %{arm} with armv7hl 25 | ExclusiveArch=$(grep -E "^ExclusiveArch:" "$spec" | sed -e 's/ExclusiveArch: *//' | sed -e 's/%{arm}/armv7hl/g') 26 | [ -n "$ExclusiveArch" ] && targets="${ExclusiveArch}" 27 | fi 28 | for target in $targets; do 29 | rpmbuild --target "$target" --rebuild /home/builder/rpmbuild/SRPMS/*.src.rpm; 30 | done; 31 | done; 32 | 33 | # Copy generated RPMs to destination folder 34 | find /home/builder/rpmbuild/SRPMS /home/builder/rpmbuild/RPMS -type f -name "*.rpm" -print0 | xargs -0 -I {} cp {} /home/builder/out 35 | # Sign generated RPMs with rpmsign 36 | if grep -q %_gpg_name /home/builder/.rpmmacros; then 37 | rm -f ~/.gnupg/public-keys.d/pubring.db.lock 38 | for file in `ls /home/builder/out/*.rpm`; do 39 | echo Signing: $file 40 | rpmsign --addsign $file 41 | done 42 | fi; 43 | -------------------------------------------------------------------------------- /linux/jdk/alpine/src/packageTest/java/packaging/ApkFiles.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2020 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package packaging; 18 | 19 | import java.io.IOException; 20 | import java.io.UncheckedIOException; 21 | import java.nio.file.DirectoryStream; 22 | import java.nio.file.Files; 23 | import java.nio.file.Path; 24 | import java.nio.file.Paths; 25 | 26 | /** 27 | * Utility methods to interact with apk files. 28 | * 29 | * @author George Adams 30 | */ 31 | final class ApkFiles { 32 | private ApkFiles() { 33 | // no instances 34 | } 35 | 36 | static Path hostApkPath() { 37 | return findBuildOutputOnHost(System.getenv("PACKAGE") + "*.apk"); 38 | } 39 | 40 | private static Path findBuildOutputOnHost(String pattern) { 41 | Path outputDirectory = Paths.get("build", "ospackage"); 42 | try (DirectoryStream stream = Files.newDirectoryStream(outputDirectory, pattern)) { 43 | for (Path candidateFile : stream) { 44 | return candidateFile; 45 | } 46 | } catch (IOException x) { 47 | throw new UncheckedIOException(x); 48 | } 49 | 50 | throw new RuntimeException("Could not find file with pattern " + pattern + " in " + outputDirectory.toString()); 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /linux/jre/alpine/src/packageTest/java/packaging/ApkFiles.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2020 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package packaging; 18 | 19 | import java.io.IOException; 20 | import java.io.UncheckedIOException; 21 | import java.nio.file.DirectoryStream; 22 | import java.nio.file.Files; 23 | import java.nio.file.Path; 24 | import java.nio.file.Paths; 25 | 26 | /** 27 | * Utility methods to interact with apk files. 28 | * 29 | * @author George Adams 30 | */ 31 | final class ApkFiles { 32 | private ApkFiles() { 33 | // no instances 34 | } 35 | 36 | static Path hostApkPath() { 37 | return findBuildOutputOnHost(System.getenv("PACKAGE") + "*.apk"); 38 | } 39 | 40 | private static Path findBuildOutputOnHost(String pattern) { 41 | Path outputDirectory = Paths.get("build", "ospackage"); 42 | try (DirectoryStream stream = Files.newDirectoryStream(outputDirectory, pattern)) { 43 | for (Path candidateFile : stream) { 44 | return candidateFile; 45 | } 46 | } catch (IOException x) { 47 | throw new UncheckedIOException(x); 48 | } 49 | 50 | throw new RuntimeException("Could not find file with pattern " + pattern + " in " + outputDirectory.toString()); 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/packageTest/java/packaging/DebFiles.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2020 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package packaging; 18 | 19 | import java.io.IOException; 20 | import java.io.UncheckedIOException; 21 | import java.nio.file.DirectoryStream; 22 | import java.nio.file.Files; 23 | import java.nio.file.Path; 24 | import java.nio.file.Paths; 25 | 26 | /** 27 | * Utility methods to interact with deb files. 28 | * 29 | * @author Andreas Ahlenstorf 30 | */ 31 | final class DebFiles { 32 | private DebFiles() { 33 | // no instances 34 | } 35 | 36 | static Path hostDebPath() { 37 | return findBuildOutputOnHost(System.getenv("PACKAGE") + "*.deb"); 38 | } 39 | 40 | private static Path findBuildOutputOnHost(String pattern) { 41 | Path outputDirectory = Paths.get("build", "ospackage"); 42 | try (DirectoryStream stream = Files.newDirectoryStream(outputDirectory, pattern)) { 43 | for (Path candidateFile : stream) { 44 | return candidateFile; 45 | } 46 | } catch (IOException x) { 47 | throw new UncheckedIOException(x); 48 | } 49 | 50 | throw new RuntimeException("Could not find file with pattern " + pattern + " in " + outputDirectory.toString()); 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /linux/jre/debian/src/packageTest/java/packaging/DebFiles.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2020 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package packaging; 18 | 19 | import java.io.IOException; 20 | import java.io.UncheckedIOException; 21 | import java.nio.file.DirectoryStream; 22 | import java.nio.file.Files; 23 | import java.nio.file.Path; 24 | import java.nio.file.Paths; 25 | 26 | /** 27 | * Utility methods to interact with deb files. 28 | * 29 | * @author Andreas Ahlenstorf 30 | */ 31 | final class DebFiles { 32 | private DebFiles() { 33 | // no instances 34 | } 35 | 36 | static Path hostDebPath() { 37 | return findBuildOutputOnHost(System.getenv("PACKAGE") + "*.deb"); 38 | } 39 | 40 | private static Path findBuildOutputOnHost(String pattern) { 41 | Path outputDirectory = Paths.get("build", "ospackage"); 42 | try (DirectoryStream stream = Files.newDirectoryStream(outputDirectory, pattern)) { 43 | for (Path candidateFile : stream) { 44 | return candidateFile; 45 | } 46 | } catch (IOException x) { 47 | throw new UncheckedIOException(x); 48 | } 49 | 50 | throw new RuntimeException("Could not find file with pattern " + pattern + " in " + outputDirectory.toString()); 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/17/debian/changelog: -------------------------------------------------------------------------------- 1 | temurin-17-jre (17.0.13.0.0+11) STABLE; urgency=medium 2 | 3 | * Eclipse Temurin 17.0.13.0.0+11 release. 4 | 5 | -- Eclipse Adoptium Package Maintainers Wed, 16 Oct 2024 08:00:00 +000 6 | 7 | temurin-17-jre (17.0.12.0.0+7) STABLE; urgency=medium 8 | 9 | * Eclipse Temurin 17.0.12.0.0+7 release. 10 | 11 | -- Eclipse Adoptium Package Maintainers Wed, 17 Jul 2024 08:00:00 +0000 12 | 13 | temurin-17-jre (17.0.11.0.0+9) STABLE; urgency=medium 14 | 15 | * Eclipse Temurin 17.0.11.0.0+9 release. 16 | 17 | -- Eclipse Adoptium Package Maintainers Wed, 17 Apr 2024 08:00:00 +0000 18 | 19 | temurin-17-jre (17.0.9.0.0+9) STABLE; urgency=medium 20 | 21 | * Eclipse Temurin 17.0.9.0.0+9 release. 22 | 23 | -- Eclipse Adoptium Package Maintainers Thu, 26 Oct 2023 08:00:00 +0000 24 | 25 | temurin-17-jre (17.0.8.1.0+1) STABLE; urgency=medium 26 | 27 | * Eclipse Temurin 17.0.8.1.0+1 release. 28 | 29 | -- Eclipse Adoptium Package Maintainers Thu, 31 Aug 2023 08:00:00 +0000 30 | 31 | temurin-17-jre (17.0.8.0.0+7) STABLE; urgency=medium 32 | 33 | * Eclipse Temurin 17.0.8.0.0+7 release. 34 | 35 | -- Eclipse Adoptium Package Maintainers Tue, Jul 25 2023 11:59:00 +0000 36 | 37 | temurin-17-jre (17.0.7+7) STABLE; urgency=medium 38 | 39 | * Eclipse Temurin 17.0.7.0.0+7 release. 40 | 41 | -- Eclipse Adoptium Package Maintainers Mon, Apr 26 2023 16:16:00 +0000 42 | 43 | temurin-17-jre (17.0.6+10) STABLE; urgency=medium 44 | 45 | * Eclipse Temurin 17.0.6.0.0+10 release. 46 | 47 | -- Eclipse Adoptium Package Maintainers Mon, Jan 30 2023 11:35:00 +0000 48 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/11/debian/changelog: -------------------------------------------------------------------------------- 1 | temurin-11-jre (11.0.25.0.0+9) STABLE; urgency=medium 2 | 3 | * Eclipse Temurin 11.0.25.0.0+9 release. 4 | 5 | -- Eclipse Adoptium Package Maintainers Wed, 16 Oct 2024 00:00:00 +0000 6 | 7 | temurin-11-jre (11.0.24.0.0+8) STABLE; urgency=medium 8 | 9 | * Eclipse Temurin 11.0.24.0.0+8 release. 10 | 11 | -- Eclipse Adoptium Package Maintainers Wed, 17 Jul 2024 00:00:00 +0000 12 | 13 | temurin-11-jre (11.0.23.0.0+9) STABLE; urgency=medium 14 | 15 | * Eclipse Temurin 11.0.23.0.0+9 release. 16 | 17 | -- Eclipse Adoptium Package Maintainers Wed, 17 Apr 2024 00:00:00 +0000 18 | 19 | temurin-11-jre (11.0.22.0.0+7) STABLE; urgency=medium 20 | 21 | * Eclipse Temurin 11.0.22.0.0+7release. 22 | 23 | -- Eclipse Adoptium Package Maintainers Tue, 23 Jan 2024 08:00:00 +0000 24 | 25 | temurin-11-jre (11.0.20.1.0+1) STABLE; urgency=medium 26 | 27 | * Eclipse Temurin 11.0.20.1.0+1 release. 28 | 29 | -- Eclipse Adoptium Package Maintainers Thu, 31 Aug 2023 08:00:00 +0000 30 | 31 | temurin-11-jre (11.0.20.0.0+8) STABLE; urgency=medium 32 | 33 | * Eclipse Temurin 11.0.20.0.0+8 release. 34 | 35 | -- Eclipse Adoptium Package Maintainers Tue, 25 Jul 2023 11:59:00 +0000 36 | 37 | temurin-11-jre (11.0.19.0.0+7-1) STABLE; urgency=medium 38 | 39 | * Eclipse Temurin 11.0.19.0.0+7-1 release. 40 | 41 | -- Eclipse Adoptium Package Maintainers Mon, Apr 26 2023 16:16:00 +0000 42 | 43 | temurin-11-jre (11.0.18.0.0+10-1) STABLE; urgency=medium 44 | 45 | * Eclipse Temurin 11.0.18.0.0+10-1 release. 46 | 47 | -- Eclipse Adoptium Package Maintainers Mon, Jan 30 2023 11:35:00 +0000 48 | -------------------------------------------------------------------------------- /linux/ca-certificates/debian/src/packageTest/java/org/adoptium/cacertificates/IOUtil.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2020 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package org.adoptium.cacertificates; 18 | 19 | import java.io.ByteArrayOutputStream; 20 | import java.io.IOException; 21 | import java.io.InputStream; 22 | import java.io.UncheckedIOException; 23 | import java.nio.charset.StandardCharsets; 24 | 25 | /** 26 | * @author Andreas Ahlenstorf 27 | */ 28 | public final class IOUtil { 29 | private IOUtil() { 30 | // no instances 31 | } 32 | 33 | public static String toString(InputStream stream) { 34 | try (ByteArrayOutputStream result = new ByteArrayOutputStream()) { 35 | byte[] buffer = new byte[1024]; 36 | int length; 37 | while ((length = stream.read(buffer)) != -1) { 38 | result.write(buffer, 0, length); 39 | } 40 | return result.toString(StandardCharsets.UTF_8.name()); 41 | } catch (IOException e) { 42 | throw new UncheckedIOException(e); 43 | } 44 | } 45 | 46 | public static String resourceAsString(String name) { 47 | try (InputStream stream = IOUtil.class.getResourceAsStream(name)) { 48 | return IOUtil.toString(stream); 49 | } catch (IOException e) { 50 | throw new UncheckedIOException(e); 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/temurin/11/debian/jinfo.in: -------------------------------------------------------------------------------- 1 | name=@pkg_alias@ 2 | alias=@pkg_alias@ 3 | priority=@priority@ 4 | section=contrib 5 | 6 | jdkhl jaotc /usr/lib/jvm/@jvm_dir@/bin/jaotc 7 | jdkhl jar /usr/lib/jvm/@jvm_dir@/bin/jar 8 | jdkhl jarsigner /usr/lib/jvm/@jvm_dir@/bin/jarsigner 9 | hl java /usr/lib/jvm/@jvm_dir@/bin/java 10 | jdkhl javac /usr/lib/jvm/@jvm_dir@/bin/javac 11 | jdkhl javadoc /usr/lib/jvm/@jvm_dir@/bin/javadoc 12 | jdkhl javap /usr/lib/jvm/@jvm_dir@/bin/javap 13 | jdkhl jcmd /usr/lib/jvm/@jvm_dir@/bin/jcmd 14 | jdk jconsole /usr/lib/jvm/@jvm_dir@/bin/jconsole 15 | jdkhl jdb /usr/lib/jvm/@jvm_dir@/bin/jdb 16 | jdkhl jdeprscan /usr/lib/jvm/@jvm_dir@/bin/jdeprscan 17 | jdkhl jdeps /usr/lib/jvm/@jvm_dir@/bin/jdeps 18 | hl jfr /usr/lib/jvm/@jvm_dir@/bin/jfr 19 | jdkhl jhsdb /usr/lib/jvm/@jvm_dir@/bin/jhsdb 20 | jdkhl jimage /usr/lib/jvm/@jvm_dir@/bin/jimage 21 | jdkhl jinfo /usr/lib/jvm/@jvm_dir@/bin/jinfo 22 | hl jjs /usr/lib/jvm/@jvm_dir@/bin/jjs 23 | jdkhl jlink /usr/lib/jvm/@jvm_dir@/bin/jlink 24 | jdkhl jmap /usr/lib/jvm/@jvm_dir@/bin/jmap 25 | jdkhl jmod /usr/lib/jvm/@jvm_dir@/bin/jmod 26 | jdkhl jps /usr/lib/jvm/@jvm_dir@/bin/jps 27 | hl jrunscript /usr/lib/jvm/@jvm_dir@/bin/jrunscript 28 | jdkhl jshell /usr/lib/jvm/@jvm_dir@/bin/jshell 29 | jdkhl jstack /usr/lib/jvm/@jvm_dir@/bin/jstack 30 | jdkhl jstat /usr/lib/jvm/@jvm_dir@/bin/jstat 31 | jdkhl jstatd /usr/lib/jvm/@jvm_dir@/bin/jstatd 32 | hl keytool /usr/lib/jvm/@jvm_dir@/bin/keytool 33 | hl pack200 /usr/lib/jvm/@jvm_dir@/bin/pack200 34 | jdkhl rmic /usr/lib/jvm/@jvm_dir@/bin/rmic 35 | hl rmid /usr/lib/jvm/@jvm_dir@/bin/rmid 36 | hl rmiregistry /usr/lib/jvm/@jvm_dir@/bin/rmiregistry 37 | jdkhl serialver /usr/lib/jvm/@jvm_dir@/bin/serialver 38 | hl unpack200 /usr/lib/jvm/@jvm_dir@/bin/unpack200 39 | hl jexec /usr/lib/jvm/@jvm_dir@/lib/jexec 40 | hl jspawnhelper /usr/lib/jvm/@jvm_dir@/lib/jspawnhelper 41 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/dragonwell/11/debian/jinfo.in: -------------------------------------------------------------------------------- 1 | name=@pkg_alias@ 2 | alias=@pkg_alias@ 3 | priority=@priority@ 4 | section=contrib 5 | 6 | jdkhl jaotc /usr/lib/jvm/@jvm_dir@/bin/jaotc 7 | jdkhl jar /usr/lib/jvm/@jvm_dir@/bin/jar 8 | jdkhl jarsigner /usr/lib/jvm/@jvm_dir@/bin/jarsigner 9 | hl java /usr/lib/jvm/@jvm_dir@/bin/java 10 | jdkhl javac /usr/lib/jvm/@jvm_dir@/bin/javac 11 | jdkhl javadoc /usr/lib/jvm/@jvm_dir@/bin/javadoc 12 | jdkhl javap /usr/lib/jvm/@jvm_dir@/bin/javap 13 | jdkhl jcmd /usr/lib/jvm/@jvm_dir@/bin/jcmd 14 | jdk jconsole /usr/lib/jvm/@jvm_dir@/bin/jconsole 15 | jdkhl jdb /usr/lib/jvm/@jvm_dir@/bin/jdb 16 | jdkhl jdeprscan /usr/lib/jvm/@jvm_dir@/bin/jdeprscan 17 | jdkhl jdeps /usr/lib/jvm/@jvm_dir@/bin/jdeps 18 | hl jfr /usr/lib/jvm/@jvm_dir@/bin/jfr 19 | jdkhl jhsdb /usr/lib/jvm/@jvm_dir@/bin/jhsdb 20 | jdkhl jimage /usr/lib/jvm/@jvm_dir@/bin/jimage 21 | jdkhl jinfo /usr/lib/jvm/@jvm_dir@/bin/jinfo 22 | hl jjs /usr/lib/jvm/@jvm_dir@/bin/jjs 23 | jdkhl jlink /usr/lib/jvm/@jvm_dir@/bin/jlink 24 | jdkhl jmap /usr/lib/jvm/@jvm_dir@/bin/jmap 25 | jdkhl jmod /usr/lib/jvm/@jvm_dir@/bin/jmod 26 | jdkhl jps /usr/lib/jvm/@jvm_dir@/bin/jps 27 | hl jrunscript /usr/lib/jvm/@jvm_dir@/bin/jrunscript 28 | jdkhl jshell /usr/lib/jvm/@jvm_dir@/bin/jshell 29 | jdkhl jstack /usr/lib/jvm/@jvm_dir@/bin/jstack 30 | jdkhl jstat /usr/lib/jvm/@jvm_dir@/bin/jstat 31 | jdkhl jstatd /usr/lib/jvm/@jvm_dir@/bin/jstatd 32 | hl keytool /usr/lib/jvm/@jvm_dir@/bin/keytool 33 | hl pack200 /usr/lib/jvm/@jvm_dir@/bin/pack200 34 | jdkhl rmic /usr/lib/jvm/@jvm_dir@/bin/rmic 35 | hl rmid /usr/lib/jvm/@jvm_dir@/bin/rmid 36 | hl rmiregistry /usr/lib/jvm/@jvm_dir@/bin/rmiregistry 37 | jdkhl serialver /usr/lib/jvm/@jvm_dir@/bin/serialver 38 | hl unpack200 /usr/lib/jvm/@jvm_dir@/bin/unpack200 39 | hl jexec /usr/lib/jvm/@jvm_dir@/lib/jexec 40 | hl jspawnhelper /usr/lib/jvm/@jvm_dir@/lib/jspawnhelper 41 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/microsoft/11/debian/jinfo.in: -------------------------------------------------------------------------------- 1 | name=@pkg_alias@ 2 | alias=@pkg_alias@ 3 | priority=@priority@ 4 | section=contrib 5 | 6 | jdkhl jaotc /usr/lib/jvm/@jvm_dir@/bin/jaotc 7 | jdkhl jar /usr/lib/jvm/@jvm_dir@/bin/jar 8 | jdkhl jarsigner /usr/lib/jvm/@jvm_dir@/bin/jarsigner 9 | hl java /usr/lib/jvm/@jvm_dir@/bin/java 10 | jdkhl javac /usr/lib/jvm/@jvm_dir@/bin/javac 11 | jdkhl javadoc /usr/lib/jvm/@jvm_dir@/bin/javadoc 12 | jdkhl javap /usr/lib/jvm/@jvm_dir@/bin/javap 13 | jdkhl jcmd /usr/lib/jvm/@jvm_dir@/bin/jcmd 14 | jdk jconsole /usr/lib/jvm/@jvm_dir@/bin/jconsole 15 | jdkhl jdb /usr/lib/jvm/@jvm_dir@/bin/jdb 16 | jdkhl jdeprscan /usr/lib/jvm/@jvm_dir@/bin/jdeprscan 17 | jdkhl jdeps /usr/lib/jvm/@jvm_dir@/bin/jdeps 18 | hl jfr /usr/lib/jvm/@jvm_dir@/bin/jfr 19 | jdkhl jhsdb /usr/lib/jvm/@jvm_dir@/bin/jhsdb 20 | jdkhl jimage /usr/lib/jvm/@jvm_dir@/bin/jimage 21 | jdkhl jinfo /usr/lib/jvm/@jvm_dir@/bin/jinfo 22 | hl jjs /usr/lib/jvm/@jvm_dir@/bin/jjs 23 | jdkhl jlink /usr/lib/jvm/@jvm_dir@/bin/jlink 24 | jdkhl jmap /usr/lib/jvm/@jvm_dir@/bin/jmap 25 | jdkhl jmod /usr/lib/jvm/@jvm_dir@/bin/jmod 26 | jdkhl jps /usr/lib/jvm/@jvm_dir@/bin/jps 27 | hl jrunscript /usr/lib/jvm/@jvm_dir@/bin/jrunscript 28 | jdkhl jshell /usr/lib/jvm/@jvm_dir@/bin/jshell 29 | jdkhl jstack /usr/lib/jvm/@jvm_dir@/bin/jstack 30 | jdkhl jstat /usr/lib/jvm/@jvm_dir@/bin/jstat 31 | jdkhl jstatd /usr/lib/jvm/@jvm_dir@/bin/jstatd 32 | hl keytool /usr/lib/jvm/@jvm_dir@/bin/keytool 33 | hl pack200 /usr/lib/jvm/@jvm_dir@/bin/pack200 34 | jdkhl rmic /usr/lib/jvm/@jvm_dir@/bin/rmic 35 | hl rmid /usr/lib/jvm/@jvm_dir@/bin/rmid 36 | hl rmiregistry /usr/lib/jvm/@jvm_dir@/bin/rmiregistry 37 | jdkhl serialver /usr/lib/jvm/@jvm_dir@/bin/serialver 38 | hl unpack200 /usr/lib/jvm/@jvm_dir@/bin/unpack200 39 | hl jexec /usr/lib/jvm/@jvm_dir@/lib/jexec 40 | hl jspawnhelper /usr/lib/jvm/@jvm_dir@/lib/jspawnhelper 41 | -------------------------------------------------------------------------------- /linux/jre/debian/src/main/packaging/temurin/17/debian/control: -------------------------------------------------------------------------------- 1 | Source: temurin-17-jre 2 | Section: java 3 | Priority: optional 4 | Maintainer: Eclipse Adoptium Package Maintainers 5 | Build-Depends: debhelper (>= 11), lsb-release 6 | 7 | Package: temurin-17-jre 8 | Architecture: amd64 armhf arm64 ppc64el s390x riscv64 9 | Depends: adoptium-ca-certificates, 10 | java-common, 11 | libasound2, 12 | libc6, 13 | libfontconfig1, 14 | libfreetype6, 15 | libx11-6, 16 | libxext6, 17 | libxi6, 18 | libxrender1, 19 | libxtst6, 20 | zlib1g 21 | Recommends: fonts-dejavu-core, 22 | fonts-dejavu-extra 23 | Provides: java-runtime (= 17), 24 | java-runtime-headless (= 17), 25 | java10-runtime, 26 | java11-runtime, 27 | java12-runtime, 28 | java13-runtime, 29 | java14-runtime, 30 | java15-runtime, 31 | java16-runtime, 32 | java17-runtime, 33 | java2-runtime, 34 | java5-runtime, 35 | java6-runtime, 36 | java7-runtime, 37 | java8-runtime, 38 | java9-runtime, 39 | java10-runtime-headless, 40 | java11-runtime-headless, 41 | java12-runtime-headless, 42 | java13-runtime-headless, 43 | java14-runtime-headless, 44 | java15-runtime-headless, 45 | java16-runtime-headless, 46 | java17-runtime-headless, 47 | java2-runtime-headless, 48 | java5-runtime-headless, 49 | java6-runtime-headless, 50 | java7-runtime-headless, 51 | java8-runtime-headless, 52 | java9-runtime-headless 53 | Description: Eclipse Temurin 17 JRE 54 | Eclipse Temurin JRE is an OpenJDK-based runtime environment to execute 55 | Java applications and services. 56 | -------------------------------------------------------------------------------- /linux/ca-certificates/debian/src/packageTest/java/org/adoptium/cacertificates/ChangesVerificationTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2020 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package org.adoptium.cacertificates; 18 | 19 | import org.junit.jupiter.api.Test; 20 | 21 | import java.io.IOException; 22 | import java.nio.charset.StandardCharsets; 23 | import java.nio.file.Files; 24 | import java.nio.file.Path; 25 | import java.util.List; 26 | 27 | import static org.assertj.core.api.Assertions.assertThat; 28 | 29 | /** 30 | * @author Andreas Ahlenstorf 31 | */ 32 | class ChangesVerificationTest { 33 | 34 | private static String[] versionsList = { 35 | "trixie", // Debian/13 36 | "bookworm", // Debian/12 37 | "bullseye", // Debian/11 38 | "buster", // Debian/10 39 | "noble", // Ubuntu/24.04 (LTS) 40 | "jammy", // Ubuntu/22.04 (LTS) 41 | "focal", // Ubuntu/20.04 (LTS) 42 | "bionic", // Ubuntu/18.04 (LTS) 43 | }; 44 | 45 | @Test 46 | void allDistributionsListedInChangesFile() throws IOException { 47 | Path changesFile = DebFiles.hostChangesPath(); 48 | assertThat(changesFile).exists(); 49 | 50 | List lines = Files.readAllLines(changesFile, StandardCharsets.UTF_8); 51 | assertThat(lines).contains("Distribution: " + String.join(" ", versionsList)); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /linux/jre/alpine/src/main/packaging/temurin/8/APKBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Eclipse Adoptium Package Maintainers 2 | pkgname=temurin-8-jre 3 | pkgver=8.432.06 4 | # replace 8. with 8u and .01 with b-01 5 | _pkgver=${pkgver/8./8u} 6 | _pkgver=${_pkgver%.*}b${_pkgver#*.} 7 | _pkgvername=${_pkgver%b*}-b${_pkgver#*b} 8 | pkgrel=0 9 | pkgdesc="Eclipse Temurin 8 (JRE)" 10 | provider_priority=8 11 | url="https://adoptium.net" 12 | arch="x86_64" 13 | license="GPL-2.0-with-classpath-exception" 14 | makedepends=" 15 | alsa-lib-dev 16 | libpng-dev 17 | libxcomposite-dev 18 | libxinerama-dev 19 | libxrender-dev 20 | libxslt 21 | libxt-dev 22 | libxtst-dev 23 | " 24 | depends=" 25 | java-common 26 | java-cacerts 27 | ttf-dejavu 28 | " 29 | source="https://github.com/adoptium/temurin8-binaries/releases/download/jdk$_pkgvername/OpenJDK8U-jre_x64_alpine-linux_hotspot_$_pkgver.tar.gz 30 | " 31 | 32 | _java_home="/usr/lib/jvm/java-8-temurin-jre" 33 | 34 | # Exclude xawt from ldpath to avoid duplicate provides for libmawt.so 35 | # (also in headless). in future this should be a virtual provides. 36 | ldpath="$_jrelib:$_jrelib/native_threads:$_jrelib/headless:$_jrelib/server:$_jrelib/jli" 37 | sonameprefix="$pkgname:" 38 | 39 | prepare() { 40 | default_prepare 41 | } 42 | 43 | check() { 44 | local _java_bin="./jdk$_pkgvername-jre/bin" 45 | 46 | # 1) check that java -version works 47 | $_java_bin/java -version 48 | } 49 | 50 | package() { 51 | provides=java-jre 52 | mkdir -p "$pkgdir/$_java_home" 53 | ls ${srcdir} 54 | cp -r "$srcdir"/jdk"$_pkgvername-jre"/* "$pkgdir/$_java_home" 55 | 56 | # symlink to shared java cacerts store 57 | rm -f "$pkgdir"/$_java_home/lib/security/cacerts 58 | ln -sf /etc/ssl/certs/java/cacerts \ 59 | "$pkgdir"/$_java_home/lib/security/cacerts 60 | } 61 | 62 | sha256sums=" 63 | 7f7c265560dd5a42533bf282831d7d2f044a7ff7f4c310b40a0f9f8e19ff12e5 OpenJDK8U-jre_x64_alpine-linux_hotspot_$_pkgver.tar.gz 64 | " 65 | -------------------------------------------------------------------------------- /wix/SourceDir/CreateSourceFolder.OpenJDK11.ps1: -------------------------------------------------------------------------------- 1 | [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; 2 | $urls = @( 3 | 'https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11%2B28/OpenJDK11-jdk_x64_windows_hotspot_11_28.zip', 4 | 'https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11%2B28/OpenJDK11-jdk_x64_windows_openj9_11_28.zip', 5 | 'https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11%2B28/OpenJDK11-jre_x64_windows_hotspot_11_28.zip', 6 | 'https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11%2B28/OpenJDK11-jre_x64_windows_openj9_11_28.zip' 7 | ) 8 | ForEach ($url in $urls) { 9 | $filename = [System.IO.Path]::GetFileName($url) 10 | 11 | $jdk_version_found = $filename -match "(?OpenJDK\d+)" 12 | $jdk_version = $Matches.jdk 13 | $package_type_found = $filename -match "(?hotspot|openj9|dragonwell)" 14 | $package_type = $Matches.package_type 15 | $platform_found = $filename -match "(?x86-32|x64)" 16 | $platform = $Matches.platform 17 | 18 | Invoke-WebRequest -Uri $url -outfile $filename 19 | Expand-Archive -Force -Path $filename -DestinationPath ".\$jdk_version\$package_type\$platform" 20 | 21 | Get-ChildItem -Directory ".\$jdk_version\$package_type\$platform" | Where-Object {$_ -match ".*_.*"} | ForEach-Object { 22 | $SourcePath = [System.IO.Path]::GetDirectoryName($_.FullName) 23 | 24 | if ( $_.Name -Match "(.*)_(.*)-jre$" ) { 25 | $NewName = $_.Name -replace "(.*)_(.*)$",'$1-jre' 26 | } elseif ( $_.Name -Match "(.*)_(.*)$" ) { 27 | $NewName = $_.Name -replace "(.*)_(.*)$",'$1' 28 | } 29 | 30 | $Destination = Join-Path -Path $SourcePath -ChildPath $NewName 31 | 32 | Write-Object Moving $_.FullName to $Destination 33 | if (Test-Path $Destination) { Remove-Item $Destination -Recurse; } 34 | Move-Item -Path $_.FullName -Destination $Destination -Force 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /linux/jdk/alpine/src/main/packaging/temurin/11/TestECDSA.java: -------------------------------------------------------------------------------- 1 | /* TestECDSA -- Ensure ECDSA signatures are working. 2 | Copyright (C) 2016 Red Hat, Inc. 3 | 4 | This program is free software: you can redistribute it and/or modify 5 | it under the terms of the GNU Affero General Public License as 6 | published by the Free Software Foundation, either version 3 of the 7 | License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU Affero General Public License for more details. 13 | 14 | You should have received a copy of the GNU Affero General Public License 15 | along with this program. If not, see . 16 | */ 17 | 18 | import java.math.BigInteger; 19 | import java.security.KeyPair; 20 | import java.security.KeyPairGenerator; 21 | import java.security.Signature; 22 | 23 | /** 24 | * @test 25 | */ 26 | public class TestECDSA { 27 | 28 | public static void main(String[] args) throws Exception { 29 | KeyPairGenerator keyGen = KeyPairGenerator.getInstance("EC"); 30 | KeyPair key = keyGen.generateKeyPair(); 31 | 32 | byte[] data = "This is a string to sign".getBytes("UTF-8"); 33 | 34 | Signature dsa = Signature.getInstance("NONEwithECDSA"); 35 | dsa.initSign(key.getPrivate()); 36 | dsa.update(data); 37 | byte[] sig = dsa.sign(); 38 | System.out.println("Signature: " + new BigInteger(1, sig).toString(16)); 39 | 40 | Signature dsaCheck = Signature.getInstance("NONEwithECDSA"); 41 | dsaCheck.initVerify(key.getPublic()); 42 | dsaCheck.update(data); 43 | boolean success = dsaCheck.verify(sig); 44 | if (!success) { 45 | throw new RuntimeException("Test failed. Signature verification error"); 46 | } 47 | System.out.println("Test passed."); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /linux/jdk/alpine/src/main/packaging/temurin/17/TestECDSA.java: -------------------------------------------------------------------------------- 1 | /* TestECDSA -- Ensure ECDSA signatures are working. 2 | Copyright (C) 2016 Red Hat, Inc. 3 | 4 | This program is free software: you can redistribute it and/or modify 5 | it under the terms of the GNU Affero General Public License as 6 | published by the Free Software Foundation, either version 3 of the 7 | License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU Affero General Public License for more details. 13 | 14 | You should have received a copy of the GNU Affero General Public License 15 | along with this program. If not, see . 16 | */ 17 | 18 | import java.math.BigInteger; 19 | import java.security.KeyPair; 20 | import java.security.KeyPairGenerator; 21 | import java.security.Signature; 22 | 23 | /** 24 | * @test 25 | */ 26 | public class TestECDSA { 27 | 28 | public static void main(String[] args) throws Exception { 29 | KeyPairGenerator keyGen = KeyPairGenerator.getInstance("EC"); 30 | KeyPair key = keyGen.generateKeyPair(); 31 | 32 | byte[] data = "This is a string to sign".getBytes("UTF-8"); 33 | 34 | Signature dsa = Signature.getInstance("NONEwithECDSA"); 35 | dsa.initSign(key.getPrivate()); 36 | dsa.update(data); 37 | byte[] sig = dsa.sign(); 38 | System.out.println("Signature: " + new BigInteger(1, sig).toString(16)); 39 | 40 | Signature dsaCheck = Signature.getInstance("NONEwithECDSA"); 41 | dsaCheck.initVerify(key.getPublic()); 42 | dsaCheck.update(data); 43 | boolean success = dsaCheck.verify(sig); 44 | if (!success) { 45 | throw new RuntimeException("Test failed. Signature verification error"); 46 | } 47 | System.out.println("Test passed."); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /linux/jdk/alpine/src/main/packaging/temurin/19/TestECDSA.java: -------------------------------------------------------------------------------- 1 | /* TestECDSA -- Ensure ECDSA signatures are working. 2 | Copyright (C) 2016 Red Hat, Inc. 3 | 4 | This program is free software: you can redistribute it and/or modify 5 | it under the terms of the GNU Affero General Public License as 6 | published by the Free Software Foundation, either version 3 of the 7 | License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU Affero General Public License for more details. 13 | 14 | You should have received a copy of the GNU Affero General Public License 15 | along with this program. If not, see . 16 | */ 17 | 18 | import java.math.BigInteger; 19 | import java.security.KeyPair; 20 | import java.security.KeyPairGenerator; 21 | import java.security.Signature; 22 | 23 | /** 24 | * @test 25 | */ 26 | public class TestECDSA { 27 | 28 | public static void main(String[] args) throws Exception { 29 | KeyPairGenerator keyGen = KeyPairGenerator.getInstance("EC"); 30 | KeyPair key = keyGen.generateKeyPair(); 31 | 32 | byte[] data = "This is a string to sign".getBytes("UTF-8"); 33 | 34 | Signature dsa = Signature.getInstance("NONEwithECDSA"); 35 | dsa.initSign(key.getPrivate()); 36 | dsa.update(data); 37 | byte[] sig = dsa.sign(); 38 | System.out.println("Signature: " + new BigInteger(1, sig).toString(16)); 39 | 40 | Signature dsaCheck = Signature.getInstance("NONEwithECDSA"); 41 | dsaCheck.initVerify(key.getPublic()); 42 | dsaCheck.update(data); 43 | boolean success = dsaCheck.verify(sig); 44 | if (!success) { 45 | throw new RuntimeException("Test failed. Signature verification error"); 46 | } 47 | System.out.println("Test passed."); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /linux/jdk/alpine/src/main/packaging/temurin/20/TestECDSA.java: -------------------------------------------------------------------------------- 1 | /* TestECDSA -- Ensure ECDSA signatures are working. 2 | Copyright (C) 2016 Red Hat, Inc. 3 | 4 | This program is free software: you can redistribute it and/or modify 5 | it under the terms of the GNU Affero General Public License as 6 | published by the Free Software Foundation, either version 3 of the 7 | License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU Affero General Public License for more details. 13 | 14 | You should have received a copy of the GNU Affero General Public License 15 | along with this program. If not, see . 16 | */ 17 | 18 | import java.math.BigInteger; 19 | import java.security.KeyPair; 20 | import java.security.KeyPairGenerator; 21 | import java.security.Signature; 22 | 23 | /** 24 | * @test 25 | */ 26 | public class TestECDSA { 27 | 28 | public static void main(String[] args) throws Exception { 29 | KeyPairGenerator keyGen = KeyPairGenerator.getInstance("EC"); 30 | KeyPair key = keyGen.generateKeyPair(); 31 | 32 | byte[] data = "This is a string to sign".getBytes("UTF-8"); 33 | 34 | Signature dsa = Signature.getInstance("NONEwithECDSA"); 35 | dsa.initSign(key.getPrivate()); 36 | dsa.update(data); 37 | byte[] sig = dsa.sign(); 38 | System.out.println("Signature: " + new BigInteger(1, sig).toString(16)); 39 | 40 | Signature dsaCheck = Signature.getInstance("NONEwithECDSA"); 41 | dsaCheck.initVerify(key.getPublic()); 42 | dsaCheck.update(data); 43 | boolean success = dsaCheck.verify(sig); 44 | if (!success) { 45 | throw new RuntimeException("Test failed. Signature verification error"); 46 | } 47 | System.out.println("Test passed."); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /linux/jdk/alpine/src/main/packaging/temurin/21/TestECDSA.java: -------------------------------------------------------------------------------- 1 | /* TestECDSA -- Ensure ECDSA signatures are working. 2 | Copyright (C) 2016 Red Hat, Inc. 3 | 4 | This program is free software: you can redistribute it and/or modify 5 | it under the terms of the GNU Affero General Public License as 6 | published by the Free Software Foundation, either version 3 of the 7 | License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU Affero General Public License for more details. 13 | 14 | You should have received a copy of the GNU Affero General Public License 15 | along with this program. If not, see . 16 | */ 17 | 18 | import java.math.BigInteger; 19 | import java.security.KeyPair; 20 | import java.security.KeyPairGenerator; 21 | import java.security.Signature; 22 | 23 | /** 24 | * @test 25 | */ 26 | public class TestECDSA { 27 | 28 | public static void main(String[] args) throws Exception { 29 | KeyPairGenerator keyGen = KeyPairGenerator.getInstance("EC"); 30 | KeyPair key = keyGen.generateKeyPair(); 31 | 32 | byte[] data = "This is a string to sign".getBytes("UTF-8"); 33 | 34 | Signature dsa = Signature.getInstance("NONEwithECDSA"); 35 | dsa.initSign(key.getPrivate()); 36 | dsa.update(data); 37 | byte[] sig = dsa.sign(); 38 | System.out.println("Signature: " + new BigInteger(1, sig).toString(16)); 39 | 40 | Signature dsaCheck = Signature.getInstance("NONEwithECDSA"); 41 | dsaCheck.initVerify(key.getPublic()); 42 | dsaCheck.update(data); 43 | boolean success = dsaCheck.verify(sig); 44 | if (!success) { 45 | throw new RuntimeException("Test failed. Signature verification error"); 46 | } 47 | System.out.println("Test passed."); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /linux/jdk/alpine/src/main/packaging/temurin/22/TestECDSA.java: -------------------------------------------------------------------------------- 1 | /* TestECDSA -- Ensure ECDSA signatures are working. 2 | Copyright (C) 2016 Red Hat, Inc. 3 | 4 | This program is free software: you can redistribute it and/or modify 5 | it under the terms of the GNU Affero General Public License as 6 | published by the Free Software Foundation, either version 3 of the 7 | License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU Affero General Public License for more details. 13 | 14 | You should have received a copy of the GNU Affero General Public License 15 | along with this program. If not, see . 16 | */ 17 | 18 | import java.math.BigInteger; 19 | import java.security.KeyPair; 20 | import java.security.KeyPairGenerator; 21 | import java.security.Signature; 22 | 23 | /** 24 | * @test 25 | */ 26 | public class TestECDSA { 27 | 28 | public static void main(String[] args) throws Exception { 29 | KeyPairGenerator keyGen = KeyPairGenerator.getInstance("EC"); 30 | KeyPair key = keyGen.generateKeyPair(); 31 | 32 | byte[] data = "This is a string to sign".getBytes("UTF-8"); 33 | 34 | Signature dsa = Signature.getInstance("NONEwithECDSA"); 35 | dsa.initSign(key.getPrivate()); 36 | dsa.update(data); 37 | byte[] sig = dsa.sign(); 38 | System.out.println("Signature: " + new BigInteger(1, sig).toString(16)); 39 | 40 | Signature dsaCheck = Signature.getInstance("NONEwithECDSA"); 41 | dsaCheck.initVerify(key.getPublic()); 42 | dsaCheck.update(data); 43 | boolean success = dsaCheck.verify(sig); 44 | if (!success) { 45 | throw new RuntimeException("Test failed. Signature verification error"); 46 | } 47 | System.out.println("Test passed."); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /linux/jdk/alpine/src/main/packaging/temurin/23/TestECDSA.java: -------------------------------------------------------------------------------- 1 | /* TestECDSA -- Ensure ECDSA signatures are working. 2 | Copyright (C) 2016 Red Hat, Inc. 3 | 4 | This program is free software: you can redistribute it and/or modify 5 | it under the terms of the GNU Affero General Public License as 6 | published by the Free Software Foundation, either version 3 of the 7 | License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU Affero General Public License for more details. 13 | 14 | You should have received a copy of the GNU Affero General Public License 15 | along with this program. If not, see . 16 | */ 17 | 18 | import java.math.BigInteger; 19 | import java.security.KeyPair; 20 | import java.security.KeyPairGenerator; 21 | import java.security.Signature; 22 | 23 | /** 24 | * @test 25 | */ 26 | public class TestECDSA { 27 | 28 | public static void main(String[] args) throws Exception { 29 | KeyPairGenerator keyGen = KeyPairGenerator.getInstance("EC"); 30 | KeyPair key = keyGen.generateKeyPair(); 31 | 32 | byte[] data = "This is a string to sign".getBytes("UTF-8"); 33 | 34 | Signature dsa = Signature.getInstance("NONEwithECDSA"); 35 | dsa.initSign(key.getPrivate()); 36 | dsa.update(data); 37 | byte[] sig = dsa.sign(); 38 | System.out.println("Signature: " + new BigInteger(1, sig).toString(16)); 39 | 40 | Signature dsaCheck = Signature.getInstance("NONEwithECDSA"); 41 | dsaCheck.initVerify(key.getPublic()); 42 | dsaCheck.update(data); 43 | boolean success = dsaCheck.verify(sig); 44 | if (!success) { 45 | throw new RuntimeException("Test failed. Signature verification error"); 46 | } 47 | System.out.println("Test passed."); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /linux/jdk/alpine/src/packageTest/java/packaging/TestContainersUtil.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2020 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package packaging; 18 | 19 | import org.testcontainers.containers.Container; 20 | 21 | import java.io.IOException; 22 | 23 | /** 24 | * @author George Adams 25 | */ 26 | public final class TestContainersUtil { 27 | private TestContainersUtil() { 28 | // no instances 29 | } 30 | 31 | public static Container.ExecResult runCmd(Container container, String... command) { 32 | try { 33 | Container.ExecResult result = container.execInContainer(command); 34 | System.out.print(result.getStdout()); 35 | System.err.print(result.getStderr()); 36 | return result; 37 | } catch (InterruptedException | IOException e) { 38 | throw new RuntimeException("Could not run command: " + String.join(" ", command), e); 39 | } 40 | } 41 | 42 | public static Container.ExecResult runShell(Container container, String command) { 43 | String[] shellCmd = new String[]{"/bin/sh", "-c", command}; 44 | try { 45 | Container.ExecResult result = container.execInContainer(shellCmd); 46 | System.out.print(result.getStdout()); 47 | System.err.print(result.getStderr()); 48 | return result; 49 | } catch (InterruptedException | IOException e) { 50 | throw new RuntimeException("Could not run command: " + String.join(" ", shellCmd), e); 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /linux/jdk/debian/src/main/packaging/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euxo pipefail 3 | 4 | # Copy build scripts into a directory within the container. Avoids polluting the mounted 5 | # directory and permission errors. 6 | mkdir /home/builder/workspace 7 | cp -R /home/builder/build/generated/packaging /home/builder/workspace 8 | 9 | if [ "$buildLocalFlag" == "true" ]; then 10 | # Copy sha256sum.txt file into SOURCE directory 11 | # It is worth noting that DEB will only ever build 1 package at a time 12 | for sha in $(ls /home/builder/build/jdk/*.sha256*.txt); do 13 | cp $sha /home/builder/workspace/packaging/jdk.tar.gz.sha256.txt 14 | done; 15 | # Copy source tar file into SOURCE directory 16 | for jdk in $(ls /home/builder/build/jdk/*.tar.gz); do 17 | cp $jdk /home/builder/workspace/packaging/jdk.tar.gz 18 | 19 | # Change name of *.tar.gz in .sha256sum.txt contents to match new name (jdk.tar.gz) 20 | # Example: 21 | # f579751fdcd627552a550e37ee00f8ff7a04e53bb385154ac17a0fb1fbb6ed12 -jdk-17.0.7-linux-x64.tar.gz 22 | # To 23 | # f579751fdcd627552a550e37ee00f8ff7a04e53bb385154ac17a0fb1fbb6ed12 jdk.tar.gz 24 | sed -i "s/$(basename $jdk)/jdk.tar.gz/" /home/builder/workspace/packaging/jdk.tar.gz.sha256.txt 25 | 26 | done; 27 | fi 28 | 29 | # $ and $ARCH are env variables passing in from "docker run" 30 | debVersionList="trixie bookworm bullseye buster noble jammy focal bionic" 31 | 32 | # the target package is only based on the host machine's ARCH 33 | # ${buildArch} is only used for debug purpose what really matter is the label on the jenkins agent 34 | echo "DEBUG: building Debian arch ${buildArch}" 35 | 36 | # Build package and set distributions it supports 37 | cd /home/builder/workspace/packaging 38 | dpkg-buildpackage -us -uc -b 39 | changestool /home/builder/workspace/*.changes setdistribution ${debVersionList} 40 | 41 | # Copy resulting files into mounted directory where artifacts should be placed. 42 | mv /home/builder/workspace/*.{deb,changes,buildinfo} /home/builder/out 43 | -------------------------------------------------------------------------------- /linux/jre/alpine/src/packageTest/java/packaging/TestContainersUtil.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2020 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package packaging; 18 | 19 | import org.testcontainers.containers.Container; 20 | 21 | import java.io.IOException; 22 | 23 | /** 24 | * @author George Adams 25 | */ 26 | public final class TestContainersUtil { 27 | private TestContainersUtil() { 28 | // no instances 29 | } 30 | 31 | public static Container.ExecResult runCmd(Container container, String... command) { 32 | try { 33 | Container.ExecResult result = container.execInContainer(command); 34 | System.out.print(result.getStdout()); 35 | System.err.print(result.getStderr()); 36 | return result; 37 | } catch (InterruptedException | IOException e) { 38 | throw new RuntimeException("Could not run command: " + String.join(" ", command), e); 39 | } 40 | } 41 | 42 | public static Container.ExecResult runShell(Container container, String command) { 43 | String[] shellCmd = new String[]{"/bin/sh", "-c", command}; 44 | try { 45 | Container.ExecResult result = container.execInContainer(shellCmd); 46 | System.out.print(result.getStdout()); 47 | System.err.print(result.getStderr()); 48 | return result; 49 | } catch (InterruptedException | IOException e) { 50 | throw new RuntimeException("Could not run command: " + String.join(" ", shellCmd), e); 51 | } 52 | } 53 | } 54 | --------------------------------------------------------------------------------