Version bump.
authorPeter Volkov <pva@gentoo.org>
Sat, 1 Oct 2011 20:29:56 +0000 (20:29 +0000)
committerPeter Volkov <pva@gentoo.org>
Sat, 1 Oct 2011 20:29:56 +0000 (20:29 +0000)
Package-Manager: portage-2.1.10.19/cvs/Linux x86_64

mail-client/roundcube/ChangeLog
mail-client/roundcube/Manifest
mail-client/roundcube/files/postinstall-en-0.6.txt [new file with mode: 0644]
mail-client/roundcube/files/postupgrade-en-0.6.txt [new file with mode: 0644]
mail-client/roundcube/roundcube-0.6.ebuild [new file with mode: 0644]

index 12c95bff511078a0fe6fd78518876f8924ced9e2..35e773ee50cc2d250eef632b953897fd66b8e526 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for mail-client/roundcube
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/roundcube/ChangeLog,v 1.57 2011/08/25 02:47:36 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/roundcube/ChangeLog,v 1.58 2011/10/01 20:29:56 pva Exp $
+
+*roundcube-0.6 (01 Oct 2011)
+
+  01 Oct 2011; Peter Volkov <pva@gentoo.org> +roundcube-0.6.ebuild,
+  +files/postinstall-en-0.6.txt, +files/postupgrade-en-0.6.txt:
+  Version bump.
 
   25 Aug 2011; Tim Harder <radhermit@gentoo.org> -roundcube-0.5.1.ebuild,
   -roundcube-0.5.3.ebuild:
index 32b7a70d7aa3cc8b5e7ba74167efab60eb0aeaaf..43ed9f20b35ddd216067226c20a78fa65e30eff7 100644 (file)
@@ -1,19 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
-
+AUX postinstall-en-0.6.txt 2218 RMD160 e0cf380d6cf04f92bd46cee5e9d02a954bc67f8d SHA1 724f5f01faf7b1970fb6c2e4cfe2badc66db9180 SHA256 f40b5134e13206e0abc325ec28bc0d42d8f233efc0a86304d985845e06377067
 AUX postinstall-en.txt 2513 RMD160 c2a04efcdd4007642221797a10877c2fc57ad874 SHA1 8bc888b2944694bbbadeddfe6f193c3a8a995a87 SHA256 5c1fa9d43f29158521188aae417654f968fb41662c46721b8183728df37eb4c4
+AUX postupgrade-en-0.6.txt 1271 RMD160 756dc86b991a31912c68d504378c009f728dab9d SHA1 83d6143cc81ebe9b277cf1ea7335ac11a6ef078d SHA256 110724101fb7f712fec3e44023d1562de235dee4578acd5be5846bdf2e510c18
 DIST roundcubemail-0.5.4.tar.gz 2291117 RMD160 a1d4ab3f2d8eaf08c6e17457a6430799ba53cde0 SHA1 d3f4155edf9ef276a948d7b004a7be8890524a54 SHA256 8562325c850edd9e83806b21c7bde1480c5d150cc5cb48beb014ef972a201ed5
+DIST roundcubemail-0.6.tar.gz 2681342 RMD160 b33eb13b909d57b89af6609a3cbac3151de236e1 SHA1 304a888554a54817ffcd13c20adc46368d18935a SHA256 18d255c5317b5cbe68fb48494c39b2b3403c0452890f6159d22f876be49051cc
 EBUILD roundcube-0.5.4.ebuild 1957 RMD160 f95f08ffc7e534a179a341cb9b55a5ca08574917 SHA1 d1374e11b6ccfad05e189058622f89b8a50715f1 SHA256 3ea922a6268d18ddf29d1580ad0f3bc13c0776d338e428a85dc2e39d4ff081d9
