dovecot: build with openssl 3.0

This commit is contained in:
Nick Cao 2022-10-19 10:34:45 +08:00
parent b593442345
commit b32db0ec02
No known key found for this signature in database
2 changed files with 6 additions and 3 deletions

View file

@ -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 = [

View file

@ -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 { };