diff options
author | Viorel Munteanu <ceamac@gentoo.org> | 2024-04-09 09:19:29 +0300 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2024-04-09 09:35:56 +0300 |
commit | 85d0cb7613b858e253b05b6aa48d9d57f237357b (patch) | |
tree | 7cb11acdf219b1c44f5e0c2e7300d28e9aa1a5ea /www-apps | |
parent | dev-python/werkzeug: Support >=dev-python/pytest-xprocess-1 (diff) | |
download | gentoo-85d0cb7613b858e253b05b6aa48d9d57f237357b.tar.gz gentoo-85d0cb7613b858e253b05b6aa48d9d57f237357b.tar.bz2 gentoo-85d0cb7613b858e253b05b6aa48d9d57f237357b.zip |
www-apps/drupal: add 10.1.8
Closes: https://bugs.gentoo.org/928894
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/drupal/Manifest | 1 | ||||
-rw-r--r-- | www-apps/drupal/drupal-10.1.8.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest index 64671b081b64..fcd3db014a52 100644 --- a/www-apps/drupal/Manifest +++ b/www-apps/drupal/Manifest @@ -1,3 +1,4 @@ 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-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.1.8.ebuild b/www-apps/drupal/drupal-10.1.8.ebuild new file mode 100644 index 000000000000..0d28862cde3b --- /dev/null +++ b/www-apps/drupal/drupal-10.1.8.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 +} |