mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
dovecot: Improve packaging and include configs
- Add dovenull user, otherwise, dovecot doesn't start
- Build docs to have configuration files for dovecot
- Remove init script as conffile
- Move build options from Makefile to Config.in
- Install section to be more readable
- Refresh patches
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit e27438f140)
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#include "dcrypt.h"
|
||||
#include "dcrypt-private.h"
|
||||
|
||||
@@ -179,11 +181,13 @@ static bool dcrypt_openssl_error(const char **error_r)
|
||||
@@ -179,11 +181,13 @@ static bool dcrypt_openssl_error(const c
|
||||
static bool dcrypt_openssl_initialize(const struct dcrypt_settings *set,
|
||||
const char **error_r)
|
||||
{
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
#ifdef HAVE_SSL_NEW_MEM_FUNCS
|
||||
static void *dovecot_openssl_malloc(size_t size, const char *u0 ATTR_UNUSED, int u1 ATTR_UNUSED)
|
||||
@@ -77,10 +80,12 @@ bool dovecot_openssl_common_global_unref(void)
|
||||
@@ -77,10 +80,12 @@ bool dovecot_openssl_common_global_unref
|
||||
if (--openssl_init_refcount > 0)
|
||||
return TRUE;
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
/* OBJ_cleanup() is called automatically by EVP_cleanup() in
|
||||
newer versions. Doesn't hurt to call it anyway. */
|
||||
@@ -88,7 +93,9 @@ bool dovecot_openssl_common_global_unref(void)
|
||||
@@ -88,7 +93,9 @@ bool dovecot_openssl_common_global_unref
|
||||
#ifdef HAVE_SSL_COMP_FREE_COMPRESSION_METHODS
|
||||
SSL_COMP_free_compression_methods();
|
||||
#endif
|
||||
@@ -70,7 +70,7 @@
|
||||
EVP_cleanup();
|
||||
CRYPTO_cleanup_all_ex_data();
|
||||
#ifdef HAVE_OPENSSL_AUTO_THREAD_DEINIT
|
||||
@@ -111,6 +118,7 @@ bool dovecot_openssl_common_global_unref(void)
|
||||
@@ -111,6 +118,7 @@ bool dovecot_openssl_common_global_unref
|
||||
int dovecot_openssl_common_global_set_engine(const char *engine,
|
||||
const char **error_r)
|
||||
{
|
||||
@@ -78,7 +78,7 @@
|
||||
if (dovecot_openssl_engine != NULL)
|
||||
return 1;
|
||||
|
||||
@@ -132,5 +140,6 @@ int dovecot_openssl_common_global_set_engine(const char *engine,
|
||||
@@ -132,5 +140,6 @@ int dovecot_openssl_common_global_set_en
|
||||
dovecot_openssl_engine = NULL;
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user