diff options
author | Wen Heping <wen@FreeBSD.org> | 2014-07-14 11:18:10 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2014-07-14 11:18:10 +0000 |
commit | d0df73ffb9746ab9f0e59692309e4da0fe5ee69c (patch) | |
tree | a638872c139ff4ae71693ff15322d0678228c23b | |
parent | 776bcdb245ceee5d272261c5cb986eca13d8e558 (diff) | |
download | ports-d0df73ffb9746ab9f0e59692309e4da0fe5ee69c.tar.gz ports-d0df73ffb9746ab9f0e59692309e4da0fe5ee69c.zip |
- Update to 2.7.1
- Improve pkg-message
Notes
Notes:
svn path=/head/; revision=361771
-rw-r--r-- | www/moodle27/Makefile | 2 | ||||
-rw-r--r-- | www/moodle27/distinfo | 4 | ||||
-rw-r--r-- | www/moodle27/files/pkg-message.in | 20 |
3 files changed, 20 insertions, 6 deletions
diff --git a/www/moodle27/Makefile b/www/moodle27/Makefile index d3ebdfd42714..7f47e8006510 100644 --- a/www/moodle27/Makefile +++ b/www/moodle27/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= moodle -PORTVERSION= 2.7 +PORTVERSION= 2.7.1 CATEGORIES= www MASTER_SITES= SF/moodle/Moodle/stable27/ PKGNAMESUFFIX= ${PKGORIGIN:T:S/moodle//} diff --git a/www/moodle27/distinfo b/www/moodle27/distinfo index 68feecabbfea..bb186e18952c 100644 --- a/www/moodle27/distinfo +++ b/www/moodle27/distinfo @@ -1,2 +1,2 @@ -SHA256 (moodle-2.7.tgz) = 55db4c841c1469577a1b1bdd031455767fe36f39866df51c76dddfc81a7f95b5 -SIZE (moodle-2.7.tgz) = 34676653 +SHA256 (moodle-2.7.1.tgz) = 2acb8c600c08c2415afba76859888f53a37fddfa06cc955f300755c0f65729a0 +SIZE (moodle-2.7.1.tgz) = 34818166 diff --git a/www/moodle27/files/pkg-message.in b/www/moodle27/files/pkg-message.in index 9380c51f6361..653a5b9fb33d 100644 --- a/www/moodle27/files/pkg-message.in +++ b/www/moodle27/files/pkg-message.in @@ -8,10 +8,11 @@ POST-INSTALL CONFIGURATION FOR MOODLE 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, and - restart the server: +2) Add the following to your Apache configuration file + httpd.conf, and restart the server: + + For Apache versions earlier than 2.4: - ### Add the AcceptPathInfo directive only for Apache 2.0.30 or later. Alias /moodle %%PREFIX%%/%%MOODLEDIR%%/ AcceptPathInfo On <Directory %%PREFIX%%/%%MOODLEDIR%%> @@ -25,6 +26,19 @@ POST-INSTALL CONFIGURATION FOR MOODLE Deny from all </Directory> + For Apache version 2.4.x or above: + + Alias /moodle %%PREFIX%%/%%MOODLEDIR%%/ + AcceptPathInfo On + <Directory %%PREFIX%%/%%MOODLEDIR%%/> + AllowOverride None + Require all granted + </Directory> + <Directory %%PREFIX%%/%%MOODLEDATADIR%%/> + AllowOverride None + Require all denied + </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 |