corretto: Manifest maintenance (#432)

* corretto: Manifest maintenance

* corretto15-jdk: Add missing deprecated manifest

* corretto: Deprecate manifests

* corretto19-jdk: Add manifest

* corretto15-jdk: Fix extract_dir
This commit is contained in:
Mathias Hermansson 2022-10-11 16:20:23 +02:00 committed by GitHub
parent 17fc1326cb
commit 85f123dab6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 68 additions and 59 deletions

View File

@ -15,14 +15,14 @@
"JAVA_HOME": "$dir"
},
"checkver": {
"github": "https://github.com/corretto/corretto-18"
"github": "https://github.com/corretto/corretto-19"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://corretto.aws/downloads/resources/$version/amazon-corretto-$version-windows-x64-jdk.zip",
"hash": {
"url": "https://github.com/corretto/corretto-18/releases/tag/$version",
"url": "https://github.com/corretto/corretto-$majorVersion/releases/tag/$version",
"regex": "(?smi)amazon-corretto-$version-windows-x64-jdk.zip(?:.*?)<code>([a-fA-F0-9]+)</code>"
}
}

View File

@ -22,7 +22,7 @@
"64bit": {
"url": "https://corretto.aws/downloads/resources/$version/amazon-corretto-$version-windows-x64-jdk.zip",
"hash": {
"url": "https://github.com/corretto/corretto-11/releases/tag/$version",
"url": "https://github.com/corretto/corretto-$majorVersion/releases/tag/$version",
"regex": "(?smi)amazon-corretto-$version-windows-x64-jdk.zip(?:.*?)<code>([a-fA-F0-9]+)</code>"
}
}

View File

@ -0,0 +1,21 @@
{
"description": "Amazon Corretto is a no-cost, multiplatform, production-ready distribution of the Open Java Development Kit (OpenJDK)",
"homepage": "https://aws.amazon.com/corretto/",
"version": "15.0.2.7.1",
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
"architecture": {
"64bit": {
"url": "https://corretto.aws/downloads/resources/15.0.2.7.1/amazon-corretto-15.0.2.7.1-windows-x64-jdk.zip",
"hash": "md5:2d176e977c696778f7c06063e40d9858"
}
},
"extract_dir": "jdk15.0.2_7",
"env_add_path": "bin",
"env_set": {
"JAVA_HOME": "$dir"
},
"notes": [
"WARNING: This older version of the JDK are provided to help developers debug issues.",
"It is not updated with the latest security patches and are not recommended for use in production."
]
}

View File

@ -6,7 +6,7 @@
"architecture": {
"64bit": {
"url": "https://corretto.aws/downloads/resources/16.0.2.7.1/amazon-corretto-16.0.2.7.1-windows-x64-jdk.zip",
"hash": "d3a1790dabe0a11f57a84db9bf28cab6fe658757ff43248cea14eb4ba32f314f"
"hash": "md5:a9774e8a0820b3cf94460cc433a91207"
}
},
"extract_dir": "jdk16.0.2_7",
@ -14,19 +14,8 @@
"env_set": {
"JAVA_HOME": "$dir"
},
"checkver": {
"github": "https://github.com/corretto/corretto-jdk"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://corretto.aws/downloads/resources/$version/amazon-corretto-$version-windows-x64-jdk.zip",
"hash": {
"url": "https://github.com/corretto/corretto-jdk/releases/tag/$version",
"regex": "(?smi)amazon-corretto-$version-windows-x64-jdk.zip(?:.*?)<code>([a-fA-F0-9]+)</code>"
}
}
},
"extract_dir": "jdk$matchHead_$buildVersion"
}
"notes": [
"WARNING: This older version of the JDK are provided to help developers debug issues.",
"It is not updated with the latest security patches and are not recommended for use in production."
]
}

View File

@ -22,7 +22,7 @@
"64bit": {
"url": "https://corretto.aws/downloads/resources/$version/amazon-corretto-$version-windows-x64-jdk.zip",
"hash": {
"url": "https://github.com/corretto/corretto-17/releases/tag/$version",
"url": "https://github.com/corretto/corretto-$majorVersion/releases/tag/$version",
"regex": "(?smi)amazon-corretto-$version-windows-x64-jdk.zip(?:.*?)<code>([a-fA-F0-9]+)</code>"
}
}

View File

