summaryrefslogtreecommitdiff
path: root/www-apps/moodle
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-30 14:58:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-30 14:58:12 +0000
commit268511f85b0606dd23fda1991345568dd3e1976b (patch)
tree6db33fa4a4774e1e23c22fb636b6d8717f28f2c8 /www-apps/moodle
parent552fc3ba95eab5c2c1a8b2b55ab432a1019739a0 (diff)
gentoo auto-resync : 30:01:2023 - 14:58:12
Diffstat (limited to 'www-apps/moodle')
-rw-r--r--www-apps/moodle/Manifest10
-rw-r--r--www-apps/moodle/moodle-3.11.12.ebuild (renamed from www-apps/moodle/moodle-3.11.10.ebuild)2
-rw-r--r--www-apps/moodle/moodle-3.9.17.ebuild120
-rw-r--r--www-apps/moodle/moodle-4.0.6.ebuild (renamed from www-apps/moodle/moodle-4.0.4.ebuild)2
4 files changed, 6 insertions, 128 deletions
diff --git a/www-apps/moodle/Manifest b/www-apps/moodle/Manifest
index 2ca13ece156a..fde84df582d0 100644
--- a/www-apps/moodle/Manifest
+++ b/www-apps/moodle/Manifest
@@ -2,10 +2,8 @@ AUX config-r1.php 1780 BLAKE2B 1d80339f97771f5f4cce03f49d055598269fd50832d6f98d5
AUX config.php 718 BLAKE2B b12392f83a9feaaad4ad5ac7c7e3ff27670b9aad959db5528900472cc6cd10f19c9a371c17f0412b7c0c985f4ba1bcf39ecea8c7ef9e0a8ed50012cc64f4b72b SHA512 38347d3a275397074abe3cc8cd1521c7fe2deb45f4702d7a8a3e3c30ab6e2c1c51fa2c1f58d7fc99f0b72f2dcd243b8dcfdd7b3641c22c41399705aab6b59479
AUX postinstall-en.txt 6524 BLAKE2B 68262eaf6318780a468d9e6f98c3b2cce43164964de6ea6626da43b1ac481b6edea6d0314cc4038adb511c4354a8f18dfd9da9145901d26665f84e746ab14e9b SHA512 bb3e5187db6be49707801cfde15ebced065f2d4b8c1a04fef2f4ced0a67dab2440b8e79d110685056cad84647f8ebb587c697452df8e2b0eab07b015d01b92cf
AUX postinstall-nodb-en.txt 171 BLAKE2B ee2aa857cf365815b705b5e60c5b2fef0cdb0bcd8acef0375e0173f13c004e336df9b2dbc6cac376bea939e8fe73a72f06d52961500d05ee2137a8fea82286b1 SHA512 b0cf4787351f904caf06573c5bc50275b6a11361170b4006acc24224f44efde69cfe3a9b6340d6787c5805c605dc89f07072bf992b0ee255c97fba90e5d5617e
-DIST moodle-3.11.10.tgz 60320974 BLAKE2B 32de17a625742bc33e75d662c550682a45099b7af1e86411eecc0d8a745dbfeef2361eca3cea2d048e21dd75af40e9143534ab09db24162089f2ad404b4b54a4 SHA512 10c1e450dee96a1261b25882238381930297aa4e4f9a993e3932908ed2356d65facb5e06500dbd98c83a4022514c0ad1ad6305911241412985758fa29b5dd7a8
-DIST moodle-3.9.17.tgz 56753985 BLAKE2B 695ba04f2d2158c3528e0ffdbe09b6c7237a8a79d65a4bf673d6d677d18c8731a1034c403e1f2315922d3b4090645dcfc6df4b857a1e8352d89037e9497df4c2 SHA512 42f23bc97e7e78668a046b11a72b346d1188d92340ade0cb55ea6a391d8174f443d2b89d646c67a778b9dff33dcac8cf5b2b0a3dead84bc6cdecdaa3bdc83143
-DIST moodle-4.0.4.tgz 61899291 BLAKE2B 82c18a8c89e7eb09a942f236640f49c414310c138d7cf2a9951c9759bea67f943f53257cefd5d693ec58a6af1e8eb6ae57a864d7772ea35a7592111d7be67cb0 SHA512 4284c05946dd07e43dbc7c584d7b3a69f62cfebf3cf6b2d049c6dea72ce184aaa0b4e6efb49817c8967ac8ff9dbce0ab2cf5fb2e96033d4368ed617ee258ffd8
-EBUILD moodle-3.11.10.ebuild 2810 BLAKE2B 28884e35276abb7e5d04b7c12ea36bf48dd6d013161dd34db5c1a2fa80fab6acdaa987761dd8e6199911744115af4262f2d3878320cbb734c01dc3f4feccdef8 SHA512 e80deafc647709febabc028077a2caacd8f1176dfebbf38496414ebeb4dae32b6a418a40ca613cec989130e911561166eb11d59a3b10d0cc117d79e2900d72cc
-EBUILD moodle-3.9.17.ebuild 2810 BLAKE2B 28884e35276abb7e5d04b7c12ea36bf48dd6d013161dd34db5c1a2fa80fab6acdaa987761dd8e6199911744115af4262f2d3878320cbb734c01dc3f4feccdef8 SHA512 e80deafc647709febabc028077a2caacd8f1176dfebbf38496414ebeb4dae32b6a418a40ca613cec989130e911561166eb11d59a3b10d0cc117d79e2900d72cc
-EBUILD moodle-4.0.4.ebuild 2915 BLAKE2B 7a53c2bff434c20546aee0668de15f5d15218e90b5322dc0fc2d311751a08e04efa654b153ac9853735234e2fb98702728bf113ab698b874faf966e498995315 SHA512 2a3bcdfb15a5dcfd8d9c37b3e2865759a8b63199cc84f12f4226e8a5eed1dcd9d59441996006e95bc2070755c6d1cabcbbef93eeb6a1e24c038ccba83cb68ecc
+DIST moodle-3.11.12.tgz 60456820 BLAKE2B 702a3352e64a5f1b1e0713474f8b5297410dbc5e57aa8902471f7d4f8c7fbae0503fc4addc55b89345858fa25492305048c401eec77ab2ebdd773ed3d878496d SHA512 92d299f798956d05cb82f05e930d3ec21685b12a58e0105a8bfb7ac996c10b18870b8dd17ebefb6cc9518d360d02976e1de6f303d15630d886df7aac46d05708
+DIST moodle-4.0.6.tgz 62119193 BLAKE2B 5ba5d48fc741f9c51cf5621c9143614b5eb50d5f0ae79b36bf320a83d90214779d915485211d00041cc96b92a72d5a133313f087d78c38120c8b948fd5236a58 SHA512 d6454913ac53a7505abed81b1db8389513218065502e3a5625d2b58cdd534e97603a190d58e7c1fc9b11dae833d81025dd8ca12ae483879c9f22e2a01e531447
+EBUILD moodle-3.11.12.ebuild 2810 BLAKE2B 5c1f6e27fe39cd1db71d2da8393d1d64a9d1d387b98154ec0184c09a2dc2abdb208e0b34e96b1efb03286bce78a4a8e62c8a6e14d30941ac7fc568160c2369f0 SHA512 693fffb2b283783008bb4ac1a4bc28b577d116dca145de218cf052a3218564303a3d377ab089a67a77a03410b54f658a4d07e22f7356b9be7a583144e948bcff
+EBUILD moodle-4.0.6.ebuild 2915 BLAKE2B 8da1b7d44ab5e79f6bba9600309fc1280449f7e5cada7e90aee19653e49780040543a89f37a6468cfecd5091ada853f47ea7ffcb1b6d2f0457d31790fe6afd7f SHA512 6e6a7a085aa7b5ce21250810f645d8fffae2349a3203fbc7c4dad7213655ef9c7565006884267640f9bbe5c963967644c8c16e222cba554130b0fe2118a699e4
MISC metadata.xml 466 BLAKE2B e5c12c4995c19286c2ba56e5effe3180587fe9324937af8749bd65c4a6e31cea28149a12bb60659464b95edd95c2ee457266d4bef8913c585fb1384805156e40 SHA512 10ddb7fa26be32726945625a42884847785ff68f9c5d1e63441af4a1f9c0f12ff1c3d243e9ba1df95335e1bc480205e7eb105844dd1f9da211c8dd897249afa0
diff --git a/www-apps/moodle/moodle-3.11.10.ebuild b/www-apps/moodle/moodle-3.11.12.ebuild
index 6663660f3cdc..20e7fd262412 100644
--- a/www-apps/moodle/moodle-3.11.10.ebuild
+++ b/www-apps/moodle/moodle-3.11.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
diff --git a/www-apps/moodle/moodle-3.9.17.ebuild b/www-apps/moodle/moodle-3.9.17.ebuild
deleted file mode 100644
index 6663660f3cdc..000000000000
--- a/www-apps/moodle/moodle-3.9.17.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit webapp
-
-MY_BRANCH="stable$(ver_cut 1)$(ver_cut 2)"
-
-DESCRIPTION="The Moodle Course Management System"
-HOMEPAGE="https://moodle.org"
-SRC_URI="https://download.moodle.org/${MY_BRANCH}/${P}.tgz"
-S="${WORKDIR}/${PN}"
-
-LICENSE="GPL-3+"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~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,xml,zip"
-PHP_OPTIONAL_FLAGS="gd,intl,soap,ssl,tokenizer,xmlrpc"
-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:7.4[${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.0.4.ebuild b/www-apps/moodle/moodle-4.0.6.ebuild
index 5ab1c6f25ece..84bcff745360 100644
--- a/www-apps/moodle/moodle-4.0.4.ebuild
+++ b/www-apps/moodle/moodle-4.0.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"