-MISC ChangeLog 8487 RMD160 ab3a9a6b030e2b443ff8c88b318832cc7a8f4173 SHA1 b62c0554f11caf10eece7b1e57b86516fc5d312b SHA256 01d1b6d827af801cda3b7569d81f5fe224a8def4dcadcddbd56c95b0c8a3581c
+EBUILD roundcube-0.6.ebuild 2348 RMD160 9a2b86e6c9748b4caedf1d99d88ac474bf005484 SHA1 998fbcb66087204e35d135074132243822d59854 SHA256 e9de0ba0979453ae5ad8fa6100eaf95d17bda77dabda88c0fdbe1eb8e257e99a
+MISC ChangeLog 8660 RMD160 806e114be2e37f09a32b508344a59b68fb14e349 SHA1 f1f0e30e5b05891625a2b0761cbb331e151c84e7 SHA256 fd6024e2d9c5008373aec862e32dcba6c9d62afdceb30b44044a7a5e5c94c7da
 MISC metadata.xml 161 RMD160 d47e924599b33a35a50f4c9f5564d325c271f83b SHA1 5b91a6d8d06d3dca2d774425befba30caca51507 SHA256 9cd891fcf0af580e98b62d2f4ded9e53671599f5a7aafd5dce692b996d2a83f4
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
-
-iQEcBAEBCgAGBQJOVbhsAAoJEEqz6FtPBkyjd+oIAICzAryWo3qXyQlFlqeGfjqd
-UVpguVZ1Cyx0ATEFfiRwPaKbKgAWCYD929AAFCpuO/3Fw42FEHH9Aewn8YeqzBOF
-8uT7q4Uslh1aqESAsA6JbdInRfTFLbKfvb+kjILfIL/zyGl2s73cNwLCGhiS+KT/
-vS2vFO+H/9KMkfq0L8QP2ImuyXL00Ti7DXvY3Sfvx+16EEifL7By42NDqVgUJXhk
-aOY+y+Xl0fzXaHdoYCmklOo8xTpbSqN1pCixFg+ADblQGYzorT65ctaJY4YWDjmQ
-wePF77FxHZsvKTGd0k3Z/ABqG0aBCnsqflcLHQwsvlUbbRBkND3duQEnewpD7DU=
-=/eRv
------END PGP SIGNATURE-----
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 (file)
index 0000000..fc9672e
--- /dev/null
@@ -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 (file)
index 0000000..0ee605b
--- /dev/null
@@ -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.
+
diff --git a/mail-client/roundcube/roundcube-0.6.ebuild b/mail-client/roundcube/roundcube-0.6.ebuild
new file mode 100644 (file)
index 0000000..8a61e93
--- /dev/null
@@ -0,0 +1,76 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/roundcube/roundcube-0.6.ebuild,v 1.1 2011/10/01 20:29:56 pva Exp $
+
+EAPI="2"
+
+inherit webapp depend.php
+
+MY_PN="${PN}mail"
+MY_P="${MY_PN}-${PV/_/-}"
+DESCRIPTION="A browser-based multilingual IMAP client with an application-like user interface"
+HOMEPAGE="http://roundcube.net"
+SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
+
+# roundcube is GPL-licensed, the rest of the licenses here are
+# for bundled PEAR components, googiespell and utf8.class.php
+LICENSE="GPL-2 BSD PHP-2.02 PHP-3 MIT public-domain"
+KEYWORDS="~amd64 ~x86"
+IUSE="ldap mysql postgres ssl spell +sqlite"
+
+DEPEND=""
+RDEPEND=">=dev-lang/php-5.3[crypt,iconv,json,ldap?,postgres?,session,sqlite?,sockets,ssl?,xml,unicode]
+       spell? ( dev-lang/php[curl,spell] )
+       >=dev-php/PEAR-MDB2-2.5.0_beta3
+       >=dev-php/PEAR-Mail_Mime-1.8.1
+       >=dev-php/PEAR-Net_SMTP-1.4.2
+       >=dev-php/PEAR-Net_IDNA2-0.1.1
+       >=dev-php/PEAR-Auth_SASL-1.0.3"
+
+need_httpd_cgi
+need_php_httpd
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+       webapp_pkg_setup
+
+       use mysql && require_php_with_any_use mysql mysqli
+
+       # add some warnings about optional functionality
+       if ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external; then
+               ewarn "IMAP quota display will not work correctly without GD support in PHP."
+               ewarn "Recompile PHP with either gd or gd-external in USE if you want this feature."
+               ewarn
+       fi
+}
+
+src_prepare() {
+       cp config/db.inc.php{.dist,} || die
+       cp config/main.inc.php{.dist,} || die
+}
+
+src_install() {
+       webapp_src_preinst
+       dodoc CHANGELOG INSTALL README UPGRADING
+
+       insinto "${MY_HTDOCSDIR}"
+       doins -r [[:lower:]]* SQL
+       doins .htaccess
+
+       webapp_serverowned "${MY_HTDOCSDIR}"/logs
+       webapp_serverowned "${MY_HTDOCSDIR}"/temp
+
+       webapp_configfile "${MY_HTDOCSDIR}"/config/{db,main}.inc.php
+       webapp_postinst_txt en "${FILESDIR}"/postinstall-en-0.6.txt
+       webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en-0.6.txt
+       webapp_postupgrade_txt en UPGRADING
+       webapp_src_install
+}
+
+pkg_postinst() {
+       webapp_pkg_postinst
+       ewarn "When upgrading from version older than 0.6-beta you should make sure your"
+       ewarn "folder settings contain namespace prefix. For example Courier users should"
+       ewarn "add INBOX. prefix to folder names in main configuration file."
+}