From b6a0f46f7d2e1e21df70fb32169f7d9de85445f7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 22 Dec 2023 19:52:05 +0000 Subject: gentoo auto-resync : 22:12:2023 - 19:52:05 --- www-apps/moodle/Manifest | 8 +-- www-apps/moodle/moodle-4.2.4.ebuild | 123 ------------------------------------ www-apps/moodle/moodle-4.2.5.ebuild | 123 ++++++++++++++++++++++++++++++++++++ www-apps/moodle/moodle-4.3.1.ebuild | 123 ------------------------------------ www-apps/moodle/moodle-4.3.2.ebuild | 123 ++++++++++++++++++++++++++++++++++++ 5 files changed, 250 insertions(+), 250 deletions(-) delete mode 100644 www-apps/moodle/moodle-4.2.4.ebuild create mode 100644 www-apps/moodle/moodle-4.2.5.ebuild delete mode 100644 www-apps/moodle/moodle-4.3.1.ebuild create mode 100644 www-apps/moodle/moodle-4.3.2.ebuild (limited to 'www-apps/moodle') diff --git a/www-apps/moodle/Manifest b/www-apps/moodle/Manifest index 83a127fbf1ee..18de0c2d9fc1 100644 --- a/www-apps/moodle/Manifest +++ b/www-apps/moodle/Manifest @@ -2,8 +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-4.2.4.tgz 65439054 BLAKE2B 6c7c2ed305139bf1d2bdaf7f60893a5019ea657be05918911aedaff0e6bcd8160726d38a5ac48aab776215fb0cb9d0d17bab26f50f076950a17f44f084b3a222 SHA512 b397b6a4dd9091feb9b11e6d8e8e168b22ffe3f0b1feb41a6bb456f52adc106ad135eae7f03159948b5ffaf2d70a4e5d6e58013653db488437ea4e2be59d68f3 -DIST moodle-4.3.1.tgz 66793158 BLAKE2B f05518186c05380e6cd99db6aa612287bd1b5fd31ad74dce152da799553b2cdd05bff7249be46b4bb6c8fa838b18f50a9dfe492bad21897e5633719987d7eff2 SHA512 6f33f946f9bb20fb75b75e9f715d29f8a0149751387931745d1894d671334911fcb5f61a9fdbc4fc33ade163518f5de9d49ade8420f9e1ffb3400df8c1eed646 -EBUILD moodle-4.2.4.ebuild 2866 BLAKE2B 829a3c55273bef3e9b1719c05722c99a799aa8763c43ed3e7f5e7df724641be647ff83cc332449f2e781d3c92a049b628d455a93fe83ac36b5d2b8c3626a3340 SHA512 4d776421d9182507bec054540e611cbcf68c83e213583d98e0b67b35d7186e9eecf69b5a03260d707541b4cf71f90c5a7cb64f84c01dc7bdd154a5218010919f -EBUILD moodle-4.3.1.ebuild 2866 BLAKE2B 829a3c55273bef3e9b1719c05722c99a799aa8763c43ed3e7f5e7df724641be647ff83cc332449f2e781d3c92a049b628d455a93fe83ac36b5d2b8c3626a3340 SHA512 4d776421d9182507bec054540e611cbcf68c83e213583d98e0b67b35d7186e9eecf69b5a03260d707541b4cf71f90c5a7cb64f84c01dc7bdd154a5218010919f +DIST moodle-4.2.5.tgz 65437122 BLAKE2B 58aea73535fb8054400473388a86a85eec89313a084d45e21b53ebca49b13358c21123d3ebe730b8a62bc89a9c6b523068fbf4a3d48b6d4c5e8ee8d77f92e248 SHA512 12598280828f5d6e96dd0146561c0a44ca101433b9bb06de85535fbb0ddf8a3e4909e10bba13e05d77bdf91b92ded50050665b7a899e8d27ab21db304d5577bd +DIST moodle-4.3.2.tgz 66796530 BLAKE2B 644e54381f4c045df7a5219a3f24a760e06e78796398959bd34f30d21afcf28e65e0c7697e50cbd0cb0b3fb8cf97a10c73ad410828f7e53738d29696009fd756 SHA512 6ebac2f0441047fc44d67c7e5ee071911c6be28480cd6de5d07a103fbd41673f1603b0ff5b0595abab4f6ba3078743df3a0bc07e49b0b6145795618cfbde2d44 +EBUILD moodle-4.2.5.ebuild 2866 BLAKE2B 829a3c55273bef3e9b1719c05722c99a799aa8763c43ed3e7f5e7df724641be647ff83cc332449f2e781d3c92a049b628d455a93fe83ac36b5d2b8c3626a3340 SHA512 4d776421d9182507bec054540e611cbcf68c83e213583d98e0b67b35d7186e9eecf69b5a03260d707541b4cf71f90c5a7cb64f84c01dc7bdd154a5218010919f +EBUILD moodle-4.3.2.ebuild 2866 BLAKE2B 829a3c55273bef3e9b1719c05722c99a799aa8763c43ed3e7f5e7df724641be647ff83cc332449f2e781d3c92a049b628d455a93fe83ac36b5d2b8c3626a3340 SHA512 4d776421d9182507bec054540e611cbcf68c83e213583d98e0b67b35d7186e9eecf69b5a03260d707541b4cf71f90c5a7cb64f84c01dc7bdd154a5218010919f MISC metadata.xml 466 BLAKE2B e5c12c4995c19286c2ba56e5effe3180587fe9324937af8749bd65c4a6e31cea28149a12bb60659464b95edd95c2ee457266d4bef8913c585fb1384805156e40 SHA512 10ddb7fa26be32726945625a42884847785ff68f9c5d1e63441af4a1f9c0f12ff1c3d243e9ba1df95335e1bc480205e7eb105844dd1f9da211c8dd897249afa0 diff --git a/www-apps/moodle/moodle-4.2.4.ebuild b/www-apps/moodle/moodle-4.2.4.ebuild deleted file mode 100644 index 04ae73cd2ec3..000000000000 --- a/www-apps/moodle/moodle-4.2.4.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2023 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,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}] - ) - 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.2.5.ebuild b/www-apps/moodle/moodle-4.2.5.ebuild new file mode 100644 index 000000000000..04ae73cd2ec3 --- /dev/null +++ b/www-apps/moodle/moodle-4.2.5.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2023 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,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}] + ) + 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.3.1.ebuild b/www-apps/moodle/moodle-4.3.1.ebuild deleted file mode 100644 index 04ae73cd2ec3..000000000000 --- a/www-apps/moodle/moodle-4.3.1.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2023 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,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}] - ) - 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.3.2.ebuild b/www-apps/moodle/moodle-4.3.2.ebuild new file mode 100644 index 000000000000..04ae73cd2ec3 --- /dev/null +++ b/www-apps/moodle/moodle-4.3.2.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2023 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,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}] + ) + 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 +} -- cgit v1.2.3