From b32db0ec02694e481190a603785e948bc84f8a51 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Wed, 19 Oct 2022 10:34:45 +0800 Subject: [PATCH] dovecot: build with openssl 3.0 --- pkgs/servers/mail/dovecot/default.nix | 5 +++++ pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/mail/dovecot/default.nix b/pkgs/servers/mail/dovecot/default.nix index 81d858d41b4c..9c9121baf0e4 100644 --- a/pkgs/servers/mail/dovecot/default.nix +++ b/pkgs/servers/mail/dovecot/default.nix @@ -63,6 +63,11 @@ stdenv.mkDerivation rec { url = "https://github.com/dovecot/core/compare/7bad6a24%5E..a1022072.patch"; hash = "sha256-aSyRcQreyA9j8QwkODHqPpRuS3vzouVatEWCqhh+r+8="; }) + # fix openssl 3.0 compatibility + (fetchpatch { + url = "https://salsa.debian.org/debian/dovecot/-/raw/debian/1%252.3.19.1+dfsg1-2/debian/patches/Support-openssl-3.0.patch"; + hash = "sha256-PbBB1jIY3jIC8Js1NY93zkV0gISGUq7Nc67Ul5tN7sw="; + }) ]; configureFlags = [ diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 29ec62363efb..04d5df4c7abc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23234,9 +23234,7 @@ with pkgs; dodgy = with python3Packages; toPythonApplication dodgy; - dovecot = callPackage ../servers/mail/dovecot { - openssl = openssl_1_1; - }; + dovecot = callPackage ../servers/mail/dovecot { }; dovecot_pigeonhole = callPackage ../servers/mail/dovecot/plugins/pigeonhole { }; dovecot_fts_xapian = callPackage ../servers/mail/dovecot/plugins/fts_xapian { };