diff --git a/srcpkgs/dovecot/patches/libressl.patch b/srcpkgs/dovecot/patches/libressl.patch new file mode 100644 index 00000000000..fd692efae62 --- /dev/null +++ b/srcpkgs/dovecot/patches/libressl.patch @@ -0,0 +1,11 @@ +--- src/lib-ssl-iostream/dovecot-openssl-common.c.orig ++++ src/lib-ssl-iostream/dovecot-openssl-common.c +@@ -101,7 +101,7 @@ + ERR_remove_thread_state(NULL); + #endif + ERR_free_strings(); +-#if OPENSSL_VERSION_NUMBER >= 0x10100000L ++#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) + OPENSSL_cleanup(); + #endif + return FALSE; diff --git a/srcpkgs/dovecot/template b/srcpkgs/dovecot/template index 845e9bc7346..5bf93fdc187 100644 --- a/srcpkgs/dovecot/template +++ b/srcpkgs/dovecot/template @@ -1,8 +1,8 @@ # Template file for 'dovecot' # revbump dovecot-plugin-pigeonhole when updating dovecot! pkgname=dovecot -version=2.2.26.0 -revision=2 +version=2.2.27 +revision=1 build_style=gnu-configure configure_args="--with-moduledir=/usr/lib/dovecot/modules --with-sql=plugin --disable-static --with-pam --with-mysql --with-pgsql --with-lucene @@ -14,7 +14,7 @@ maintainer="Juan RP " license="LGPL-2.1" homepage="http://dovecot.org" distfiles="${homepage}/releases/2.2/${pkgname}-${version}.tar.gz" -checksum=f692a1f39de36cd15f6681f7fee5fba2ef3e72b529acbee02b23422e16926f05 +checksum=897f92a87cda4b27b243f8149ce0ba7b7e71a2be8fb7994eb0a025e54cde18e9 makedepends=" lz4-devel zlib-devel bzip2-devel liblzma-devel libressl-devel mit-krb5-devel