commit:     57022cc94701a9cb015cd7b8686a898163d3cf51
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Fri May  2 08:17:11 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri May  2 08:48:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57022cc9

www-apps/drupal: add 7.102

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

 www-apps/drupal/Manifest            |  1 +
 www-apps/drupal/drupal-7.102.ebuild | 58 +++++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
index 60c59728366d..b22fe490d68d 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-7.102.tar.gz 3406566 BLAKE2B 
de29d5460795e7a430a293f476b34bf76802168959db62a56ed48efe61ace82d0a4d9c60e422b93f95ecfd298f002f24ccfceec8bd42a2b59f13b784fc82120a
 SHA512 
06322ae1bdf7277f6e4b7e31b9527678180929a183eb60b3128a09912b0591736fad8468e15e1193122e85e234b91c1b21c31371708b98b48b918a867fdef2d3
 DIST drupal-7.97.tar.gz 3381082 BLAKE2B 
3997305b91330db16843ee17927435b1bba4b080b72b36c1c90508e9edc0379f33aad3fae31fd637034d7ddeae425d75bd2252ed733ee00a6d9e12a75b909979
 SHA512 
2ea4ae63f9dc87043f3743f7e426c2fe940ca930a764c9eff0cb19e25fb3117599350c8fab92fc1bc45c2e6719ae20caba039180d63672cb1616f7526b798dcb

diff --git a/www-apps/drupal/drupal-7.102.ebuild 
b/www-apps/drupal/drupal-7.102.ebuild
new file mode 100644
index 000000000000..175e1962fdd8
--- /dev/null
+++ b/www-apps/drupal/drupal-7.102.ebuild
@@ -0,0 +1,58 @@
+# 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
+
+DESCRIPTION="PHP-based open-source platform and content management system"
+HOMEPAGE="https://www.drupal.org/";
+SRC_URI="https://ftp.drupal.org/files/projects/${P}.tar.gz";
+
+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="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt 
INSTALL.mysql.txt INSTALL.pgsql.txt INSTALL.sqlite.txt UPGRADE.txt "
+       dodoc ${docs}
+       rm -f ${docs} INSTALL COPYRIGHT.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
+       webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
+       webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
+
+       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
+}

Reply via email to