summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2017-03-18 14:31:22 +0100
committerThomas Deutschmann <whissi@gentoo.org>2017-03-18 14:31:22 +0100
commita83a957baa3f709c0fba7e08af6d195d871f30ff (patch)
tree702360807e20e340948e5976ecb83c02c7ad0ceb /mail-client
parentapp-editors/emacs-vcs: New mailutils USE flag. (diff)
downloadgentoo-a83a957baa3f709c0fba7e08af6d195d871f30ff.tar.gz
gentoo-a83a957baa3f709c0fba7e08af6d195d871f30ff.tar.bz2
gentoo-a83a957baa3f709c0fba7e08af6d195d871f30ff.zip
mail-client/roundcube: Bump to v1.2.4
Gentoo-Bug: https://bugs.gentoo.org/612662 Gentoo-Bug: https://bugs.gentoo.org/612796 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/roundcube/Manifest1
-rw-r--r--mail-client/roundcube/roundcube-1.2.4.ebuild74
2 files changed, 75 insertions, 0 deletions
diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest
index 53b8b17ac637..affd57f32762 100644
--- a/mail-client/roundcube/Manifest
+++ b/mail-client/roundcube/Manifest
@@ -1 +1,2 @@
DIST roundcubemail-1.2.3.tar.gz 3599096 SHA256 2df820d2ccc7bb320f854a821a1dc9983792f42a3353a1d38fe0822d94980d4d SHA512 af64b5ccb95b30ee483c573098741098427dd9755526253490f657a10fed3764f5ed8f336d0a8cb82bcce65d8840b0892d6e4746ce93bc595cfd29f66ea45795 WHIRLPOOL 08551297ca37d8f26ab9fa13c60db7f5b477251a639519285003cedc6971dbf2b6f6c43d1adc6334bfc67adfb85271b8bfe52d50a7416ba31d3ea38284ac28b7
+DIST roundcubemail-1.2.4.tar.gz 3602288 SHA256 76b52a6405e0fc36b6829bf21200badbc681b18c95c7b3d9098e90f9de7ed9cc SHA512 299ab90d6dba9325efdea2e0498e4345e13c78fd8b85e0848827e5127e4cf210e66327ad264f5609373d9de2237cf396907dcb9cc2901c13e18899e4233a3c77 WHIRLPOOL 99788f7a1852e94a304a62dcd3ad400bff4b20bc68285d09cdce480ecd39ff4306f04b1d9795f8983577c63ebf83ac887fba1e695870a2218379bcf71ec0fef7
diff --git a/mail-client/roundcube/roundcube-1.2.4.ebuild b/mail-client/roundcube/roundcube-1.2.4.ebuild
new file mode 100644
index 000000000000..a1fcbd6b40c2
--- /dev/null
+++ b/mail-client/roundcube/roundcube-1.2.4.ebuild
@@ -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 ~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
+}