aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Shelton <stuart@shelton.me>2014-08-15 11:11:48 +0100
committerStuart Shelton <stuart@shelton.me>2014-08-15 11:11:48 +0100
commit71c7b24ab291a87000d56de6601090c2a5589a77 (patch)
treea559f50bcf9f1dfabdabd78703c617df285ccec5 /mail-client
parentAdd dev-vcs/subversion-1.7.18 (diff)
downloadsrcshelton-71c7b24ab291a87000d56de6601090c2a5589a77.tar.gz
srcshelton-71c7b24ab291a87000d56de6601090c2a5589a77.tar.bz2
srcshelton-71c7b24ab291a87000d56de6601090c2a5589a77.zip
Add mail-client/roundcube-1.0.2
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/roundcube/Manifest2
-rw-r--r--mail-client/roundcube/roundcube-1.0.2.ebuild95
2 files changed, 97 insertions, 0 deletions
diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest
index e384122e..e34052cf 100644
--- a/mail-client/roundcube/Manifest
+++ b/mail-client/roundcube/Manifest
@@ -4,5 +4,7 @@ AUX roundcube-1.0.0-draft-autosave.patch 1352 SHA256 a53951a62dce9e1ad61290a2b63
DIST composer.phar 960311 SHA256 1c73973d7cfb73f3e6b425b943a3e1459f5199984f37f008c48cf2b671dd3f2b SHA512 98cef9f7bd1b5c3f8dd1bc1fd7e1778701cb7ad2fb720bc9f47fff3d70a58b4a94de75c97702f7f0680fbdb6fc20bb86a07362220056680f91a5a34ca5ba0fd8 WHIRLPOOL 6c54c69c27e01f4f003bb3e63372babe64d00ec0cfb3d9ab8185869e22d6fd5e0a88fa05da1baccc93c41f584a6decdda8505449540eb9b4024e632889887dcf
DIST roundcubemail-1.0.0.tar.gz 3975691 SHA256 cfe4b1b66f32149d7727a6ae2ec2aa0c6c1388c9d22fd5b6da2e78bdbaac8dc8 SHA512 32ad828aba192ae1773d3e28070d9824a1676ffdeb96ba60d8b00ba4f208ec41cad20289e1cf5934fb59e5fb40932b8560a80a09d15cfa94097139395110f0a2 WHIRLPOOL d6c4bb19ba76a5a7e8d0f1a08c23ce400c42149adc298a80ce6cf2aeba9a93db475fa2eb5211c3ebc0c417a8622a00d73852b9c7d8440b415e4e3787642c0d64
DIST roundcubemail-1.0.1.tar.gz 3978126 SHA256 e75817e936cccb5f55ea601dba302dc2ad8cd4e57109fa34bd5765fbe03cdb09 SHA512 dd981a03d540607fdb7a1bde18a346c93ddd988abbafb43a77b3eeac138f804b3a294445f5a6d5f9525b00d14f3f7bb1e378ad74ff0342680268a6553c6ad4f8 WHIRLPOOL d6addd79ed1185f05c4d14a75203522e1fd47e5ca8b4ca231cd616a1f155243e63eb1bdac9742eb051c6de0df4623f1c0e0d5fbfb26a9c365249284b50475b77
+DIST roundcubemail-1.0.2.tar.gz 3980298 SHA256 1c1560a7a56e6884b45c49f52961dbbb3f6bacbc7e7c755440750a1ab027171c SHA512 4076be3846f3c39c481c5546d7d2f8843cd87f1dde868aa06c9432db4a8786269e4297975802c841a0476ae4462cb7dbcc40e375bdafb6ea0a74b9c5ba9bb780 WHIRLPOOL 773b9f687dc82fdc2a879187d40bd79936d3103427a28e35b602eb7648ea397be5afeb412ff9523ff59653d50a7c3ac9ea4f14eec605e41e88158fc2f628d426
EBUILD roundcube-1.0.0.ebuild 2914 SHA256 ee8cc5fcb27b1e2be42493f4e632ea790dcb430f8b43e176252a7c8dde6e616a SHA512 2adcac91cea5ec736e2767d85b42b111e7c15448ecd8ea27c9745005f5e029758fcbc0ab8df04a71a0a94545828382135c3e988ba67561f6610a99c2f04a2144 WHIRLPOOL 919e06a5308a86f6b89ae7b421bc68d96e2b4370e88d0bbe18156a9e83bf840c5f7c50c09ce3af4ce43477b39fa664e6fe5c8b285df35a18197b47b895a47933
EBUILD roundcube-1.0.1.ebuild 3022 SHA256 82a5be605281b153adefe2f69ee28e4543ebc0d55984672066cb215f5b8d23d4 SHA512 33811378bb83d4557b4f6c5781397219a942f7f05ccdafc80eacbaf7d3dfb5882d103de9f323ba65c5a0cc81d2f238a48256dedcdfd33d33072c4ed5a2978327 WHIRLPOOL 5970cd995e3c21c29e77b455e06890a08684ab63ab89f35e329162cfdbfd407344264578454df2312424a972d50fe2705ef2020c71b1b5c88e5127aeaffdf0d8
+EBUILD roundcube-1.0.2.ebuild 3218 SHA256 0b386a9f4d0303bfc6e2f51539b76a60bec8033aee3754d346863e26678de202 SHA512 9c7b79cd2200777010a4f33abfdbee466b77c9bcf1b50c69614d79b7a896b5e2e549118add2fb1a24d7a46bf1011eb2a6b02e35c918ab2ba013086b04d7f8687 WHIRLPOOL b34619ee5fdcc558d8cf2b9a6e71ca34b247797433dc4ade4d6d3f97878aa79ef913d0d6056ac3212d00d6f408977ace90cf7210ca91504c37c477e0361d6ea7
diff --git a/mail-client/roundcube/roundcube-1.0.2.ebuild b/mail-client/roundcube/roundcube-1.0.2.ebuild
new file mode 100644
index 00000000..3758cbf7
--- /dev/null
+++ b/mail-client/roundcube/roundcube-1.0.2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/roundcube/roundcube-1.0.2.ebuild,v 1.3 2014/08/12 15:25:16 ago Exp $
+
+EAPI=5
+
+inherit webapp
+
+MY_PN=${PN}mail
+MY_P=${MY_PN}-${PV/_/-}
+
+PHAR="1.0.0-alpha8"
+
+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
+ https://getcomposer.org/download/${PHAR}/composer.phar"
+
+# 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 ~hppa x86"
+IUSE="ldap +mysql plugins postgres sqlite ssl spell"
+
+# This function only sets DEPEND so we need to include that in RDEPEND ...
+need_httpd_cgi
+
+RDEPEND="
+ ${DEPEND}
+ >=dev-lang/php-5.3[crypt,filter,gd,iconv,json,ldap?,pdo,postgres?,session,sockets,ssl?,unicode,xml]
+ >=dev-php/PEAR-Auth_SASL-1.0.3
+ >=dev-php/PEAR-Crypt_GPG-1.3.2
+ >=dev-php/PEAR-Mail_Mime-1.8.1
+ >=dev-php/PEAR-Net_IDNA2-0.1.1
+ >=dev-php/PEAR-Net_SMTP-1.4.2
+ >=dev-php/PEAR-Net_Sieve-1.3.2
+ >=dev-php/PEAR-Net_Socket-1.0.14
+ mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) )
+ plugins? ( >=dev-lang/php-5.3.4[ctype,filter,hash,json,phar,ssl] )
+ spell? ( dev-lang/php[curl,spell] )
+ sqlite? ( || ( dev-lang/php[sqlite] dev-lang/php[sqlite3] ) )
+ virtual/httpd-php
+"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ cp config/config.inc.php{.sample,} || die
+ cp composer.json{-dist,} || die
+
+ # Remove bundled PEAR packages
+ rm -r program/lib/{Auth,Crypt,Mail,Net,PEAR*} || die
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc CHANGELOG INSTALL README.md UPGRADING
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r [[:lower:]]* SQL
+ doins .htaccess
+ use plugins && doins "${DISTDIR}"/composer.phar
+
+ webapp_serverowned "${MY_HTDOCSDIR}"/logs
+ webapp_serverowned "${MY_HTDOCSDIR}"/temp
+
+ webapp_configfile "${MY_HTDOCSDIR}"/config/config.inc.php
+ webapp_configfile "${MY_HTDOCSDIR}"/config/defaults.inc.php
+ webapp_configfile "${MY_HTDOCSDIR}"/composer.json
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en-0.6.txt
+ webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en-0.6.txt
+ webapp_postupgrade_txt en UPGRADING
+
+ webapp_src_install
+
+ # fperms must occur after webapp_src_install is called...
+ #fperms 0755 "${MY_HTDOCSDIR}"/bin/*.sh || die "Cannot set file permissions in '${ED}/${MY_HTDOCSDIR}'"
+ local FILE filename
+ find "${ED}"/"${MY_HTDOCSDIR}"/bin/ -type f -name \*.sh | while read -r FILE; do
+ filename="$( basename "${FILE}" )"
+ fperms 0755 "${MY_HTDOCSDIR}"/bin/"${filename}" || die "Cannot set file permissions in '${ED}/${MY_HTDOCSDIR}/bin/'"
+ done
+}
+
+pkg_postinst() {
+ 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 "Run the ./bin/update.sh script to convert those"
+ ewarn "or manually merge the files."
+ ewarn "The new config.inc.php should only contain options that"
+ ewarn "differ from the ones listed in defaults.inc.php."
+}