diff options
Diffstat (limited to 'mail-client/roundcube')
-rw-r--r-- | mail-client/roundcube/Manifest | 8 | ||||
-rw-r--r-- | mail-client/roundcube/files/POST-UPGRADE.txt | 25 | ||||
-rw-r--r-- | mail-client/roundcube/metadata.xml | 29 | ||||
-rw-r--r-- | mail-client/roundcube/roundcube-1.2.5.ebuild | 74 | ||||
-rw-r--r-- | mail-client/roundcube/roundcube-1.3.0.ebuild | 81 |
5 files changed, 217 insertions, 0 deletions
diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest new file mode 100644 index 000000000000..b4d6cb5a5f5a --- /dev/null +++ b/mail-client/roundcube/Manifest @@ -0,0 +1,8 @@ +AUX POST-UPGRADE.txt 1101 SHA256 d0bb6c23cdd86aa2451abe5296ca1a42cb86689ce27fce41822287cb606f8ce8 SHA512 715c6c377b9816f0f836acace019c39cf22d536d1a0ae5538cbf3dcf3fec12ae584450881264dab792c941627f1af649f776bca6d5015b13c08648fde726b948 WHIRLPOOL cf4e05936f9e95a2b0208d7ba743a7a36d384c6b61e3718f31086225707829f0918ee9178b3b14ea0ccb25507668d82bdf50582b1d765c286eabab3dc44bddcb +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 +EBUILD roundcube-1.2.5.ebuild 2287 SHA256 41056ddd036b465d50514e45ffa633de8bf2ec1cba0530d4b187ef98c3224922 SHA512 466f244cb0ca5331d2efbb2405a62ccec2d72500863abaf84885f5aa9d0b1f3ee827158cb029d2e9c34f9ffac0e4d962064401a07f1337f7d056c488eeaead19 WHIRLPOOL 3c5326f3d6b77b878fc518dca2e3b8add06ab79234496d903436347f3488b57e0fdf47261b55f85067f4e470a551f6219ca0bca2cae520de93f0d1faefd1aefa +EBUILD roundcube-1.3.0.ebuild 2600 SHA256 5dbc0c66c8acc5c5814976dbec60d1b81a4a3d9ee11aaa9a55eae729155bd0c1 SHA512 093d8b9632f499a9ab6cb6492abd8934f96c2f5ca7c5f141d143463b89c0cec441e5b36f808bce2e4cbef8f847463768cc75cfee3837b61d590ac3dda9ed16ca WHIRLPOOL da0185de1bef9a67d5a06bbf655ac81eae45798363d466ac79cc880ea1e27725c9706ac85b62ae1977d0cbd9fde7e59de4d92444ab217d956fa665f1d9867e69 +MISC ChangeLog 10637 SHA256 0f15322c2374e16f0cc89589fd771d12bf7f4e4af09ae8734ed9f331a9e813f2 SHA512 0be78b95a103a5a3d5830de73d8af9b0f555e7ed2cf00925b3c0349ed8044f1902993a125b4511e2820b3d6fa80d2a6ba8448666dbf90bd9f7036e0b735cc3d4 WHIRLPOOL ef508e9ce14cecf2feb69cc628300563a1864780ebecc5b8798e40f926c6bbc48969c4670dd93d7f82ea1f9ed2a458f86adb78674ccda0aa5122bc19c345d6b7 +MISC ChangeLog-2015 19881 SHA256 6827f823359e94a25464c284ff14ab01f03743211bdc1e3ff54254bbca2564b4 SHA512 e4e5604ada016e85cdadba95df0b5d887fea92775c5b6fdcec3dbafaee5c50ebb5fe6d9a3411806aad83f2027eb3f95daaee4e46d7f073c4aa7711f6a9c84868 WHIRLPOOL ee3713718b80a484062448c837e2d9a41e0ea8f1b4d2ae5122ac8d6a19ad02c9590fa68184a291514b7bb0d8e344ed40908e85e2fc260bf97a192289fb5e9644 +MISC metadata.xml 860 SHA256 54e63aef76033d143a1195f12028bd036e045949393f4b3048698c2ce25f766f SHA512 b17b6d05898493d08d52f08b333f762518442ae519b23e8f2811fb6a369c6b26688a380656e8e95d7da706834547d6fe7d52db6992ebf0bf5b9a30ad0d21c56f WHIRLPOOL d212163d52e034f8d0322562b1479d87a7fc3227d7a311daf1779a03a08554d1f7d73cbf7881f4d0b0452d20e89bb00b90c84a6dfdcb33d62b3db12ebf50638e diff --git a/mail-client/roundcube/files/POST-UPGRADE.txt b/mail-client/roundcube/files/POST-UPGRADE.txt new file mode 100644 index 000000000000..785b8319a6cc --- /dev/null +++ b/mail-client/roundcube/files/POST-UPGRADE.txt @@ -0,0 +1,25 @@ +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. 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 +7. Update the cached javascript libraries by running: + ./bin/install-jsdeps.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/metadata.xml b/mail-client/roundcube/metadata.xml new file mode 100644 index 000000000000..3426ba6898d2 --- /dev/null +++ b/mail-client/roundcube/metadata.xml @@ -0,0 +1,29 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>titanofold@gentoo.org</email> + <name>Aaron W. Swenson</name> + </maintainer> + <maintainer type="project"> + <email>web-apps@gentoo.org</email> + <name>Gentoo Webapps</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">roundcubemail</remote-id> + <remote-id type="github">roundcube/roundcubemail</remote-id> + </upstream> + <use> + <flag name="enigma"> + Add dependencies to support server-side GnuPG signing + and/or encryption through the enigma plugin + </flag> + <flag name="managesieve"> + Add dependencies to support the sieverules plugin + </flag> + <flag name="ldap"> + Add dependencies to support connecting to an LDAP address + book server + </flag> + </use> +</pkgmetadata> diff --git a/mail-client/roundcube/roundcube-1.2.5.ebuild b/mail-client/roundcube/roundcube-1.2.5.ebuild new file mode 100644 index 000000000000..4ce1abb11e78 --- /dev/null +++ b/mail-client/roundcube/roundcube-1.2.5.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 ~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 +} 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 000000000000..63c9997645d9 --- /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 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 + ewarn + ewarn "When installing for the first time or upgrading from <= 1.2.5," + ewarn "run the ./bin/install-jsdeps.sh script to download required" + ewarn "javascript files into the ./temp/js_cache/ folder." + ewarn +} |