From a71bdfdea7ecaf0361d9926b5c0717449584b9d2 Mon Sep 17 00:00:00 2001 From: gau1991 Date: Mon, 9 Feb 2015 18:13:30 +0530 Subject: [PATCH] Fixed Roundcube 1.1 installation issue --- ee/cli/plugins/stack.py | 5 +++++ ee/core/variables.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ee/cli/plugins/stack.py b/ee/cli/plugins/stack.py index 06485e32..1cf8e729 100644 --- a/ee/cli/plugins/stack.py +++ b/ee/cli/plugins/stack.py @@ -963,6 +963,11 @@ class EEStackController(CementBaseController): '{0}roundcubemail/htdocs' .format(EEVariables.ee_webroot)) + # Install Roundcube depednet pear packages + EEShellExec.cmd_exec(self, "pear install Mail_Mime Net_SMTP" + " Mail_mimeDecode Net_IDNA2-beta " + "Auth_SASL Net_Sieve Crypt_GPG") + # Configure roundcube database rc_passwd = ''.join(random.sample(string.ascii_letters, 8)) Log.debug(self, "Creating Database roundcubemail") diff --git a/ee/core/variables.py b/ee/core/variables.py index c7e795e8..91eace30 100644 --- a/ee/core/variables.py +++ b/ee/core/variables.py @@ -105,7 +105,7 @@ class EEVariables(): ee_mail = ["dovecot-core", "dovecot-imapd", "dovecot-pop3d", "dovecot-lmtpd", "dovecot-mysql", "dovecot-sieve", "dovecot-managesieved", "postfix-mysql", "php5-cgi", - "php-gettext"] + "php-gettext", "php-pear"] # Mailscanner repo and packages ee_mailscanner_repo = ()