Skip to content

Commit

Permalink
openssl_3_2: remove and switch single user to the default openssl
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Theil <[email protected]>

Picked from PR #345998
except that vcunat used `openssl` instead of `openssl_3_3`

I do think that we should be well covered with 3.0 and 3.3.
https://github.com/openssl/openssl/blob/openssl-3.3.0/NEWS.md
  • Loading branch information
thillux authored and vcunat committed Oct 8, 2024
1 parent 3997afd commit b7e2eb1
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 28 deletions.
27 changes: 2 additions & 25 deletions pkgs/development/libraries/openssl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -312,29 +312,6 @@ in {
};
};

openssl_3_2 = common {
version = "3.2.3";
hash = "sha256-UrXxxrgCK8WGjDCMVPt3cF5wLWxvRZT5mg3yFqz0Yjk=";

patches = [
./3.0/nix-ssl-cert-file.patch

# openssl will only compile in KTLS if the current kernel supports it.
# This patch disables build-time detection.
./3.0/openssl-disable-kernel-detection.patch

(if stdenv.hostPlatform.isDarwin
then ./3.2/use-etc-ssl-certs-darwin.patch
else ./3.2/use-etc-ssl-certs.patch)
];

withDocs = true;

extraMeta = {
license = lib.licenses.asl20;
};
};

openssl_3_3 = common {
version = "3.3.2";
hash = "sha256-LopAsBl5r+i+C7+z3l3BxnCf7bRtbInBDaEUq1/D0oE=";
Expand All @@ -347,8 +324,8 @@ in {
./3.0/openssl-disable-kernel-detection.patch

(if stdenv.hostPlatform.isDarwin
then ./3.2/use-etc-ssl-certs-darwin.patch
else ./3.2/use-etc-ssl-certs.patch)
then ./3.3/use-etc-ssl-certs-darwin.patch
else ./3.3/use-etc-ssl-certs.patch)
];

withDocs = true;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/tools/networking/cloudflare-warp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
, makeWrapper
, nftables
, nss
, openssl_3_2
, openssl
}:

stdenv.mkDerivation rec {
Expand Down Expand Up @@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
dbus
gtk3
libpcap
openssl_3_2
openssl
nss
stdenv.cc.cc.lib
];
Expand Down
1 change: 0 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22467,7 +22467,6 @@ with pkgs;
inherit (callPackages ../development/libraries/openssl { })
openssl_1_1
openssl_3
openssl_3_2
openssl_3_3;

opensubdiv = callPackage ../development/libraries/opensubdiv { };
Expand Down

0 comments on commit b7e2eb1

Please sign in to comment.