[gentoo-commits] repo/gentoo:master commit in: mail-client/roundcube/, mail-client/roundcube/files/

2020-07-28 Thread Sam James
commit: 459a41c99baf3612d50ae11d0a66dd871e9e9e97
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 29 00:19:25 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 29 00:19:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=459a41c9

mail-client/roundcube: security cleanup

Bug: https://bugs.gentoo.org/726944
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 mail-client/roundcube/Manifest |   2 -
 .../roundcube-1.3.7-pear-removed-installed.json| 226 -
 mail-client/roundcube/metadata.xml |   3 -
 mail-client/roundcube/roundcube-1.3.11.ebuild  |  97 -
 mail-client/roundcube/roundcube-1.4.4.ebuild   |  73 ---
 5 files changed, 401 deletions(-)

diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest
index b4f589fdd4f..d7076af2247 100644
--- a/mail-client/roundcube/Manifest
+++ b/mail-client/roundcube/Manifest
@@ -1,4 +1,2 @@
-DIST roundcubemail-1.3.11-complete.tar.gz 5492078 BLAKE2B 
465d2ecf842c7393bc0bdf8b43d5e63b58e25ea360c1a8c93ccda8b350642dec34512090469720083d30212a31c3d9d7d56aa7df55cae167154bea96cdd19dc3
 SHA512 
5eb200b58bb289af7432c685eb1feaa2f8fbea56413efd05cf7cf9a4369551d889200b583f04c01c092d8d4c551151fe1051fbe901b02fa2fb26f7ade1c571a2
-DIST roundcubemail-1.4.4-complete.tar.gz 7029864 BLAKE2B 
2a6764a65c29e3deac6275c3dfd19ab2bee1f33ae1a7767561fcac25688bb8f3f7eeaee3eece20d2a6210aff18a5e493d0be709f4a3ae2ad4f3cfd9a1b124f06
 SHA512 
ddea321b5266c547f67c010147e9aa1457bea4802bec37f9e9d87e691bdc8df27f5c90cff8770de2458822160b85f7359f62742072ae1d642a040b9d88651519
 DIST roundcubemail-1.4.6-complete.tar.gz 7031573 BLAKE2B 
541147faeb2fafbf15fd3a4f42a5ecbb642113f02ea9135c91d3b359ec4582e490b80b2e20efa1f6afe8c35e5afe2263682a717a5342198a9eabb7e555e302bb
 SHA512 
e86763ced58cfa8174f71d33ae45cd62f26a58853b9361b83fa5bf883a4106c957f66b6b17b03172a3ee595ca74d7c19ac38e449a23377defd77cf555742
 DIST roundcubemail-1.4.7-complete.tar.gz 7031947 BLAKE2B 
eec5295c68b7b8f7a652bc6e4ddbb56fbf68e9d1fc01ed75ac8ec33434f299b02e46a8b7f21c56e87ebf9cb0ffa8d105e5e3d9fbcaaab26844c7ed439908bea4
 SHA512 
d668075c1fb1ac48931a82ca67b4ebeed6f1d1e82a336901f79967cb2eb91979fc7bb46d4895558f8e64f89f963002efc7c1ad23b93c52a252ce1a7aa04b678a

