commit: bc9858ad190671df2b6628e32cad5f2d146ae7d2
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Fri May 2 08:43:45 2025 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri May 2 08:48:16 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc9858ad
www-apps/drupal: add 11.1.5
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
www-apps/drupal/Manifest | 1 +
www-apps/drupal/drupal-11.1.5.ebuild | 72 ++++++++++++++++++++++++++++++++++++
2 files changed, 73 insertions(+)
diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
index 5f9c37a87b10..8351eb262447 100644
--- a/www-apps/drupal/Manifest
+++ b/www-apps/drupal/Manifest
@@ -3,4 +3,5 @@ DIST drupal-10.2.2.tar.gz 18950678 BLAKE2B
9a5e14547ba66bf0f9690e992b2ac3efd4e87
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-11.1.5.tar.gz 19746124 BLAKE2B
62c6a0559ca802997ff905d7d273ef270be1c447a75bd876dcb11141cf41a8ebca04222a1deec81e9065c63536aa17ccfcc7f9b30967387f38def15439bd6f5b
SHA512
5793df2bbe7c418ad0d945f0e1b42c2cc7432a2304efab157623a6ecf5b40e72ad7bc848a3cf17fe9496bce1dae78d537aa32d7bb5d5821c2752db5d1d771161
DIST drupal-7.102.tar.gz 3406566 BLAKE2B
de29d5460795e7a430a293f476b34bf76802168959db62a56ed48efe61ace82d0a4d9c60e422b93f95ecfd298f002f24ccfceec8bd42a2b59f13b784fc82120a
SHA512
06322ae1bdf7277f6e4b7e31b9527678180929a183eb60b3128a09912b0591736fad8468e15e1193122e85e234b91c1b21c31371708b98b48b918a867fdef2d3
diff --git a/www-apps/drupal/drupal-11.1.5.ebuild
b/www-apps/drupal/drupal-11.1.5.ebuild
new file mode 100644
index 000000000000..2e812b0ca244
--- /dev/null
+++ b/www-apps/drupal/drupal-11.1.5.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
+}