summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2011-10-01 20:29:56 +0000
committerPeter Volkov <pva@gentoo.org>2011-10-01 20:29:56 +0000
commit8489b5a8f92879b4db432c24a83b92269d1943f3 (patch)
tree800ecb8b4f81ab1cc339fdf8d05fe503d16a9d73 /mail-client/roundcube/files
parentVersion bump. (diff)
downloadgentoo-2-8489b5a8f92879b4db432c24a83b92269d1943f3.tar.gz
gentoo-2-8489b5a8f92879b4db432c24a83b92269d1943f3.tar.bz2
gentoo-2-8489b5a8f92879b4db432c24a83b92269d1943f3.zip
Version bump.
(Portage version: 2.1.10.19/cvs/Linux x86_64)
Diffstat (limited to 'mail-client/roundcube/files')
-rw-r--r--mail-client/roundcube/files/postinstall-en-0.6.txt73
-rw-r--r--mail-client/roundcube/files/postupgrade-en-0.6.txt41
2 files changed, 114 insertions, 0 deletions
diff --git a/mail-client/roundcube/files/postinstall-en-0.6.txt b/mail-client/roundcube/files/postinstall-en-0.6.txt
new file mode 100644
index 000000000000..fc9672e909fa
--- /dev/null
+++ b/mail-client/roundcube/files/postinstall-en-0.6.txt
@@ -0,0 +1,73 @@
+0. DATABASE SETUP
+
+* MySQL
+-------
+
+For MySQL it's recommended to create the database for RoundCube with utf-8
+charset. Here's an example of the init procedure:
+
+# mysql
+> CREATE DATABASE roundcubemail DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
+> GRANT ALL PRIVILEGES ON roundcubemail.* TO roundcube@localhost
+ IDENTIFIED BY 'password';
+> quit
+
+# mysql roundcubemail < ${MY_INSTALLDIR}/SQL/mysql.initial.sql
+
+* SQLite
+--------
+Here is an example how you can setup the sqlite.db for roundcube:
+
+# sqlite -init SQL/sqlite.initial.sql sqlite.db
+
+Make sure your configuration points to the sqlite.db file and that the
+webserver can write to the file and the directory containing the file.
+
+* PostgreSQL
+------------
+To use RoundCube with PostgreSQL support you have to follow these
+simple steps, which have to be done as the postgres system user (or
+which ever is the database superuser):
+
+$ createuser roundcube
+$ createdb -O roundcube roundcubemail
+$ psql roundcubemail
+
+roundcubemail =# ALTER USER roundcube WITH PASSWORD 'the_new_password';
+roundcubemail =# \c - roundcube
+roundcubemail => \i ${MY_INSTALLDIR}/SQL/postgres.initial.sql
+
+
+1. ROUNDCUBE CONFIGURATION
+
+Modify the files in ${MY_INSTALLDIR}/config/* to suit your local environment
+
+Details about the config parameters can be found in the config files.
+See http://trac.roundcube.net/wiki/Howto_Install for even more guidance.
+
+
+2. PHP CONFIGURATION
+
+ - error_reporting E_ALL & ~E_NOTICE (or lower)
+ - memory_limit > 16MB (increase as suitable to support large attachments)
+ - file_uploads enabled (for attachment upload features)
+ - session.auto_start disabled
+ - zend.ze1_compatibility_mode disabled
+ - suhosin.session.encrypt disabled
+ - mbstring.func_overload disabled
+ - magic_quotes_runtime disabled
+
+
+3. WEBSERVER CONFIGURATION
+
+Access through your webserver to at least the following directories should be denied:
+
+ * /conf
+ * /temp
+ * /logs
+
+Roundcube uses .htaccess files to protect these directories if you are using Apache;
+be sure to allow override of the Limit directives to get them taken into account.
+
+If you are NOT using Apache, it is your responsibility to take care of the above as
+needed by your webserver.
diff --git a/mail-client/roundcube/files/postupgrade-en-0.6.txt b/mail-client/roundcube/files/postupgrade-en-0.6.txt
new file mode 100644
index 000000000000..0ee605b0bb64
--- /dev/null
+++ b/mail-client/roundcube/files/postupgrade-en-0.6.txt
@@ -0,0 +1,41 @@
+Upgrade instructions for roundcube
+----------------------------------
+
+* Web browser instructions
+
+1. temporary set 'enable_installer' to true in your local config/main.inc.php
+file.
+
+2. in your browser open
+http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/installer/
+and choose "3 Test config".
+
+3. Let the update script/installer check your configuration and update your
+config files and database schema as suggested by the updater.
+
+4. Make sure 'enable_installer' is set to false again.
+
+* Alternative update
+
+As an alternative to procedure outlined in "Web browser instructions" to
+execute:
+ $ cd ${MY_SERVERCONFIGDIR}/bin
+ $ chmod +x bin/*.sh
+ $ ./bin/update.sh
+ $ chmod -x bin/*.sh
+This will check your configuration and update your config files and database
+schema as suggested by the updater.
+
+
+* Post-Upgrade Activities
+
+1. Check .htaccess settings (some php settings could become required)
+2. If you're using build-in addressbook, run indexing script
+ $ cd ${MY_SERVERCONFIGDIR}/bin
+ $ chmod +x bin/*.sh
+ $ ./bin/indexcontacts.sh.
+ $ chmod -x bin/*.sh
+3. When upgrading from version older than 0.6-beta you should make sure your
+folder settings contain namespace prefix. For example Courier users should add
+INBOX. prefix to folder names in main configuration file.
+