Dovecot 2.3.4.1 (CVE)

Here is how I patched it. I opened two consoles. I'll name them "A" and "B". So starting in "A" I did:

A> ./build update
A> ./build dovecot

and it failed and hung on a message saying if you want to try the make again. Leave it like that and go to console B:

B> cd /usr/local/directadmin/custombuild/dovecot-2.3.4.1/src
B> wget https://github.com/dovecot/core/compare/1004822^..de42b54a.patch
B> mv 1004822^..de42b54a.patch p.patch
B> patch -p0 < p.patch

It will ask you for the path of the file that you want to patch. It's listed right there - enter "./src/lib-master/test-event-stats.c" twice. Then go back to console A and hit:

A> y

That will compile dovecot successfully.

I guess there is maybe a much more elegant way of doing that in DA but I don't know it :)
 
Back
Top