@ -14,19 +14,8 @@
"env_set": {
"JAVA_HOME": "$dir"
},
"checkver": {
"github": "https://github.com/corretto/corretto-18"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://corretto.aws/downloads/resources/$version/amazon-corretto-$version-windows-x64-jdk.zip",
"hash": {
"url": "https://github.com/corretto/corretto-18/releases/tag/$version",
"regex": "(?smi)amazon-corretto-$version-windows-x64-jdk.zip(?:.*?)<code>([a-fA-F0-9]+)</code>"
}
}
},
"extract_dir": "jdk$matchHead_$buildVersion"
}
"notes": [
"WARNING: This older version of the JDK are provided to help developers debug issues.",
"It is not updated with the latest security patches and are not recommended for use in production."
]
}

View File

@ -0,0 +1,32 @@
{
"description": "Amazon Corretto is a no-cost, multiplatform, production-ready distribution of the Open Java Development Kit (OpenJDK)",
"homepage": "https://aws.amazon.com/corretto/",
"version": "19.0.0.36.1",
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
"architecture": {
"64bit": {
"url": "https://corretto.aws/downloads/resources/19.0.0.36.1/amazon-corretto-19.0.0.36.1-windows-x64-jdk.zip",
"hash": "md5:93b5f093b950b8f08e98cab461251d3b"
}
},
"extract_dir": "jdk19.0.0_36",
"env_add_path": "bin",
"env_set": {
"JAVA_HOME": "$dir"
},
"checkver": {
"github": "https://github.com/corretto/corretto-19"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://corretto.aws/downloads/resources/$version/amazon-corretto-$version-windows-x64-jdk.zip",
"hash": {
"url": "https://github.com/corretto/corretto-$majorVersion/releases/tag/$version",
"regex": "(?smi)amazon-corretto-$version-windows-x64-jdk.zip(?:.*?)<code>([a-fA-F0-9]+)</code>"
}
}
},
"extract_dir": "jdk$matchHead_$buildVersion"
}
}

View File

@ -7,10 +7,6 @@
"64bit": {
"url": "https://corretto.aws/downloads/resources/8.342.07.3/amazon-corretto-8.342.07.3-windows-x64-jdk.zip",
"hash": "md5:03ca196457565a4203dc293bf4f4794e"
},
"32bit": {
"url": "https://corretto.aws/downloads/resources/8.342.07.3/amazon-corretto-8.342.07.3-windows-x86-jdk.zip",
"hash": "md5:975a41f0c970946008da3a0e3bd6f6d2"
}
},
"extract_dir": "jdk1.8.0_342",
@ -26,16 +22,9 @@
"64bit": {
"url": "https://corretto.aws/downloads/resources/$version/amazon-corretto-$version-windows-x64-jdk.zip",
"hash": {
"url": "https://github.com/corretto/corretto-8/releases/tag/$version",
"url": "https://github.com/corretto/corretto-$majorVersion/releases/tag/$version",
"regex": "(?smi)amazon-corretto-$version-windows-x64-jdk.zip(?:.*?)<code>([a-fA-F0-9]+)</code>"
}
},
"32bit": {
"url": "https://corretto.aws/downloads/resources/$version/amazon-corretto-$version-windows-x86-jdk.zip",
"hash": {
"url": "https://github.com/corretto/corretto-8/releases/tag/$version",
"regex": "(?smi)amazon-corretto-$version-windows-x86-jdk.zip(?:.*?)<code>([a-fA-F0-9]+)</code>"
}
}
},
"extract_dir": "jdk1.8.0_$minorVersion"

View File

@ -7,10 +7,6 @@
"64bit": {
"url": "https://corretto.aws/downloads/resources/8.342.07.3/amazon-corretto-8.342.07.3-windows-x64-jre.zip",
"hash": "md5:2da920faf5d70041f57549d9446f43bb"
},
"32bit": {
"url": "https://corretto.aws/downloads/resources/8.342.07.3/amazon-corretto-8.342.07.3-windows-x86-jre.zip",
"hash": "md5:f84d78f68c62f3bb149e80720cb0ebdb"
}
},
"extract_dir": "jre8",
@ -26,16 +22,9 @@
"64bit": {
"url": "https://corretto.aws/downloads/resources/$version/amazon-corretto-$version-windows-x64-jre.zip",
"hash": {
"url": "https://github.com/corretto/corretto-8/releases/tag/$version",
"url": "https://github.com/corretto/corretto-$majorVersion/releases/tag/$version",
"regex": "(?smi)amazon-corretto-$version-windows-x64-jre.zip(?:.*?)<code>([a-fA-F0-9]+)</code>"
}
},
"32bit": {
"url": "https://corretto.aws/downloads/resources/$version/amazon-corretto-$version-windows-x86-jre.zip",
"hash": {
"url": "https://github.com/corretto/corretto-8/releases/tag/$version",
"regex": "(?smi)amazon-corretto-$version-windows-x86-jre.zip(?:.*?)<code>([a-fA-F0-9]+)</code>"
}
}
}
}