diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest index 5a8d8d57e7a27..e9d9611ac5682 100644 --- a/www-apps/drupal/Manifest +++ b/www-apps/drupal/Manifest @@ -4,4 +4,5 @@ DIST drupal-10.6.11.tar.gz 21459221 BLAKE2B fcba7dbaf674ceee03148049f711b3e912de DIST drupal-10.6.9.tar.gz 21437933 BLAKE2B f1199d38b456c2d7e0ecc5496a229f42e90792391c092dc9327ffbdabaea1d26a4ce40f8ed4369039c8077e82cc87faf1e4e5225da5c830652cd440b2ffb9de6 SHA512 3f194e846654e85e825df6a255b386124a307d3e98261e7858c939828fc6a04cdcb71b067cd399960f4dd0441190723d5ebdc07a7f8c586ed29d6e2769aa91e9 DIST drupal-11.1.10.tar.gz 19767415 BLAKE2B 96f692dfa431c0db9329bd676df168ff14fcb2b6b04a1abd44181695d512a9affb3a3117a4a98b5dea349a23dba9bd515303349e33e49de6b3db77db6b9f7bb3 SHA512 4dd889f5ba39a8a6eadb080f1a21f4c52beee11394a2916a67510936972818303a306216e3b2688652afca217519c38d7462156d419258572f3e22aad0eed8f2 DIST drupal-11.2.12.tar.gz 20309461 BLAKE2B fa3875f83d2923db4651bef8d2f64c6121a59738a40e7c3ca208aa9faceca6c7816291066850fbfcd796fa1aa9dec09a04e9cc277bb6eeabc5fc165379883a6e SHA512 e3b4685cc7f0e2affe514800ca777097e4e8472ff0cd51a52b65a73e135aae88354ec0dbb5548b568fa74d39e2455a86b1bdab467dcad7b4a4643f4fd07e1bca +DIST drupal-11.2.14.tar.gz 20316509 BLAKE2B 341f3202b029ab73cd6b45cb3aa0d18b58627b2e84b27c81ac2c1c57d7e92c24d412124eed0cba2635830837cdc9816fdd559999ed776d3290f01403fc3f0b2f SHA512 cc22f0f876fd1ca845d2822264b8cde25a870d14b4394afae95b8a1e7d64e153eac3fa814fb5ae46d3c7db013f174d69dff25aa45293265d9d2ce8c39b7b4a87 DIST drupal-11.3.10.tar.gz 20939685 BLAKE2B 28da84f0e6f500f76bf7345b18eef18eeb892077be990f02bad12f7dcdb8e7df35e2c120df2f0aae5cec51b341f91bef4ffc894066dc668a35ae7e59a9c8be9e SHA512 771e9b76fcdf8c90c73305cf4ebd20276b08d06e2180d6cdeebe413e77e2fcdcf677093a5089c09c08f904bd89e6944784a6068a6c619f47bd91ba5c4e2506f3 diff --git a/www-apps/drupal/drupal-11.2.14.ebuild b/www-apps/drupal/drupal-11.2.14.ebuild new file mode 100644 index 0000000000000..b417a33366f8e --- /dev/null +++ b/www-apps/drupal/drupal-11.2.14.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2026 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-8.3[argon2,curl,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 +}