Bug 156969 - [Update]www/moodle: update to 1.9.12
Summary: [Update]www/moodle: update to 1.9.12
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-12 04:00 UTC by Wen Heping
Modified: 2011-05-30 08:10 UTC (History)
0 users

See Also:


Attachments
file.diff (130 bytes, patch)
2011-05-12 04:00 UTC, Wen Heping
no flags Details | Diff
file.diff (391 bytes, patch)
2011-05-12 04:00 UTC, Wen Heping
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wen Heping freebsd_committer freebsd_triage 2011-05-12 04:00:21 UTC
Update to 1.9.12

and I suggest make MIMETEX option off.

Fix: PORTNAME=      moodle
-PORTVERSION=   1.9.11
+PORTVERSION=   1.9.12
 CATEGORIES=    www
 MASTER_SITES=  http://download.moodle.org/stable19/ \
                http://download2.moodle.org/stable19/ \
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-05-12 04:00:40 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wen

Submitter has GNATS access (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2011-05-12 04:00:45 UTC
Maintainer of www/moodle,

Please note that PR ports/156969 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/156969

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2011-05-12 04:00:48 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Javier Martín Rueda 2011-05-26 17:43:35 UTC
El 12/05/2011 5:00, Edwin Groothuis escribió:
> Maintainer of www/moodle,
>
> Please note that PR ports/156969 has just been submitted.
>
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
>
> The full text of the PR can be found at:
>      http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/156969
>

Please apply the following patch to the www/moodle port. It does the 
following:

* Update Moodle to 1.9.12.
* Change default value of MIMETEX option to off.
* Add some additional text to the post-installation message.

Thank you!

diff -rub moodle.orig/Makefile moodle/Makefile
--- moodle.orig/Makefile        2011-02-25 09:35:28.000000000 +0000
+++ moodle/Makefile     2011-05-12 22:18:26.000000000 +0000
@@ -6,7 +6,7 @@
  #

  PORTNAME=      moodle
-PORTVERSION=   1.9.11
+PORTVERSION=   1.9.12
  CATEGORIES=    www
  MASTER_SITES=  http://download.moodle.org/stable19/ \
                 http://download2.moodle.org/stable19/ \
@@ -28,7 +28,7 @@
                 ZLIB    "Add zip/unzip functionality" On \
                 NETWORK "Add Moodle Network functionality" Off \
                 LDAP    "Add LDAP authentication functionality" Off \
-               MIMETEX "Add mimeTeX filter functionality" On
+               MIMETEX "Add mimeTeX filter functionality" Off

  .include <bsd.port.pre.mk>

Only in moodle: Makefile.orig
diff -rub moodle.orig/distinfo moodle/distinfo
--- moodle.orig/distinfo        2011-02-24 01:18:34.000000000 +0000
+++ moodle/distinfo     2011-05-12 22:24:44.000000000 +0000
@@ -1,2 +1,2 @@
-SHA256 (moodle-1.9.11.tgz) = 
b21da3a8e73c061b2115242b73e5328d078f979b9ca86523a392857c4fc59531
-SIZE (moodle-1.9.11.tgz) = 14045392
+SHA256 (moodle-1.9.12.tgz) = 
fc4fbe600102fc0fc878f6db423d5bac5ef9362aba8d97720939f1078f905f80
+SIZE (moodle-1.9.12.tgz) = 14044589
diff -rub moodle.orig/files/pkg-message.in moodle/files/pkg-message.in
--- moodle.orig/files/pkg-message.in    2009-02-02 02:36:09.000000000 +0000
+++ moodle/files/pkg-message.in 2011-05-26 15:45:14.000000000 +0000
@@ -39,6 +39,19 @@
     set up whatever file permissions you deem more adequate.
     For instance, user=root, group=www, mask=640.

+   Alternatively, change the directory ownership/permissions
+   for %%PREFIX%%/%%MOODLEDIR%% so that the web server process
+   can write, and retry the installation. Once it is finished,
+   remember to restore the permissions to the usual value, for
+   security reasons. The following commands will probably do
+   the trick:
+
+     chmod 777 %%PREFIX%%/%%MOODLEDIR%%
+ <Now retry the installation>
+     chmod 755 %%PREFIX%%/%%MOODLEDIR%%
+     chown root:www %%PREFIX%%/%%MOODLEDIR%%/config.php
+     chmod 750 %%PREFIX%%/%%MOODLEDIR%%/config.php
+
  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
Comment 5 dfilter service freebsd_committer freebsd_triage 2011-05-30 08:06:52 UTC
wen         2011-05-30 07:06:38 UTC

  FreeBSD ports repository

  Modified files:
    www/moodle           Makefile distinfo 
    www/moodle/files     pkg-message.in 
  Log:
  - Update to 1.9.12 [1]
  - set MIMETEX option off [1]
  - Add some additional text to the post-installation message [2]
  
  PR:             ports/156969 [1]
  Submitted by:   Wen Heping <wen@FreeBSD.org> (myself) [1],
                  Javier Martin Rueda <jmrueda@diatel.upm.es> (maintainer) [2]
  Approved by:    maintainer
  
  Revision  Changes    Path
  1.30      +2 -2      ports/www/moodle/Makefile
  1.23      +2 -2      ports/www/moodle/distinfo
  1.5       +13 -0     ports/www/moodle/files/pkg-message.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Wen Heping freebsd_committer freebsd_triage 2011-05-30 08:07:48 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!