notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2025Q3
moodle50 Course management system based on social constructionism
5.0.1_1 www on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 5.0.1_1Version of this port present on the latest quarterly branch.
Maintainer: wen@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-07-08 03:03:06
Last Update: 2025-07-08 03:02:07
Commit Hash: 902ec64
Also Listed In: education
License: GPLv3
WWW:
https://www.moodle.org/
Description:
Moodle is a course management system (CMS) - a free, Open Source software package designed using sound pedagogical principles, to help educators create effective online learning communities. You can use it on any computer you have handy (including webhosts), yet it can scale from a single-teacher site to a 40,000-student University.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • moodle50${PHP_PKGNAMESUFFIX}>0:www/moodle50
Conflicts:
CONFLICTS:
  • moodle44-4.4.[0-9]*
  • moodle45-4.5.[0-9]*
To install the port:
cd /usr/ports/www/moodle50/ && make install clean
To add the package, run one of these commands:
  • pkg install www/moodle50
  • pkg install moodle50-php83
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: moodle50-php83
Package flavors (<flavor>: <package>)
  • php83: moodle50-php83
  • php81: moodle50-php81
  • php82: moodle50-php82
  • php84: moodle50-php84
distinfo:
TIMESTAMP = 1749543304 SHA256 (moodle-5.0.1.tgz) = 61201432bdef4e0a8e44eef4a6893e948cc0d6c3ccb2d16a71d1d66ccc0d4378 SIZE (moodle-5.0.1.tgz) = 74150641

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies:
  1. php.h : lang/php83
  2. ctype.so : textproc/php83-ctype
  3. curl.so : ftp/php83-curl
  4. dom.so : textproc/php83-dom
  5. exif.so : graphics/php83-exif
  6. fileinfo.so : sysutils/php83-fileinfo
  7. filter.so : security/php83-filter
  8. gd.so : graphics/php83-gd
  9. iconv.so : converters/php83-iconv
  10. intl.so : devel/php83-intl
  11. mbstring.so : converters/php83-mbstring
  12. opcache.so : www/php83-opcache
  13. session.so : www/php83-session
  14. simplexml.so : textproc/php83-simplexml
  15. soap.so : net/php83-soap
  16. sodium.so : security/php83-sodium
  17. tokenizer.so : devel/php83-tokenizer
  18. xml.so : textproc/php83-xml
  19. xmlreader.so : textproc/php83-xmlreader
  20. xmlrpc.so : net/pecl-xmlrpc@php83
  21. zip.so : archivers/php83-zip
  22. zlib.so : archivers/php83-zlib
  23. mysqli.so : databases/php83-mysqli
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for moodle50-php83-5.0.1_1: LDAP=off: LDAP protocol support ====> Options available for the single BACKEND: you have to select exactly one of them MYSQL=on: MySQL database support PGSQL=off: PostgreSQL database support ===> Use 'make config' to modify these settings
Options name:
www_moodle50
USES:
cpe php:flavors tar:tgz
pkg-message:
For install:
1) Create a user and a database for Moodle to store all its tables in (or choose an existing database). It doesn't matter what the database or user names are, as this will be configured in a later step. NOTE: this package assumes that either the phpX-pgsql, phpX-mysql, or phpX-mssql packages are installed. 2) Add the following to your Apache configuration file httpd.conf, and restart the server: Alias /moodle /usr/local/www/moodle/ AcceptPathInfo On <Directory /usr/local/www/moodle/> AllowOverride None Require all granted </Directory> 3) Visit your Moodle site with a browser (i.e., http://your.server.com/moodle/), and you should be taken to the install.php script, which will lead you through creating a config.php file and then setting up Moodle, creating an admin account, etc. At one step, you will get a message saying that the installer script was not able to automatically create the config.php file. Just download it and copy it to /usr/local/www/moodle/config.php. Beware that it will contain the database password in cleartext, so set up whatever file permissions you deem more adequate. For instance, user=root, group=www, mask=640. 4) Set up a cron task to invoke the file admin/cron.php every five minutes or so. For instance: */5 * * * * fetch http://your.server.com/moodle/admin/cron.php For more information, see the INSTALL DOCUMENTATION: http://docs.moodle.org/en/Installing_Moodle It may be worth reading the installation docs even if Moodle seems to be working at first, to ensure your PHP settings and database configuration will allow Moodle to operate properly.
If upgrading
If you are upgrading from an earlier version of Moodle, check out possible additional steps at: https://docs.moodle.org/400/en/Upgrading If you have real trouble, please visit the Moodle course "Using Moodle" on moodle.org.
Master Sites:
Expand this list (5 items)
Collapse this list.
  1. http://distcache.FreeBSD.org/local-distfiles/wen/
  2. http://distcache.eu.FreeBSD.org/local-distfiles/wen/
  3. http://distcache.us-east.FreeBSD.org/local-distfiles/wen/
  4. http://distcache.us-west.FreeBSD.org/local-distfiles/wen/
  5. https://packaging.moodle.org/stable500/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.0.1_1
08 Jul 2025 03:02:07
commit hash: 902ec6434d45d3e5ec34205eeb85333aa73351b7commit hash: 902ec6434d45d3e5ec34205eeb85333aa73351b7commit hash: 902ec6434d45d3e5ec34205eeb85333aa73351b7commit hash: 902ec6434d45d3e5ec34205eeb85333aa73351b7 files touched by this commit
Wen Heping (wen) search for other commits by this committer
www/moodle50: Do not depends on mysql-client

(cherry picked from commit 79fb33c432d40010ce4a631a22d6ae14d2cba7ef)

Number of commits found: 1