Add www-apps/drupal-8.4.4
This commit is contained in:
parent
530c5ef7c2
commit
7f69b2d379
|
@ -1,3 +1,5 @@
|
|||
AUX postinstall-en.txt 1595 SHA256 af706f90b7671b0b6e4577c48490a71f97f78d8876d84ccd69d48040a7b7340e SHA512 6a0a5388d40b3c49f3c685a6a7986c2a9efe3e6d7c5115fbb3110ebe4c19c605a4ff785447a20c0296f3cb16811a8a6e77f2439d58253a011603709c9dd9b760 WHIRLPOOL 8d210bb0de40134f2e82f43b6b6261f28454f79d69f38bea4c8e27a0ebb71cd59b0518aa24955a4623b29cd457364fca263c987ee4635ef934571897c3ce47e4
|
||||
DIST drupal-8.4.3.tar.gz 13399420 SHA256 10f78082ba1199e38a3478b10f94e5753ee625c7e67fc9c59b59f2b15e7be09f SHA512 a98ea9fea7a14d89b1bd67ab7b477d9ffb4fce2dc5661d3daf4196f37bfc31923b52298aa101d275be8dec9a55c86068a5f2124ab1433fe4b2993c34f4b17f7c WHIRLPOOL 14332c5db8870f0381cce046a9fd524e6ac3560de4ef3ec7f4f77dc8436ad57bcbbb6aa669c2f8f2b1b2c956ba66d48db6ce0544d25755b8d901318ecb53425f
|
||||
DIST drupal-8.4.4.tar.gz 13410566 SHA256 d2441f8e42f3dcb26f8ef00c8e07ee25c57f5437b0d9ac56119a4aa3930e7a5b SHA512 3540480b4e75d53bf5e2d86337f2111bbc4ae0ab28ccd4cfb2c1d47075caf662de199bc8591752b44f3bda81f3cdfd23e91baeb2c9eedf18d8755fb3999d07b8 WHIRLPOOL ea43d04340f383c640c76c11cd79d327b8beb715c32aa3e0aa87c5a51ff9622ca0023dfeb265c3518bb512831e0874c369860fafcafd1e2319a59a281129304f
|
||||
EBUILD drupal-8.4.3.ebuild 2428 SHA256 bf527904a96359bbad8aca7e0fb2d9cc45fed7de4b0e90c4d96dbcd35ea0593d SHA512 62d870e7b416ade4bee62d260c9518ada5077ceb8918ef40b5143d0644af1845f0e660208336e57d5cad7c63cc88ca1e6b185b0d3df9cc6c5ea4dae1efb3ab24 WHIRLPOOL bb20edaf9029933b5f2efa45004507969d542cfa37ae91f92bffe763e9ab2c55fec61ba914d4172c1f36408c418cd52aeff9cf980c8920b3c8972f021a9732c3
|
||||
EBUILD drupal-8.4.4.ebuild 2428 SHA256 bf527904a96359bbad8aca7e0fb2d9cc45fed7de4b0e90c4d96dbcd35ea0593d SHA512 62d870e7b416ade4bee62d260c9518ada5077ceb8918ef40b5143d0644af1845f0e660208336e57d5cad7c63cc88ca1e6b185b0d3df9cc6c5ea4dae1efb3ab24 WHIRLPOOL bb20edaf9029933b5f2efa45004507969d542cfa37ae91f92bffe763e9ab2c55fec61ba914d4172c1f36408c418cd52aeff9cf980c8920b3c8972f021a9732c3
|
||||
|
|
|
@ -0,0 +1,86 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
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_serverowned "${MY_HTDOCSDIR}"/sites/default
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
|
||||
|
||||
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