Update to Roundcube 0.9.

Note that database access is now done via PDO, and that for users of
SQLite this requires a change to sqlite3 - see the package readme for
update instructions.
This commit is contained in:
sthen 2013-04-16 13:37:22 +00:00
parent fca64ec321
commit 6e2e171cbc
6 changed files with 379 additions and 169 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.63 2013/03/27 22:38:12 sthen Exp $
# $OpenBSD: Makefile,v 1.64 2013/04/16 13:37:22 sthen Exp $
COMMENT= imap4 webmail client
DISTNAME= roundcubemail-0.8.6
DISTNAME= roundcubemail-0.9.0
PKGNAME= ${DISTNAME:S/-rc/rc/}
CATEGORIES= mail www
HOMEPAGE= http://www.roundcube.net/
@ -26,8 +27,7 @@ SUBST_VARS= INSTDIR TINSTDIR
MODULES= lang/php
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-mcrypt \
lang/php/${MODPHP_VERSION},-pspell \
sysutils/pecl-fileinfo \
php-mysql-${MODPHP_VSPEC}|php-pgsql-${MODPHP_VSPEC}|php-sqlite-${MODPHP_VSPEC}:lang/php/${MODPHP_VERSION},-sqlite
sysutils/pecl-fileinfo
do-configure:
perl -pi -e '$$. == 1 && s,^#!.*env.*php.*,#!${MODPHP_BIN},;' \

View File

@ -1,2 +1,2 @@
SHA256 (roundcubemail-0.8.6.tar.gz) = iBKNsNxXZR4IvrPEgRvJ4zrKHDmlDPye+10UsLqhdwQ=
SIZE (roundcubemail-0.8.6.tar.gz) = 3724565
SHA256 (roundcubemail-0.9.0.tar.gz) = ftq5V5zSpjU8MN4/z8htojHwpG961M5wcJCBMXP2YsI=
SIZE (roundcubemail-0.9.0.tar.gz) = 3711615

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-config_main_inc_php_dist,v 1.19 2013/01/26 14:36:16 sthen Exp $
--- config/main.inc.php.dist.orig Fri Jan 25 17:00:48 2013
+++ config/main.inc.php.dist Sat Jan 26 14:27:03 2013
@@ -458,7 +458,7 @@ $rcmail_config['spellcheck_dictionary'] = false;
$OpenBSD: patch-config_main_inc_php_dist,v 1.20 2013/04/16 13:37:23 sthen Exp $
--- config/main.inc.php.dist.orig Wed Mar 27 20:31:58 2013
+++ config/main.inc.php.dist Thu Apr 11 16:25:49 2013
@@ -489,7 +489,7 @@ $rcmail_config['spellcheck_dictionary'] = false;
// 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.

View File

@ -1,13 +0,0 @@
$OpenBSD: patch-plugins_managesieve_config_inc_php_dist,v 1.2 2013/01/26 14:36:16 sthen Exp $
--- plugins/managesieve/config.inc.php.dist.orig Fri Jan 25 17:00:48 2013
+++ plugins/managesieve/config.inc.php.dist Sat Jan 26 14:27:03 2013
@@ -1,7 +1,8 @@
<?php
// managesieve server port
-$rcmail_config['managesieve_port'] = 2000;
+// 4190: IETF standard. 2000: deprecated but in common use.
+$rcmail_config['managesieve_port'] = 4190;
// managesieve server address, default is localhost.
// Replacement variables supported in host name:

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,28 @@
$OpenBSD: README,v 1.1 2012/01/19 13:53:48 sthen Exp $
$OpenBSD: README,v 1.2 2013/04/16 13:37:23 sthen Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------
Standard Roundcube installation/upgrade
=======================================
See ${INSTDIR}/INSTALL and ${INSTDIR}/UPGRADING
for more information.
If upgrading from a version before 0.9, note that database access is now
done via PDO.
If you are using MySQL or PostgreSQL you will need to ensure that the
relevant package (php-pdo_mysql or php-pdo_pgsql) is installed and
enabled. If you are using SQLite, you will need to convert the
database from sqlite2 to sqlite3, for example (adjusting filenames
if necessary):
# cd /var/www/roundcubemail/db
# mv sqlite.db old_sqlite.db
# sqlite old_sqlite.db .dump | sqlite3 sqlite.db
Setup with httpd from OpenBSD base system
=========================================
With Apache, AllowOverride settings are required on the ${INSTDIR}
@ -13,6 +32,7 @@ directory. You can configure this as follows:
${PREFIX}/conf/modules
# /etc/rc.d/httpd restart
Setup with other web servers
============================
Review the .htaccess files as you may need to use them as a template to
@ -28,8 +48,3 @@ call if you want to check.
If this is not present it will need adding as a FastCGI parameter.
For nginx, you can do this by setting 'fastcgi_param HTTPS on' in the
appropriate location{} block for HTTPS.
Standard Roundcube installation/upgrade
=======================================
See ${INSTDIR}/INSTALL and ${INSTDIR}/UPGRADING
for more information.