Merge pull request #39156 from taku0/oraclejdk-8u171
oraclejdk: 8u161, 8u162, 10 -> 8u171, 8u172, 10.0.1 [Critical security fixes]
This commit is contained in:
commit
c826e15a98
@ -29,7 +29,7 @@ assert stdenv.system == "x86_64-linux";
|
|||||||
assert swingSupport -> xorg != null;
|
assert swingSupport -> xorg != null;
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "10";
|
version = "10.0.1";
|
||||||
|
|
||||||
downloadUrlBase = http://www.oracle.com/technetwork/java/javase/downloads;
|
downloadUrlBase = http://www.oracle.com/technetwork/java/javase/downloads;
|
||||||
|
|
||||||
@ -52,19 +52,19 @@ let result = stdenv.mkDerivation rec {
|
|||||||
requireFile {
|
requireFile {
|
||||||
name = "jdk-${version}_linux-x64_bin.tar.gz";
|
name = "jdk-${version}_linux-x64_bin.tar.gz";
|
||||||
url = "${downloadUrlBase}/jdk10-downloads-4416644.html";
|
url = "${downloadUrlBase}/jdk10-downloads-4416644.html";
|
||||||
sha256 = "0338m0x5lka0xjsbcll70r1i308bjw3m42cm9dx9zmfk70kplj5c";
|
sha256 = "1975s6cn2lxb8jmxp236afvq6hhxqrx5jix8aqm46f5gwr2xd3mf";
|
||||||
}
|
}
|
||||||
else if packageType == "JRE" then
|
else if packageType == "JRE" then
|
||||||
requireFile {
|
requireFile {
|
||||||
name = "jre-${version}_linux-x64_bin.tar.gz";
|
name = "jre-${version}_linux-x64_bin.tar.gz";
|
||||||
url = "${downloadUrlBase}/jre10-downloads-4417026.html";
|
url = "${downloadUrlBase}/jre10-downloads-4417026.html";
|
||||||
sha256 = "1clawcahkla1h9pxnqfqzcgv51aqgq78v1ws5jygbk6fbbi7l54w";
|
sha256 = "11pb8cwzmalc6ax735m84g13jh1mrfc8g84b5qypnmqjjdv6fpiq";
|
||||||
}
|
}
|
||||||
else if packageType == "ServerJRE" then
|
else if packageType == "ServerJRE" then
|
||||||
requireFile {
|
requireFile {
|
||||||
name = "serverjre-${version}_linux-x64_bin.tar.gz";
|
name = "serverjre-${version}_linux-x64_bin.tar.gz";
|
||||||
url = "${downloadUrlBase}/sjre10-downloads-4417025.html";
|
url = "${downloadUrlBase}/sjre10-downloads-4417025.html";
|
||||||
sha256 = "0kiyg33fv29ad0nyl35r7y0bhyxivb2hxlds44m9l0259s55nwhw";
|
sha256 = "0hvfqgr22sq9zyqc496vqgg5ail189h3a4pazp39i8n86brd48lw";
|
||||||
}
|
}
|
||||||
else abort "unknown package Type ${packageType}";
|
else abort "unknown package Type ${packageType}";
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
import ./jdk-linux-base.nix {
|
import ./jdk-linux-base.nix {
|
||||||
productVersion = "8";
|
productVersion = "8";
|
||||||
patchVersion = "162";
|
patchVersion = "172";
|
||||||
downloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html;
|
downloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html;
|
||||||
sha256.i686-linux = "097vlvvj1vr7815rgarf5x97lagi4q0kai0x4lvd4y3wrzdqikzf";
|
sha256.i686-linux = "0csskx8xis0dr1948j76fgrwwsj4gzdbjqfi7if4v4j62b9i0hqa";
|
||||||
sha256.x86_64-linux = "0mq2d0lj53gzn4qqdjdgbwl0h857k2rnsnr2hkmvihnrgza85v38";
|
sha256.x86_64-linux = "0inkx73rwv7cvn9lqcr3hmnm0sr89h1fh29yamikb4dn02a0p818";
|
||||||
sha256.armv7l-linux = "0xzsgdmpgs1n1g70hgly0mpxflhjrmq3vxwx8gl0kmqdiv4hqwjp";
|
sha256.armv7l-linux = "1576cb0rlc42dsnmh388gy1wjas7ac6g135s8h74x8sm4b56qpln";
|
||||||
sha256.aarch64-linux = "19ykcsmvkf7sdq2lqwvyi60nhb8v7f88dqjycimrsar9y4r7skf8";
|
sha256.aarch64-linux = "0zpkmq8zxmpifawj611fg67srki63haz02rm6xwfc5qm2lxx5g6s";
|
||||||
jceName = "jce_policy-8.zip";
|
jceName = "jce_policy-8.zip";
|
||||||
jceDownloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html;
|
jceDownloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html;
|
||||||
sha256JCE = "0n8b6b8qmwb14lllk2lk1q1ahd3za9fnjigz5xn65mpg48whl0pk";
|
sha256JCE = "0n8b6b8qmwb14lllk2lk1q1ahd3za9fnjigz5xn65mpg48whl0pk";
|
||||||
|
Loading…
Reference in New Issue
Block a user