diff --git 
a/mail-client/roundcube/files/roundcube-1.3.7-pear-removed-installed.json 
b/mail-client/roundcube/files/roundcube-1.3.7-pear-removed-installed.json
deleted file mode 100644
index 972f5e2beab..000
--- a/mail-client/roundcube/files/roundcube-1.3.7-pear-removed-installed.json
+++ /dev/null
@@ -1,226 +0,0 @@
-[
-{
-"name": "composer/semver",
-"version": "1.4.2",
-"version_normalized": "1.4.2.0",
-"source": {
-"type": "git",
-"url": "https://github.com/composer/semver.git;,
-"reference": "c7cb9a2095a074d131b65a8a0cd294479d785573"
-},
-"dist": {
-"type": "zip",
-"url": 
"https://api.github.com/repos/composer/semver/zipball/c7cb9a2095a074d131b65a8a0cd294479d785573;,
-"reference": "c7cb9a2095a074d131b65a8a0cd294479d785573",
-"shasum": ""
-},
-"require": {
-"php": "^5.3.2 || ^7.0"
-},
-"require-dev": {
-"phpunit/phpunit": "^4.5 || ^5.0.5",
-"phpunit/phpunit-mock-objects": "2.3.0 || ^3.0"
-},
-"time": "2016-08-30T16:08:34+00:00",
-"type": "library",
-"extra": {
-"branch-alias": {
-"dev-master": "1.x-dev"
-}
-},
-"installation-source": "dist",
-"autoload": {
-"psr-4": {
-"Composer\\Semver\\": "src"
-}
-},
-"notification-url": "https://packagist.org/downloads/;,
-"license": [
-"MIT"
-],
-"authors": [
-{
-"name": "Nils Adermann",
-"email": "nader...@naderman.de",
-"homepage": "http://www.naderman.de;
-},
-{
-"name": "Jordi Boggiano",
-"email": "j.boggi...@seld.be",
-"homepage": "http://seld.be;
-},
-{
-"name": "Rob Bast",
-"email": "rob.b...@gmail.com",
-"homepage": "http://robbast.nl;
-}
-],
-"description": "Semver library that offers utilities, version 
constraint parsing and validation.",
-"keywords": [
-"semantic",
-"semver",
-"validation",
-"versioning"
-]
-},
-{
-"name": "endroid/qr-code",
-"version": "1.6.6",
-"version_normalized": "1.6.6.0",
-"source": {
-"type": "git",
-"url": "https://github.com/endroid/qr-code.git;,
-"reference": 

[gentoo-commits] repo/gentoo:master commit in: mail-client/roundcube/, mail-client/roundcube/files/

2019-11-17 Thread Aaron W. Swenson
commit: 61645355beb2e5a8b070ce14c84c25b882145290
Author: Philippe Chaintreuil  parallaxshift  com>
AuthorDate: Fri Feb  8 00:57:19 2019 +
Commit: Aaron W. Swenson  gentoo  org>
CommitDate: Sun Nov 17 22:26:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61645355

mail-client/roundcube: 1.4.0 version bump

 - Embrace upstream's complete-dist, which includes PEAR, etc
   dependancies as compsoser would have installed them.  We just seem
   like we cannot keep up with the needed dependency ebuilds.
 - Removes use flags which aren't needed due to complete-dist.
 - Adds ${MY_PV} which adjusts for gentoo vs upstream formatting of
   _rc1/_beta/etc.

Closes: https://bugs.gentoo.org/666718
Closes: https://github.com/gentoo/gentoo/pull/13662
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Philippe Chaintreuil  parallaxshift.com>
Closes: https://github.com/gentoo/gentoo/pull/13662
Signed-off-by: Aaron W. Swenson  gentoo.org>

 mail-client/roundcube/Manifest |  1 +
 .../roundcube/files/POST-UPGRADE_complete.txt  | 19 ++
 mail-client/roundcube/roundcube-1.4.0.ebuild   | 73 ++
 3 files changed, 93 insertions(+)

diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest
index caa51bca2d7..3321c524c97 100644
--- a/mail-client/roundcube/Manifest
+++ b/mail-client/roundcube/Manifest
@@ -1,3 +1,4 @@
 DIST roundcubemail-1.3.10-complete.tar.gz 5495189 BLAKE2B 
d2b6d7ac28fc609ab3d7275019796c73859a4ecdbbe17018c8ed9d1c702a1563e59429bfb47d9878869d7948ed1051c4a9caaac0d83b26b0a88e293e31bb27d6
 SHA512 
8fffa16abda87d29081d1afedbf1d9e4862b8b1864785101d422e62048ca7f365c3708e8a76b4a37f716109230943bb9f03a5faa0cf3c3963fa5454207e00c49
 DIST roundcubemail-1.3.8-complete.tar.gz 5534385 BLAKE2B 
2f0cb528d0901d267c74d57baa18d1f057fdd2eb0f872f3cef1053847861998f8c6551fc17506ae365086ed1f86c3ee9e73a96adb2e43c6c32025e7afaf63710
 SHA512 
34dc9205cd93be6d6551086f4d22654dad7213b4b09000dc4def08357acdc634744ce1f560144a3d3b46e936258e90482e77fc4c691a55c205bcfdfe3745441e
 DIST roundcubemail-1.3.9-complete.tar.gz 5521697 BLAKE2B 
4689bb43ff02b99a9b2b06d6370a5dce0ec4eca4e4da2a74e33e77ec74ec14bf22b6bab415c8b5fde9bd76bfaed87f183a8979edb353da3ed947f9bfdb0ecb15
 SHA512 
42ae9b772272b3e82476beeeb0fc5a909fb07ed0bfbdb655627b1e31da1c292f67f5a305452de31b2d60fe5905bcacabd6874dea394a9b0fd66b7921d73500ac
+DIST roundcubemail-1.4.0-complete.tar.gz 6997256 BLAKE2B 
b19a2d049512ceb53b3844f4680ed061044d2d142bef322c067b381e3be57ecb3181cac4f2492a162da1417fefb4028c36d34dae4bf9064c97568f681bd0c78b
 SHA512 
274372793f1f3af761702f8972f6360f8c8e64a705ff96f1432f6a520d24c9ca0e8ccc3933f26433f1c864bd6c381066fc9eb48bf97e9497b4cbff855412d811

diff --git a/mail-client/roundcube/files/POST-UPGRADE_complete.txt 
b/mail-client/roundcube/files/POST-UPGRADE_complete.txt
new file mode 100644
index 000..36124f31b61
--- /dev/null
+++ b/mail-client/roundcube/files/POST-UPGRADE_complete.txt
@@ -0,0 +1,19 @@
+Post-Upgrade Activities
+---
+1. Check .htaccess settings (some php settings could become required)
+2. If you're using the built-in addressbook, run indexing script:
+   ./bin/indexcontacts.sh.
+3. When upgrading from version older than 0.6-beta you should make sure your
+   folder settings contain a namespace prefix if necessary. For example Courier
+   users should add “INBOX.” prefix to folder names in main configuration file.
+4. Check system requirements in INSTALL file.
+5. Update your database and configurations by running:
+   ./bin/update.sh
+
+SQLite database upgrade
+---
+Versions older than 0.9 were supporting SQLite v2 only. Newer versions require
+database in v3 format. The best what you can do is to convert database file
+to the new format using command line tools:
+
+sqlite OLD.DB .dump | sqlite3 NEW.DB

diff --git a/mail-client/roundcube/roundcube-1.4.0.ebuild 
b/mail-client/roundcube/roundcube-1.4.0.ebuild
new file mode 100644
index 000..e503aac3082
--- /dev/null
+++ b/mail-client/roundcube/roundcube-1.4.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit webapp
+
+MY_PN=${PN}mail
+MY_PV=${PV/_/-}
+MY_P=${MY_PN}-${MY_PV}
+
+DESCRIPTION="A browser-based multilingual IMAP client with an application-like 
user interface"
+HOMEPAGE="https://roundcube.net;
+SRC_URI="https://github.com/${PN}/${MY_PN}/releases/download/${MY_PV}/${MY_P}-complete.tar.gz;
+
+# roundcube is GPL-licensed, the rest of the licenses here are
+# for bundled PEAR components, googiespell and utf8.class.php
+LICENSE="GPL-3 BSD PHP-2.02 PHP-3 MIT public-domain"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
+IUSE="change-password enigma ldap mysql postgres sqlite ssl spell"
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+# this function only sets DEPEND so we need to include that in RDEPEND
+need_httpd_cgi
+

[gentoo-commits] repo/gentoo:master commit in: mail-client/roundcube/, mail-client/roundcube/files/

2018-08-06 Thread Aaron Swenson
commit: 8a08aac2e6dcf35ebdabcc3bc42ed24dd064a1f1
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Mon Aug  6 12:24:28 2018 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Mon Aug  6 12:24:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a08aac2

mail-client/roundcube: Bump to 1.3.7

Bump to 1.3.7 which addresses EFAIL
(https://github.com/roundcube/roundcubemail/issues/6289). (Bug 662716)

Add an elog statement that gives the location of the post-upgrade
instructions in case the Roundcube update gets buried among many
others. (Bug 462250)

Make dev-php/PEAR-Net_Socket an optional module, and remove redundant
dependencies. (Bug 650792)

Remove references to PEAR modules. (Bug 650910)

Update POST-INSTALL as step 7 is no longer required since we’re using
the complete tarball. (Bug 650912)

Bug: https://bugs.gentoo.org/462250
Bug: https://bugs.gentoo.org/650792
Bug: https://bugs.gentoo.org/650910
Bug: https://bugs.gentoo.org/650912
Closes: https://bugs.gentoo.org/662716
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 mail-client/roundcube/Manifest |   1 +
 mail-client/roundcube/files/POST-UPGRADE.txt   |   2 -
 .../roundcube-1.3.7-pear-removed-installed.json| 226 +
 mail-client/roundcube/metadata.xml |   3 +
 mail-client/roundcube/roundcube-1.3.7.ebuild   |  96 +
 5 files changed, 326 insertions(+), 2 deletions(-)

diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest
index ae44e207489..a37da701442 100644
--- a/mail-client/roundcube/Manifest
+++ b/mail-client/roundcube/Manifest
@@ -1 +1,2 @@
 DIST roundcubemail-1.3.6-complete.tar.gz 5529370 BLAKE2B 
49fd04d81b7047c61d33007b49aff2fe8d68fb0572d305b51aa0ae997c06e4924a3ff32861c19741f0c4d82adb9abb317781de8c1b324120e57d77f413cfa480
 SHA512 
fc1627d4b539742524c43b3faaa8cb5d64f934ad03f7cf8a461580a3a38dccb11140d08499b988742a0892534b1eda52f37a50f0911015983b6e27703294c70e
+DIST roundcubemail-1.3.7-complete.tar.gz 5533537 BLAKE2B 
48d0c8e50d3d4878fa901bde40791bd9f6b11498f1acfed798bdd889817dc58baeec1985ad67b82326b48428f08b40730f301d2383df5a8700cf89bd31c01c0f
 SHA512 
2e6c1e94866750835d843b4f4ea77148e467dfbee3a15e20bd7c9086c11ad9919f0ddc6097c40cacfcdbc2ceacf2f6fb1b7e8546a7fcb9f20d0e5bf84283d724

diff --git a/mail-client/roundcube/files/POST-UPGRADE.txt 
b/mail-client/roundcube/files/POST-UPGRADE.txt
index 785b8319a6c..82b48d70f26 100644
--- a/mail-client/roundcube/files/POST-UPGRADE.txt
+++ b/mail-client/roundcube/files/POST-UPGRADE.txt
@@ -13,8 +13,6 @@ Post-Upgrade Activities
php composer.phar update --no-dev
 6. Update your database and configurations by running:
./bin/update.sh
-7. Update the cached javascript libraries by running:
-   ./bin/install-jsdeps.sh
 
 SQLite database upgrade
 ---

diff --git 
a/mail-client/roundcube/files/roundcube-1.3.7-pear-removed-installed.json 
b/mail-client/roundcube/files/roundcube-1.3.7-pear-removed-installed.json
new file mode 100644
index 000..972f5e2beab
--- /dev/null
+++ b/mail-client/roundcube/files/roundcube-1.3.7-pear-removed-installed.json
@@ -0,0 +1,226 @@
+[
+{
+"name": "composer/semver",
+"version": "1.4.2",
+"version_normalized": "1.4.2.0",
+"source": {
+"type": "git",
+"url": "https://github.com/composer/semver.git;,
+"reference": "c7cb9a2095a074d131b65a8a0cd294479d785573"
+},
+"dist": {
+"type": "zip",
+"url": 
"https://api.github.com/repos/composer/semver/zipball/c7cb9a2095a074d131b65a8a0cd294479d785573;,
+"reference": "c7cb9a2095a074d131b65a8a0cd294479d785573",
+"shasum": ""
+},
+"require": {
+"php": "^5.3.2 || ^7.0"
+},
+"require-dev": {
+"phpunit/phpunit": "^4.5 || ^5.0.5",
+"phpunit/phpunit-mock-objects": "2.3.0 || ^3.0"
+},
+"time": "2016-08-30T16:08:34+00:00",
+"type": "library",
+"extra": {
+"branch-alias": {
+"dev-master": "1.x-dev"
+}
+},
+"installation-source": "dist",
+"autoload": {
+"psr-4": {
+"Composer\\Semver\\": "src"
+}
+},
+"notification-url": "https://packagist.org/downloads/;,
+"license": [
+"MIT"
+],
+"authors": [
+{
+"name": "Nils Adermann",
+"email": "nader...@naderman.de",
+"homepage": "http://www.naderman.de;
+},
+{
+"name": "Jordi Boggiano",
+"email": "j.boggi...@seld.be",
+"homepage": "http://seld.be;
+},
+{
+"name": "Rob Bast",
+"email": "rob.b...@gmail.com",
+"homepage": "http://robbast.nl;
+}
+],
+ 

[gentoo-commits] repo/gentoo:master commit in: mail-client/roundcube/, mail-client/roundcube/files/

2017-07-07 Thread Aaron Swenson
commit: 5599dd22b8e0f2ee1108744194c4cd8859473f06
Author: Philippe Chaintreuil  parallaxshift  com>
AuthorDate: Sun Jul  2 18:33:17 2017 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Fri Jul  7 14:51:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5599dd22

mail-client/roundcube: New 1.3.0 ebuild

 - Increase deps versions
 - Add warnings about needing to run ./bin/install-jsdeps.sh post
   install or upgrade to pkg_postinstall and POST-UPGRADE.txt
 - Mask all arches
 - Add :TODO: note about missing qrcode ebuild dep

Package-Manager: Portage-2.3.6, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/5031

Signed-off-by: Aaron W. Swenson  gentoo.org>

 mail-client/roundcube/Manifest   |  1 +
 mail-client/roundcube/files/POST-UPGRADE.txt |  2 +
 mail-client/roundcube/roundcube-1.3.0.ebuild | 81 
 3 files changed, 84 insertions(+)

diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest
index 1d0c536a930..17e061d5253 100644
--- a/mail-client/roundcube/Manifest
+++ b/mail-client/roundcube/Manifest
@@ -1 +1,2 @@
 DIST roundcubemail-1.2.5.tar.gz 3602701 SHA256 
9c4d65951cc636d0e2e2296bfdf55fb53e23a4611fa96f17fb5d354db91bec38 SHA512 
8f17c8222a59123e438a3683e5f2fbfef28c966899a271a2a11c25535e7188ff57846847108190a4d20ff53eccd10a2a7e88e8a5f958e9bc38c69e53824e7928
 WHIRLPOOL 
48bfc729da9e9ceb88a5125e7d713016b48986eb8debb21a2d92404011361ceddc536871b21acbe1094d4be365727a6f15a0c66433736fb34879a55aba009528
+DIST roundcubemail-1.3.0.tar.gz 3104348 SHA256 
a37e55a3b5f83420930ae20ef3ac6dbedb499c920bbcf3fc93a8f784f7773d21 SHA512 
f3ab39cc3eec9bbcaf3d8f5d9004b0da92fe5d35b71687acc234fab5772abb92d970855716288cba10c8609532d42ddc6e791a1f7bca13de555174a37deca9c4
 WHIRLPOOL 
a2fb856fa060a3e904cc528b73474fa64ebe4af1de6f1b2bb1c82f426143bf762d380f121902cea60ff7d00d73058786b7bb4f27ddd6f00cf798b15a0e8e8d38

diff --git a/mail-client/roundcube/files/POST-UPGRADE.txt 
b/mail-client/roundcube/files/POST-UPGRADE.txt
index 82b48d70f26..785b8319a6c 100644
--- a/mail-client/roundcube/files/POST-UPGRADE.txt
+++ b/mail-client/roundcube/files/POST-UPGRADE.txt
@@ -13,6 +13,8 @@ Post-Upgrade Activities
php composer.phar update --no-dev
 6. Update your database and configurations by running:
./bin/update.sh
+7. Update the cached javascript libraries by running:
+   ./bin/install-jsdeps.sh
 
 SQLite database upgrade
 ---

diff --git a/mail-client/roundcube/roundcube-1.3.0.ebuild 
b/mail-client/roundcube/roundcube-1.3.0.ebuild
new file mode 100644
index 000..63c9997645d
--- /dev/null
+++ b/mail-client/roundcube/roundcube-1.3.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit webapp
+
+MY_PN=${PN}mail
+MY_P=${MY_PN}-${PV/_/-}
+
+DESCRIPTION="A browser-based multilingual IMAP client with an application-like 
user interface"
+HOMEPAGE="https://roundcube.net;
+SRC_URI="https://github.com/${PN}/${MY_PN}/releases/download/${PV/_/-}/${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-3 BSD PHP-2.02 PHP-3 MIT public-domain"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+
+IUSE="enigma ldap managesieve mysql postgres sqlite ssl spell"
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+# this function only sets DEPEND so we need to include that in RDEPEND
+need_httpd_cgi
+
+# :TODO: Support "endriod/qrcode: ~1.6.5" dep (ebuild needed)
+RDEPEND="
+   ${DEPEND}
+   
>=dev-lang/php-5.4.0[crypt,filter,gd,iconv,json,ldap?,pdo,postgres?,session,sockets,sqlite?,ssl?,unicode,xml]
+   >=dev-php/PEAR-Auth_SASL-1.1.0
+   >=dev-php/PEAR-Mail_Mime-1.10.0
+   >=dev-php/PEAR-Mail_mimeDecode-1.5.5
+   >=dev-php/PEAR-Net_IDNA2-0.2.0
+   >=dev-php/PEAR-Net_SMTP-1.7.1
+   >=dev-php/PEAR-Net_Socket-1.2.1
+   virtual/httpd-php
+   enigma? ( >=dev-php/PEAR-Crypt_GPG-1.6.0 app-crypt/gnupg )
+   ldap? ( >=dev-php/PEAR-Net_LDAP2-2.2.0 dev-php/PEAR-Net_LDAP3 )
+   managesieve? ( >=dev-php/PEAR-Net_Sieve-1.4.0 )
+   mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) )
+   spell? ( dev-lang/php[curl,spell] )
+"
+
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+   webapp_src_preinst
+   dodoc CHANGELOG INSTALL README.md 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/defaults.inc.php
+   webapp_postupgrade_txt en "${FILESDIR}/POST-UPGRADE.txt"
+   webapp_src_install
+}
+
+pkg_postinst() {
+   webapp_pkg_postinst
+
+   ewarn
+   ewarn "When upgrading from <= 0.9, note that the old configuration 
files"
+   ewarn "named main.inc.php and 

[gentoo-commits] repo/gentoo:master commit in: mail-client/roundcube/, mail-client/roundcube/files/

2016-02-13 Thread Aaron Swenson
commit: cdac53b1c4465d5884d1ae1d4280ccd134f02cd4
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Sat Feb 13 18:10:55 2016 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Sat Feb 13 18:12:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdac53b1

mail-client/roundcube: Version Bump

First version that can run under PHP7.

Revised POST-UPGRADE text to include a couple additional steps that
may be necessary.

Bug: 574136

Package-Manager: portage-2.2.26

 mail-client/roundcube/Manifest  |  1 +
 mail-client/roundcube/files/POST-UPGRADE.txt| 16 --
 mail-client/roundcube/roundcube-1.2_beta.ebuild | 76 +
 3 files changed, 88 insertions(+), 5 deletions(-)

diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest
index 75eb7a0..894f804 100644
--- a/mail-client/roundcube/Manifest
+++ b/mail-client/roundcube/Manifest
@@ -1 +1,2 @@
 DIST roundcubemail-1.1.4.tar.gz 3209549 SHA256 
539a11ed38838b221f8139b193d9762638f155c7b0ea9391315865896be16852 SHA512 
18c2422d65292cd13bc4ce592e8490cc0a9d3e9551ac4d188db93eb989525af7ccf519642dd2e68a7380ab0d0d4ad4f999af2b7e99da75d88274743949b42f8a
 WHIRLPOOL 
c3e310ddb4dc50b46ff28566d030865029364f69db5a3f39be0d37f165c83486a979b4d3ab7d42835baa7ea9506df8947381612403355a628864ecbde1238d02
+DIST roundcubemail-1.2-beta.tar.gz 3421215 SHA256 
b7ab853c0a6e52641c851624c4405ce49643553b76c1f50b02b413cb7954fb25 SHA512 
454083d6377a07bd418de5593cafb2cc7c0af474e178e322d07adeaa3473ce140a57e6d0a0ee3f58862091bc559596c98d4fb523ef6b9cee91d38064233aade6
 WHIRLPOOL 
059cd348397a31a3ebf2a6f58acbf832b0722b2740496ae32b4ef036a963a8199fd4f6e718895512ce1fc996da3af65c583f65faef8b817ba94d99fdfda896d3

diff --git a/mail-client/roundcube/files/POST-UPGRADE.txt 
b/mail-client/roundcube/files/POST-UPGRADE.txt
index 8c2296b..82b48d7 100644
--- a/mail-client/roundcube/files/POST-UPGRADE.txt
+++ b/mail-client/roundcube/files/POST-UPGRADE.txt
@@ -1,12 +1,18 @@
 Post-Upgrade Activities
 ---
 1. Check .htaccess settings (some php settings could become required)
-2. If you're using build-in addressbook, run indexing script
-   /bin/indexcontacts.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.
+2. If you're using the built-in addressbook, run indexing script:
+   ./bin/indexcontacts.sh.
+3. When upgrading from version older than 0.6-beta you should make sure your
+   folder settings contain a namespace prefix if necessary. For example Courier
+   users should add “INBOX.” prefix to folder names in main configuration file.
 4. Check system requirements in INSTALL file.
+5. If you previously installed plugins through composer, update dependencies by
+   running:
+   php composer.phar self-update
+   php composer.phar update --no-dev
+6. Update your database and configurations by running:
+   ./bin/update.sh
 
 SQLite database upgrade
 ---

diff --git a/mail-client/roundcube/roundcube-1.2_beta.ebuild 
b/mail-client/roundcube/roundcube-1.2_beta.ebuild
new file mode 100644
index 000..1ebd091
--- /dev/null
+++ b/mail-client/roundcube/roundcube-1.2_beta.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit webapp
+
+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-3 BSD PHP-2.02 PHP-3 MIT public-domain"
+KEYWORDS=""
+
+IUSE="enigma ldap managesieve mysql postgres sqlite ssl spell"
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+# this function only sets DEPEND so we need to include that in RDEPEND
+need_httpd_cgi
+
+RDEPEND="
+   ${DEPEND}
+   
>=dev-lang/php-5.3.7[crypt,filter,gd,iconv,json,ldap?,pdo,postgres?,session,sockets,sqlite?,ssl?,unicode,xml]
+   >=dev-php/PEAR-Auth_SASL-1.0.6
+   >=dev-php/PEAR-Mail_Mime-1.8.9
+   >=dev-php/PEAR-Mail_mimeDecode-1.5.5
+   >=dev-php/PEAR-Net_IDNA2-0.1.1
+   >=dev-php/PEAR-Net_SMTP-1.6.2
+   virtual/httpd-php
+   enigma? ( >=dev-php/PEAR-Crypt_GPG-1.2.0 app-crypt/gnupg )
+   ldap? ( >=dev-php/PEAR-Net_LDAP2-2.0.12 )
+   managesieve? ( >=dev-php/PEAR-Net_Sieve-1.3.2 )
+   mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) )
+   spell? ( dev-lang/php[curl,spell] )
+"
+
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+   webapp_src_preinst
+   dodoc CHANGELOG INSTALL README.md UPGRADING
+
+   insinto "${MY_HTDOCSDIR}"
+   doins -r [[:lower:]]* SQL
+   doins .htaccess

[gentoo-commits] repo/gentoo:master commit in: mail-client/roundcube/, mail-client/roundcube/files/

2015-12-09 Thread Aaron Swenson
commit: c20f39cdcba8d3f75fcd7d6c09e80d2ee0655e40
Author: Aaron W. Swenson  gentoo  org>
AuthorDate: Wed Dec  9 12:44:37 2015 +
Commit: Aaron Swenson  gentoo  org>
CommitDate: Wed Dec  9 12:44:37 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c20f39cd

mail-client/roundcube: Version bump, security, and bug fixes

Added two use flags controlling optional dependencies to support the
enigma and and sieverules plugins.

Added REQUIRED_USE as one of postgres, mysql, or sqlite must be
enabled. Rouncube requires a database to operate. As the ebuild uses
this now, removed the default enable on the mysql USE flag.

Added POST-UPGRADE.txt which is just a shortened version of the
UPGRADE text from upstream.

Dropped arm and ppc64 keywords as one dependency,
dev-php/PEAR-Net_LDAP2, currently lacks matching keywords for those
architectures.

Bug: 541172, 545096, 524192, 564476, 565204, 53284

Package-Manager: portage-2.2.20.1

 mail-client/roundcube/Manifest   |  1 +
 mail-client/roundcube/files/POST-UPGRADE.txt | 17 +++
 mail-client/roundcube/metadata.xml   | 17 +++
 mail-client/roundcube/roundcube-1.1.3.ebuild | 75 
 4 files changed, 110 insertions(+)

diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest
index 1875e64..0dd26c6 100644
--- a/mail-client/roundcube/Manifest
+++ b/mail-client/roundcube/Manifest
@@ -1,2 +1,3 @@
 DIST roundcubemail-1.0.5.tar.gz 4056852 SHA256 
22af84480f2c543884b17c9b0196ed105d2ea7f429bfcc34a6fb7c96dd712792 SHA512 
28016a8b05bdf4777486c63d95a91a22022006252e61e4e93320d81448cbc630ed5a04a1388d8576a40617d8e0630b90290341fcd3fed4f5080ab250fb568c6c
 WHIRLPOOL 
f0e48173e0fe07a8f3a00a49ad1091c33f76dbeb153941e32c35684f4eb41e04f805f63ec9623e3664c165c6e88407db3665f1e60a01c2076a3c60bc96c4a122
 DIST roundcubemail-1.0.6.tar.gz 4057804 SHA256 
76e600183c91fa598823bb97208f81485c73f354ea05f4e82d56e91003e0df49 SHA512 
1aa2f652fe88c3fa22d1181105733a6bf0bdd5439b7abc051a4b00030310c923936487e6aa5d5f62179fae010c79b818d6b5e37afca749dcf1738be8930c7709
 WHIRLPOOL 
e9581f4707daf1bdf9c11316ed60e457a367ba94ff46b92e72fea38eec09df86858f5af55ce4626016fe54552dbea155466fed62fe5a27539b46e89d1714f9b4
+DIST roundcubemail-1.1.3.tar.gz 3208502 SHA256 
343d3981067da44e9f3eaee94c2c86247a4341ebe7268bba8bff67d9906aaf34 SHA512 
be5d64a8d52aa623de614bc1b137ae2f74250de050de086a510114121bcb760b973f8319884395827f324371542b741b80054b90031d8814752bb018dcda2096
 WHIRLPOOL 
9bdf316b27153c0ad5eacbeb4d4ecf4dd958b430d2ea3115ba04b67db9d1004482cb57046faa031b93fc0d7b18c93c081e7501cbb7d485383c7d611a1af1fcae

diff --git a/mail-client/roundcube/files/POST-UPGRADE.txt 
b/mail-client/roundcube/files/POST-UPGRADE.txt
new file mode 100644
index 000..8c2296b
--- /dev/null
+++ b/mail-client/roundcube/files/POST-UPGRADE.txt
@@ -0,0 +1,17 @@
+Post-Upgrade Activities
+---
+1. Check .htaccess settings (some php settings could become required)
+2. If you're using build-in addressbook, run indexing script
+   /bin/indexcontacts.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.
+4. Check system requirements in INSTALL file.
+
+SQLite database upgrade
+---
+Versions older than 0.9 were supporting SQLite v2 only. Newer versions require
+database in v3 format. The best what you can do is to convert database file
+to the new format using command line tools:
+
+sqlite OLD.DB .dump | sqlite3 NEW.DB

diff --git a/mail-client/roundcube/metadata.xml 
b/mail-client/roundcube/metadata.xml
index 1197f88..4cb349a 100644
--- a/mail-client/roundcube/metadata.xml
+++ b/mail-client/roundcube/metadata.xml
@@ -2,7 +2,24 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 
web-apps
+   
+   titanof...@gentoo.org
+   Aaron W. Swenson
+   

roundcubemail

+   
+   
+   Add dependencies to support server-side GnuPG signing
+   and/or encryption through the enigma plugin
+   
+   
+   Add dependencies to support the sieverules plugin
+   
+   
+   Add dependencies to support connecting to an LDAP 
address
+   book server
+   
+   
 

diff --git a/mail-client/roundcube/roundcube-1.1.3.ebuild 
b/mail-client/roundcube/roundcube-1.1.3.ebuild
new file mode 100644
index 000..e940211
--- /dev/null
+++ b/mail-client/roundcube/roundcube-1.1.3.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit webapp
+
+MY_PN=${PN}mail
+MY_P=${MY_PN}-${PV/_/-}
+
+DESCRIPTION="A browser-based multilingual IMAP client with