commit: f6298363227ddf9acc215d0d7b4c218fae1c5aae
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 10 17:45:08 2026 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Feb 10 17:46:02 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6298363
www-apps/moodle: bumps to 4.5.9, 5.0.5; retire 4.4
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
www-apps/moodle/Manifest | 5 +-
.../{moodle-4.4.12.ebuild => moodle-4.5.9.ebuild} | 2 +-
www-apps/moodle/moodle-5.0.4.ebuild | 123 ---------------------
.../{moodle-4.5.8.ebuild => moodle-5.0.5.ebuild} | 2 +-
4 files changed, 4 insertions(+), 128 deletions(-)
diff --git a/www-apps/moodle/Manifest b/www-apps/moodle/Manifest
index 832ba955ff57..99efc5a4b9bf 100644
--- a/www-apps/moodle/Manifest
+++ b/www-apps/moodle/Manifest
@@ -1,3 +1,2 @@
-DIST moodle-4.4.12.tgz 72725108 BLAKE2B
5a66b7076c47b0ce01e3b68bf71b9a57581ea1365914e0b853b26fb4c8387c8e159215e88d8832df760bbdfa388271e9d6887f1f2ab8f908110ec870d127f029
SHA512
3b9ddd3e3de921ac2717f965d05adcb31e3560d547d1ca20b837630134f606b940931e91e038602b129aee91abaabe8763a61419027229003333e7c4d700ac0f
-DIST moodle-4.5.8.tgz 74479091 BLAKE2B
b65cbd69908715f34ebcf4e848fdc55471ba472635e0bb381d581f2e29c058c9cfb7653ff5dd2303a1240d99900362cfa7db86bd6156034d3a66855b81cd6230
SHA512
23833dd3d7761e81c6ba7ab35875576906d1ce7ce19128cc58067f793a4b9ccd5a95999e68acf9f9191f2a7b43432501d4ca49bd409153487ea2fc4e0e347efc
-DIST moodle-5.0.4.tgz 74308878 BLAKE2B
ac6c79eb7c18ed7220b27b328cf84b23a5bbcb77c0014796b7820ec0765ad5fb27c4c9d99f0dd283d471084e7c896025a8b157e3c1d6ffb365aba7f8fabf7196
SHA512
79ad0560d12b3d45695038d3836065ae458f27baf68be247a93dca8d0599eadd65cb0ab35cef1a588308140ebba0200ae66699c42f402b90aedabb5414754699
+DIST moodle-4.5.9.tgz 74501569 BLAKE2B
078d1706a2390cab4a548832a2430e90cca9cc7b382b37d5143791aee332192defbe365261a06a85546c8a298c0e6fabcf254ba9070abd412fb48963ec5e13e5
SHA512
878f422cca199df03734ec3a1154758b25e3f40ea9a9e41e0f9fd292e699daa74fe4cc8f434a3e2e94cc1feb81f8ee11276a31eb84083a977cc60e213558dff6
+DIST moodle-5.0.5.tgz 74359024 BLAKE2B
6c4830c4347ed81e8a3c298fe283b8d879d0f4e8a1aeb58e4d5696a3dae3debd275cfc86fdcbcb805f6eb44faff3919222519b8eb57cf8c8b57c2643ec11388e
SHA512
dbb7bbbcfbc33aed8bbd4b32897385e7235f664f61f9a2de027bd4647491b16232f84e351c9ab45bd84c25ea179f9ed49fde982cf04411720a1d17ba1cbce46f
diff --git a/www-apps/moodle/moodle-4.4.12.ebuild
b/www-apps/moodle/moodle-4.5.9.ebuild
similarity index 98%
rename from www-apps/moodle/moodle-4.4.12.ebuild
rename to www-apps/moodle/moodle-4.5.9.ebuild
index cb0309c946d9..5f79c685640e 100644
--- a/www-apps/moodle/moodle-4.4.12.ebuild
+++ b/www-apps/moodle/moodle-4.5.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
diff --git a/www-apps/moodle/moodle-5.0.4.ebuild
b/www-apps/moodle/moodle-5.0.4.ebuild
deleted file mode 100644
index cb0309c946d9..000000000000
--- a/www-apps/moodle/moodle-5.0.4.ebuild
+++ /dev/null
@@ -1,123 +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.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.8.ebuild
b/www-apps/moodle/moodle-5.0.5.ebuild
similarity index 98%
rename from www-apps/moodle/moodle-4.5.8.ebuild
rename to www-apps/moodle/moodle-5.0.5.ebuild
index cb0309c946d9..5f79c685640e 100644
--- a/www-apps/moodle/moodle-4.5.8.ebuild
+++ b/www-apps/moodle/moodle-5.0.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"