[Midnightbsd-cvs] mports [20589] trunk/mail/roundcube: roundcube 1.1.2
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Oct 31 14:24:00 EDT 2015
Revision: 20589
http://svnweb.midnightbsd.org/mports/?rev=20589
Author: laffer1
Date: 2015-10-31 14:24:00 -0400 (Sat, 31 Oct 2015)
Log Message:
-----------
roundcube 1.1.2
Modified Paths:
--------------
trunk/mail/roundcube/Makefile
trunk/mail/roundcube/distinfo
trunk/mail/roundcube/files/patch-INSTALL
trunk/mail/roundcube/files/patch-program_lib_Roundcube_rcube_session.php
Modified: trunk/mail/roundcube/Makefile
===================================================================
--- trunk/mail/roundcube/Makefile 2015-10-31 18:18:58 UTC (rev 20588)
+++ trunk/mail/roundcube/Makefile 2015-10-31 18:24:00 UTC (rev 20589)
@@ -1,10 +1,12 @@
+# $MidnightBSD$
# $FreeBSD: head/mail/roundcube/Makefile 369697 2014-10-01 07:13:26Z ale $
PORTNAME= roundcube
-DISTVERSION= 1.0.3
+DISTVERSION= 1.1.2
+PORTEPOCH= 1
CATEGORIES?= mail www
MASTER_SITES= SF/${PORTNAME}mail/${PORTNAME}mail/${DISTVERSION:tu}
-DISTNAME= ${PORTNAME}mail-${DISTVERSION}
+DISTNAME= ${PORTNAME}mail-${DISTVERSION}-complete
MAINTAINER?= ports at MidnightBSD.org
COMMENT= Fully skinnable XHTML/CSS webmail written in PHP
@@ -11,11 +13,17 @@
LICENSE= gpl3
+WRKSRC= ${WRKDIR}/roundcubemail-1.1.2
+
NO_BUILD= yes
-RCUBECOMP= SQL config index.php installer logs plugins program robots.txt skins temp
+RCUBECOMP= SQL config index.php installer logs plugins program robots.txt skins temp vendor
PORTDOCS= CHANGELOG INSTALL README.md UPGRADING
+USES= cpe
+CPE_PRODUCT= webmail
+CPE_VENDOR= roundcube
+
WANT_PHP_WEB= yes
USE_PHP= pcre mbstring session iconv dom xml json intl zip filter
IGNORE_WITH_PHP=52
Modified: trunk/mail/roundcube/distinfo
===================================================================
--- trunk/mail/roundcube/distinfo 2015-10-31 18:18:58 UTC (rev 20588)
+++ trunk/mail/roundcube/distinfo 2015-10-31 18:24:00 UTC (rev 20589)
@@ -1,2 +1,2 @@
-SHA256 (roundcubemail-1.0.3.tar.gz) = 8840bb6c1b08d35eeb35dff5e8d40f7771d19bae8cb65d13753f71a538f9a9ca
-SIZE (roundcubemail-1.0.3.tar.gz) = 3984245
+SHA256 (roundcubemail-1.1.2-complete.tar.gz) = 237afc9807291efd7c3550c83ca82677a9af72855b6f48733d9e55d6d84fdae1
+SIZE (roundcubemail-1.1.2-complete.tar.gz) = 4599935
Modified: trunk/mail/roundcube/files/patch-INSTALL
===================================================================
--- trunk/mail/roundcube/files/patch-INSTALL 2015-10-31 18:18:58 UTC (rev 20588)
+++ trunk/mail/roundcube/files/patch-INSTALL 2015-10-31 18:24:00 UTC (rev 20589)
@@ -1,10 +1,10 @@
---- INSTALL.orig 2010-12-13 17:37:36.000000000 +0100
-+++ INSTALL 2010-12-13 17:37:44.000000000 +0100
-@@ -25,7 +25,6 @@
+--- INSTALL.orig 2015-02-08 13:43:29.000000000 +0000
++++ INSTALL 2015-02-19 12:22:34.259436291 +0000
+@@ -29,7 +29,6 @@
+ - 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
- * PHP compiled with OpenSSL to connect to IMAPS and to use the spell checker
- * A MySQL (4.0.8 or newer), PostgreSQL, MSSQL database engine
+ - magic_quotes_runtime disabled
+ - magic_quotes_sybase disabled
Modified: trunk/mail/roundcube/files/patch-program_lib_Roundcube_rcube_session.php
===================================================================
--- trunk/mail/roundcube/files/patch-program_lib_Roundcube_rcube_session.php 2015-10-31 18:18:58 UTC (rev 20588)
+++ trunk/mail/roundcube/files/patch-program_lib_Roundcube_rcube_session.php 2015-10-31 18:24:00 UTC (rev 20589)
@@ -1,5 +1,5 @@
---- program/lib/Roundcube/rcube_session.php.orig 2014-04-06 14:13:10.000000000 +0000
-+++ program/lib/Roundcube/rcube_session.php 2014-04-10 09:21:36.955091803 +0000
+--- program/lib/Roundcube/rcube_session.php.orig 2015-02-08 13:43:28.000000000 +0000
++++ program/lib/Roundcube/rcube_session.php 2015-02-19 13:43:29.477065794 +0000
@@ -35,7 +35,6 @@
private $time_diff = 0;
private $reloaded = false;
@@ -8,7 +8,7 @@
private $gc_handlers = array();
private $cookiename = 'roundcube_sessauth';
private $vars;
-@@ -176,7 +175,7 @@
+@@ -184,7 +183,7 @@
$this->time_diff = time() - strtotime($sql_arr['ts']);
$this->changed = strtotime($sql_arr['changed']);
$this->ip = $sql_arr['ip'];
@@ -17,7 +17,7 @@
$this->key = $key;
return !empty($this->vars) ? (string) $this->vars : '';
-@@ -214,12 +213,12 @@
+@@ -224,12 +223,12 @@
}
if ($oldvars !== null) {
@@ -25,16 +25,16 @@
+ $newvars = $vars;
if ($newvars !== $oldvars) {
- $this->db->query("UPDATE $table "
- . "SET changed = $now, vars = ? WHERE sess_id = ?",
+ $this->db->query("UPDATE {$this->table_name} "
+ . "SET `changed` = $now, `vars` = ? WHERE `sess_id` = ?",
- base64_encode($newvars), $key);
+ $newvars, $key);
}
else if ($ts - $this->changed + $this->time_diff > $this->lifetime / 2) {
- $this->db->query("UPDATE $table SET changed = $now"
-@@ -229,7 +228,7 @@
- else {
- $this->db->query("INSERT INTO $table (sess_id, vars, ip, created, changed)"
+ $this->db->query("UPDATE {$this->table_name} SET `changed` = $now"
+@@ -240,7 +239,7 @@
+ $this->db->query("INSERT INTO {$this->table_name}"
+ . " (`sess_id`, `vars`, `ip`, `created`, `changed`)"
. " VALUES (?, ?, ?, $now, $now)",
- $key, base64_encode($vars), (string)$this->ip);
+ $key, $vars, (string)$this->ip);
@@ -41,7 +41,7 @@
}
return true;
-@@ -237,40 +236,6 @@
+@@ -248,40 +247,6 @@
/**
@@ -82,7 +82,7 @@
* Handler for session_destroy()
*
* @param string Session ID
-@@ -332,7 +297,7 @@
+@@ -342,7 +307,7 @@
else // else read data again
$oldvars = $this->mc_read($key);
@@ -91,7 +91,7 @@
if ($newvars !== $oldvars || $ts - $this->changed > $this->lifetime / 3) {
return $this->memcache->set($key, serialize(array('changed' => time(), 'ip' => $this->ip, 'vars' => $newvars)),
-@@ -470,8 +435,6 @@
+@@ -480,8 +445,6 @@
return $this->destroy(session_id());
}
More information about the Midnightbsd-cvs
mailing list