mail-client/roundcube: Security bump to v1.2.5 (bug #618322)
authorThomas Deutschmann <whissi@gentoo.org>
Sun, 4 Jun 2017 21:06:35 +0000 (23:06 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Sun, 4 Jun 2017 21:06:48 +0000 (23:06 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

mail-client/roundcube/Manifest
mail-client/roundcube/roundcube-1.2.5.ebuild [new file with mode: 0644]

index 524e92c11127ba24aff2e8c760435e16e4422ae0..06b5d280b8345e0a818a5ce1c0d7dd487aa136b5 100644 (file)
@@ -1 +1,2 @@
 DIST roundcubemail-1.2.4.tar.gz 3602288 SHA256 76b52a6405e0fc36b6829bf21200badbc681b18c95c7b3d9098e90f9de7ed9cc SHA512 299ab90d6dba9325efdea2e0498e4345e13c78fd8b85e0848827e5127e4cf210e66327ad264f5609373d9de2237cf396907dcb9cc2901c13e18899e4233a3c77 WHIRLPOOL 99788f7a1852e94a304a62dcd3ad400bff4b20bc68285d09cdce480ecd39ff4306f04b1d9795f8983577c63ebf83ac887fba1e695870a2218379bcf71ec0fef7
+DIST roundcubemail-1.2.5.tar.gz 3602701 SHA256 9c4d65951cc636d0e2e2296bfdf55fb53e23a4611fa96f17fb5d354db91bec38 SHA512 8f17c8222a59123e438a3683e5f2fbfef28c966899a271a2a11c25535e7188ff57846847108190a4d20ff53eccd10a2a7e88e8a5f958e9bc38c69e53824e7928 WHIRLPOOL 48bfc729da9e9ceb88a5125e7d713016b48986eb8debb21a2d92404011361ceddc536871b21acbe1094d4be365727a6f15a0c66433736fb34879a55aba009528
diff --git a/mail-client/roundcube/roundcube-1.2.5.ebuild b/mail-client/roundcube/roundcube-1.2.5.ebuild
new file mode 100644 (file)
index 0000000..fabaf4d
--- /dev/null
@@ -0,0 +1,74 @@
+# 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
+
+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.4.0 app-crypt/gnupg )
+       ldap? ( >=dev-php/PEAR-Net_LDAP2-2.0.12 dev-php/PEAR-Net_LDAP3 )
+       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
+
+       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 db.inc.php are deprecated and should be"
+       ewarn "replaced with one single config.inc.php file."
+       ewarn
+       ewarn "Run the ./bin/update.sh script to convert those"
+       ewarn "or manually merge the files."
+       ewarn
+       ewarn "The new config.inc.php should only contain options that"
+       ewarn "differ from the ones listed in defaults.inc.php."
+       ewarn
+}