dovecot: add patch for CVE-2019-7524

This applies commits
578cf77e84
696320b0f3
This commit is contained in:
Robert Schütz
2019-03-28 15:18:23 +01:00
parent f5900a9969
commit 69cc728e2b

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, perl, pkgconfig, systemd, openssl
{ stdenv, lib, fetchurl, fetchpatch, perl, pkgconfig, systemd, openssl
, bzip2, zlib, lz4, inotify-tools, pam, libcap
, clucene_core_2, icu, openldap, libsodium, libstemmer
# Auth modules
@@ -47,6 +47,12 @@ stdenv.mkDerivation rec {
# so we can symlink plugins from several packages there.
# The symlinking needs to be done in NixOS.
./2.2.x-module_dir.patch
(fetchpatch {
name = "CVE-2019-7524.patch";
url = https://github.com/dovecot/core/compare/578cf77e84b3d25e2f95f08133a2b0b212aa77cc~1..696320b0f3644e928a9d0c71c063f603c3792dbb.patch;
sha256 = "101d757gid0dn3mxqqpa59igkgkq7bwffsklh3nimaav0v2zb018";
})
];
configureFlags = [