From owner-svn-ports-head@FreeBSD.ORG Thu Feb 19 16:12:51 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1C231816; Thu, 19 Feb 2015 16:12:51 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 06DBDA77; Thu, 19 Feb 2015 16:12:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1JGCobM051636; Thu, 19 Feb 2015 16:12:50 GMT (envelope-from ale@FreeBSD.org) Received: (from ale@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1JGCofq051631; Thu, 19 Feb 2015 16:12:50 GMT (envelope-from ale@FreeBSD.org) Message-Id: <201502191612.t1JGCofq051631@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ale set sender to ale@FreeBSD.org using -f From: Alex Dupre Date: Thu, 19 Feb 2015 16:12:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r379350 - in head/mail/roundcube: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2015 16:12:51 -0000 Author: ale Date: Thu Feb 19 16:12:49 2015 New Revision: 379350 URL: https://svnweb.freebsd.org/changeset/ports/379350 QAT: https://qat.redports.org/buildarchive/r379350/ Log: Update to 1.1.0 release. Modified: head/mail/roundcube/Makefile head/mail/roundcube/distinfo head/mail/roundcube/files/patch-INSTALL head/mail/roundcube/files/patch-program_lib_Roundcube_rcube_session.php Modified: head/mail/roundcube/Makefile ============================================================================== --- head/mail/roundcube/Makefile Thu Feb 19 15:59:54 2015 (r379349) +++ head/mail/roundcube/Makefile Thu Feb 19 16:12:49 2015 (r379350) @@ -1,11 +1,11 @@ # $FreeBSD$ PORTNAME= roundcube -DISTVERSION= 1.0.5 +DISTVERSION= 1.1.0 PORTEPOCH= 1 CATEGORIES?= mail www MASTER_SITES= SF/${PORTNAME}mail/${PORTNAME}mail/${DISTVERSION:tu} -DISTNAME= ${PORTNAME}mail-${DISTVERSION} +DISTNAME= ${PORTNAME}mail-${DISTVERSION}-complete MAINTAINER?= ale@FreeBSD.org COMMENT= Fully skinnable XHTML/CSS webmail written in PHP @@ -13,8 +13,9 @@ COMMENT= Fully skinnable XHTML/CSS webma LICENSE= GPLv3 NO_BUILD= yes +WRKSRC= ${WRKDIR}/${PORTNAME}mail-${DISTVERSION} -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 WANT_PHP_WEB= yes Modified: head/mail/roundcube/distinfo ============================================================================== --- head/mail/roundcube/distinfo Thu Feb 19 15:59:54 2015 (r379349) +++ head/mail/roundcube/distinfo Thu Feb 19 16:12:49 2015 (r379350) @@ -1,2 +1,2 @@ -SHA256 (roundcubemail-1.0.5.tar.gz) = 22af84480f2c543884b17c9b0196ed105d2ea7f429bfcc34a6fb7c96dd712792 -SIZE (roundcubemail-1.0.5.tar.gz) = 4056852 +SHA256 (roundcubemail-1.1.0-complete.tar.gz) = e5d85967348263661f31a56e07ee8a91e973e1f13ee552fd5ed42432aedb120d +SIZE (roundcubemail-1.1.0-complete.tar.gz) = 4570117 Modified: head/mail/roundcube/files/patch-INSTALL ============================================================================== --- head/mail/roundcube/files/patch-INSTALL Thu Feb 19 15:59:54 2015 (r379349) +++ head/mail/roundcube/files/patch-INSTALL Thu Feb 19 16:12:49 2015 (r379350) @@ -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: head/mail/roundcube/files/patch-program_lib_Roundcube_rcube_session.php ============================================================================== --- head/mail/roundcube/files/patch-program_lib_Roundcube_rcube_session.php Thu Feb 19 15:59:54 2015 (r379349) +++ head/mail/roundcube/files/patch-program_lib_Roundcube_rcube_session.php Thu Feb 19 16:12:49 2015 (r379350) @@ -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,23 +25,23 @@ + $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); } 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()); }