Add =www-apps/drupal-8.7.6
This commit is contained in:
parent
e42dc76c71
commit
78dcd02ab3
|
@ -1,3 +1,5 @@
|
||||||
AUX postinstall-en.txt 1595 BLAKE2B 9b5c237befcf415d0f769052c9634da830326ff57da1a1db538059138780c8ebf8d0666908fb6bb3eba99fee5d5869cd12042f0d276b560b51db60803e46c146 SHA512 6a0a5388d40b3c49f3c685a6a7986c2a9efe3e6d7c5115fbb3110ebe4c19c605a4ff785447a20c0296f3cb16811a8a6e77f2439d58253a011603709c9dd9b760
|
AUX postinstall-en.txt 1595 BLAKE2B 9b5c237befcf415d0f769052c9634da830326ff57da1a1db538059138780c8ebf8d0666908fb6bb3eba99fee5d5869cd12042f0d276b560b51db60803e46c146 SHA512 6a0a5388d40b3c49f3c685a6a7986c2a9efe3e6d7c5115fbb3110ebe4c19c605a4ff785447a20c0296f3cb16811a8a6e77f2439d58253a011603709c9dd9b760
|
||||||
DIST drupal-8.7.5.tar.gz 17843250 BLAKE2B e68895ae3d097c1bb4269bd77a2180723caa3601322443eaced9e6e157511468b2fe877ee72dafb735c6d7d077c1f3d29e3de6b3624bbcc0f080ec4deb305065 SHA512 f0f34f8314e86b9fa104992fe8f96dfada335f58c5e25c174f44e484c27dd4a2c9f4fb19505ac29636fc7f9548c898fbf497c119ac8dd588e881e7aa373aefde
|
DIST drupal-8.7.5.tar.gz 17843250 BLAKE2B e68895ae3d097c1bb4269bd77a2180723caa3601322443eaced9e6e157511468b2fe877ee72dafb735c6d7d077c1f3d29e3de6b3624bbcc0f080ec4deb305065 SHA512 f0f34f8314e86b9fa104992fe8f96dfada335f58c5e25c174f44e484c27dd4a2c9f4fb19505ac29636fc7f9548c898fbf497c119ac8dd588e881e7aa373aefde
|
||||||
|
DIST drupal-8.7.6.tar.gz 17866782 BLAKE2B 19a616fd685078bdffa9f9e20234aa0aca8f24bc040068f7496cfb7163216977c4bfaf63f564b5fea08351f1899bb97bc50f48ae21250213ed8b93bbb15ab54f SHA512 eec8c5d5646371cb8382806c93e925d65b725878b2a4e53f4ad5559f14523c31e62cbba7ec813292b79cf1a332f64098e41720472171f233ce0bc1c0d24c395e
|
||||||
EBUILD drupal-8.7.5.ebuild 2308 BLAKE2B 3ad53afceb565164978938c6d1ced683084a2703302b8f70dfe28184a1d0c969b5155e3c284abc8144431acc705e6f4edd4dc22e041f681833aef030781bc955 SHA512 76af12560b41b542934b443cf19571ff0480ef954e8f3cf7a789506147b4a40419300584a332960b0eacf78f32bd15545c6c5590b5983a4f8fdb5364abc2ee52
|
EBUILD drupal-8.7.5.ebuild 2308 BLAKE2B 3ad53afceb565164978938c6d1ced683084a2703302b8f70dfe28184a1d0c969b5155e3c284abc8144431acc705e6f4edd4dc22e041f681833aef030781bc955 SHA512 76af12560b41b542934b443cf19571ff0480ef954e8f3cf7a789506147b4a40419300584a332960b0eacf78f32bd15545c6c5590b5983a4f8fdb5364abc2ee52
|
||||||
|
EBUILD drupal-8.7.6.ebuild 2308 BLAKE2B 3ad53afceb565164978938c6d1ced683084a2703302b8f70dfe28184a1d0c969b5155e3c284abc8144431acc705e6f4edd4dc22e041f681833aef030781bc955 SHA512 76af12560b41b542934b443cf19571ff0480ef954e8f3cf7a789506147b4a40419300584a332960b0eacf78f32bd15545c6c5590b5983a4f8fdb5364abc2ee52
|
||||||
|
|
|
@ -0,0 +1,84 @@
|
||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit webapp
|
||||||
|
|
||||||
|
MY_PV=${PV:0:3}.0
|
||||||
|
MY_P=${P/_/-}
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
DESCRIPTION="PHP-based open-source platform and content management system"
|
||||||
|
HOMEPAGE="https://www.drupal.org/"
|
||||||
|
SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~ppc ~x86"
|
||||||
|
IUSE="+accelerator +mysql postgres sqlite +uploadprogress"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml]
|
||||||
|
virtual/httpd-php
|
||||||
|
accelerator? ( ||
|
||||||
|
(
|
||||||
|
dev-php/xcache
|
||||||
|
(
|
||||||
|
>=dev-lang/php-5.5[opcache]
|
||||||
|
dev-php/pecl-apcu
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
uploadprogress? ( dev-php/pecl-uploadprogress )
|
||||||
|
mysql? (
|
||||||
|
|| (
|
||||||
|
dev-lang/php[mysql]
|
||||||
|
dev-lang/php[mysqli]
|
||||||
|
)
|
||||||
|
)
|
||||||
|
sqlite? ( dev-lang/php[sqlite] )
|
||||||
|
"
|
||||||
|
|
||||||
|
need_httpd_cgi
|
||||||
|
|
||||||
|
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
webapp_src_preinst
|
||||||
|
|
||||||
|
local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
|
||||||
|
core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
|
||||||
|
|
||||||
|
dodoc ${docs}
|
||||||
|
rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
|
||||||
|
|
||||||
|
cp sites/default/{default.settings.php,settings.php} || die
|
||||||
|
insinto "${MY_HTDOCSDIR}"
|
||||||
|
doins -r .
|
||||||
|
|
||||||
|
dodir "${MY_HTDOCSDIR}"/files
|
||||||
|
webapp_serverowned "${MY_HTDOCSDIR}"/files
|
||||||
|
|
||||||
|
webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
|
||||||
|
webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
|
||||||
|
|
||||||
|
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
|
||||||
|
|
||||||
|
webapp_src_install
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
echo
|
||||||
|
ewarn "SECURITY NOTICE"
|
||||||
|
ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
|
||||||
|
ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
|
||||||
|
echo
|
||||||
|
ewarn "If this is a new install, unless you want anyone with network access to your server to be"
|
||||||
|
ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
|
||||||
|
echo
|
||||||
|
ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
|
||||||
|
ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
|
||||||
|
ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
|
||||||
|
ewarn "reported by the setup."
|
||||||
|
echo
|
||||||
|
}
|
Loading…
Reference in New Issue