Skip to content

Commit

Permalink
oracle{jdk,jre}: drop
Browse files Browse the repository at this point in the history
"Unmaintained security disaster" -anonymous Nixpkgs maintainer
  • Loading branch information
tomodachi94 committed Nov 2, 2024
1 parent c0d9ad3 commit d6eb9f1
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 338 deletions.
5 changes: 5 additions & 0 deletions nixos/doc/manual/release-notes/rl-2411.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,11 @@
This change requires granting access to the repositories to this user or
setting the appropriate one through `services.cgit.some-instance.user`.

- All Oracle JDKs and JREs (`oraclejdk`, `oraclejdk8`, `oraclejre`, `oraclejre8`,
`jrePlugin`, `jre8Plugin`, `jdkdistro`, `oraclejdk8distro`, and `oraclejdk11`)
were dropped due to being unmaintained and heavily insecure. OpenJDK provides
compatible replacements for JDKs and JREs.

- `gradle_6` was removed due to being [unsupported upstream as of 10 Feb 2023](https://endoflife.date/gradle).
Additionally, it had numerous security vulnerabilities that were only patched
in later versions, such as [CVE-2021-29429](https://nvd.nist.gov/vuln/detail/CVE-2021-32751),
Expand Down
60 changes: 0 additions & 60 deletions pkgs/development/compilers/oraclejdk/dlj-bundle-builder.sh

This file was deleted.

193 changes: 0 additions & 193 deletions pkgs/development/compilers/oraclejdk/jdk-linux-base.nix

This file was deleted.

54 changes: 0 additions & 54 deletions pkgs/development/compilers/oraclejdk/jdk11-linux.nix

This file was deleted.

10 changes: 0 additions & 10 deletions pkgs/development/compilers/oraclejdk/jdk8-linux.nix

This file was deleted.

9 changes: 9 additions & 0 deletions pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -900,6 +900,15 @@ mapAliases {
onlyoffice-bin_7_2 = throw "onlyoffice-bin_7_2 has been removed. Please use the latest version available under onlyoffice-bin"; # Added 2024-07-03
onlyoffice-bin_7_5 = throw "onlyoffice-bin_7_5 has been removed. Please use the latest version available under onlyoffice-bin"; # Added 2024-07-03
openvswitch-lts = throw "openvswitch-lts has been removed. Please use the latest version available under openvswitch"; # Added 2024-08-24
oraclejdk = throw "All Oracle JDKs and JREs were dropped due to being unmaintained and heavily insecure. OpenJDK provides compatible replacements for JDKs and JREs."; # Added 2024-11-01
oraclejdk8 = throw "All Oracle JDKs and JREs were dropped due to being unmaintained and heavily insecure. OpenJDK provides compatible replacements for JDKs and JREs."; # Added 2024-11-01
oraclejre = throw "All Oracle JDKs and JREs were dropped due to being unmaintained and heavily insecure. OpenJDK provides compatible replacements for JDKs and JREs."; # Added 2024-11-01
oraclejre8 = throw "All Oracle JDKs and JREs were dropped due to being unmaintained and heavily insecure. OpenJDK provides compatible replacements for JDKs and JREs."; # Added 2024-11-01
jrePlugin = throw "All Oracle JDKs and JREs were dropped due to being unmaintained and heavily insecure. OpenJDK provides compatible replacements for JDKs and JREs."; # Added 2024-11-01
jre8Plugin = throw "All Oracle JDKs and JREs were dropped due to being unmaintained and heavily insecure. OpenJDK provides compatible replacements for JDKs and JREs."; # Added 2024-11-01
jdkdistro = throw "All Oracle JDKs and JREs were dropped due to being unmaintained and heavily insecure. OpenJDK provides compatible replacements for JDKs and JREs."; # Added 2024-11-01
oraclejdk8distro = throw "All Oracle JDKs and JREs were dropped due to being unmaintained and heavily insecure. OpenJDK provides compatible replacements for JDKs and JREs."; # Added 2024-11-01
oraclejdk11 = throw "All Oracle JDKs and JREs were dropped due to being unmaintained and heavily insecure. OpenJDK provides compatible replacements for JDKs and JREs."; # Added 2024-11-01
OSCAR = oscar; # Added 2024-06-12
osxfuse = throw "'osxfuse' has been renamed to/replaced by 'macfuse-stubs'"; # Converted to throw 2024-10-17
ovn-lts = throw "ovn-lts has been removed. Please use the latest version available under ovn"; # Added 2024-08-24
Expand Down
21 changes: 0 additions & 21 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15012,27 +15012,6 @@ with pkgs;

openspin = callPackage ../development/compilers/openspin { };

oraclejdk = jdkdistro true false;

oraclejdk8 = oraclejdk8distro true false;

oraclejre = lowPrio (jdkdistro false false);

oraclejre8 = lowPrio (oraclejdk8distro false false);

jrePlugin = jre8Plugin;

jre8Plugin = lowPrio (oraclejdk8distro false true);

jdkdistro = oraclejdk8distro;

oraclejdk8distro = installjdk: pluginSupport:
(callPackage ../development/compilers/oraclejdk/jdk8-linux.nix {
inherit installjdk pluginSupport;
});

oraclejdk11 = callPackage ../development/compilers/oraclejdk/jdk11-linux.nix { };

jasmin = callPackage ../development/compilers/jasmin { };

java-service-wrapper = callPackage ../tools/system/java-service-wrapper { };
Expand Down

0 comments on commit d6eb9f1

Please sign in to comment.