tis-adoptium-openjdk11-jdk
11.0.18010-1
Adoptium OpenJDK 11 JDK HotSpot
31396 téléchargements
Télécharger
Voir le résultat de la construction Voir l'analyse de VirusTotal

- package : tis-adoptium-openjdk11-jdk
- name : Adoptium OpenJDK 11 JDK
- version : 11.0.18010-1
- categories : System and network
- maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
- editor : AdoptOpenJDK
- licence : GPLv2
- locale : all
- target_os : darwin
- impacted_process : java,javaw
- architecture : x64
- signature_date : 2023-01-25 20:04
- size : 187.01 Mo
- homepage : https://adoptium.net/
- conflicts :
package : tis-adoptium-openjdk11-jdk
version : 11.0.18010-1
architecture : x64
section : base
priority : optional
name : Adoptium OpenJDK 11 JDK
categories : System and network
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
description : Adoptium OpenJDK 11 JDK HotSpot
depends :
conflicts : tis-oracle-java11-jre-nonfree,tis-oracle-java11-jre-free
maturity : PROD
locale : all
target_os : darwin
min_wapt_version : 2.0
sources : https://github.com/adoptium/temurin11-binaries
installed_size :
impacted_process : java,javaw
description_fr :
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor : AdoptOpenJDK
keywords : adopt,open,jdk,adoptopenjdk,java,jre
licence : GPLv2
homepage : https://adoptium.net/
package_uuid : c78be61e-6eff-41db-8e6a-e925922b34c3
valid_from :
valid_until :
forced_install_on :
changelog : https://adoptium.net//release_notes.html
min_os_version : 6.1
max_os_version :
icon_sha256sum : 841c3b8e2f19942f438049a68b7920c2a49eb3997fb991dc6b41f3a8f242d3a3
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : SirPCCKMvJo3qYPwDNZ0LhufBnDbtjzJ1SSNs0EVbP7C5RGOYBCout0GKpzxh8MTfE2iO/NNNW4dM0mgKTH6lPJJv3cccCGEe3Kb5Lv6jxGkjl7hDE4RZZZqUni3SWIt0CDgL+Y17d7sYuuKQlltyzep6GXVBanD+L13fMg2nMGz/G9XOciCwD7dv5PPMUfAxuystYnDmYQ2jXq25E/BS3bAIQRRY4Txgltp7ezvq39UTLCXAoJjqUVxxjWzdZs149a7qh8eyBhr5APzYcphIFOjb6f4sPOoW5FDBiMD2wveWcCPR2DWmovLxej56RpXGHinp8RDClpjC5udrrkUjw==
signature_date : 2023-01-25T20:04:37.545336
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
# -*- coding: utf-8 -*-
from setuphelpers import *
import platform
import json
# Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "OpenJDK11U"
bin_vm = "temurin-11.jdk"
def install():
# Declaring local variables
bin_name = glob.glob("*%s*.pkg" % bin_contains)[0]
# Installing the software
print("Installing: %s" % bin_name)
install_pkg(bin_name)
def uninstall():
print("suppression de openjdk8")
shutil.rmtree("/Library/Java/JavaVirtualMachines/%s" % bin_vm)
# -*- coding: utf-8 -*-
from setuphelpers import *
import json
# Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "OpenJDK11U"
bin_type = "jdk"
bin_vm = "temurin-11.jdk"
def update_package():
# Declaring local variables
arch = control.architecture
result = False
proxies = get_proxies()
bin_name = bin_contains + arch + "-%s.msi"
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
# api : https://api.adoptium.net/q/swagger-ui/#/Assets/searchReleases
url_api = "https://api.adoptium.net/v3/assets/feature_releases/11/ga?architecture=x64&heap_size=normal&image_type=jdk&jvm_impl=hotspot&os=mac&page=0&page_size=10&project=jdk&sort_method=DEFAULT&sort_order=DESC&vendor=eclipse"
# Getting latest version information from official sources
print("API used is: %s" % url_api)
json_load = json.loads(wgets(url_api, proxies=proxies))
found = False
for releases in json_load:
if found:
break
for binary in releases["binaries"]:
if (
bin_contains.lower() in binary["installer"]["link"].lower()
and binary["image_type"].lower() == bin_type.lower()
and binary["architecture"].lower() == "x64"
and binary["installer"]["link"].endswith(".pkg")
):
version = binary["scm_ref"].split("jdk-")[1].split("_")[0].replace("+", "0")
url_dl = binary["installer"]["link"]
latest_bin = url_dl.rsplit("/", 1)[1]
found = True
break
print("Latest %s version is: %s" % (app_name, version))
print("Download URL is: %s" % url_dl)
# Downloading latest binaries
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(url_dl, latest_bin, proxies=proxies)
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
result = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
# control.set_software_version(version)
control.save_control_to_wapt()
# renaming binary
os.rename(latest_bin, bin_contains + version + ".pkg")
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating update-package-sources
return result
86aa9cd4f45b3062b8f8078649e3c8a86bd1ae5805b320843b990b48c988c176 : setup.py
7a16e02f976c8b6c1a2db3cd03a589cf7992230385aad0a7cc194b03250ac9ee : update_package.py
841c3b8e2f19942f438049a68b7920c2a49eb3997fb991dc6b41f3a8f242d3a3 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
e4ac7d53bc3cf5004dc77361b7be194271f13b8a2e9e72af73db2e7623259539 : luti.json
a055333c23297803690e27b2fe751e313360baabdc49eed4a34a26feaf3803b1 : OpenJDK11U11.0.18010.pkg
22e772eeda804f0a11df25396dd187f5c0f91847eebd0e4b22ec7b2d5c5e5985 : WAPT/control