From: Vincent Bernat Date: Sat, 17 Jul 2010 15:23:30 +0000 (+0200) Subject: Imported Debian patch 0.3.1-4 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c138227a9ec7166dd9e524e798ba5c6e1b407b18;hp=58f684d9098942e8174d63e4a693bf3f46096774;p=roundcube.git Imported Debian patch 0.3.1-4 --- diff --git a/debian/changelog b/debian/changelog index 897699f..c286dbd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,21 @@ +roundcube (0.3.1-4) unstable; urgency=low + + * Update README.Debian to state that the variable to modify is + 'htmleditor' instead of 'enable_htmleditor'. Thanks to Hans + Spaans. Closes: #575556. + * Add Brazilian Portuguese debconf translation, thanks to Eder + L. Marques. Closes: #581745. + * Switch default encoding to UTF-8 instead of ISO-8859-1. + Closes: #588084. + * Add more explanations on how to install roundcube in a Debian system + in README.Debian. Closes: #584458, #582894. + * Bump Standards-Version. No changes required. + * Switch to 3.0 (quilt) format. + * Use Breaks instead of Conflicts to move files from older roundcube + installations. + + -- Vincent Bernat Sat, 17 Jul 2010 17:23:30 +0200 + roundcube (0.3.1-3) unstable; urgency=high * RFC 5321, section 4.5.3.1, asks to not impose any limits on length if diff --git a/debian/control b/debian/control index bb592d6..bc79c1a 100644 --- a/debian/control +++ b/debian/control @@ -3,9 +3,9 @@ Section: web Priority: extra Maintainer: Debian Roundcube Maintainers Uploaders: Vincent Bernat , Romain Beauxis -Build-Depends: cdbs, debhelper (>= 5), quilt, patchutils (>= 0.2.25), cdbs (>= 0.4.27), po-debconf +Build-Depends: cdbs, debhelper (>= 5), cdbs (>= 0.4.27), po-debconf Homepage: http://www.roundcube.net/ -Standards-Version: 3.8.4 +Standards-Version: 3.9.0 Vcs-Svn: svn://svn.debian.org/svn/pkg-roundcube/trunk Vcs-Browser: http://svn.debian.org/wsvn/pkg-roundcube/trunk/ @@ -14,7 +14,7 @@ Architecture: all Depends: dbconfig-common, debconf | debconf-2.0, apache2 | lighttpd | httpd, php5, php5-mcrypt, php5-gd, roundcube-sqlite (= ${source:Version}) | roundcube-mysql (= ${source:Version}) | roundcube-pgsql (= ${source:Version}), php-mdb2, php-auth, php-net-smtp, php-net-socket, php-mail-mime (>= 1.5.0), ucf, tinymce (>= 3), ${misc:Depends}, libmagic1, php5-pspell, libjs-jquery (>= 1.3.3) Suggests: php-auth-sasl Replaces: roundcube -Conflicts: roundcube (<< 0.1~rc2-2) +Breaks: roundcube (<< 0.1~rc2-2) Description: skinnable AJAX based webmail solution for IMAP servers RoundCube Webmail is a browser-based multilingual IMAP client with an application-like user interface. It provides full functionality diff --git a/debian/control.in b/debian/control.in index a006829..a0772fe 100644 --- a/debian/control.in +++ b/debian/control.in @@ -5,7 +5,7 @@ Maintainer: Debian Roundcube Maintainers , Romain Beauxis Build-Depends: @cdbs@, po-debconf Homepage: http://www.roundcube.net/ -Standards-Version: 3.8.4 +Standards-Version: 3.9.0 Vcs-Svn: svn://svn.debian.org/svn/pkg-roundcube/trunk Vcs-Browser: http://svn.debian.org/wsvn/pkg-roundcube/trunk/ @@ -14,7 +14,7 @@ Architecture: all Depends: dbconfig-common, debconf | debconf-2.0, apache2 | lighttpd | httpd, php5, php5-mcrypt, php5-gd, roundcube-sqlite (= ${source:Version}) | roundcube-mysql (= ${source:Version}) | roundcube-pgsql (= ${source:Version}), php-mdb2, php-auth, php-net-smtp, php-net-socket, php-mail-mime (>= 1.5.0), ucf, tinymce (>= 3), ${misc:Depends}, libmagic1, php5-pspell, libjs-jquery (>= 1.3.3) Suggests: php-auth-sasl Replaces: roundcube -Conflicts: roundcube (<< 0.1~rc2-2) +Breaks: roundcube (<< 0.1~rc2-2) Description: skinnable AJAX based webmail solution for IMAP servers RoundCube Webmail is a browser-based multilingual IMAP client with an application-like user interface. It provides full functionality diff --git a/debian/patches/changeset_r3170.patch b/debian/patches/changeset_r3170.patch index f820edc..962a626 100644 --- a/debian/patches/changeset_r3170.patch +++ b/debian/patches/changeset_r3170.patch @@ -1,159 +1,171 @@ Use json_encode to ensure compatibility with JQuery 1.4. -Index: roundcubemail/program/include/rcube_template.php -=================================================================== ---- roundcubemail/program/include/rcube_template.php (revision 2980) -+++ roundcubemail/program/include/rcube_template.php (revision 3170) -@@ -415,10 +415,10 @@ - $out = ''; - if (!$this->framed && !empty($this->js_env)) { -- $out .= JS_OBJECT_NAME . '.set_env('.json_serialize($this->js_env).");\n"; -+ $out .= JS_OBJECT_NAME . '.set_env('.json_encode($this->js_env).");\n"; - } - foreach ($this->js_commands as $i => $args) { - $method = array_shift($args); - foreach ($args as $i => $arg) { -- $args[$i] = json_serialize($arg); -+ $args[$i] = json_encode($arg); - } - $parent = $this->framed || preg_match('/^parent\./', $method); -Index: roundcubemail/program/include/rcube_shared.inc -=================================================================== ---- roundcubemail/program/include/rcube_shared.inc (revision 3132) -+++ roundcubemail/program/include/rcube_shared.inc (revision 3170) -@@ -106,95 +106,4 @@ - exit; - } --} -- -- --/** -- * Returns whether an $str is a reserved word for any of the version of Javascript or ECMAScript -- * @param str String to check -- * @return boolean True if $str is a reserver word, False if not -- */ --function is_js_reserved_word($str) --{ -- return in_array($str, array( -- // ECMASript ver 4 reserved words -- 'as','break','case','catch','class','const','continue', -- 'default','delete','do','else','export','extends','false','finally','for','function', -- 'if','import','in','instanceof','is','namespace','new','null','package','private', -- 'public','return','super','switch','this','throw','true','try','typeof','use','var', -- 'void','while','with', -- // ECMAScript ver 4 future reserved words -- 'abstract','debugger','enum','goto','implements','interface','native','protected', -- 'synchronized','throws','transient','volatile', -- // special meaning in some contexts -- 'get','set', -- // were reserved in ECMAScript ver 3 -- 'boolean','byte','char','double','final','float','int','long','short','static' -- )); --} -- -- --/** -- * Convert a variable into a javascript object notation -- * -- * @param mixed Input value -- * @return string Serialized JSON string -- */ --function json_serialize($var) --{ -- if (is_object($var)) -- $var = get_object_vars($var); -- -- if (is_array($var)) -- { -- // empty array -- if (!sizeof($var)) -- return '[]'; -- else -- { -- $keys_arr = array_keys($var); -- $is_assoc = $have_numeric = 0; -- -- for ($i=0; $i $value) -- { -- // enclose key with quotes if it is not variable-name conform -- if (!preg_match('/^[_a-zA-Z]{1}[_a-zA-Z0-9]*$/', $key) || is_js_reserved_word($key)) -- $key = "'$key'"; -- -- $pairs[] = sprintf("%s%s", $is_assoc ? "$key:" : '', json_serialize($value)); -- } -- -- return $brackets{0} . implode(',', $pairs) . $brackets{1}; -- } -- } -- else if (!is_string($var) && strval(intval($var)) === strval($var)) -- return $var; -- else if (is_bool($var)) -- return $var ? '1' : '0'; -- else -- return "'".JQ($var)."'"; --} -- -- --/** -- * Function to convert an array to a javascript array -- * Actually an alias function for json_serialize() -- * @deprecated -- */ --function array2js($arr, $type='') --{ -- return json_serialize($arr); - } - -Index: roundcubemail/program/include/rcube_json_output.php -=================================================================== ---- roundcubemail/program/include/rcube_json_output.php (revision 2905) -+++ roundcubemail/program/include/rcube_json_output.php (revision 3170) -@@ -240,5 +240,5 @@ - $response['callbacks'] = $this->callbacks; - -- echo json_serialize($response); -+ echo json_encode($response); - } - -@@ -256,5 +256,5 @@ - $method = array_shift($args); - foreach ($args as $i => $arg) { -- $args[$i] = json_serialize($arg); -+ $args[$i] = json_encode($arg); - } - -Index: roundcubemail/program/steps/mail/func.inc -=================================================================== ---- roundcubemail/program/steps/mail/func.inc (revision 3099) -+++ roundcubemail/program/steps/mail/func.inc (revision 3170) -@@ -523,5 +523,5 @@ - if (is_array($quota)) { - $OUTPUT->add_script('$(document).ready(function(){ -- rcmail.set_quota('.json_serialize($quota).')});', 'foot'); -+ rcmail.set_quota('.json_encode($quota).')});', 'foot'); - $quota = ''; - } -Index: roundcubemail/program/steps/mail/compose.inc -=================================================================== ---- roundcubemail/program/steps/mail/compose.inc (revision 3166) -+++ roundcubemail/program/steps/mail/compose.inc (revision 3170) -@@ -507,5 +507,5 @@ - JQ(Q(rcube_label('revertto'))), - JQ(Q(rcube_label('nospellerrors'))), -- json_serialize($spellcheck_langs), -+ json_encode($spellcheck_langs), - $lang, - $attrib['id'], +Index: b/program/include/rcube_json_output.php +=================================================================== +--- a/program/include/rcube_json_output.php 2009-09-01 17:13:45.000000000 +0200 ++++ b/program/include/rcube_json_output.php 2010-07-17 17:33:24.000000000 +0200 +@@ -239,7 +239,7 @@ + if (!empty($this->callbacks)) + $response['callbacks'] = $this->callbacks; + +- echo json_serialize($response); ++ echo json_encode($response); + } + + +@@ -255,7 +255,7 @@ + foreach ($this->commands as $i => $args) { + $method = array_shift($args); + foreach ($args as $i => $arg) { +- $args[$i] = json_serialize($arg); ++ $args[$i] = json_encode($arg); + } + + $out .= sprintf( +Index: b/program/include/rcube_shared.inc +=================================================================== +--- a/program/include/rcube_shared.inc 2009-10-27 10:43:39.000000000 +0100 ++++ b/program/include/rcube_shared.inc 2010-07-17 17:33:24.000000000 +0200 +@@ -109,97 +109,6 @@ + + + /** +- * Returns whether an $str is a reserved word for any of the version of Javascript or ECMAScript +- * @param str String to check +- * @return boolean True if $str is a reserver word, False if not +- */ +-function is_js_reserved_word($str) +-{ +- return in_array($str, array( +- // ECMASript ver 4 reserved words +- 'as','break','case','catch','class','const','continue', +- 'default','delete','do','else','export','extends','false','finally','for','function', +- 'if','import','in','instanceof','is','namespace','new','null','package','private', +- 'public','return','super','switch','this','throw','true','try','typeof','use','var', +- 'void','while','with', +- // ECMAScript ver 4 future reserved words +- 'abstract','debugger','enum','goto','implements','interface','native','protected', +- 'synchronized','throws','transient','volatile', +- // special meaning in some contexts +- 'get','set', +- // were reserved in ECMAScript ver 3 +- 'boolean','byte','char','double','final','float','int','long','short','static' +- )); +-} +- +- +-/** +- * Convert a variable into a javascript object notation +- * +- * @param mixed Input value +- * @return string Serialized JSON string +- */ +-function json_serialize($var) +-{ +- if (is_object($var)) +- $var = get_object_vars($var); +- +- if (is_array($var)) +- { +- // empty array +- if (!sizeof($var)) +- return '[]'; +- else +- { +- $keys_arr = array_keys($var); +- $is_assoc = $have_numeric = 0; +- +- for ($i=0; $i $value) +- { +- // enclose key with quotes if it is not variable-name conform +- if (!preg_match('/^[_a-zA-Z]{1}[_a-zA-Z0-9]*$/', $key) || is_js_reserved_word($key)) +- $key = "'$key'"; +- +- $pairs[] = sprintf("%s%s", $is_assoc ? "$key:" : '', json_serialize($value)); +- } +- +- return $brackets{0} . implode(',', $pairs) . $brackets{1}; +- } +- } +- else if (!is_string($var) && strval(intval($var)) === strval($var)) +- return $var; +- else if (is_bool($var)) +- return $var ? '1' : '0'; +- else +- return "'".JQ($var)."'"; +-} +- +- +-/** +- * Function to convert an array to a javascript array +- * Actually an alias function for json_serialize() +- * @deprecated +- */ +-function array2js($arr, $type='') +-{ +- return json_serialize($arr); +-} +- +- +-/** + * Similar function as in_array() but case-insensitive + * + * @param mixed Needle value +Index: b/program/include/rcube_template.php +=================================================================== +--- a/program/include/rcube_template.php 2009-09-22 20:08:45.000000000 +0200 ++++ b/program/include/rcube_template.php 2010-07-17 17:33:24.000000000 +0200 +@@ -414,12 +414,12 @@ + { + $out = ''; + if (!$this->framed && !empty($this->js_env)) { +- $out .= JS_OBJECT_NAME . '.set_env('.json_serialize($this->js_env).");\n"; ++ $out .= JS_OBJECT_NAME . '.set_env('.json_encode($this->js_env).");\n"; + } + foreach ($this->js_commands as $i => $args) { + $method = array_shift($args); + foreach ($args as $i => $arg) { +- $args[$i] = json_serialize($arg); ++ $args[$i] = json_encode($arg); + } + $parent = $this->framed || preg_match('/^parent\./', $method); + $out .= sprintf( +Index: b/program/steps/mail/compose.inc +=================================================================== +--- a/program/steps/mail/compose.inc 2009-10-06 08:55:08.000000000 +0200 ++++ b/program/steps/mail/compose.inc 2010-07-17 17:33:24.000000000 +0200 +@@ -493,7 +493,7 @@ + JQ(Q(rcube_label('close'))), + JQ(Q(rcube_label('revertto'))), + JQ(Q(rcube_label('nospellerrors'))), +- json_serialize($spellcheck_langs), ++ json_encode($spellcheck_langs), + $lang, + $attrib['id'], + JS_OBJECT_NAME), 'foot'); +Index: b/program/steps/mail/func.inc +=================================================================== +--- a/program/steps/mail/func.inc 2009-10-24 21:09:23.000000000 +0200 ++++ b/program/steps/mail/func.inc 2010-07-17 17:33:24.000000000 +0200 +@@ -522,7 +522,7 @@ + + if (is_array($quota)) { + $OUTPUT->add_script('$(document).ready(function(){ +- rcmail.set_quota('.json_serialize($quota).')});', 'foot'); ++ rcmail.set_quota('.json_encode($quota).')});', 'foot'); + $quota = ''; + } + diff --git a/debian/patches/changeset_r3202.patch b/debian/patches/changeset_r3202.patch index 645734b..5b889ee 100644 --- a/debian/patches/changeset_r3202.patch +++ b/debian/patches/changeset_r3202.patch @@ -1,12 +1,14 @@ Compatibility with jQuery 1.4. -Index: roundcubemail/program/include/rcube_json_output.php -=================================================================== ---- roundcubemail/program/include/rcube_json_output.php (revision 3175) -+++ roundcubemail/program/include/rcube_json_output.php (revision 3202) -@@ -219,5 +219,4 @@ - send_nocacheing_headers(); - header('Content-Type: text/plain; charset=' . $this->get_charset()); -- print '/** ajax response ['.date('d/M/Y h:i:s O')."] **/\n"; - } - +Index: b/program/include/rcube_json_output.php +=================================================================== +--- a/program/include/rcube_json_output.php 2010-07-17 17:33:24.000000000 +0200 ++++ b/program/include/rcube_json_output.php 2010-07-17 17:33:24.000000000 +0200 +@@ -218,7 +218,6 @@ + $s_header_sent = true; + send_nocacheing_headers(); + header('Content-Type: text/plain; charset=' . $this->get_charset()); +- print '/** ajax response ['.date('d/M/Y h:i:s O')."] **/\n"; + } + + // unset default env vars diff --git a/debian/patches/correct-magic-path.patch b/debian/patches/correct-magic-path.patch index de9330f..e2ca99f 100644 --- a/debian/patches/correct-magic-path.patch +++ b/debian/patches/correct-magic-path.patch @@ -1,13 +1,15 @@ On Debian, the magic file is in /usr/share/file/magic. ---- roundcube-0.1/config/main.inc.php.dist~ 2008-02-21 11:27:19.000000000 +0100 -+++ roundcube-0.1/config/main.inc.php.dist 2008-03-06 14:04:53.000000000 +0100 -@@ -277,7 +277,7 @@ +Index: b/config/main.inc.php.dist +=================================================================== +--- a/config/main.inc.php.dist 2009-10-21 10:47:40.000000000 +0200 ++++ b/config/main.inc.php.dist 2010-07-17 17:33:23.000000000 +0200 +@@ -338,7 +338,7 @@ $rcmail_config['max_pagesize'] = 200; // mime magic database -$rcmail_config['mime_magic'] = '/usr/share/misc/magic'; +$rcmail_config['mime_magic'] = '/usr/share/file/magic'; - // end of config file - ?> + // default sort col + $rcmail_config['message_sort_col'] = 'date'; diff --git a/debian/patches/correct_install_path.patch b/debian/patches/correct_install_path.patch index b8e6daa..04ec738 100644 --- a/debian/patches/correct_install_path.patch +++ b/debian/patches/correct_install_path.patch @@ -1,7 +1,9 @@ Install path is /var/lib/roundcube for Debian. Don't try to guess it. ---- a/program/include/iniset.php~ 2008-06-09 22:57:53.000000000 +0200 -+++ a/program/include/iniset.php 2008-06-22 12:10:55.000000000 +0200 +Index: b/program/include/iniset.php +=================================================================== +--- a/program/include/iniset.php 2010-07-17 17:33:04.000000000 +0200 ++++ b/program/include/iniset.php 2010-07-17 17:33:23.000000000 +0200 @@ -27,7 +27,7 @@ define('JS_OBJECT_NAME', 'rcmail'); @@ -10,4 +12,4 @@ Install path is /var/lib/roundcube for Debian. Don't try to guess it. + define('INSTALL_PATH', '/var/lib/roundcube/'); } - // make sure path_separator is defined + define('RCMAIL_CONFIG_DIR', INSTALL_PATH . 'config'); diff --git a/debian/patches/dbconfig-common_support.patch b/debian/patches/dbconfig-common_support.patch index 61938fa..fbc2c0e 100644 --- a/debian/patches/dbconfig-common_support.patch +++ b/debian/patches/dbconfig-common_support.patch @@ -1,22 +1,23 @@ The default db.inc.php is modified to adapt it to the use of dbconfig-common package. ---- roundcube_0.1~beta2.2/config/db.inc.php.dist 2006-03-20 23:08:51.000000000 +0100 -+++ roundcube_0.1~beta2.2/config/db.inc.php.dist 2007-03-13 14:33:38.000000000 +0100 +Index: b/config/db.inc.php.dist +=================================================================== +--- a/config/db.inc.php.dist 2010-07-17 17:33:04.000000000 +0200 ++++ b/config/db.inc.php.dist 2010-07-17 17:33:23.000000000 +0200 @@ -14,15 +14,20 @@ - + $rcmail_config = array(); - + -// PEAR database DSN for read/write operations -// format is db_provider://user:password@host/database -// For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php -// currently supported db_providers: mysql, mysqli, pgsql, sqlite, mssql -- ++/* Do not set db_dsnw here, use dpkg-reconfigure roundcube to configure database ! */ + -$rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail'; -// postgres example: 'pgsql://roundcube:pass@localhost/roundcubemail'; -// Warning: for SQLite use absolute path in DSN: -// sqlite example: 'sqlite:////full/path/to/sqlite.db?mode=0646'; -+/* Do not set db_dsnw here, use dpkg-reconfigure roundcube to configure database ! */ -+ +include_once("/etc/roundcube/debian-db.php"); + +switch ($dbtype) { @@ -29,6 +30,6 @@ The default db.inc.php is modified to adapt it to the use of dbconfig-common pac + $rcmail_config['db_dsnw'] = "$dbtype://$dbuser:$dbpass@$dbserver$dbport/$dbname"; + break; + } - + // PEAR database DSN for read only operations (if empty write database will be used) // useful for database replication diff --git a/debian/patches/default-charset-utf8.patch b/debian/patches/default-charset-utf8.patch new file mode 100644 index 0000000..24c3ea5 --- /dev/null +++ b/debian/patches/default-charset-utf8.patch @@ -0,0 +1,15 @@ +Switch to UTF-8 as default charset + +Index: b/config/main.inc.php.dist +=================================================================== +--- a/config/main.inc.php.dist 2010-07-17 17:33:24.000000000 +0200 ++++ b/config/main.inc.php.dist 2010-07-17 17:33:25.000000000 +0200 +@@ -215,7 +215,7 @@ + $rcmail_config['mdn_requests'] = 0; + + // Use this charset as fallback for message decoding +-$rcmail_config['default_charset'] = 'ISO-8859-1'; ++$rcmail_config['default_charset'] = 'UTF-8'; + + // Make use of the built-in spell checker. It is based on GoogieSpell. + // Since Google only accepts connections over https your PHP installatation diff --git a/debian/patches/disable-dns-prefetch.patch b/debian/patches/disable-dns-prefetch.patch index 450145f..6f6c6d8 100644 --- a/debian/patches/disable-dns-prefetch.patch +++ b/debian/patches/disable-dns-prefetch.patch @@ -1,9 +1,9 @@ Disable DNS prefetching to solve CVE-2010-0464. -Index: program/include/rcube_html_page.php +Index: b/program/include/rcube_html_page.php =================================================================== ---- rcube/program/include/rcube_html_page.php (revision 3214) -+++ rcube/program/include/rcube_html_page.php (working copy) +--- a/program/include/rcube_html_page.php 2009-06-22 18:20:34.000000000 +0200 ++++ b/program/include/rcube_html_page.php 2010-07-17 17:33:25.000000000 +0200 @@ -165,6 +165,13 @@ $__page_header.= $this->charset . '" />'."\n"; } diff --git a/debian/patches/dont-limit-email-local-part.patch b/debian/patches/dont-limit-email-local-part.patch index c9852aa..27cb519 100644 --- a/debian/patches/dont-limit-email-local-part.patch +++ b/debian/patches/dont-limit-email-local-part.patch @@ -1,6 +1,8 @@ To fix #568360 and #568537, don't limit local part size. ---- roundcube-0.3.1/program/include/main.inc~ 2009-10-31 14:44:19.751802878 +0100 -+++ roundcube-0.3.1/program/include/main.inc 2010-02-05 19:46:12.000000000 +0100 +Index: b/program/include/main.inc +=================================================================== +--- a/program/include/main.inc 2009-10-31 14:44:19.000000000 +0100 ++++ b/program/include/main.inc 2010-07-17 17:33:25.000000000 +0200 @@ -1427,7 +1427,7 @@ return false; diff --git a/debian/patches/loginbox-size.patch b/debian/patches/loginbox-size.patch index 7e04ce5..ce56b9f 100644 --- a/debian/patches/loginbox-size.patch +++ b/debian/patches/loginbox-size.patch @@ -1,8 +1,10 @@ Fix size of login box to accommodate sk_SK locale ---- r/skins/default/common.css~ 2009-09-04 12:42:24.000000000 +0200 -+++ r/skins/default/common.css 2009-09-27 11:27:25.000000000 +0200 -@@ -494,7 +494,7 @@ +Index: b/skins/default/common.css +=================================================================== +--- a/skins/default/common.css 2009-10-06 12:00:33.000000000 +0200 ++++ b/skins/default/common.css 2010-07-17 17:33:24.000000000 +0200 +@@ -506,7 +506,7 @@ margin-left: auto; margin-right: auto; margin-top: 50px; diff --git a/debian/patches/series b/debian/patches/series index b76ac52..dae62da 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -8,3 +8,4 @@ changeset_r3170.patch changeset_r3202.patch dont-limit-email-local-part.patch disable-dns-prefetch.patch +default-charset-utf8.patch diff --git a/debian/patches/use_packaged_tinymce.patch b/debian/patches/use_packaged_tinymce.patch index f2a7a91..a498c59 100644 --- a/debian/patches/use_packaged_tinymce.patch +++ b/debian/patches/use_packaged_tinymce.patch @@ -1,8 +1,10 @@ Use tinymce from tinycme package instead of the shipped one. ---- roundcube-0.1~rc2.orig/program/steps/mail/sendmail.inc 2007-11-26 11:42:36.000000000 +0100 -+++ roundcube-0.1~rc2/program/steps/mail/sendmail.inc 2007-11-26 11:44:04.000000000 +0100 -@@ -123,7 +123,7 @@ +Index: b/program/steps/mail/sendmail.inc +=================================================================== +--- a/program/steps/mail/sendmail.inc 2009-10-14 12:52:27.000000000 +0200 ++++ b/program/steps/mail/sendmail.inc 2010-07-17 17:33:23.000000000 +0200 +@@ -128,7 +128,7 @@ // sanitize image name so resulting attachment doesn't leave images dir $image_name = preg_replace('/[^a-zA-Z0-9_\.\-]/i', '', $image_name); diff --git a/debian/patches/use_pspell.patch b/debian/patches/use_pspell.patch index 843097d..d3ade03 100644 --- a/debian/patches/use_pspell.patch +++ b/debian/patches/use_pspell.patch @@ -1,8 +1,10 @@ Instead of using Google by default, we use pspell to avoid to send each mail to Google... ---- roundcube-0.1/config/main.inc.php.dist~ 2009-05-15 12:22:29.000000000 +0200 -+++ roundcube-0.1/config/main.inc.php.dist 2009-07-05 09:59:26.000000000 +0200 -@@ -199,7 +199,7 @@ +Index: b/config/main.inc.php.dist +=================================================================== +--- a/config/main.inc.php.dist 2010-07-17 17:33:23.000000000 +0200 ++++ b/config/main.inc.php.dist 2010-07-17 17:33:24.000000000 +0200 +@@ -224,7 +224,7 @@ // Set the spell checking engine. 'googie' is the default. 'pspell' is also available, // but requires the Pspell extensions. When using Nox Spell Server, also set 'googie' here. diff --git a/debian/po/ar.po b/debian/po/ar.po index 03c7102..4540310 100644 --- a/debian/po/ar.po +++ b/debian/po/ar.po @@ -11,6 +11,7 @@ msgstr "" "PO-Revision-Date: 2008-03-18 15:29+0300\n" "Last-Translator: Ossama M. Khayat \n" "Language-Team: Arabic \n" +"Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/debian/po/cs.po b/debian/po/cs.po index 3e23c45..0349a9f 100644 --- a/debian/po/cs.po +++ b/debian/po/cs.po @@ -11,6 +11,7 @@ msgstr "" "PO-Revision-Date: 2009-09-13 09:23+0200\n" "Last-Translator: Miroslav Kure \n" "Language-Team: Czech \n" +"Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/debian/po/de.po b/debian/po/de.po index 8871f95..c0d09fd 100644 --- a/debian/po/de.po +++ b/debian/po/de.po @@ -10,6 +10,7 @@ msgstr "" "PO-Revision-Date: 2009-03-16 21:15+0100\n" "Last-Translator: Helge Kreutzmann \n" "Language-Team: de \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/debian/po/es.po b/debian/po/es.po index 7f903a8..cd71099 100644 --- a/debian/po/es.po +++ b/debian/po/es.po @@ -35,6 +35,7 @@ msgstr "" "PO-Revision-Date: 2008-04-01 18:21+0200\n" "Last-Translator: Carlos Galisteo \n" "Language-Team: Debian l10n Spanishf \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/debian/po/eu.po b/debian/po/eu.po index 3998bd3..68a01cd 100644 --- a/debian/po/eu.po +++ b/debian/po/eu.po @@ -11,6 +11,7 @@ msgstr "" "PO-Revision-Date: 2008-03-14 09:03+0100\n" "Last-Translator: Piarres Beobide \n" "Language-Team: Euskara \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/debian/po/fi.po b/debian/po/fi.po index 3bb5e86..5b0a4fa 100644 --- a/debian/po/fi.po +++ b/debian/po/fi.po @@ -6,6 +6,7 @@ msgstr "" "PO-Revision-Date: 2008-03-08 00:45+0200\n" "Last-Translator: Esko Arajärvi \n" "Language-Team: Finnish \n" +"Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/debian/po/fr.po b/debian/po/fr.po index 01a094c..30cfe6c 100644 --- a/debian/po/fr.po +++ b/debian/po/fr.po @@ -11,6 +11,7 @@ msgstr "" "PO-Revision-Date: 2008-03-08 11:24+0100\n" "Last-Translator: Vincent Bernat \n" "Language-Team: French \n" +"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/debian/po/gl.po b/debian/po/gl.po index f4d8d88..e317834 100644 --- a/debian/po/gl.po +++ b/debian/po/gl.po @@ -10,6 +10,7 @@ msgstr "" "PO-Revision-Date: 2008-03-07 16:27+0000\n" "Last-Translator: Jacobo Tarrio \n" "Language-Team: Galician \n" +"Language: gl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/debian/po/it.po b/debian/po/it.po index 922fc92..0af6c09 100644 --- a/debian/po/it.po +++ b/debian/po/it.po @@ -11,6 +11,7 @@ msgstr "" "PO-Revision-Date: 2009-08-30 12:09+0200\n" "Last-Translator: Luca Monducci \n" "Language-Team: Italian \n" +"Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/debian/po/ja.po b/debian/po/ja.po index c223765..83c5c01 100644 --- a/debian/po/ja.po +++ b/debian/po/ja.po @@ -10,6 +10,7 @@ msgstr "" "PO-Revision-Date: 2009-03-06 06:26+0900\n" "Last-Translator: Hideki Yamane (Debian-JP) \n" "Language-Team: Japanese \n" +"Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/debian/po/pt.po b/debian/po/pt.po index eb3b9b3..bd0304a 100644 --- a/debian/po/pt.po +++ b/debian/po/pt.po @@ -11,6 +11,7 @@ msgstr "" "PO-Revision-Date: 2008-03-09 14:12+0000\n" "Last-Translator: Miguel Figueiredo \n" "Language-Team: Portuguese \n" +"Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po new file mode 100644 index 0000000..af65c44 --- /dev/null +++ b/debian/po/pt_BR.po @@ -0,0 +1,139 @@ +# roundcube Brazilian Portuguese translation. +# Copyright (C) 2009 roundcube's COPYRIGHT HOLDER +# This file is distributed under the same license as the roundcube package. +# Bruno Gurgel Gomes de Oliveira , 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: roundcube\n" +"Report-Msgid-Bugs-To: roundcube@packages.debian.org\n" +"POT-Creation-Date: 2009-02-15 17:05+0100\n" +"PO-Revision-Date: 2009-03-11 13:15+1200\n" +"Last-Translator: Bruno Gurgel Gomes de Oliveira \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"pt_BR utf-8\n" + +#. Type: multiselect +#. Choices +#: ../templates:2001 +msgid "apache2" +msgstr "apache2" + +#. Type: multiselect +#. Choices +#: ../templates:2001 +msgid "lighttpd" +msgstr "lighttpd" + +#. Type: multiselect +#. Description +#: ../templates:2002 +msgid "Web server(s) to configure automatically:" +msgstr "Servidor(es) web para configurar automaticamente:" + +#. Type: multiselect +#. Description +#: ../templates:2002 +msgid "" +"RoundCube supports any web server supported by PHP, however only Apache 2 " +"and lighttpd can be configured automatically." +msgstr "" +"O RoundCube dá suporte a qualquer servidor web que tenha suporte a PHP, no " +"entanto, somente o Apache2 e o lighttpd podem ser configurados " +"automaticamente." + +#. Type: multiselect +#. Description +#: ../templates:2002 +msgid "" +"Please select the web server(s) that should be configured automatically for " +"RoundCube." +msgstr "" +"Por favor, selecione o(s) servidor(es) web que deve(m) ser configurado(s) " +"automaticamente para o RoundCube." + +#. Type: boolean +#. Description +#: ../templates:3001 +msgid "Should the webserver(s) be restarted now?" +msgstr "O(s) servidor(es) web deve(m) ser reiniciado(s) agora?" + +#. Type: boolean +#. Description +#: ../templates:3001 +msgid "" +"In order to activate the new configuration, the reconfigured web server(s) " +"have to be restarted." +msgstr "" +"Para ativar a nova configuração, o(s) servidor(es) web reconfigurado(s) deve" +"(m) ser reiniciado(s)." + +#. Type: string +#. Description +#: ../templates:4001 +msgid "IMAP server(s) used with RoundCube:" +msgstr "Servidor(es) IMAP usado(s) pelo RoundCube:" + +#. Type: string +#. Description +#: ../templates:4001 +msgid "Please select the IMAP server(s) that should be used with RoundCube." +msgstr "" +"Por favor, selecione o(s) servidor(es) IMAP que deve(m) ser usado(s) com o " +"RoundCube." + +#. Type: string +#. Description +#: ../templates:4001 +msgid "" +"If this is left blank, a text box will be displayed at login. Entering a " +"space-separated list of hosts will display a pull-down menu. Entering a " +"single host will enforce using this host." +msgstr "" +"Se isto for deixado em branco, uma caixa de texto será mostrada no login. " +"Informando uma lista de hosts separados por espaço exibirá um menu suspenso. " +"Informando um único host forçará o uso do mesmo." + +#. Type: string +#. Description +#: ../templates:4001 +msgid "" +"To use SSL connections, please enter host names as 'ssl://hostname:993'." +msgstr "" +"Para usar conexões SSL, por favor, informe os nomes de máquina como: 'ssl://" +"nome-da-máquina:993'." + +#. Type: select +#. Description +#: ../templates:5001 +msgid "Default language:" +msgstr "Idioma padrão:" + +#. Type: select +#. Description +#: ../templates:5001 +msgid "Please choose the default language for RoundCube." +msgstr "Por favor, escolha o idioma padrão para o RoundCube." + +#. Type: select +#. Description +#: ../templates:5001 +msgid "This choice can be overridden by individual users in their preferences." +msgstr "" +"Esta escolha poderá ser sobrescrita por usuários em suas preferências " +"individuais." + +#. Type: select +#. Description +#: ../templates:5001 +msgid "" +"However, the default language will be used for the login screen and the " +"first connection of users." +msgstr "" +"No entanto, o idioma padrão será usado para a tela de login e a primeira " +"conexão dos usuários." diff --git a/debian/po/ru.po b/debian/po/ru.po index 8f75ef2..11a85f6 100644 --- a/debian/po/ru.po +++ b/debian/po/ru.po @@ -12,12 +12,13 @@ msgstr "" "PO-Revision-Date: 2009-05-15 21:20+0400\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" +"Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" -"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. Type: multiselect #. Choices diff --git a/debian/po/sk.po b/debian/po/sk.po index 3d5321a..f9ca1d0 100644 --- a/debian/po/sk.po +++ b/debian/po/sk.po @@ -11,6 +11,7 @@ msgstr "" "PO-Revision-Date: 2008-05-15 17:59+0100\n" "Last-Translator: Ivan Masár \n" "Language-Team: Slovak \n" +"Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/debian/po/sv.po b/debian/po/sv.po index cb5dfa2..dde6862 100644 --- a/debian/po/sv.po +++ b/debian/po/sv.po @@ -11,6 +11,7 @@ msgstr "" "PO-Revision-Date: 2009-02-23 01:41+0100\n" "Last-Translator: Martin Bagge \n" "Language-Team: swedish \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/debian/po/ta.po b/debian/po/ta.po index 38d6322..faec187 100644 --- a/debian/po/ta.po +++ b/debian/po/ta.po @@ -11,6 +11,7 @@ msgstr "" "PO-Revision-Date: 2008-03-07 19:05+0530\n" "Last-Translator: Dr.T.Vasudevan \n" "Language-Team: Tamil \n" +"Language: ta\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/debian/roundcube-core.README.Debian b/debian/roundcube-core.README.Debian index ce57edd..f38c6fd 100644 --- a/debian/roundcube-core.README.Debian +++ b/debian/roundcube-core.README.Debian @@ -1,11 +1,27 @@ +This package ships with configuration files for Apache and +lighttpd. However, it is not possible to cover all cases and you still +need to do some manual steps to adapt the installation to your site +configuration. + +You can uncomment the Alias directives in +`/etc/roundcube/apache.conf'. You can then access your roundcube +installation under `/roundcube' in all virtual hosts. If you want to +create a specific virtual host, just point DocumentRoot to +`/var/lib/roundcube'. + +It is important to keep in mind that the root installation of +roundcube is `/var/lib/roundcube' and not `/usr/share/roundcube'. You +also need to keep the configuration file provided. Otherwise, your +installation will be non functional and insecure. + For better compatibility, the schema used for MySQL is the one targeted at MySQL 4.0, not the one for MySQL 4.1 or MySQL 5.x. To use tinymce editor: - - set $rcmail_config['enable_htmleditor'] to TRUE in + - set $rcmail_config['htmleditor'] to TRUE in /etc/roundcube/main.inc.php No plugins are shipped (except core plugins) with this package of roundcube. Add your plugin in /var/lib/roundcube/plugins. - -- Vincent Bernat , Sun, 27 Sep 2009 10:21:40 +0200 + -- Vincent Bernat , Sat, 10 Jul 2010 18:19:35 +0200 diff --git a/debian/rules b/debian/rules index 9b7dccb..92d44a2 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,6 @@ #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/rules/patchsys-quilt.mk DEB_INSTALL_CHANGELOGS_ALL=CHANGELOG diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)