summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2024-04-09 09:34:25 +0300
committerViorel Munteanu <ceamac@gentoo.org>2024-04-09 09:35:56 +0300
commit864d8b372f28e11eb9742f3e6f89402d9fdb2d68 (patch)
tree22ae6e2fe8dda82075e0bc3c0a6df159a9d372de /www-apps
parentwww-apps/drupal: add 10.1.8 (diff)
downloadgentoo-864d8b372f28e11eb9742f3e6f89402d9fdb2d68.tar.gz
gentoo-864d8b372f28e11eb9742f3e6f89402d9fdb2d68.tar.bz2
gentoo-864d8b372f28e11eb9742f3e6f89402d9fdb2d68.zip
www-apps/drupal: add 10.2.2
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/drupal/Manifest1
-rw-r--r--www-apps/drupal/drupal-10.2.2.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
index fcd3db014a52..c5f5870dc56e 100644
--- a/www-apps/drupal/Manifest
+++ b/www-apps/drupal/Manifest
@@ -1,4 +1,5 @@
DIST drupal-10.0.11.tar.gz 17461226 BLAKE2B cb0002fb00447923f84202e0e4703eba5bb82c89fb349b015da1ce98cc85b223fdad88c8ac19bae6c7488f23643465613708e78b83aeec127fa40035cd148e5a SHA512 574ed4d82ba31145add7e2bb18a9cbf19afa7c4d015468317747be2d438b0a4a75807669ba95c9593c2853e3cab44757741a54265da305f2df00a80626566e47
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-7.97.tar.gz 3381082 BLAKE2B 3997305b91330db16843ee17927435b1bba4b080b72b36c1c90508e9edc0379f33aad3fae31fd637034d7ddeae425d75bd2252ed733ee00a6d9e12a75b909979 SHA512 2ea4ae63f9dc87043f3743f7e426c2fe940ca930a764c9eff0cb19e25fb3117599350c8fab92fc1bc45c2e6719ae20caba039180d63672cb1616f7526b798dcb
DIST drupal-9.5.11.tar.gz 22593304 BLAKE2B b978bed98649eb43999c414d11c1f168eca9800e65016e5e444799c9be75f6dd3914287e6845b9b9f698d3c0a3e368ac48f35b9b9cf989e23ad8f3abd70f028a SHA512 a8fe6756d4540c95af6d615d8eb2a063f79a502920d609db15ef07ede05727a933f5720e5ca64fe5d70c71d7d6971217633135675bb7f27db2130bbd01d8094d
diff --git a/www-apps/drupal/drupal-10.2.2.ebuild b/www-apps/drupal/drupal-10.2.2.ebuild
new file mode 100644
index 000000000000..0d28862cde3b
--- /dev/null
+++ b/www-apps/drupal/drupal-10.2.2.ebuild
@@ -0,0 +1,72 @@
+# 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
+}