pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/moodle Initial import of moodle-1.9.8 from wip, pa...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3347ecfef184
branches: trunk
changeset: 576217:3347ecfef184
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri Jun 04 09:20:00 2010 +0000
description:
Initial import of moodle-1.9.8 from wip, packaged by Wen Heping.
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.
diffstat:
www/moodle/DESCR | 5 +
www/moodle/MESSAGE | 20 +
www/moodle/Makefile | 86 +
www/moodle/PLIST | 5179 ++++++++++++++++++++++++++++++++++++++++++
www/moodle/distinfo | 5 +
www/moodle/files/moodle.conf | 13 +
www/moodle/options.mk | 18 +
7 files changed, 5326 insertions(+), 0 deletions(-)
diffs (truncated from 5354 to 300 lines):
diff -r 62b16ad8ce5c -r 3347ecfef184 www/moodle/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/moodle/DESCR Fri Jun 04 09:20:00 2010 +0000
@@ -0,0 +1,5 @@
+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.
diff -r 62b16ad8ce5c -r 3347ecfef184 www/moodle/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/moodle/MESSAGE Fri Jun 04 09:20:00 2010 +0000
@@ -0,0 +1,20 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2010/06/04 09:20:00 wiz Exp $
+
+Add the following line to httpd.conf to make Moodle accessible
+through your HTTP server:
+
+ Include ${PKG_SYSCONFDIR}/moodle.conf
+
+Your Moodle is then accessible through:
+
+ http://www.example.com/moodle/
+
+Then create a user and a database for Moodle to store all
+its tables in (or choose an existing database).
+
+For more information, see the INSTALL DOCUMENTATION:
+
+ http://docs.moodle.org/en/Installing_Moodle
+
+===========================================================================
diff -r 62b16ad8ce5c -r 3347ecfef184 www/moodle/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/moodle/Makefile Fri Jun 04 09:20:00 2010 +0000
@@ -0,0 +1,86 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/06/04 09:20:00 wiz Exp $
+
+DISTNAME= moodle-1.9.8
+CATEGORIES= www
+MASTER_SITES= http://download.moodle.org/stable19/ \
+ http://download2.moodle.org/stable19/ \
+ http://download3.moodle.org/stable19/ \
+ http://download4.moodle.org/stable19/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= wenheping%gmail.com@localhost
+HOMEPAGE= http://www.moodle.org/
+COMMENT= Course management system based on social constructionism
+LICENSE= gnu-gpl-v2
+
+DEPENDS+= ${PHP_PKG_PREFIX}-gd>=4.3.3:../../graphics/php-gd
+DEPENDS+= ${PHP_PKG_PREFIX}-iconv-[0-9]*:../../converters/php-iconv
+DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.2.0:../../converters/php-mbstring
+DEPENDS+= ${PHP_PKG_PREFIX}-curl>=5.2.0:../../www/php-curl
+DEPENDS+= ${PHP_PKG_PREFIX}-xmlrpc>=5.2.0:../../net/php-xmlrpc
+
+EGDIR= share/examples/moodle
+MOODLEDIR= ${PREFIX}/share/moodle
+MOODLEDATADIR= ${PREFIX}/share/moodledata
+
+PKG_DESTDIR_SUPPORT= user-destdir
+INSTALLATION_DIRS= ${EGDIR} share/moodle
+
+.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+APACHE_USER?= www
+APACHE_GROUP?= www
+BUILD_DEFS+= APACHE_USER APACHE_GROUP
+
+PKG_SYSCONFSUBDIR?= httpd
+MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
+
+CONF_FILES= ${PREFIX}/${EGDIR}/moodle.conf \
+ ${PKG_SYSCONFDIR}/moodle.conf
+
+NO_CONFIGURE= YES
+NO_BUILD= YES
+
+SUBST_CLASSES+= paths
+SUBST_MESSAGE.paths= Fixing pathnames in configuration file.
+SUBST_STAGE.paths= post-patch
+SUBST_FILES.paths= ../moodle.conf
+SUBST_SED.paths= -e "s,@MOODLEDIR@,${MOODLEDIR},g"
+
+SUBST_CLASSES+= php
+SUBST_MESSAGE.php= Fixing the path of php.
+SUBST_STAGE.php= post-patch
+SUBST_FILES.php= admin/mailout-debugger.php admin/process_email.php mod/chat/chatd.php
+SUBST_SED.php= -e "s,/usr/bin/php,/usr/pkg/bin/php,g"
+
+SUBST_CLASSES+= perl
+SUBST_MESSAGE.paths= Fixing the path of perl.
+SUBST_STAGE.paths= post-patch
+SUBST_FILES.paths= filter/algebra/algebra2tex.pl
+SUBST_SED.paths= -e "s,/usr/bin/perl,/usr/pkg/bin/perl,g"
+
+WRKSRC= ${WRKDIR}/moodle
+
+post-extract:
+ ${CP} ${FILESDIR}/moodle.conf ${WRKDIR}/moodle.conf
+
+do-install:
+ cd ${WRKSRC} && ${FIND} . -type d -exec ${INSTALL_DATA_DIR} \
+ ${DESTDIR}${MOODLEDIR}/{} \; -exec ${CHOWN} \
+ ${APACHE_USER}:${APACHE_GROUP} ${DESTDIR}${MOODLEDIR}/{} \;
+ cd ${WRKSRC} && ${FIND} . \! -type d -exec ${INSTALL_DATA} {} \
+ ${DESTDIR}${MOODLEDIR}/{} \; -exec ${CHOWN} \
+ ${APACHE_USER}:${APACHE_GROUP} ${DESTDIR}${MOODLEDIR}/{} \;
+ ${INSTALL_DATA} ${WRKDIR}/moodle.conf \
+ ${DESTDIR}${PREFIX}/${EGDIR}/moodle.conf
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${MOODLEDATADIR}
+ ${CHOWN} ${APACHE_USER}:${APACHE_GROUP} ${DESTDIR}${MOODLEDATADIR}
+
+.include "../../lang/php/phpversion.mk"
+.include "../../mk/apache.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 62b16ad8ce5c -r 3347ecfef184 www/moodle/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/moodle/PLIST Fri Jun 04 09:20:00 2010 +0000
@@ -0,0 +1,5179 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/06/04 09:20:02 wiz Exp $
+share/examples/moodle/moodle.conf
+share/moodle/COPYING.txt
+share/moodle/README.txt
+share/moodle/admin/auth.php
+share/moodle/admin/auth_config.php
+share/moodle/admin/block.php
+share/moodle/admin/blocks.php
+share/moodle/admin/cron.php
+share/moodle/admin/dbperformance.php
+share/moodle/admin/delete.php
+share/moodle/admin/enrol.php
+share/moodle/admin/enrol_config.php
+share/moodle/admin/environment.php
+share/moodle/admin/environment.xml
+share/moodle/admin/filter.php
+share/moodle/admin/filters.php
+share/moodle/admin/fixuserpix.php
+share/moodle/admin/handlevirus.php
+share/moodle/admin/health.php
+share/moodle/admin/index.php
+share/moodle/admin/innodb.php
+share/moodle/admin/lang.php
+share/moodle/admin/langdoc.php
+share/moodle/admin/langimport.php
+share/moodle/admin/mailout-debugger.php
+share/moodle/admin/maintenance.php
+share/moodle/admin/mnet/MethodTable.php
+share/moodle/admin/mnet/access_control.php
+share/moodle/admin/mnet/adminlib.php
+share/moodle/admin/mnet/delete.html
+share/moodle/admin/mnet/delete.php
+share/moodle/admin/mnet/enr_course_enrol.html
+share/moodle/admin/mnet/enr_course_enrol.php
+share/moodle/admin/mnet/enr_courses.php
+share/moodle/admin/mnet/enr_hosts.php
+share/moodle/admin/mnet/index.php
+share/moodle/admin/mnet/mnet_review.html
+share/moodle/admin/mnet/mnet_review_allhosts.html
+share/moodle/admin/mnet/mnet_services.html
+share/moodle/admin/mnet/mnet_services.php
+share/moodle/admin/mnet/mnet_themes.html
+share/moodle/admin/mnet/mnet_themes.php
+share/moodle/admin/mnet/peers.html
+share/moodle/admin/mnet/peers.php
+share/moodle/admin/mnet/tabs.php
+share/moodle/admin/mnet/trustedhosts.html
+share/moodle/admin/mnet/trustedhosts.php
+share/moodle/admin/module.php
+share/moodle/admin/modules.php
+share/moodle/admin/multilangupgrade.php
+share/moodle/admin/oacleanup.php
+share/moodle/admin/pagelib.php
+share/moodle/admin/phpinfo.php
+share/moodle/admin/process_email.php
+share/moodle/admin/register.php
+share/moodle/admin/replace.php
+share/moodle/admin/report/backups/index.php
+share/moodle/admin/report/backups/settings.php
+share/moodle/admin/report/courseoverview/db/access.php
+share/moodle/admin/report/courseoverview/index.php
+share/moodle/admin/report/courseoverview/reportsgraph.php
+share/moodle/admin/report/courseoverview/settings.php
+share/moodle/admin/report/courseoverview/version.php
+share/moodle/admin/report/log/settings.php
+share/moodle/admin/report/question/index.php
+share/moodle/admin/report/question/settings.php
+share/moodle/admin/report/security/db/access.php
+share/moodle/admin/report/security/index.php
+share/moodle/admin/report/security/lib.php
+share/moodle/admin/report/security/settings.php
+share/moodle/admin/report/security/version.php
+share/moodle/admin/report/spamcleaner/index.php
+share/moodle/admin/report/spamcleaner/settings.php
+share/moodle/admin/report/stats/settings.php
+share/moodle/admin/report/unittest/db/access.php
+share/moodle/admin/report/unittest/ex_reporter.php
+share/moodle/admin/report/unittest/ex_simple_test.php
+share/moodle/admin/report/unittest/index.php
+share/moodle/admin/report/unittest/settings.php
+share/moodle/admin/report/unittest/version.php
+share/moodle/admin/roles/allowassign.php
+share/moodle/admin/roles/allowoverride.php
+share/moodle/admin/roles/assign.html
+share/moodle/admin/roles/assign.php
+share/moodle/admin/roles/manage.html
+share/moodle/admin/roles/manage.php
+share/moodle/admin/roles/managetabs.php
+share/moodle/admin/roles/override.html
+share/moodle/admin/roles/override.php
+share/moodle/admin/roles/tabs.php
+share/moodle/admin/search.php
+share/moodle/admin/settings.php
+share/moodle/admin/settings/appearance.php
+share/moodle/admin/settings/courses.php
+share/moodle/admin/settings/frontpage.php
+share/moodle/admin/settings/grades.php
+share/moodle/admin/settings/language.php
+share/moodle/admin/settings/location.php
+share/moodle/admin/settings/misc.php
+share/moodle/admin/settings/mnet.php
+share/moodle/admin/settings/plugins.php
+share/moodle/admin/settings/security.php
+share/moodle/admin/settings/server.php
+share/moodle/admin/settings/top.php
+share/moodle/admin/settings/unsupported.php
+share/moodle/admin/settings/users.php
+share/moodle/admin/stickyblocks.php
+share/moodle/admin/timezone.php
+share/moodle/admin/timezoneimport.php
+share/moodle/admin/upgradeforumread.php
+share/moodle/admin/upgradelogs.php
+share/moodle/admin/upgradesettings.php
+share/moodle/admin/uploadpicture.php
+share/moodle/admin/uploadpicture_form.php
+share/moodle/admin/uploaduser.php
+share/moodle/admin/uploaduser_form.php
+share/moodle/admin/user.php
+share/moodle/admin/user/lib.php
+share/moodle/admin/user/user_bulk.php
+share/moodle/admin/user/user_bulk_confirm.php
+share/moodle/admin/user/user_bulk_delete.php
+share/moodle/admin/user/user_bulk_display.php
+share/moodle/admin/user/user_bulk_download.php
+share/moodle/admin/user/user_bulk_forcepasswordchange.php
+share/moodle/admin/user/user_bulk_forms.php
+share/moodle/admin/user/user_bulk_message.php
+share/moodle/admin/user/user_message_form.php
+share/moodle/admin/xmldb/README.txt
+share/moodle/admin/xmldb/actions/XMLDBAction.class.php
+share/moodle/admin/xmldb/actions/check_bigints/check_bigints.class.php
+share/moodle/admin/xmldb/actions/check_indexes/check_indexes.class.php
+share/moodle/admin/xmldb/actions/create_xml_file/create_xml_file.class.php
+share/moodle/admin/xmldb/actions/delete_field/delete_field.class.php
+share/moodle/admin/xmldb/actions/delete_index/delete_index.class.php
+share/moodle/admin/xmldb/actions/delete_key/delete_key.class.php
+share/moodle/admin/xmldb/actions/delete_sentence/delete_sentence.class.php
+share/moodle/admin/xmldb/actions/delete_statement/delete_statement.class.php
+share/moodle/admin/xmldb/actions/delete_table/delete_table.class.php
+share/moodle/admin/xmldb/actions/delete_xml_file/delete_xml_file.class.php
+share/moodle/admin/xmldb/actions/edit_field/edit_field.class.php
+share/moodle/admin/xmldb/actions/edit_field/edit_field.js
+share/moodle/admin/xmldb/actions/edit_field_save/edit_field_save.class.php
+share/moodle/admin/xmldb/actions/edit_index/edit_index.class.php
+share/moodle/admin/xmldb/actions/edit_index_save/edit_index_save.class.php
+share/moodle/admin/xmldb/actions/edit_key/edit_key.class.php
+share/moodle/admin/xmldb/actions/edit_key/edit_key.js
+share/moodle/admin/xmldb/actions/edit_key_save/edit_key_save.class.php
+share/moodle/admin/xmldb/actions/edit_sentence/edit_sentence.class.php
+share/moodle/admin/xmldb/actions/edit_sentence_save/edit_sentence_save.class.php
+share/moodle/admin/xmldb/actions/edit_statement/edit_statement.class.php
+share/moodle/admin/xmldb/actions/edit_statement_save/edit_statement_save.class.php
+share/moodle/admin/xmldb/actions/edit_table/edit_table.class.php
+share/moodle/admin/xmldb/actions/edit_table_save/edit_table_save.class.php
+share/moodle/admin/xmldb/actions/edit_xml_file/edit_xml_file.class.php
+share/moodle/admin/xmldb/actions/edit_xml_file_save/edit_xml_file_save.class.php
+share/moodle/admin/xmldb/actions/get_db_directories/get_db_directories.class.php
+share/moodle/admin/xmldb/actions/load_xml_file/load_xml_file.class.php
+share/moodle/admin/xmldb/actions/load_xml_files/load_xml_files.class.php
+share/moodle/admin/xmldb/actions/main_view/main_view.class.php
+share/moodle/admin/xmldb/actions/move_updown_field/move_updown_field.class.php
+share/moodle/admin/xmldb/actions/move_updown_index/move_updown_index.class.php
+share/moodle/admin/xmldb/actions/move_updown_key/move_updown_key.class.php
+share/moodle/admin/xmldb/actions/move_updown_statement/move_updown_statement.class.php
+share/moodle/admin/xmldb/actions/move_updown_table/move_updown_table.class.php
+share/moodle/admin/xmldb/actions/new_field/new_field.class.php
+share/moodle/admin/xmldb/actions/new_index/new_index.class.php
+share/moodle/admin/xmldb/actions/new_key/new_key.class.php
+share/moodle/admin/xmldb/actions/new_sentence/new_sentence.class.php
+share/moodle/admin/xmldb/actions/new_statement/new_statement.class.php
+share/moodle/admin/xmldb/actions/new_table/new_table.class.php
+share/moodle/admin/xmldb/actions/new_table_from_mysql/new_table_from_mysql.class.php
+share/moodle/admin/xmldb/actions/revert_changes/revert_changes.class.php
Home |
Main Index |
Thread Index |
Old Index