diff options
Diffstat (limited to 'mail-client/roundcube/files/roundcube-0.1-no-sockets-check.patch')
-rw-r--r-- | mail-client/roundcube/files/roundcube-0.1-no-sockets-check.patch | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/mail-client/roundcube/files/roundcube-0.1-no-sockets-check.patch b/mail-client/roundcube/files/roundcube-0.1-no-sockets-check.patch deleted file mode 100644 index 69bd563..0000000 --- a/mail-client/roundcube/files/roundcube-0.1-no-sockets-check.patch +++ /dev/null @@ -1,72 +0,0 @@ -http://trac.roundcube.net/changeset/1186 -http://trac.roundcube.net/ticket/1484834 -Index: /trunk/roundcubemail/installer/check.php -=================================================================== ---- installer/check.php (revision 1169) -+++ installer/check.php (revision 1186) -@@ -2,5 +2,5 @@ - <?php - --$required_php_exts = array('PCRE' => 'pcre', 'Session' => 'session', 'Sockets' => 'sockets'); -+$required_php_exts = array('PCRE' => 'pcre', 'Session' => 'session'); - - $optional_php_exts = array('FileInfo' => 'fileinfo', 'Libiconv' => 'iconv', -@@ -66,5 +66,5 @@ - ?> - --<p class="hint">These extensions are <em>optional</em> but recommended to get the best performance:</p> -+<p class="hint">The next couple of extensions are <em>optional</em> but recommended to get the best performance:</p> - <?php - -Index: /trunk/roundcubemail/installer/test.php -=================================================================== ---- installer/test.php (revision 1171) -+++ installer/test.php (revision 1186) -@@ -32,9 +32,36 @@ - ?> - -+<h3>Check if directories are writable</h3> -+<p>RoundCube may need to write/save files into these directories</p> -+<?php -+ -+if ($RCI->configured) { -+ $pass = false; -+ foreach (array($RCI->config['temp_dir'],$RCI->config['log_dir']) as $dir) { -+ $dirpath = $dir{0} == '/' ? $dir : $docroot . '/' . $dir; -+ if (is_writable(realpath($dirpath))) { -+ $RCI->pass($dir); -+ $pass = true; -+ } -+ else { -+ $RCI->fail($dir, 'not writeable for the webserver'); -+ } -+ echo '<br />'; -+ } -+ -+ if (!$pass) -+ echo '<p class="hint">Use <tt>chmod</tt> or <tt>chown</tt> to grant write privileges to the webserver</p>'; -+} -+else { -+ $RCI->fail('Config', 'Could not read config files'); -+} -+ -+?> -+ - <h3>Check configured database settings</h3> - <?php - - $db_working = false; --if (!empty($RCI->config)) { -+if ($RCI->configured) { - if (!empty($RCI->config['db_backend']) && !empty($RCI->config['db_dsnw'])) { - -Index: /trunk/roundcubemail/installer/welcome.html -=================================================================== ---- installer/welcome.html (revision 1162) -+++ installer/welcome.html (revision 1186) -@@ -11,5 +11,4 @@ - <li>PCRE (perl compatible regular expression)</li> - <li>Session support</li> -- <li>Sockets enabled</li> - <li>Libiconv (recommended)</li> - <li>OpenSSL (recommended)</li> |