mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
mail-client/roundcube: add 1.6.21
Bug: https://bugs.gentoo.org/986056 Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST roundcubemail-1.6.19-complete.tar.gz 5955504 BLAKE2B d1bc5fc92572ee454f0f23b5b2566cb567990d9f4fa7351eb44362825a20b803c556bd16aa076551ab02de02c3b34acd4dd4e3f3ba0a8dac4ab0021ceb6185a7 SHA512 81be8fd41f4b99b39a6ff46cfecf12a76fe750b7554e7b7d462795f6df83416f0a5355a6a099941055c6d1991aef75491e1fcd2b067e5714a00d485552996dc9
|
||||
DIST roundcubemail-1.6.20-complete.tar.gz 5960668 BLAKE2B bc2034a0b0e088db378a218ef78c667fa06db749a420ca7507c5e44f4d407790cb72edd484e4170841f2a328eca734931d22bb3c3d66a61512ed6dc816dfbb9c SHA512 87eb021329fcca8acdbdf0fb62e19826aa12cba575b3fef7cfe32f8f3a96d10561ed980fbabc2bac35bff4e7fc5b316373274292a46b2cdf26473c0bd1be3692
|
||||
DIST roundcubemail-1.6.21-complete.tar.gz 5962730 BLAKE2B a00a78d7617aae9040f653741a7f6d58b53f749bdfa1a1b45e97b00637d2674e527c8b7d23e99e7a31d472929041fa42a8f2e9059be2d8c842e6d97a0ec7f93b SHA512 0130a8b9c41f235331ca8b9d1f0faf283bde48d515e2fd24bef2eccaad27d1953fa906f7a391043666ad0c57dc5ccb80fe41b88583c942f153192470590ea30e
|
||||
DIST roundcubemail-1.7.5-complete.tar.gz 6444330 BLAKE2B 8743e6c4eedebc94e5c00fcf628dd13c5a76bc06f093f6196cdc8ece03716d5b0d32a79d97c080a92da3a60b03759fb41e564626a9ba8a3c5fbd7abd53967fc0 SHA512 a53d1e86faac5abb04301a884f1520aed090c5ac3acb8bce1311509cefcc46b6e3537d04163010707daa77e1b7482a641b72f43fdfac27ced68058b18483ca38
|
||||
|
||||
@@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit webapp
|
||||
|
||||
MY_PN=${PN}mail
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${MY_PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="Browser-based multilingual IMAP client with an application-like user interface"
|
||||
HOMEPAGE="https://roundcube.net"
|
||||
|
||||
# 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"
|
||||
|
||||
IUSE="change-password enigma exif fileinfo ldap mysql postgres sqlite ssl spell zip"
|
||||
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-7.4.0[exif?,fileinfo?,filter,gd,iconv,intl,json(+),ldap?,pdo,postgres?,session,sqlite?,ssl?,unicode,xml,zip?]
|
||||
virtual/httpd-php
|
||||
change-password? (
|
||||
dev-lang/php[sockets]
|
||||
)
|
||||
enigma? (
|
||||
app-crypt/gnupg
|
||||
)
|
||||
mysql? (
|
||||
|| (
|
||||
dev-lang/php[mysql]
|
||||
dev-lang/php[mysqli]
|
||||
)
|
||||
)
|
||||
spell? ( dev-lang/php[curl,spell] )
|
||||
"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/roundcube/roundcubemail"
|
||||
EGIT_BRANCH="master"
|
||||
BDEPEND="${BDEPEND}
|
||||
app-arch/unzip
|
||||
dev-php/composer
|
||||
net-misc/curl"
|
||||
else
|
||||
SRC_URI="https://github.com/${PN}/${MY_PN}/releases/download/${MY_PV}/${MY_P}-complete.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
src_unpack() {
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
git-r3_src_unpack
|
||||
pushd "${S}" > /dev/null || die
|
||||
rm Makefile || die
|
||||
mv composer.json-dist composer.json || die
|
||||
composer install --no-dev || die
|
||||
./bin/install-jsdeps.sh || die
|
||||
popd > /dev/null || die
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dodoc CHANGELOG.md INSTALL README.md UPGRADING SECURITY.md
|
||||
|
||||
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_complete.txt"
|
||||
|
||||
webapp_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
webapp_pkg_postinst
|
||||
|
||||
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
||||
elog "You can review the post-upgrade instructions at:"
|
||||
elog "${EROOT}/usr/share/webapps/${PN}/${PV}/postupgrade-en.txt"
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user