moodle-4.0.2 ebuild has SRC_URI="https://download.moodle.org/download.php/direct/stable400/moodle-4.0.tgz" hardcoded and thus downloads the wrong release tarball 4.0 instead of 4.0.2: [...] >>> Emerging (1 of 1) www-apps/moodle-4.0.2::gentoo >>> Downloading 'http://distfiles.gentoo.org/distfiles/1b/moodle-4.0.tgz' --2022-07-13 11:31:54-- http://distfiles.gentoo.org/distfiles/1b/moodle-4.0.tgz Auflösen des Hostnamens netzinfo.stadt-heilbronn.de… 10.133.1.102 Verbindungsaufbau zu netzinfo.stadt-heilbronn.de|10.133.1.102|:3128 … verbunden. Proxy-Anforderung gesendet, auf Antwort wird gewartet … 200 OK Länge: 61778671 (59M) [application/x-gzip] Wird in »/usr/portage/distfiles/moodle-4.0.tgz.__download__« gespeichert. /usr/portage/distfi 100%[===================>] 58,92M --.-KB/s in 0,1s 2022-07-13 11:31:55 (451 MB/s) - »/usr/portage/distfiles/moodle-4.0.tgz.__download__« gespeichert [61778671/61778671] * moodle-4.0.tgz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking moodle-4.0.tgz to /var/tmp/portage/www-apps/moodle-4.0.2/work [...] Reproducible: Always Steps to Reproduce: 1. emerge moodle (4.0.2) 2. see 4.0 instead of 4.0.2 being downloaded (and installed) Actual Results: Downloads an incorrect tarball 4.0 instead of 4.0.2. Expected Results: Download the correct tarball 4.0.2 instead of 4.0.
Thanks, good spot. (Also fixed the typo in commented out SRC_URI too.)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a4e089eb718040ca8110e9e7c9c8b45c97b4ca3 commit 5a4e089eb718040ca8110e9e7c9c8b45c97b4ca3 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-14 00:39:55 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-14 00:40:24 +0000 www-apps/moodle: fix downloaded version Closes: https://bugs.gentoo.org/857873 Signed-off-by: Sam James <sam@gentoo.org> www-apps/moodle/Manifest | 1 + www-apps/moodle/moodle-4.0.2-r1.ebuild | 121 +++++++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+)