commit:     4f7d3e9eb7b4e9b9cadf02a65b8c04e29e08ae9a
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Fri May  2 08:24:32 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=4f7d3e9e

www-apps/drupal: add 10.3.14

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 www-apps/drupal/Manifest              |  1 +
 www-apps/drupal/drupal-10.3.14.ebuild | 72 +++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
index a1e0b551fb33..c0f42e372b5d 100644
--- a/www-apps/drupal/Manifest
+++ b/www-apps/drupal/Manifest
@@ -1,3 +1,4 @@
 DIST drupal-10.1.8.tar.gz 18292624 BLAKE2B 
0b636ab54732ba73392098969b3445aafeaf0421a2d3e3f823e0ec12ae4334652c07c2587c37d18bff88d87f6ade5daf5e77e716f0e93679721e9247dd48286d
 SHA512 
422c9e31bbc3ff84746e90a012c5ca4cfd40b645257b68f27125e6647a62759d42245d59efaa9e3bce28403d32d8ebcd96b60b7c80aaa31372e81a0034a6757b
 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-7.102.tar.gz 3406566 BLAKE2B 
de29d5460795e7a430a293f476b34bf76802168959db62a56ed48efe61ace82d0a4d9c60e422b93f95ecfd298f002f24ccfceec8bd42a2b59f13b784fc82120a
 SHA512 
06322ae1bdf7277f6e4b7e31b9527678180929a183eb60b3128a09912b0591736fad8468e15e1193122e85e234b91c1b21c31371708b98b48b918a867fdef2d3

diff --git a/www-apps/drupal/drupal-10.3.14.ebuild 
b/www-apps/drupal/drupal-10.3.14.ebuild
new file mode 100644
index 000000000000..2e812b0ca244
--- /dev/null
+++ b/www-apps/drupal/drupal-10.3.14.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
+}

Reply via email to