From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3951115807A for ; Wed, 9 Oct 2024 11:27:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66001E29A4; Wed, 9 Oct 2024 11:27:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 45168E29A4 for ; Wed, 9 Oct 2024 11:27:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 44D4C343097 for ; Wed, 9 Oct 2024 11:27:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AAA7F1C89 for ; Wed, 9 Oct 2024 11:27:45 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1728473189.c6003c28f098430be5b14865190df5b346d039f9.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/moodle/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/moodle/Manifest www-apps/moodle/moodle-4.2.10.ebuild www-apps/moodle/moodle-4.3.7.ebuild www-apps/moodle/moodle-4.3.8.ebuild www-apps/moodle/moodle-4.4.3.ebuild www-apps/moodle/moodle-4.4.4.ebuild www-apps/moodle/moodle-4.5.ebuild X-VCS-Directories: www-apps/moodle/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: c6003c28f098430be5b14865190df5b346d039f9 X-VCS-Branch: master Date: Wed, 9 Oct 2024 11:27:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c0bd4f70-d26f-4975-b48a-aac046333661 X-Archives-Hash: 01f8d1e51384a67d3a3960691a579e3e commit: c6003c28f098430be5b14865190df5b346d039f9 Author: Anthony G. Basile gentoo org> AuthorDate: Wed Oct 9 11:26:29 2024 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Wed Oct 9 11:26:29 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6003c28 www-apps/moodle: bumps to 4.3.8, 4.4.4, 4.5 Signed-off-by: Anthony G. Basile gentoo.org> www-apps/moodle/Manifest | 6 +- www-apps/moodle/moodle-4.3.7.ebuild | 123 --------------------- .../{moodle-4.2.10.ebuild => moodle-4.3.8.ebuild} | 0 .../{moodle-4.4.3.ebuild => moodle-4.4.4.ebuild} | 0 .../{moodle-4.4.3.ebuild => moodle-4.5.ebuild} | 0 5 files changed, 3 insertions(+), 126 deletions(-) diff --git a/www-apps/moodle/Manifest b/www-apps/moodle/Manifest index 272c24b647af..bc8acffcde6f 100644 --- a/www-apps/moodle/Manifest +++ b/www-apps/moodle/Manifest @@ -1,3 +1,3 @@ -DIST moodle-4.2.10.tgz 65431792 BLAKE2B a9691ed9b4edf63f3d9ab242b5478984d4cc9b05ca11596ae445cc5e10b35c4f7cb7ecff8ddd08270c0067383f7f78e2259d2391ec79b665c14e75952dc15123 SHA512 761e338b6bea02a67d62569c88385b5582903519eabfda080a6d834208cf40d7c13f24e7b4aa169b249eb7198b46732957bf557f0ea7b596586fa1e27844192f -DIST moodle-4.3.7.tgz 66836284 BLAKE2B 15fdfb03d2f63f4d32a7c2cc5a322dec9ae2e19df8b4eb2d11bcd656f59840c00d61b34f957b567de1c2f64ff7cee810c30550fb5c59db4fc1e8e880e6037e2e SHA512 3681c46d4a4f5b4a8813b98c0b1f273ae2346d795bd283e98f23ddf6820c9b73fe2a7447e2c30a9bf0d3c850a63c630be019542f003bf43e83e0484a93329960 -DIST moodle-4.4.3.tgz 71209493 BLAKE2B 67c344ff87a8c13d5dddaacae8144d2611b7c3f934f41a812897ec4379e7de466317315ee0e759178eb85b8afe63ca41d90dc0e8b97697aa8343551d03e8a766 SHA512 13043807b61e0b9c35bb82eaa4324f27e6a7189f133382dbccffe043da944cf9f4031df1064394d29f0f9965ebddcf60138edba6c666de87c3acff00cda4567c +DIST moodle-4.3.8.tgz 68132078 BLAKE2B d2830f03cfa39fdcd263b21a8efd3a4a317cd267f1f8eab5725d2acba4c020f0ab24462ce3b1bd31e65e6253603c7f2953d26b735405aed3bac3996d021dc6b5 SHA512 a97ba6e2aa54342f1e516af125c22385b2841b9b2677e056d8275ef45293093fdef002787afbce9a37b099c4b30450eda8b850f934c98e508fadbd57123de5cc +DIST moodle-4.4.4.tgz 72507853 BLAKE2B 374e83c79d1a84c246aab4120bb94f1efa57362594c5660068cc922cb0a6c0d67a51c47609be9039332e4450a71f3b5f16ab75452850771da43ec4449ed0e1ad SHA512 e73a12d18ca361f1d2a86cc7987f82e848273e2dfc21eb3a1a5551891e623ae2b8c36e2f602e36178f8dfdd61657344a5be37bab812a7c7c4c97699e10673453 +DIST moodle-4.5.tgz 74155937 BLAKE2B 84ccb976f872042a66ae8ce03cf5e48fb008d36365152a7df902c8cc288e905a1d675261f19564ac4e6458d6bcd0a3eba06188c8a1a01ce1648caa0e872f6eca SHA512 f91f571461a9bf1198c39ce311739e77283838494bd8b42db094590ff9f90ce9de677365bb4fdb1942d358ff6fe1019445f264313b42fb0b7bfc5f68aff311f7 diff --git a/www-apps/moodle/moodle-4.3.7.ebuild b/www-apps/moodle/moodle-4.3.7.ebuild deleted file mode 100644 index dc4f3bbcbc1f..000000000000 --- a/www-apps/moodle/moodle-4.3.7.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2024 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.10.ebuild b/www-apps/moodle/moodle-4.3.8.ebuild similarity index 100% rename from www-apps/moodle/moodle-4.2.10.ebuild rename to www-apps/moodle/moodle-4.3.8.ebuild diff --git a/www-apps/moodle/moodle-4.4.3.ebuild b/www-apps/moodle/moodle-4.4.4.ebuild similarity index 100% copy from www-apps/moodle/moodle-4.4.3.ebuild copy to www-apps/moodle/moodle-4.4.4.ebuild diff --git a/www-apps/moodle/moodle-4.4.3.ebuild b/www-apps/moodle/moodle-4.5.ebuild similarity index 100% rename from www-apps/moodle/moodle-4.4.3.ebuild rename to www-apps/moodle/moodle-4.5.ebuild