commit: c015c2d526eca86c23bdbda3c71be6a927262dcf
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 12 12:52:25 2025 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Aug 12 12:52:25 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c015c2d5
www-apps/moodle: bumps to 4.4.10, 4.5.6, 5.0.2
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
www-apps/moodle/Manifest | 6 +-
.../{moodle-5.0.1.ebuild => moodle-4.4.10.ebuild} | 0
www-apps/moodle/moodle-4.4.9.ebuild | 124 ---------------------
www-apps/moodle/moodle-4.5.5.ebuild | 124 ---------------------
.../{moodle-5.0.1.ebuild => moodle-4.5.6.ebuild} | 0
.../{moodle-5.0.1.ebuild => moodle-5.0.2.ebuild} | 0
6 files changed, 3 insertions(+), 251 deletions(-)
diff --git a/www-apps/moodle/Manifest b/www-apps/moodle/Manifest
index aa39301eb25c..a5665224e7d3 100644
--- a/www-apps/moodle/Manifest
+++ b/www-apps/moodle/Manifest
@@ -1,3 +1,3 @@
-DIST moodle-4.4.9.tgz 72699015 BLAKE2B
cb77ff79c8dabf449440e0771960199a3a7b85c8a300f915eb2918f8cf06ecbfb01bafb125ceefcc3517ce9489372948606e92a7ae6385b6701bb1e2fdf36b85
SHA512
ede90b2b297f232e92d299763019fe95436d1094ff8d20783ceb9348bf12bd4e55cfbeeac5795135c3d6b8847885688cd975f7763ee148f1616ede00ebc959ac
-DIST moodle-4.5.5.tgz 74387794 BLAKE2B
0e6b3b7c61df2c9a36db8afe24506a0507b824d3380e738864c94bf4e3b73cb91fddf1aa5cea7016a5a625a68cac18b0fe6ae07f85c656ed93fd5409026af138
SHA512
0a9938d5d7c0f47e759dcab0c4494d790799541307d71fef5865795096f9cd280dfc955eaea8c55dcba2918b078fe8bdcd14c99673eecf6023c28c3a54d1bd29
-DIST moodle-5.0.1.tgz 74150641 BLAKE2B
f4c10005f5ca9cd788b8b252ef270711ff6613d2c695b7bd097ef12e89ca2a428c14118e865883708e8528fc220d83cb65b8fa6749a5c37af47d7fbdbbaf0b68
SHA512
c48d5b199c0b52e739b96f768c17a79f8e2205d3872d37077ec41a1044a226842f1769a5170e739cdbb9e0911329a5c6dffb73290e03c8a38c3f0e514e30d525
+DIST moodle-4.4.10.tgz 72712584 BLAKE2B
cb98c5394966c5ff4db1d165e0c060d1efceba352e7c2eab5e90130515fbc4f22216e3afce9de81b1f1b40c99e613bc03d46c14092dfcb2edd78f6e982e331b7
SHA512
1ae04bd780453a76e4b9dfd31033b51c81c3ca781c77fac5ec0ff03c9df0e49b2be73cd4dbeccd64237d49e50e6d8d608bd23856d3d0522be48441f651f3249a
+DIST moodle-4.5.6.tgz 74430958 BLAKE2B
402c6441b4dae5db201554aa79b3a917cd4c39230dc01f376e7ac3d0e65a8d60e67cb6c8b4841504a24eb8429d08753b587a8e14a5224d79386efa97e106b457
SHA512
db5647df13a04ea08b987581a43826f4c14424bd57482eb8e56fef8067cb0c5601d461e0597d7ced6f3a84600aed940e475d1e62758dabd5b5c60363323375f7
+DIST moodle-5.0.2.tgz 74229689 BLAKE2B
3396b97a4bf799b8ee28bb07cec81cde58bfeabced44149ff2cbe65935202e0af14cff72587fcfcfa38b90741e54c37565eab5856adbd432a7bcadfab12d14e6
SHA512
95e04d78aaa961ee55ec11e9e1aa90fa0a649462009feeb294ae2ab3110e71f72c8b96ff0492c5d40b1035905b35e9289d7913b2ea6d0868dba83a632572ee7f
diff --git a/www-apps/moodle/moodle-5.0.1.ebuild
b/www-apps/moodle/moodle-4.4.10.ebuild
similarity index 100%
copy from www-apps/moodle/moodle-5.0.1.ebuild
copy to www-apps/moodle/moodle-4.4.10.ebuild
diff --git a/www-apps/moodle/moodle-4.4.9.ebuild
b/www-apps/moodle/moodle-4.4.9.ebuild
deleted file mode 100644
index 2fd2762cfca7..000000000000
--- a/www-apps/moodle/moodle-4.4.9.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit webapp
-
-DESCRIPTION="The Moodle Course Management System"
-HOMEPAGE="https://moodle.org"
-
-MY_BRANCH="stable$(ver_cut 1)0$(ver_cut 2)"
-SRC_URI="https://download.moodle.org/download.php/direct/${MY_BRANCH}/${P}.tgz"
-S="${WORKDIR}/${PN}"
-
-LICENSE="GPL-3+"
-KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
-#SLOT empty due to webapp
-
-DB_FLAGS="mysqli?,mssql?,postgres?"
-DB_TYPES=${DB_FLAGS//\?/}
-DB_TYPES=${DB_TYPES//,/ }
-
-AUTHENTICATION_FLAGS="imap?,ldap?,odbc?"
-AUTHENTICATION_MODES=${AUTHENTICATION_FLAGS//\?/}
-AUTHENTICATION_MODES=${AUTHENTICATION_MODES//,/ }
-
-PHP_REQUIRED_FLAGS="ctype,curl,iconv,json(+),session,simplexml,sodium,xml,zip"
-PHP_OPTIONAL_FLAGS="gd,intl,soap,ssl,tokenizer"
-PHP_FLAGS="${PHP_REQUIRED_FLAGS},${PHP_OPTIONAL_FLAGS}"
-
-IUSE="${DB_TYPES} ${AUTHENTICATION_MODES} vhosts"
-
-# No forced dependency on
-# mssql? - lives on a windows server
-# mysql? ( virtual/mysql )
-# postgres? ( dev-db/postgresql-server-9* )
-# which may live on another server. These USE flags affect the configuration
-# file and the dependency on php. However other dbs are possible. See
config.php
-# and the moodle documentation for other possibilities.
-DEPEND=""
-RDEPEND="
- || (
-
dev-lang/php:8.1[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS}]
-
dev-lang/php:8.2[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS}]
-
dev-lang/php:8.3[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS}]
- )
- virtual/httpd-php
- virtual/cron"
-
-pkg_setup() {
- webapp_pkg_setup
-
- # How many dbs were selected? If one and only one, which one is it?
- MYDB=""
- DB_COUNT=0
- for db in ${DB_TYPES}; do
- if use ${db}; then
- MYDB=${db}
- DB_COUNT=$(($DB_COUNT+1))
- fi
- done
-
- if [[ ${DB_COUNT} -eq 0 ]]; then
- eerror
- eerror "No database selected in your USE flags,"
- eerror "You must select at least one."
- eerror
- die
- fi
-
- if [[ ${DB_COUNT} -gt 1 ]]; then
- MYDB=""
- ewarn
- ewarn "Multiple databases selected in your USE flags,"
- ewarn "You will have to choose your database manually."
- ewarn
- fi
-}
-
-src_prepare() {
- rm COPYING.txt
- cp "${FILESDIR}"/config-r1.php config.php
-
- # Moodle expect pgsql, not postgres
- MYDB=${MYDB/postgres/pgsql}
-
- if [[ ${DB_COUNT} -eq 1 ]] ; then
- sed -i -e "s|mydb|${MYDB}|" config.php
- fi
-
- eapply_user
-}
-
-src_install() {
- webapp_src_preinst
-
- local MOODLEDATA="${MY_HOSTROOTDIR}"/moodle
- dodir ${MOODLEDATA}
- webapp_serverowned -R "${MOODLEDATA}"
-
- local MOODLEROOT="${MY_HTDOCSDIR}"
- insinto ${MOODLEROOT}
- doins -r *
-
- webapp_configfile "${MOODLEROOT}"/config.php
-
- if [[ ${DB_COUNT} -eq 1 ]]; then
- webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
- else
- webapp_postinst_txt en "${FILESDIR}"/postinstall-nodb-en.txt
- fi
-
- webapp_src_install
-}
-
-pkg_postinst() {
- einfo
- einfo
- einfo "To see the post install instructions, do"
- einfo
- einfo " webapp-config --show-postinst ${PN} ${PVR}"
- einfo
- einfo
-}
diff --git a/www-apps/moodle/moodle-4.5.5.ebuild
b/www-apps/moodle/moodle-4.5.5.ebuild
deleted file mode 100644
index 2fd2762cfca7..000000000000
--- a/www-apps/moodle/moodle-4.5.5.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit webapp
-
-DESCRIPTION="The Moodle Course Management System"
-HOMEPAGE="https://moodle.org"
-
-MY_BRANCH="stable$(ver_cut 1)0$(ver_cut 2)"
-SRC_URI="https://download.moodle.org/download.php/direct/${MY_BRANCH}/${P}.tgz"
-S="${WORKDIR}/${PN}"
-
-LICENSE="GPL-3+"
-KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
-#SLOT empty due to webapp
-
-DB_FLAGS="mysqli?,mssql?,postgres?"
-DB_TYPES=${DB_FLAGS//\?/}
-DB_TYPES=${DB_TYPES//,/ }
-
-AUTHENTICATION_FLAGS="imap?,ldap?,odbc?"
-AUTHENTICATION_MODES=${AUTHENTICATION_FLAGS//\?/}
-AUTHENTICATION_MODES=${AUTHENTICATION_MODES//,/ }
-
-PHP_REQUIRED_FLAGS="ctype,curl,iconv,json(+),session,simplexml,sodium,xml,zip"
-PHP_OPTIONAL_FLAGS="gd,intl,soap,ssl,tokenizer"
-PHP_FLAGS="${PHP_REQUIRED_FLAGS},${PHP_OPTIONAL_FLAGS}"
-
-IUSE="${DB_TYPES} ${AUTHENTICATION_MODES} vhosts"
-
-# No forced dependency on
-# mssql? - lives on a windows server
-# mysql? ( virtual/mysql )
-# postgres? ( dev-db/postgresql-server-9* )
-# which may live on another server. These USE flags affect the configuration
-# file and the dependency on php. However other dbs are possible. See
config.php
-# and the moodle documentation for other possibilities.
-DEPEND=""
-RDEPEND="
- || (
-
dev-lang/php:8.1[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS}]
-
dev-lang/php:8.2[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS}]
-
dev-lang/php:8.3[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS}]
- )
- virtual/httpd-php
- virtual/cron"
-
-pkg_setup() {
- webapp_pkg_setup
-
- # How many dbs were selected? If one and only one, which one is it?
- MYDB=""
- DB_COUNT=0
- for db in ${DB_TYPES}; do
- if use ${db}; then
- MYDB=${db}
- DB_COUNT=$(($DB_COUNT+1))
- fi
- done
-
- if [[ ${DB_COUNT} -eq 0 ]]; then
- eerror
- eerror "No database selected in your USE flags,"
- eerror "You must select at least one."
- eerror
- die
- fi
-
- if [[ ${DB_COUNT} -gt 1 ]]; then
- MYDB=""
- ewarn
- ewarn "Multiple databases selected in your USE flags,"
- ewarn "You will have to choose your database manually."
- ewarn
- fi
-}
-
-src_prepare() {
- rm COPYING.txt
- cp "${FILESDIR}"/config-r1.php config.php
-
- # Moodle expect pgsql, not postgres
- MYDB=${MYDB/postgres/pgsql}
-
- if [[ ${DB_COUNT} -eq 1 ]] ; then
- sed -i -e "s|mydb|${MYDB}|" config.php
- fi
-
- eapply_user
-}
-
-src_install() {
- webapp_src_preinst
-
- local MOODLEDATA="${MY_HOSTROOTDIR}"/moodle
- dodir ${MOODLEDATA}
- webapp_serverowned -R "${MOODLEDATA}"
-
- local MOODLEROOT="${MY_HTDOCSDIR}"
- insinto ${MOODLEROOT}
- doins -r *
-
- webapp_configfile "${MOODLEROOT}"/config.php
-
- if [[ ${DB_COUNT} -eq 1 ]]; then
- webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
- else
- webapp_postinst_txt en "${FILESDIR}"/postinstall-nodb-en.txt
- fi
-
- webapp_src_install
-}
-
-pkg_postinst() {
- einfo
- einfo
- einfo "To see the post install instructions, do"
- einfo
- einfo " webapp-config --show-postinst ${PN} ${PVR}"
- einfo
- einfo
-}
diff --git a/www-apps/moodle/moodle-5.0.1.ebuild
b/www-apps/moodle/moodle-4.5.6.ebuild
similarity index 100%
copy from www-apps/moodle/moodle-5.0.1.ebuild
copy to www-apps/moodle/moodle-4.5.6.ebuild
diff --git a/www-apps/moodle/moodle-5.0.1.ebuild
b/www-apps/moodle/moodle-5.0.2.ebuild
similarity index 100%
rename from www-apps/moodle/moodle-5.0.1.ebuild
rename to www-apps/moodle/moodle-5.0.2.ebuild