mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
www-apps/drupal: drop 10.2.2
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
DIST drupal-10.2.2.tar.gz 18950678 BLAKE2B 9a5e14547ba66bf0f9690e992b2ac3efd4e87144adfdb6dff7a85cc6c195d5457c1cee68ce42fc870025a79afe3bb9364849f9349ad29524122a7636f98feef7 SHA512 5c2cb49147fb6e2b5113586eece1e6ad51ac9af546ec3c15031551371053e846c4348fae545bd37783dacf25f8718cce52c9558fc679dddc4255bd53549d43b0
|
||||
DIST drupal-10.3.14.tar.gz 20836592 BLAKE2B e3a9cdadaa37c4a680d79f90c6985b6d72bae1ad8e0c53c5ad0719d059c3758c1905934647b6e5d73b8074f6aa592f19a7711235981e43778ad479e931fff4c7 SHA512 c3d6ae034878a540fbc7e12fb5afa31aee58d9861c69ba758e54e6802b2b54aa7242f473ca067fe11d8e45d69b376b18d5e1ba48255c7db6acda8dfa4e21b450
|
||||
DIST drupal-10.4.5.tar.gz 21153867 BLAKE2B e2fe3c3062d851c5549a947664c1ff044bd4dca91446a6d2d31f18b3ea39b1ce3f2840c4d8a454a7ca3b541ae8f5f01721726b404b0f33492aac6f378f449e28 SHA512 b24b3a72f423ee5fe59b1432677be8a5557f3fba944db78a77ff784509bc719a5d7471b9fcb4a4c9131f8d922d54d6528bb3fa3fb4ce9cfa2e6e2a6954cdf533
|
||||
DIST drupal-11.0.13.tar.gz 18992450 BLAKE2B c123c773cf7e091ebbacaaf828b9a9a9d88765314f3c0de3c8db3d6a9720aee2c51db4193058e581d26af7c0a2893f65d2ee49011d7ec9f64b77ff4a4a83ff11 SHA512 ea100baa6b0fbde57480fc367e83b640975a89c52f1f2613b29a14dc50869018695c77f67dbf4e74c17df1e25f30e3033f180018f4e20a93f9c8970a8ef0b2eb
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit webapp
|
||||
|
||||
MY_PV=${PV:0:3}.0
|
||||
MY_P=${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"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+mysql postgres sqlite +uploadprogress"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php[gd,hash(+),mysql?,pdo,postgres?,simplexml,sqlite?,xml]
|
||||
virtual/httpd-php
|
||||
uploadprogress? ( dev-php/pecl-uploadprogress )
|
||||
"
|
||||
|
||||
need_httpd_cgi
|
||||
|
||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
local docs="LICENSE.txt README.md core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
|
||||
core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt \
|
||||
core/USAGE.txt "
|
||||
|
||||
dodoc ${docs}
|
||||
rm ${docs} 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
|
||||
|
||||
keepdir "${MY_HTDOCSDIR}"/sites/default/files
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/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-10 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
|
||||
}
|
||||
Reference in New Issue
Block a user