Index: head/www/moodle/Makefile =================================================================== --- head/www/moodle/Makefile (revision 164429) +++ head/www/moodle/Makefile (revision 164430) @@ -1,64 +1,63 @@ # New ports collection makefile for: moodle # Date created: 30 September 2005 # Whom: Javier Martin Rueda # # $FreeBSD$ # PORTNAME= moodle -PORTVERSION= 1.5.2 +PORTVERSION= 1.5.3 CATEGORIES= www MASTER_SITES= http://download.moodle.org/stable15/ EXTRACT_SUFX= .tgz MAINTAINER= jmrueda@diatel.upm.es COMMENT= Course management system based on social constructionism USE_PHP= session gd pcre WRKSRC= ${WRKDIR}/moodle .if defined(WITH_MYSQL) USE_PHP+= mysql .endif .if defined(WITH_PGSQL) USE_PHP+= pgsql .endif .include NO_BUILD= yes PLIST= ${WRKDIR}/plist -MOODLEDIR?= www/data/moodle -MOODLEDATADIR?= www/data/moodledata +MOODLEDIR?= www/moodle +MOODLEDATADIR?= www/moodledata pre-everything:: @${ECHO_CMD} "===> You can use the following options:" @${ECHO_CMD} "" @${ECHO_CMD} "o WITH_MYSQL - Use a MySQL database" @${ECHO_CMD} "o WITH_PGSQL - Use a pgSQL database" @${ECHO_CMD} "" post-patch: ####This is an old patched file. @${RM} -f ${WRKSRC}/lang/es_es/moodle.php.orig pre-install: @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${MOODLEDIR}?g" >${PLIST} @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm ${MOODLEDIR}?g" >> ${PLIST} @${ECHO} @dirrm ${MOODLEDATADIR} >> ${PLIST} - @${ECHO} @dirrmtry www/data >> ${PLIST} do-install: ${INSTALL_DATA} -d ${PREFIX}/${MOODLEDIR} ${CP} -Rn ${WRKSRC}/* ${PREFIX}/${MOODLEDIR} ${FIND} ${PREFIX}/${MOODLEDIR} -type d -exec ${CHMOD} a+x {} \; ${MKDIR} ${PREFIX}/${MOODLEDATADIR} ${CHOWN} www ${PREFIX}/${MOODLEDATADIR} ${CHMOD} 755 ${PREFIX}/${MOODLEDATADIR} post-install: @${CAT} ${PKGMESSAGE} .include Property changes on: head/www/moodle/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/www/moodle/distinfo =================================================================== --- head/www/moodle/distinfo (revision 164429) +++ head/www/moodle/distinfo (revision 164430) @@ -1,3 +1,3 @@ -MD5 (moodle-1.5.2.tgz) = 43d484170cc7e364df68239f352528bc -SHA256 (moodle-1.5.2.tgz) = 31026ea47590568536b5167094948d7230979057c7aeda5f93df6c174b3d9494 -SIZE (moodle-1.5.2.tgz) = 14222897 +MD5 (moodle-1.5.3.tgz) = 52dd50298fc1dd8b1b6d8d499608cdd6 +SHA256 (moodle-1.5.3.tgz) = 26c1fd107f02fbfee96b081c3b321fd6c61dac9fb397b90b1c197a11f38c52ed +SIZE (moodle-1.5.3.tgz) = 15003431 Property changes on: head/www/moodle/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/www/moodle/pkg-message =================================================================== --- head/www/moodle/pkg-message (revision 164429) +++ head/www/moodle/pkg-message (revision 164430) @@ -1,36 +1,36 @@ POST-INSTALL CONFIGURATION FOR MOODLE ===================================== 1) Create a user and a database for Moodle to store all its tables in (or choose an existing database). NOTE: this package assumes that either the php4-pgsql or php4-mysql packages are installed, as needed. 2) Add the following to your Apache configuration, and restart the server: AcceptPathInfo On - + AllowOverride None Order Deny,Allow Deny from all 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. 4) Set up a cron task to call the file admin/cron.php every five minutes or so. You can do so by using wget, links or something similar to open the web page http://your.server.com/moodle/admin/cron.php. For more information, see the INSTALL DOCUMENTATION: http://moodle.org/doc If you have real trouble, please visit the Moodle course "Using Moodle" on moodle.org. Property changes on: head/www/moodle/pkg-message ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/www/moodle2/Makefile =================================================================== --- head/www/moodle2/Makefile (revision 164429) +++ head/www/moodle2/Makefile (revision 164430) @@ -1,64 +1,63 @@ # New ports collection makefile for: moodle # Date created: 30 September 2005 # Whom: Javier Martin Rueda # # $FreeBSD$ # PORTNAME= moodle -PORTVERSION= 1.5.2 +PORTVERSION= 1.5.3 CATEGORIES= www MASTER_SITES= http://download.moodle.org/stable15/ EXTRACT_SUFX= .tgz MAINTAINER= jmrueda@diatel.upm.es COMMENT= Course management system based on social constructionism USE_PHP= session gd pcre WRKSRC= ${WRKDIR}/moodle .if defined(WITH_MYSQL) USE_PHP+= mysql .endif .if defined(WITH_PGSQL) USE_PHP+= pgsql .endif .include NO_BUILD= yes PLIST= ${WRKDIR}/plist -MOODLEDIR?= www/data/moodle -MOODLEDATADIR?= www/data/moodledata +MOODLEDIR?= www/moodle +MOODLEDATADIR?= www/moodledata pre-everything:: @${ECHO_CMD} "===> You can use the following options:" @${ECHO_CMD} "" @${ECHO_CMD} "o WITH_MYSQL - Use a MySQL database" @${ECHO_CMD} "o WITH_PGSQL - Use a pgSQL database" @${ECHO_CMD} "" post-patch: ####This is an old patched file. @${RM} -f ${WRKSRC}/lang/es_es/moodle.php.orig pre-install: @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${MOODLEDIR}?g" >${PLIST} @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm ${MOODLEDIR}?g" >> ${PLIST} @${ECHO} @dirrm ${MOODLEDATADIR} >> ${PLIST} - @${ECHO} @dirrmtry www/data >> ${PLIST} do-install: ${INSTALL_DATA} -d ${PREFIX}/${MOODLEDIR} ${CP} -Rn ${WRKSRC}/* ${PREFIX}/${MOODLEDIR} ${FIND} ${PREFIX}/${MOODLEDIR} -type d -exec ${CHMOD} a+x {} \; ${MKDIR} ${PREFIX}/${MOODLEDATADIR} ${CHOWN} www ${PREFIX}/${MOODLEDATADIR} ${CHMOD} 755 ${PREFIX}/${MOODLEDATADIR} post-install: @${CAT} ${PKGMESSAGE} .include Property changes on: head/www/moodle2/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/www/moodle2/distinfo =================================================================== --- head/www/moodle2/distinfo (revision 164429) +++ head/www/moodle2/distinfo (revision 164430) @@ -1,3 +1,3 @@ -MD5 (moodle-1.5.2.tgz) = 43d484170cc7e364df68239f352528bc -SHA256 (moodle-1.5.2.tgz) = 31026ea47590568536b5167094948d7230979057c7aeda5f93df6c174b3d9494 -SIZE (moodle-1.5.2.tgz) = 14222897 +MD5 (moodle-1.5.3.tgz) = 52dd50298fc1dd8b1b6d8d499608cdd6 +SHA256 (moodle-1.5.3.tgz) = 26c1fd107f02fbfee96b081c3b321fd6c61dac9fb397b90b1c197a11f38c52ed +SIZE (moodle-1.5.3.tgz) = 15003431 Property changes on: head/www/moodle2/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/www/moodle2/pkg-message =================================================================== --- head/www/moodle2/pkg-message (revision 164429) +++ head/www/moodle2/pkg-message (revision 164430) @@ -1,36 +1,36 @@ POST-INSTALL CONFIGURATION FOR MOODLE ===================================== 1) Create a user and a database for Moodle to store all its tables in (or choose an existing database). NOTE: this package assumes that either the php4-pgsql or php4-mysql packages are installed, as needed. 2) Add the following to your Apache configuration, and restart the server: AcceptPathInfo On - + AllowOverride None Order Deny,Allow Deny from all 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. 4) Set up a cron task to call the file admin/cron.php every five minutes or so. You can do so by using wget, links or something similar to open the web page http://your.server.com/moodle/admin/cron.php. For more information, see the INSTALL DOCUMENTATION: http://moodle.org/doc If you have real trouble, please visit the Moodle course "Using Moodle" on moodle.org. Property changes on: head/www/moodle2/pkg-message ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property