commit: 4c6c86afc4e27d31870c15224b5f5a9e27af7b1d
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Fri May 2 08:36:40 2025 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri May 2 08:48:15 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c6c86af
www-apps/drupal: add 11.0.13
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
www-apps/drupal/Manifest | 1 +
www-apps/drupal/drupal-11.0.13.ebuild | 72 +++++++++++++++++++++++++++++++++++
2 files changed, 73 insertions(+)
diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
index 75f760e0e0bc..5f9c37a87b10 100644
--- a/www-apps/drupal/Manifest
+++ b/www-apps/drupal/Manifest
@@ -2,4 +2,5 @@ DIST drupal-10.1.8.tar.gz 18292624 BLAKE2B
0b636ab54732ba73392098969b3445aafeaf0
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
DIST drupal-7.102.tar.gz 3406566 BLAKE2B
de29d5460795e7a430a293f476b34bf76802168959db62a56ed48efe61ace82d0a4d9c60e422b93f95ecfd298f002f24ccfceec8bd42a2b59f13b784fc82120a
SHA512
06322ae1bdf7277f6e4b7e31b9527678180929a183eb60b3128a09912b0591736fad8468e15e1193122e85e234b91c1b21c31371708b98b48b918a867fdef2d3
diff --git a/www-apps/drupal/drupal-11.0.13.ebuild
b/www-apps/drupal/drupal-11.0.13.ebuild
new file mode 100644
index 000000000000..2e812b0ca244
--- /dev/null
+++ b/www-apps/drupal/drupal-11.0.13.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2025 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
+}