mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
mail-client/roundcube: add 1.7_rc4
Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
@@ -4,3 +4,4 @@ DIST roundcubemail-1.6.12-complete.tar.gz 5840143 BLAKE2B 3e39f33ca7584e91d4c81d
|
||||
DIST roundcubemail-1.6.13-complete.tar.gz 5841171 BLAKE2B 015a51d87c3e724ae8233801b76fd92f18f72421b5e8bb5afb23f99d129e87a3847c631190d0f1e23af66055f9873a7eb403bc002129a863176af024fa6762a7 SHA512 876b1e40aa481cb88bda1540e44fa1e3466e9a16b7e9bfd98040fdea0e2cb3902f4bc95b6cc22401bb25d62c2342b8ba8999218addaa95a682e130877aa3aac5
|
||||
DIST roundcubemail-1.6.7-complete.tar.gz 5899345 BLAKE2B c22803f3651c32f863081afe28d05e4b7918ba0cb1238c11de646a0fe3a16a6faff633a3a193a5813a50be710a71a8900d049f0e628661b6c7c036c0d69055ab SHA512 aedc940e769e881d448eced2ef0b603c87f9a9e18624cae4d14a946e6f9509c827f75e6fb294a760970e37caa9ab0bfb0a7ec8843b12542f59f350948d2d8d3b
|
||||
DIST roundcubemail-1.7-rc3-complete.tar.gz 6412164 BLAKE2B f0260f387ccfcebc4d335dd700044be4b2a96d327b7a9b9e69be0376005417c76c01dd68332cbbbf70c45b7f0eabd5ac6607a39f1c294bc349659d16a698c3b7 SHA512 0d58bdf70f67c3efa7d2adb923963eb2c9dae9ca92c0b135acbe2506a77455d4b1549727b47e1beace35a12393c2868798c2d4c5644b6bd3b79e983a1e75543e
|
||||
DIST roundcubemail-1.7-rc4-complete.tar.gz 6413300 BLAKE2B 4526056f74ee2d462611b6d52afe93e7ddd4d29677f741744dde490be124116badc3e34c47dcfe96ad51c8d4159fd3d0528876dcb4093a79dbc809abeef656f3 SHA512 76d9ce548ca81ee0791c60b02612f24b3d8216b6b89837c0bc3b2d5ac620c09536e1cf1836ce55a3f512814516e2a6266e3f9b53fe7757a841e4e3f6d6207b41
|
||||
|
||||
@@ -0,0 +1,96 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit webapp
|
||||
|
||||
MY_PN=${PN}mail
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${MY_PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="A 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-alternatives/gpg
|
||||
)
|
||||
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
|
||||
mv composer.json-dist composer.json || die
|
||||
composer install --no-dev || die
|
||||
./bin/install-jsdeps.sh || die
|
||||
popd > /dev/null || die
|
||||
else
|
||||
default
|
||||
fi
|
||||
rm "${S}"/Makefile || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dodoc CHANGELOG.md README.md
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r [[:lower:]]* SQL
|
||||
|
||||
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