fix pigeonhole to build with new dovecot

This commit is contained in:
Michal Hlavinka 2010-04-21 16:12:07 +00:00
parent 528edeab7d
commit 84c2b5013d
2 changed files with 18 additions and 2 deletions

View File

@ -1 +1,17 @@
diff -up dovecot-2.0.beta4/dovecot-2-0-pigeonhole-ece958a18920/src/managesieve-login/client.c.betahotfix dovecot-2.0.beta4/dovecot-2-0-pigeonhole-ece958a18920/src/managesieve-login/client.c
--- dovecot-2.0.beta4/dovecot-2-0-pigeonhole-ece958a18920/src/managesieve-login/client.c.betahotfix 2010-04-21 18:01:20.668855900 +0200
+++ dovecot-2.0.beta4/dovecot-2-0-pigeonhole-ece958a18920/src/managesieve-login/client.c 2010-04-21 18:01:20.689708242 +0200
@@ -32,6 +32,13 @@ const char *login_protocol = "managesiev
const char *login_process_name = "managesieve-login";
unsigned int login_default_port = 4190;
+const struct login_binary login_binary = {
+ .protocol = "managesieve",
+ .process_name = "managesieve-login",
+ .default_port = 4190,
+ .default_ssl_port = 0
+};
+
void login_process_preinit(void)
{
login_set_roots = managesieve_login_settings_set_roots;

View File

@ -116,7 +116,7 @@ This package provides the development files for dovecot.
%patch1 -p1 -b .default-settings
%patch2 -p1 -b .mkcert-permissions
%patch3 -p1 -b .mkcert-paths
#%patch4 -p1 -b .betahotfix not needed this time
%patch4 -p1 -b .betahotfix
%build
#autotools hacks can be removed later, nightly does not support --docdir