debian/0000755000000000000000000000000012274763753007206 5ustar debian/postinst0000755000000000000000000001467612267477341011032 0ustar #!/bin/sh # postinst script for moodle # # see: dh_installdeb(1) # # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package set -e #set -x if [ -f /etc/dbconfig-common/moodle.conf ] ; then . /etc/dbconfig-common/moodle.conf fi # source debconf stuff . /usr/share/debconf/confmodule # source dbconfig-common stuff . /usr/share/dbconfig-common/dpkg/postinst check_php5mysql_notinstalled() { dpkg -s php5-mysql | grep Status | grep -q installed >/dev/null 2>&1 && return 1 return 0 } check_php5psql_notinstalled() { dpkg -s php5-pgsql | grep Status | grep -q installed >/dev/null 2>&1 && return 1 return 0 } moodle_config() { local cfile=/etc/moodle/config.php local tempfile=`tempfile` local wwwroot db_get moodle/www wwwroot="$RET" if [ -z "$dbc_dbserver" ]; then dbc_dbserver="localhost"; fi if [ "$dbc_dbtype" = "pgsql" ]; then dbc_dbtype="postgres7" fi cat > $tempfile <dbtype = '${dbc_dbtype}'; \$CFG->dbhost = '${dbc_dbserver}'; \$CFG->dbname = '${dbc_dbname}'; \$CFG->dbuser = '${dbc_dbuser}'; \$CFG->dbpass = '${dbc_dbpass}'; \$CFG->prefix = 'mdl_'; \$CFG->wwwroot = '${wwwroot}'; \$CFG->dirroot = '/usr/share/moodle'; \$CFG->dataroot = '/var/lib/moodle'; \$CFG->directorypermissions = 0750; \$CFG->admin = 'admin'; \$CFG->pathtodu = '/usr/bin/du'; \$CFG->unzip = '/usr/bin/unzip'; \$CFG->zip = '/usr/bin/zip'; \$CFG->respectsessionsettings = true; # For improved security, make sure html purifier is used. \$CFG->enablehtmlpurifier = true; if (file_exists("\$CFG->dirroot/lib/setup.php")) { // Do not edit include_once("\$CFG->dirroot/lib/setup.php"); } else { if (\$CFG->dirroot == dirname(__FILE__)) { echo "

Could not find this file: \$CFG->dirroot/lib/setup.php

"; echo "

Are you sure all your files have been uploaded?

"; } else { echo "

Error detected in config.php

"; echo "

Error in: \\\$CFG->dirroot = '\$CFG->dirroot';

"; echo "

Try this: \\\$CFG->dirroot = '".dirname(__FILE__)."';

"; } die; } EOF ucf --debconf-ok $tempfile $cfile chmod 640 $cfile chown root:www-data $cfile } apache_config() { local wwwroot local alias local tmp local tempfile=`tempfile` local cfile="/etc/moodle/apache.conf" local php_settings php_settings=" php_flag magic_quotes_gpc Off php_flag magic_quotes_runtime Off php_flag file_uploads On php_flag session.auto_start Off php_flag session.bug_compat_warn Off php_value upload_max_filesize 2M php_value post_max_size 2M " db_get moodle/www wwwroot="$RET" #check if it's possible to do the alias tmp=`echo $wwwroot | sed 's#^https*://[^/]*/*##'` if [ -n "$tmp" ]; then tmp_alias="#Uncomment the line below if you want to use alias #This will not work well with virtual hosts Alias /${tmp} /usr/share/moodle/" else tmp_alias="#You can't use alias because your Moodle is not in a sub-directory #Create appropriate virtual host insted." fi cat > $tempfile < Options +FollowSymLinks AllowOverride None order deny,allow deny from all allow from 127.0.0.0/8 allow from localhost #comment out the line below to allow remote access #allow from all ${php_settings} DirectoryIndex index.php EOF ucf --debconf-ok $tempfile $cfile chmod 640 $cfile chown root:www-data $cfile #Sample config for the virtual host tempfile=`tempfile` cfile="/etc/moodle/apache.vhost.conf" server=`echo $wwwroot |cut -d'/' -f3` cat > $tempfile < ServerAdmin webmaster@${server} ServerName ${server} DocumentRoot /usr/share/moodle/ Options FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all ${php_settings} ErrorLog \${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog \${APACHE_LOG_DIR}/access.log combined EOF ucf --debconf-ok $tempfile $cfile chmod 640 $cfile chown root:www-data $cfile } dbc_mysql_createdb_encoding="UTF8" dbc_pgsql_createdb_encoding="UTF8" dbc_first_version="1.9.8-1" dbc_go moodle $@ #wwwroot="http://localhost/moodle" case "$1" in configure) # tempcfile=`tempfile` moodle_config apache_config # ucf --debconf-ok $tempfile $cfile # chmod 640 $cfile # chown root:www-data $cfile cfile=/etc/moodle/config.php moodledir=/usr/share/moodle # if [ -r /etc/moodle/config.php ]; then [ -f $moodledir/config.php ] && rm $moodledir/config.php ln -s $cfile $moodledir/config.php # fi if [ "$dbc_dbtype" = "mysql" ] && check_php5mysql_notinstalled ; then echo 'Error - You have specified that you wish to use a mysql' >&2 echo 'database, but php5-mysql is not installed. You must install' >&2 echo 'php5-mysql before you can complete your moodle installation.' >&2 fi if [ "$dbc_dbtype" = "postgresql" ] && check_php5psql_notinstalled ; then echo 'Error - You have specified that you wish to use a postgresql' >&2 echo 'database, but php5-pgsql is not installed. You must install' >&2 echo 'php5-pgsql before you can complete your moodle installation.' >&2 fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0 debian/links0000644000000000000000000000007212167215654010241 0ustar usr/bin/mimetex usr/share/moodle/filter/tex/mimetex.linux debian/preinst0000644000000000000000000000157712267477341010624 0ustar #!/bin/sh set -e case "$1" in install|upgrade) if dpkg --compare-versions "$2" lt "2.2.3.dfsg-2.4"; then # Make sure the new Moodle can install its files in yui - #689506 if [ -h /usr/share/moodle/lib/yui ] ; then rm -f /usr/share/moodle/lib/yui fi fi if dpkg --compare-versions "$2" lt "2.5.1-1"; then # Remove directories we're going to replace with symlinks if [ -d /usr/share/moodle/lib/adodb ]; then rm -rf /usr/share/moodle/lib/adodb fi if [ -d /usr/share/moodle/lib/htmlpurifier/HTMLPurifier ]; then rm -rf /usr/share/moodle/lib/htmlpurifier/HTMLPurifier fi fi if dpkg --compare-versions "$2" eq "2.5.3-3"; then # Remove symlink if [ -L /usr/share/moodle/lib/yuilib/3.9.1/build ]; then rm -f /usr/share/moodle/lib/yuilib/3.9.1/build fi fi ;; esac #DEBHELPER# debian/patches/0000755000000000000000000000000012243653634010625 5ustar debian/patches/series0000644000000000000000000000000012243653634012030 0ustar debian/changelog0000644000000000000000000010733312274763753011067 0ustar moodle (2.5.4-1ubuntu1) trusty; urgency=low * debian/rules: correct location of /var/lib/moodle -- Brian Murray Thu, 06 Feb 2014 11:34:01 -0800 moodle (2.5.4-1) unstable; urgency=medium * New upstream release, fixing security issues: - MSA-14-0001 Config passwords visibility issue [CVE-2014-0008] - MSA-14-0002 Group constraints lacking in "login as" [CVE-2014-0009] - MSA-14-0003 CSRF vulnerability in profile fields [CVE-2014-0010] * Move /var/lib/moodle directory into package. * Revert back to bundled yui3. Unfortunately, version in Debian and of upstream are not compatible (closes: #735312). -- Thijs Kinkhorst Tue, 21 Jan 2014 13:40:52 +0100 moodle (2.5.3-3) unstable; urgency=medium * Drop unused libjs-yui dependency (closes: #730104). * Replace bundled yui3 with dependency on packaged libjs-yui3-min. * Add virtual-mysql-{server,client} dependency alternatives (closes: #732895). * Change owner of config.php from www-data to root. * Checked for policy 3.9.5, no changes necessary. -- Thijs Kinkhorst Fri, 03 Jan 2014 11:44:05 +0100 moodle (2.5.3-2) unstable; urgency=medium * Fix syntax error in generated config.php. -- Thijs Kinkhorst Fri, 29 Nov 2013 09:17:29 +0100 moodle (2.5.3-1) unstable; urgency=low * New upstream version: 2.5.3. - Incorporates CAS security patch. - Fixes security issues CVE-2013-4522, CVE-2013-4523, CVE-2013-4524, CVE-2013-4525, CVE-2013-6780. -- Thijs Kinkhorst Fri, 22 Nov 2013 14:09:51 +0100 moodle (2.5.2-1) unstable; urgency=medium * New upstream version: 2.5.2. - Incorporates S3 security patch. -- Thijs Kinkhorst Mon, 09 Sep 2013 15:22:35 +0200 moodle (2.5.1-2) unstable; urgency=low * Update debconf translation for Swedish, thanks Martin Bagge (closes: #717323); Italian, thanks Beatrice Torracca (closes: #717162); French, thanks Julien Patriarca (closes: #717548); Czech, thanks Michal Simunek (closes: #717550). * Add Breaks/Replaces moodle-book; integrated since Moodle 2.3. -- Thijs Kinkhorst Sun, 04 Aug 2013 17:30:38 +0200 moodle (2.5.1-1) unstable; urgency=low * New upstream version: 2.5.1. - Fixes security issues: CVE-2013-2242 CVE-2013-2243 CVE-2013-2244 CVE-2013-2245 CVE-2013-2246 * Depend on apache2 instead of obsolete apache2-mpm-prefork. * Use packaged libphp-phpmailer (closes: #429339), adodb, HTMLPurifier, PclZip. * Update debconf translations, thanks Salvatore Merone, Pietro Tollot, Joe Hansen, Yuri Kozlov, Holger Wansing, Américo Monteiro, Adriano Rafael Gomes, victory, Michał Kułach. (closes: #716972, #716986, #717080, #717108, #717278) -- Thijs Kinkhorst Fri, 19 Jul 2013 08:52:46 +0200 moodle (2.5-1) unstable; urgency=low * New upstream version: 2.5. - Removed problematically licenced JSON code (closes: #692626). - Fixes security issues: CVE-2012-3363, CVE-2012-6098, CVE-2012-6099, CVE-2012-6100, CVE-2012-6101, CVE-2012-6103, CVE-2012-6104, CVE-2012-6105, CVE-2012-6112, CVE-2013-1829, CVE-2013-1830, CVE-2013-1831, CVE-2013-1832, CVE-2013-1833, CVE-2013-1834, CVE-2013-1835, CVE-2013-1836, CVE-2013-2080, CVE-2013-2081, CVE-2013-2082, CVE-2013-2083 (closes: #702387, #703870). * FLV player removed, no need to repack source tarball. * Checked for policy 3.9.4, no changes. Updated to debhelper 8. * Use xz compression for binary packages. -- Thijs Kinkhorst Fri, 28 Jun 2013 15:35:53 +0200 moodle (2.2.7.dfsg-1) unstable; urgency=low * New upstream version: 2.2.7+ (Build: 20130125) * Fix possible security issue for curl in 3rd party libraries: * phpCAS (CVE-2012-5583) * amazon-s3-php-class (CVE-2012-6087) -- Tomasz Muras Mon, 28 Jan 2013 17:43:26 +0100 moodle (2.2.6.dfsg-1) unstable; urgency=low * New upstream version: 2.2.6 (Build: 20121112) -- Tomasz Muras Thu, 15 Nov 2012 21:50:13 +0100 moodle (2.2.3.dfsg-2.6) unstable; urgency=low * Non-maintainer upload. * Backport multiple security issues from upstream's MOODLE_22_STABLE branch. - MSA-12-0057: MDL-29872 - Access issue through repository Fixes CVE-2012-5471 - MSA-12-0058: MDL-32785 - Possible form data manipulation issue Fixes CVE-2012-5472 - MSA-12-0059: MDL-34448 - Information leak in Database activity module Fixes CVE-2012-5473 - MSA-12-0061: MDL-33791 - Remote code execution through Portfolio API Fixes CVE-2012-5479 - MSA-12-0062: MDL-35558 - Information leak in Database activity module Fixes CVE-2012-5480 -- Didier Raboud Mon, 12 Nov 2012 10:00:00 +0100 moodle (2.2.3.dfsg-2.5) unstable; urgency=low * Non-maintainer brown-paper bag upload. * Fix the preinst shell syntax to properly drop the left-over symlink in favour of the shipped directory. (Closes: #689506 fo real now) -- Didier Raboud Wed, 31 Oct 2012 08:25:55 +0100 moodle (2.2.3.dfsg-2.4) unstable; urgency=low * Non-maintainer upload. * Drop a left-over symlink in favour of the shipped directory. (Closes: #689506) -- Didier Raboud Sun, 28 Oct 2012 15:01:09 +0100 moodle (2.2.3.dfsg-2.3) unstable; urgency=low * Non-maintainer upload. * Backport multiple security issues from upstream's MOODLE_22_STABLE branch. (Closes: #687924) - MSA-12-0051: MDL-30792 - File upload size constraint issue Fixes CVE-2012-4400 - MSA-12-0052: MDL-28207 - Course topics permission issue Fixes CVE-2012-4401 - MSA-12-0053: MDL-34585 - Blog file access issue Fixes CVE-2012-4407 - MSA-12-0054: MDL-34519 - Course reset permission issue Fixes CVE-2012-4408 - MSA-12-0055: MDL-34368 - Web service access token issue Fixes CVE-2012-4402 -- Didier Raboud Fri, 28 Sep 2012 12:52:21 +0200 moodle (2.2.3.dfsg-2.2) unstable; urgency=low * Non-maintainer upload. * Backport multiple security issues from upstream's MOODLE_22_STABLE branch. (Closes: #682203) - MDL-31692 mod_lti - ensure that various mforms are used properly Fixes CVE-2012-3389 - MDL-33916 Ensure that capabilities are checked for cached user enrolments Fixes CVE-2012-3388 -- Didier Raboud Mon, 23 Jul 2012 19:13:56 +0200 moodle (2.2.3.dfsg-2.1) unstable; urgency=low * Non-maintainer upload. * Backport multiple security issues from upstream's MOODLE_22_STABLE branch (Closes: #682203) - MDL-33808 - format title on the repository instance screen - MDL-33808 - incorrect cleaning of repository names Both patches fix CVE-2012-3393. - MDL-23254 Authentication : used httpswwwroot as root url during authentication procedure where $PAGE->https_required() is specified. Fix CVE-2012-3394 - MDL-27675 - Feedback module abuses data_submitted Fix CVE-2012-3395 - MDL-34045 fix invalid idnumber field type in cohort form Fix CVE-2012-3396 - MDL-33466: Group restriction should hide activity even with 'show availability' option Fix CVE-2012-3397 -- Didier Raboud Fri, 20 Jul 2012 19:52:07 +0200 moodle (2.2.3.dfsg-2) unstable; urgency=low * Don't depend on ucf during purge (closes: #678027) -- Tomasz Muras Thu, 21 Jun 2012 17:31:35 +0200 moodle (2.2.3.dfsg-1) unstable; urgency=high * New upstream version: 2.2.3+ (Build: 20120615) closes: #674163 -- Tomasz Muras Sat, 16 Jun 2012 21:39:12 +0200 moodle (2.2.2.dfsg-2) unstable; urgency=low * Fix path to cron (closes: #669229) -- Tomasz Muras Wed, 18 Apr 2012 19:34:35 +0200 moodle (2.2.2.dfsg-1) unstable; urgency=low * New upstream version: 2.2.2+ (Build: 20120412) closes: #658865,#664260,#647489,#443949,#441013,#505044,#375290 * Updated Standards-Versions to 3.9.3 * Removing Dan from maintainers (thanks for all your work Dan!) -- Tomasz Muras Sun, 15 Apr 2012 13:50:52 -0400 moodle (1.9.9.dfsg2-6) unstable; urgency=high * Backporting security fixes from Moodle 1.9.17 - MSA-12-00013 DB activtity export does not respect groups (CVE-2012-1155, closes: #668411) -- Tomasz Muras Thu, 12 Apr 2012 21:55:48 +0100 moodle (1.9.9.dfsg2-5.1) unstable; urgency=low * Non-maintainer upload. * Fix pending l10n issues. Debconf translations: - Danish (Joe Hansen). Closes: #658747 - Dutch; (Jeroen Schot). Closes: #660243 - Brazilian Portuguese (Adriano Rafael Gomes). Closes: #668092 - Italian (Beatrice Torracca). Closes: #668161 -- Christian Perrier Tue, 10 Apr 2012 07:36:58 +0200 moodle (1.9.9.dfsg2-5) unstable; urgency=high * Backporting security fixes from Moodle 1.9.15 and 1.9.16 (closes: #652235) - MSA-11-0054 Personal information leak - MSA-11-0045 Potential to masquerade through MNet (CVE-2011-4584) - MSA-11-0046 Insecure authentication transmission (CVE-2011-4585) - MSA-11-0047 Possible injection attack in Calendar (CVE-2011-4586) - MSA-11-0048 Password loss issue (CVE-2011-4587) - MSA-11-0049 Network restriction ineffective with MNet (CVE-2011-4588) - MSA-12-0007 Email injection prevention (CVE-2012-0796) - MSA-12-0006 Additional email address validation (CVE-2012-0795) - MSA-12-0005 Encryption enhancement (CVE-2012-0794) - MSA-12-0004 Added profile image security (CVE-2012-0793) - MSA-12-0003 Added password protection - MSA-12-0002 Personal information leak, previously MSA-11-0040 (CVE-2011-4308 and CVE-2012-0792) - MSA-12-0001 Recaptcha transmission consistency issue -- Tomasz Muras Mon, 27 Feb 2012 21:14:48 +0000 moodle (1.9.9.dfsg2-4) unstable; urgency=high * Backporting security fixes from Moodle 1.9.13 and 1.9.14 - MSA-11-0026 Fields in user upload CSV not being escaped (MDL-28360) - MSA-11-0025 Group names in user upload CSV not being escaped (MDL-28197) - MSA-11-0024 Recaptcha images were being authenticated from an older server (MDL-27889) (closes: #638935) - MSA-11-0020 Continue links in error messages can lead offsite (MDL-27464) - MSA-11-0038 Database injection protection strengthened (MDL-29033) - MSA-11-0037 Course section editing injection vulnerability (MDL-28722) - MSA-11-0036 Messaging refresh vulnerability (MDL-29311) - MSA-11-0032 MNET SSL validation issue (MDL-29148) - MSA-11-0031 Forms API constant issue (MDL-23872) * Make sure that smarty & yui symlinks are correct (closes: 603255,614712) -- Tomasz Muras Fri, 28 Oct 2011 13:29:14 +0100 moodle (1.9.9.dfsg2-3) unstable; urgency=high * Backporting security fixes from Moodle 1.9.11 and 1.9.12 - MSA-11-0002 Cross-site request forgery vulnerability in RSS block (MDL-18839) - MSA-11-0003 Cross-site scripting vulnerability in tag autocomplete (MDL-25754) - MSA-11-0008 IMS enterprise enrolment file may disclose sensitive information (MDL-26189) - MSA-11-0011 Multiple cross-site scripting problems in media filter (MDL-26030) - MSA-11-0015 Cross Site Scripting through URL encoding (MDL-26966) - MSA-11-0013 Group/Quiz permissions issue (MDL-25122) -- Tomasz Muras Wed, 18 May 2011 20:57:59 +0100 moodle (1.9.9.dfsg2-2.1) unstable; urgency=low * Non-maintainer upload. * Fix encoding of Swedish debconf translation. -- Christian Perrier Tue, 11 Jan 2011 22:03:44 +0100 moodle (1.9.9.dfsg2-2) unstable; urgency=low * Added Romanian translation * Updated Japanese translation (closes: #596820) * Backporting security fixes from Moodle 1.9.10 (closes: #601384) - Updated embedded CAS to 1.1.3 - Added patch for MDL-24523: clean_text() not filtering text in markdown format - Added patch for MDL-24810 and upgraded customized HTML Purifier to 4.2.0 - Added patch for MDL-24258: students can delete their forum posts later than $CFG->maxeditingtime under certain conditions - Added patch for MDL-23377: Can't delete quiz attempts in course without enrolled students -- Tomasz Muras Sat, 30 Oct 2010 12:19:28 +0100 moodle (1.9.9.dfsg2-1) unstable; urgency=low * Enable HTML purifier by default * Added Janapenese translation (closes: #593808) * Removed from source swf files without a source code and added README.source * Updated bundled HTML purifier library - fix for CVE-2010-2479 (closes: #593301) -- Tomasz Muras Tue, 24 Aug 2010 20:35:29 +0100 moodle (1.9.9.dfsg-1) unstable; urgency=low [ Jonathan Wiltshire ] * Debconf templates and debian/control reviewed by the debian-l10n- english team as part of the Smith review project. Closes: #588871 * Debconf translation updates: - Russian (closes: #589247) - Czech (closes: #589265) - Swedish (closes: #589270) - French (closes: #589510) - German (closes: #590120) - Spanish (closes: #590449) - Portugese (closes: #590556) [ Tomasz Muras ] * New debconf translation - Polish * Removed .swf files as non-free (closes: #591201) * Fixed generation of config.php for postgres (thanks Giles Westwood) -- Tomasz Muras Sun, 15 Aug 2010 21:19:10 +0100 moodle (1.9.9-2) unstable; urgency=low * Fixed JS includes for YUI library (closes: #589612) * Bumped standards version to 3.9.0 * Moved BSD licenses into copyright (fixes lintian warning) * Setting DM-Upload-Allowed as agreed with Xavier Oswald -- Tomasz Muras Thu, 22 Jul 2010 23:23:22 +0100 moodle (1.9.9-1) unstable; urgency=low * Rewritten debian/rules * Removed unnecessary usr/share/moodle/update-notifier * New Upstream Version: 1.9.9 * New upstream fixes CVE-2010-1619 (closes: #585425) * New upstream fixes MSA-10-0011 (closes: #586280) -- Tomasz Muras Wed, 23 Jun 2010 21:00:39 +0100 moodle (1.9.8-1) unstable; urgency=low [Tomasz Muras] * New Maintainer (closes: #581229, #574969). * New Upstream Version (closes: #475535). * Added information about flvplayer to copyright (closes: #526543). * phpCAS XSS vulnerability fixed in mainstream Moodle 1.9.8 (closes: #574757). * Several security issues fixed in upstream (closes: #576189). * Moodle depends on postgresql or MySQL (closes: #551399). * Re-written to use dbconfig-common (closes: #302205). * Updated copyright with two new entires (closes: #526543). * Drop use of wwwconfig (closes: #389502). * Package is now not creating Apache config automatically (closes: #555672). It's up to the user to configure the webserver but package provides the templates. * Added "allow from localhost" (closes: #551402). * Asking for wwwroot during the installation (closes: #302207). * Removing nusoap as it's not necessary for PHP 5 (closes: #529573). [Xavier Oswald] * Add myself as uploader. * Bump Stadards-Version to 3.8.4. * debian/copyright: update with DEP-5 format proposal. * Switch to dpkg-source 3.0 (quilt) format [Francois Marier] * Bump debhelper compatibility to 7 * Add a watch file * debian/control (dependencies) - Depend on libjs-yui instead of yui (renamed after lenny) - Add dependency on unzip - Recommend php5-xmlrpc and aspell - Suggest clamav - Demoted mimetex to recommended * Turn 'dbpersist' on by default in the generated config.php * Include whitespace warning at the end of generated config.php * Set the path to du, unzip and zip * Fix a warning with E_STRICT is turned on -- Xavier Oswald Sun, 20 Jun 2010 16:02:14 +0200 moodle (1.8.2.dfsg-4) unstable; urgency=high * Improve the fix for log URL filtering as suggested by Steffen Joeris (MSA-09-0007 / CVE-2009-0500) * Backport upstream fix for calendar export leakage (MSA-09-0006 / CVE-2009-0501) -- Francois Marier Thu, 12 Feb 2009 17:27:07 +1300 moodle (1.8.2.dfsg-3) unstable; urgency=high * Delete unused (but vulnerable) Spellchecker plugin to htmlarea (MSA-09-0005, CVE-2008-5153) * Hide images of deleted users (MSA-09-0001) * Fix user pix disclosure (MSA-09-0002) * Fix XSS vulnerabilities in HTML blocks (MSA-09-0004) * Fix XSS vulnerabilities in logs (MSA-09-0007) * Fix CSRF vulnerability in forum code (MSA-09-0008) -- Francois Marier Mon, 02 Feb 2009 19:09:10 +1300 moodle (1.8.2.dfsg-2) unstable; urgency=high [ Dan Poltawski ] * Patch SQL injection bug in hotpot module (MSA-08-0010) * Fix XSS bug in logged urls (MDL-11414) * Fix XSS bug in install script (MSA-08-0004) * Fix insufficient access control in Login as feature (MSA-08-0003) * Profiles of deleted users were accessible allowing for spam (MSA-08-0015) * Deficincy in text cleaning functions allowed for XSS (MSA-08-0021) * Fix CSRF in messaging settings (MSA-08-0023) * Fix anonymous group creation and html injection (MDL-11759) * Fix SQL injection bug in mnet (MDL-9288) * Fix SQL injection bug in restore (MDL-11857) * Insufficient cleaning of essay questions (MDL-12079) * Fix insufficient cleaning of PARAM_HOST (MDL-12793) * Fix XSS bug in logged urls (MDL-11414) * Fix uncleaned params in wiki (MDL-14806) [ Francois Marier ] * Update html2text to prevent code execution attacks (closes: #508909) -- Francois Marier Wed, 17 Dec 2008 13:37:10 +1300 moodle (1.8.2.dfsg-1) unstable; urgency=high * Replace html2text with a GPL alternative (closes: #507947) * Fix XSS in the wiki module (CVE-2008-5432, closes: #508593) * Add Dan Poltawski to the uploaders field -- Francois Marier Tue, 16 Dec 2008 20:24:27 +1300 moodle (1.8.2-2) unstable; urgency=high * Adopt orphaned package (closes: #494642) * Acknowledge security NMU (closes: #489533, #432264) * Add Vcs-* fields to debian/control Release-critical and security bugs: * Depend on smarty instead of using the embedded copy that is shipped with Moodle (closes: #471158, #488525, #504345) * Patch security bug in the embedded (and customised) copy of phpmailer (CVE-2007-3215, closes: #429339, #429190) * Patch cross-site scripting bug (CVE-2008-3326, closes: #492492) * Patch snoopy input sanitising (CVE-2008-4796, closes: #504235) * Upgrade to new LGPL version of domxml-php4-to-php5 (closes: #496069) Trivial bug fixes: * Depend on zip (closes: #408995) * Add mysql-client as an alternative to postgresql-client (closes: #417554, #469094) * Recommend php5-ldap (closes: #425839) * Delete unnecessary script with bashisms (closes: #489634) Lintian warnings: * Bump Standards-Version to 3.8.0 * Add homepage field to debian/control * Remove cvsignore file * Remove extra license file * Depend on yui instead of using an embedded copy -- Francois Marier Fri, 07 Nov 2008 08:24:28 +1300 moodle (1.8.2-1.3) unstable; urgency=high * Non-maintainer upload by the Security Team. * Fix broken HTML filtering which could be used to perform XSS attacks, bypass restrictions or possibly execute arbitrary code (CVE-2008-1502; Closes: #489533). -- Nico Golde Sun, 20 Jul 2008 18:07:55 +0200 moodle (1.8.2-1.2ubuntu2) intrepid; urgency=low * SECURITY UPDATE: arbitrary code execution via multiple vectors. - Add CVE-2008-1502.dpatch: upstream KSES lib fixes, thanks to Nico Golde. -- Kees Cook Wed, 22 Oct 2008 14:01:33 -0700 moodle (1.8.2-1.2ubuntu1) intrepid; urgency=low * Merge from debian unstable, remaining changes: - Suggest php5-ldap - Modify Maintainer value to match Debian-Maintainer-Field Spec - debian/postinst ucf fixes - drop use of wwwconfig (database code in postinst stolen from mythtv) -- Oliver Grawert Thu, 01 May 2008 02:19:09 +0100 moodle (1.8.2-1.2) unstable; urgency=low * Non-maintainer upload to fix pending l10n issues. * Debconf translations: - Japanese. Closes: #413105 - Spanish. Closes: #413779 - German. Closes: #415888 - Dutch. Closes: #425711 - Slovak. Closes: #437511 - Brazilian Portuguese. Closes: #437680 - Finnish. Closes: #468212 - Basque. Closes: #470362 - Galician. Closes: #470430 - Vietnamese. Closes: #470602 - Russian. Closes: #470790 * [Lintian] Fix format of NEWS.Debian * [Lintian] Move debconf dependency to Pre-Depends as it is used in the preinst script -- Christian Perrier Fri, 14 Mar 2008 07:33:53 +0100 moodle (1.8.2-1.1) unstable; urgency=low * Non-maintainer upload from the Zurich BSP * Added dependency on postgresql-client (Closes: #431589) -- Tobias Klauser Sat, 12 Jan 2008 17:04:03 +0100 moodle (1.8.2-1ubuntu4) hardy; urgency=low * debian/postinst: ... except we should explicitly pass --debconf-ok to ucf, for compatibility with older versions. -- Steve Langasek Fri, 28 Mar 2008 01:16:24 +0000 moodle (1.8.2-1ubuntu3) hardy; urgency=low * debian/postinst: Only call db_stop after ucf has been run in handle_config(), since ucf itself uses debconf; and drop the "exec 0<&1" workaround which no longer matters. LP: #203844 -- Steve Langasek Fri, 28 Mar 2008 00:37:00 +0000 moodle (1.8.2-1ubuntu2) gutsy; urgency=low * Package changed to avoid use of wwwconfig; borrowed database setup code from Ubuntu mythtv package. -- Matt Oquist Sat, 28 Jul 2007 16:14:18 +0200 moodle (1.8.2-1ubuntu1) gutsy; urgency=low * Merge from Debian unstable. Remaining Ubuntu changes: - Depends on postgresql-client - Suggest php5-ldap - Modify Maintainer value to match Debian-Maintainer-Field Spec -- Vincent Legout Tue, 17 Jul 2007 16:14:18 +0200 moodle (1.8.2-1) unstable; urgency=low * New upstream release, fixes security bug, closes: #432264 -- Isaac Clerencia Mon, 09 Jul 2007 00:24:17 +0200 moodle (1.8.1-1ubuntu1) gutsy; urgency=low * Merge from debian unstable, remaining changes: - Depends on postgresql-client - Suggest php5-ldap - Set apache2 as default in debian/templates - Update Maintainer field in debian/control -- Luca Falavigna Fri, 15 Jun 2007 23:33:55 +0100 moodle (1.8.1-1) unstable; urgency=low * New upstream release * Add php5-curl | php4-curl dependency for the new network features * No longer depend on php4 and apache 1 -- Isaac Clerencia Fri, 15 Jun 2007 14:12:43 +0200 moodle (1.7.2-1ubuntu2) gutsy; urgency=low * Switch back to postgresql-client and postgresql (LP: 110054) * Suggest php5-ldap (LP: 107713) -- Luca Falavigna Sun, 10 Jun 2007 23:56:16 +0200 moodle (1.7.2-1ubuntu1) gutsy; urgency=low * Merge from Debian unstable. Remaining Ubuntu changes: + debian/control: - php5 by default. - Add postgresql-client-8.1 to Depends. - Update Recommends alternate to postgresql-8.1. + debian/templates: Ensure the default corresponds to the install- time dependencies (apache2). * Modify Maintainer value to match Debian-Maintainer-Field Spec -- Arthur Loiret Sun, 3 Jun 2007 20:53:01 +0200 moodle (1.7.2-1) unstable; urgency=low * New upstream release -- Isaac Clerencia Fri, 01 Jun 2007 12:54:59 +0200 moodle (1.7.1-1) experimental; urgency=low * New upstream release -- Isaac Clerencia Wed, 24 Jan 2007 14:21:34 +0100 moodle (1.7+20061215-1) experimental; urgency=low * New upstream release -- Isaac Clerencia Fri, 15 Dec 2006 13:39:14 +0100 moodle (1.6.3-2ubuntu1) feisty; urgency=low * Merge from debian unstable, remaining changes: - debian/control: + php5 by default. + Add postgresql-client-8.1 to Depends. + Update Recommends alternate to postgresql-8.1. - debian/templates: Ensure the default corresponds to the install- time dependencies (apache2). -- Kees Cook Mon, 18 Dec 2006 12:28:27 -0800 moodle (1.6.3-2) unstable; urgency=high * Urgency high as it fixes a security bug and should enter Etch ASAP * Fix security bug in the forum module (discuss.php) -- Isaac Clerencia Thu, 14 Dec 2006 14:14:27 +0100 moodle (1.6.3-1ubuntu1) feisty; urgency=low * Merge from debian unstable. Remaining Ubuntu changes: - debian/control: + php5 by default. + Add postgresql-client-8.1 to Depends. + Update Recommends alternate to postgresql-8.1. - debian/templates: Ensure the default corresponds to the install- time dependencies (apache2). -- Kees Cook Wed, 29 Nov 2006 16:08:37 -0800 moodle (1.6.3-1) unstable; urgency=low * New upstream release -- Isaac Clerencia Thu, 19 Oct 2006 11:37:40 +0200 moodle (1.6.2+20060930-1) unstable; urgency=high * Urgency high because it fixes a critical security hole * New upstream release, closes: #390294, critical security hole * Notify the user if the selected server isn't installed, select apache2 by default instead of apache, closes: #389806 * Add a configuration section for php5 in apache.conf, closes: #387609 -- Isaac Clerencia Sat, 30 Sep 2006 12:14:29 +0100 moodle (1.6.2-1ubuntu1.1) edgy; urgency=low * SECURITY UPDATE: SQL injection vulnerability * Add '01_sql-injection-fix.dpatch': Correctly escape tag options. * References: CVE-2006-5219 http://cvs.moodle.com/blog/index.php?r1=1.18.2.2&r2=1.18.2.3 -- Kees Cook Wed, 11 Oct 2006 15:25:15 -0700 moodle (1.6.2-1ubuntu1) edgy; urgency=low * Merge from Debian unstable. The following Ubuntu changes remain: - debian/control: + Apply patch from Ubuntu #59472 to use php5 (Closes Ubuntu: #59472), + Add postgresql-client-8.1 to Depends (Closes Ubuntu: #51813), + Update Recommends alternate to postgresql-8.1, - debian/templates: Ensure the default corresponds to the install- time dependencies (apache2) so we can avoid the mess that was worked around in dapper-security. -- Daniel T Chen Sat, 23 Sep 2006 22:26:13 -0400 moodle (1.6.2-1) unstable; urgency=low * New upstream release, closes: #387177 * Debconf translation updates/additions: * Czech, closes: #371834 * French, closes: 372713 * Portuguese, closes: #381194 * Install config-dist.php in the documentation directory, closes: #386476 -- Isaac Clerencia Tue, 12 Sep 2006 22:06:34 +0200 moodle (1.6.1+20060825-1) unstable; urgency=low * New upstream release * Moodle neither uses nor plans to use ADODB_Pager, so it's not affected by #360396, but include patch for it anyway, just in case somebody decides to use it out of the blue -- Isaac Clerencia Fri, 25 Aug 2006 08:56:42 +0200 moodle (1.6-2ubuntu1) edgy; urgency=low [ Ubuntu Merge-o-Matic ] * Merge from debian unstable. -- Daniel T Chen Thu, 6 Jul 2006 20:30:30 -0400 moodle (1.6-2) unstable; urgency=low * Fix two problems in preinst, thanks to Jordi Mallach's workmate * Ship cron file in package instead of generating it at postinst -- Isaac Clerencia Mon, 3 Jul 2006 10:25:31 +0200 moodle (1.6-1ubuntu1) edgy; urgency=low * Merge from debian unstable: - Use Debian Sid's packaging save in debian/templates where we need to make sure the default corresponds to the install-time dependencies (apache2) so we can avoid the mess that was worked around in dapper-security. -- Daniel T Chen Fri, 30 Jun 2006 19:21:20 +0100 moodle (1.6-1) unstable; urgency=low * New upstream release, needs newer PHP version, so updated versioned dependencies -- Isaac Clerencia Mon, 19 Jun 2006 18:21:07 +0200 moodle (1.5.4-1) unstable; urgency=low * New upstream release * Depend on ucf * Move debhelper to Build-Depends as it's used in the clean target of debian/rules * Add colons to debconf template short descriptions * Bumped Standard-Versions to 3.7.2, no changes needed -- Isaac Clerencia Tue, 30 May 2006 17:48:11 +0200 moodle (1.5.3+20060206-1) unstable; urgency=low * New package created from 1.5.3+ branch, which includes several bugfixes * Allow moodle to be installed using php5 instead of php4, closes: #351298 * Changed apache | httpd to apache2-mpm-prefork | httpd -- Isaac Clerencia Mon, 6 Feb 2006 09:49:09 +0100 moodle (1.5.3+20060108-2) unstable; urgency=low * Throw cronjob output to /dev/null, closes: #349971 -- Isaac Clerencia Thu, 26 Jan 2006 13:01:58 +0100 moodle (1.5.3+20060108-1ubuntu1) dapper; urgency=low * Resynchronise with Debian. -- Daniel T Chen Mon, 09 Jan 2006 13:49:39 +0000 moodle (1.5.3+20060108-1) unstable; urgency=low * New package created from 1.5.3+ branch, which closes: #346509, a security bug in the ADODB code included in Moodle * Check for /usr/share/moodle/admin/cron.php existence in the cronjob, closes: #342304 * Use php4-cli instead of wget to run the cronjob, closes: #345930 -- Isaac Clerencia Sun, 8 Jan 2006 17:09:57 +0100 moodle (1.5.3-1ubuntu1) dapper; urgency=low * Resynchronise with Debian. -- Stephan Hermann Wed, 28 Dec 2005 18:25:41 +0100 moodle (1.5.3-1) unstable; urgency=low * New upstream release -- Isaac Clerencia Mon, 21 Nov 2005 21:09:21 +0100 moodle (1.5.2-1ubuntu1) breezy; urgency=low * Resync with debian (security update) * changed dependencys to php5 * changed apache dependency to apache2 * References CAN-2005-2247 -- Andrew Mitchell Thu, 13 Oct 2005 02:00:59 +1300 moodle (1.5.2-1) unstable; urgency=low * New upstream release -- Isaac Clerencia Wed, 20 Jul 2005 15:13:41 +0200 moodle (1.5.1-1) unstable; urgency=low * New upstream release -- Isaac Clerencia Tue, 12 Jul 2005 09:50:59 +0200 moodle (1.5-1) unstable; urgency=low * New upstream release * Added Vietnamese debconf translation, closes: #312961 -- Isaac Clerencia Wed, 22 Jun 2005 22:18:26 +0200 moodle (1.4.4.dfsg.1-3) unstable; urgency=high * Urgency high as this upload closes a security bug * Remove admin/delete.php on installation, fixes an important security bug -- Isaac Clerencia Mon, 30 May 2005 20:45:33 +0200 moodle (1.4.4.dfsg.1-2) unstable; urgency=low * Use find | xargs instead of rm to remove old sessions, closes: #300266 -- Isaac Clerencia Fri, 18 Mar 2005 18:47:32 +0100 moodle (1.4.4.dfsg.1-1) unstable; urgency=high * Urgency high as it closes a release critical bug and fixes some security problems * New upstream release * Replaced non-free fonts with free fonts for some languages in the original tarball, closes: #298938 * Set perms for /etc/moodle/config.php to 640 instead of 644, closes: #297237 * Use new option $CFG->respectsessionsettings = true; to clean sessions and remove old sessions from /var/lib/moodle/sessions: closes: #295124 * Added cs.po debconf template translation, closes: #298208 * Remove /var/lib/moodle/ when purging -- Isaac Clerencia Thu, 10 Mar 2005 01:02:48 +0100 moodle (1.4.3-1) unstable; urgency=high * Urgency high as upstream release fixes several security bugs * New upstream release * Write database creation errors and warn the user about it, closes: #285842, #285842 -- Isaac Clerencia Wed, 29 Dec 2004 00:49:52 +0100 moodle (1.4.2-2) unstable; urgency=low * Create user before creating database in postinst -- Isaac Clerencia Tue, 23 Nov 2004 10:55:28 +0100 moodle (1.4.2-1) unstable; urgency=high * New upstream release * Urgency high, as this upstream release closes several security bugs * Added some extra information to README.Debian, thanks to Kevin Coyner * Added apache2 as a choice for autoconfiguration, closes: #275444 -- Isaac Clerencia Wed, 10 Nov 2004 13:18:41 +0100 moodle (1.4.1-2) unstable; urgency=medium * Urgency medium, as it fixes the "default username" problem, which is a www-config bug but affects lots of moodle users * Use moodle as default database username, currently uses www-data which causes www-config to fail to create the database * Enabled Tex math filter and added mimetex in Depends: * Removed an extra line from README.Debian * Removed debian/overrides/ for lintian -- Isaac Clerencia Sun, 24 Oct 2004 12:16:39 +0200 moodle (1.4.1-1) unstable; urgency=low * New upstream release, closes: #270855 * /var/lib/moodle is now owned by www-data, closes: #258283 * Added README.Debian with some hints for database setup, closes: #272553, #270851 -- Isaac Clerencia Sat, 2 Oct 2004 00:37:53 +0200 moodle (1.4-1) unstable; urgency=low * New upstream release, closes: #256218, #256219 * Switched to a file in conf.d instead of an include in http.conf * Added DirectoryIndex index.php to apache.conf file, closes: #247554 -- Isaac Clerencia Tue, 7 Sep 2004 22:07:10 +0200 moodle (1.3.3-1) unstable; urgency=low * New upstream release -- Isaac Clerencia Mon, 19 Jul 2004 11:28:48 +0200 moodle (1.3.2-1) unstable; urgency=low * New upstream release -- Isaac Clerencia Mon, 19 Jul 2004 11:16:45 +0200 moodle (1.3.1-1) unstable; urgency=low * New upstream release, closes: #252693 * Added "exec 0<&1" to postinst to fix hang when ucf asks the user -- Isaac Clerencia Fri, 4 Jun 2004 23:45:37 +0200 moodle (1.2.1-3) unstable; urgency=low * Added a choice to use apache-perl in addition to apache and apache-ssl * Changed back priority to Optional, because no longer depends on php4-gd2 -- Isaac Clerencia Thu, 22 Apr 2004 11:32:40 +0200 moodle (1.2.1-2) unstable; urgency=low * Changed depends on php4-gd2 to php4-gd, closes: #243717 -- Isaac Clerencia Tue, 20 Apr 2004 23:16:47 +0200 moodle (1.2.1-1) unstable; urgency=low * New upstream release * Added ucf for better handling of config files * Changed priority to Extra -- Isaac Clerencia Tue, 30 Mar 2004 22:01:33 +0200 moodle (1.1.1-4) unstable; urgency=low * Added French debconf templates translation, closes: #235572 -- Isaac Clerencia Mon, 1 Mar 2004 12:22:03 +0100 moodle (1.1.1-3) unstable; urgency=low * Fixed debconf stuff by adding POTFILES.in, closes: #233114 Thanks to Martin Quirson. * Fixed bug in config generation that caused passwords including '$' broke the autentication * Removed moodle prefix from some debian/ files * Changed depend on debconf to misc:Depends * Updated version for debhelper build-depend to 4.1.13 -- Isaac Clerencia Tue, 17 Feb 2004 23:55:45 +0100 moodle (1.1.1-2) unstable; urgency=low * Now depends on php4-pgsql or php4-mysql not both * Added recommends for postgresql or mysql-serverl * Added documentation dir * Added wget in Depends: and changed cron.d to use wget * Fixed postinst to put the correct protocol in config.php and cron.d/moodle -- Isaac Clerencia Thu, 27 Nov 2003 23:14:11 +0100 moodle (1.1.1-1) unstable; urgency=low * Initial Debian Release, closes: #222475 -- Isaac Clerencia Thu, 27 Nov 2003 23:14:11 +0100 debian/watch0000644000000000000000000000020312167215654010223 0ustar version=3 opts=dversionmangle=s/\.dfsg(\.[0-9]+)?$// \ http://download.moodle.org/ /download.php/stable[0-9]+/moodle-([0-9.]+).tgz debian/prerm0000644000000000000000000000170512167215654010252 0ustar #!/bin/sh # prerm script for moodle # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `upgrade' # * `failed-upgrade' # * `remove' `in-favour' # * `deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package . /usr/share/debconf/confmodule . /usr/share/dbconfig-common/dpkg/prerm dbc_go moodle $@ case "$1" in remove|upgrade|deconfigure) ;; failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/compat0000644000000000000000000000000212167215654010375 0ustar 8 debian/copyright0000644000000000000000000003037412172217015011126 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: moodle Maintainer: Tomasz Muras , Xavier Oswald Source: http://www.moodel.org Upstream Author: Martin Dougiamas Files: debian/* Copyright: 2010 Tomasz Muras 2010 Xavier Oswald License: GPL-2+ Files: * Copyright: 2009-2010, Martin Dougiamas License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You are free to distribute this software under the terms of the GNU General Public License. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2 file. This package also includes other pieces of software: AdoDB, dual licensed under the BSD license and the LGPL AdoDB-XML Schema, dual licensed under the BSD license and the LGPL Alfresco PHP Library, licensed under the GPL v2 and providing FLOSS exception bennu, licensed under the LGPL DragMath, licensed under the GPL v3 TinyMCE, licensed under the LGPL Spreadsheet WriteExcel, licensed under the LGPL HTML Purifier, licensed under the LGPL XMPPHP, licensed under the GPL v2 PHPMailer, licensed under the LGPL domxmlphp4-php5, licensed under the LGPL Zend_Search_Lucene, licensed under the BSD (see below) TCPDF, licensed under the LGPL v2.1 XHProf, licensed under Apache v2.0 (see below) Google APIs Client Library for PHP, licensed under Apache v2.0 PHP Markdown Extra, licensed under the BSD license (see below). jQuery, licensed under the MIT license (see below). FileTypesIcons, licensed GPL-3+. LGPL can be found in the file /usr/share/common-licenses/LGPL, GPL can be found in the file /usr/share/common-licenses/GPL-2 and /usr/share/common-licenses/GPL-3 Apache 2.0 can be found in the file /usr/share/common-licenses/Apache-2.0 -------------------------------------------------------------------------------- Zend_Search_Lucene License Copyright (c) 2006, Zend Technologies USA, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Zend Technologies USA, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- EvalMath License Copyright (c) 2005, Miles Kaufmann. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1 Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- Minify License Copyright (c) 2008 Ryan Grove Copyright (c) 2008 Steve Clay All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of this project nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- YUI License Copyright (c) 2009, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Yahoo! Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission of Yahoo! Inc. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. http://developer.yahoo.net/yui/license.html -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- PHP Markdown & Extra Copyright (c) 2004-2009 Michel Fortin All rights reserved. Based on Markdown Copyright (c) 2003-2006 John Gruber All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name "Markdown" nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. This software is provided by the copyright holders and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage. -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- Copyright 2013 jQuery Foundation and other contributors, http://jqueryui.com/ This software consists of voluntary contributions made by many individuals (AUTHORS.txt, http://jqueryui.com/about) For exact contribution history, see the revision history and logs, available at http://jquery-ui.googlecode.com/svn/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- debian/control0000644000000000000000000000273712274762060010610 0ustar Source: moodle Section: web Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Moodle Packaging Team Uploaders: Penny Leach , Xavier Oswald , Tomasz Muras , Thijs Kinkhorst Build-Depends: debhelper (>= 8), quilt, po-debconf Standards-Version: 3.9.5 Homepage: http://www.moodle.org/ Vcs-Git: git://anonscm.debian.org/pkg-moodle/moodle.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-moodle/moodle.git;a=summary Package: moodle Architecture: all Depends: ${misc:Depends}, libapache2-mod-php5 | php5-cgi, php5-mysql | php5-pgsql, php5-gd, php5-curl, php5-cli, apache2 | httpd, ucf, postgresql-client | mysql-client | virtual-mysql-client, dbconfig-common, libphp-phpmailer, libphp-adodb, php-htmlpurifier, libphp-pclzip Pre-Depends: debconf (>= 0.5) | debconf-2.0 Recommends: postgresql | mysql-server | virtual-mysql-server, php5-ldap, php5-xmlrpc, aspell, mimetex Suggests: clamav Breaks: moodle-book (<< 1.6.3-2~) Replaces: moodle-book (<< 1.6.3-2~) Description: course management system for online learning Moodle (Modular Object-Oriented Dynamic Learning Environment) is a course management system - a software package designed to help educators create quality online courses. One of the main advantages of Moodle over other systems is a strong grounding in social constructionist pedagogy. debian/README.Debian0000644000000000000000000000432212167215654011241 0ustar Moodle quickstart for Debian ---------------------------- INSTALLATION After installation, Moodle will not be available/exposed by default. INSTALLATION WITH VIRTUAL HOST If you would like to use a virtual host edit file (as a root user): /etc/moodle/apache.vhost.conf * make sure that ServerName is correct (the host should match what you provided during the installation). * enter correct email address for ServerAdmin. If you would like to keep your Apache logs separate for Moodle, change: * ErrorLog * CustomLog to a location of your choice (i.e. ${APACHE_LOG_DIR}/moodle.error.log). Save the file and link it to your Apache configuration: ln -s /etc/moodle/apache.vhost.conf /etc/apache2/sites-enabled/moodle Restart Apache: /etc/init.d/apache restart Go to the Moodle URL and finish installation - follow instructions on screen. VIRTUAL HOST EXAMPLE To configure Moodle on the URL: www.example.com. The URL should be configured already and point to the IP of the server. During the package installation request www.example.com URL: Please enter the URL for the Moodle site: www.example.com Review /etc/moodle/apache.vhost.conf - it should contain valid entries already. Execute as root: ln -s /etc/moodle/apache.vhost.conf /etc/apache2/sites-enabled/moodle /etc/init.d/apache restart Go to www.example.com and finish installation. INSTALLATION WITH ALIAS DIRECTIVE If you decide to use Apache Alias directive, Moodle site will be available for all the virtual hosts you may have. You can use Alias only if the URL you have selected during package installation has a non-empty path, e.g. www.example.com/moodle. Apache configuration file is located at /etc/moodle/apache.conf to enable it: ln -s /etc/moodle/apache.conf /etc/apache2/conf.d/moodle Restart Apache: /etc/init.d/apache2 restart By default Moodle installation will only be available from localhost, to make it available from any IP, edit /etc/moodle/apache.conf and comment out the line: #allow from all and restart Apache. UNINSTALLATION After uninstalling Moodle, remove any symoblic links created for Apache, e.g.: * /etc/apache2/sites-enabled/moodle * /etc/apache2/conf.d/moodle debian/dirs0000644000000000000000000000005412267466504010065 0ustar usr/share/moodle var/lib/moodle etc/moodle debian/sql/0000755000000000000000000000000012167215654007776 5ustar debian/sql/upgrade/0000755000000000000000000000000012167215654011425 5ustar debian/sql/upgrade/mysql/0000755000000000000000000000000012167215654012572 5ustar debian/sql/upgrade/mysql/2.2.2.dfsg-10000644000000000000000000000004612167215654014236 0ustar ALTER DATABASE CHARACTER SET 'UTF8'; debian/templates0000644000000000000000000000122712167215654011122 0ustar # These templates have been reviewed by the debian-l10n-english # team # # If modifications/additions/rewording are needed, please ask # debian-l10n-english@lists.debian.org for advice. # # Even minor modifications require translation updates and such # changes should be coordinated with translators and reviewers. Template: moodle/www Type: string Default: http://localhost/moodle _Description: URL for the Moodle site: Please enter the URL from which Moodle should serve pages. . The moodle package does not perform any automatic web server configuration, but does provide basic configuration templates for Apache. . Please leave off the trailing "/". debian/source/0000755000000000000000000000000012167215654010477 5ustar debian/source/format0000644000000000000000000000001412167215654011705 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000571412274762704010270 0ustar #!/usr/bin/make -f # debian/rules for Moodle package. # Copyright 2010 Tomasz Muras # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 export SHELL = /bin/bash VERSION := $(shell head -1 debian/changelog | sed 's/.*(//;s/).*//') UPSTREAM := $(shell head -1 debian/changelog | sed 's/.*(//;s/-.?*).*//') MAINTAINER := $(shell grep ^Maintainer: debian/control | sed 's/^Maintainer: //') binary: dh binary-indep --before dh_lintian rm debian/moodle/usr/share/moodle/lib/bennu/LICENSE.txt rm debian/moodle/usr/share/moodle/lib/phpmailer/LICENSE rm debian/moodle/usr/share/moodle/lib/pear/HTTP/WebDAV/COPYING rm debian/moodle/usr/share/moodle/lib/pear/HTTP/WebDAV/LICENSE rm debian/moodle/usr/share/moodle/lib/minify/LICENSE.txt rm debian/moodle/usr/share/moodle/lib/tcpdf/LICENSE.TXT rm debian/moodle/usr/share/moodle/lib/xhprof/LICENSE rm debian/moodle/usr/share/moodle/lib/editor/tinymce/tiny_mce/3.5.8/license.txt rm debian/moodle/usr/share/moodle/lib/tcpdf/fonts/freefont-20100919/COPYING rm debian/moodle/usr/share/moodle/lib/yui/license.txt rm debian/moodle/usr/share/moodle/lib/google/LICENSE rm debian/moodle/usr/share/moodle/lib/jquery/MIT-LICENSE.txt rm debian/moodle/usr/share/moodle/lib/markdown_license.txt rm debian/moodle/usr/share/moodle/pix/f/FileTypesIcons-LICENSE.txt rm debian/moodle/usr/share/moodle/pix/f/Oxygen-LICENSE.txt #remove unnecessary files rm debian/moodle/usr/share/moodle/filter/tex/*mimetex* rm debian/moodle/usr/share/moodle/mod/chat/chatd.php find debian/moodle -type f -name .cvsignore -delete #pdflib is not used by core Moodle rm -r debian/moodle/usr/share/moodle/lib/tcpdf #fix permissions find debian/moodle/usr -type f -exec chmod 644 {} \; find debian/moodle/usr -type d -exec chmod 755 {} \; chmod 755 debian/moodle/usr/share/moodle/admin/mailout-debugger.php chmod 755 debian/moodle/usr/share/moodle/filter/algebra/algebra2tex.pl chmod 755 debian/moodle/usr/share/moodle/admin/process_email.php #un-bundle libraries cd debian/moodle/usr/share/moodle/lib/phpmailer/ && \ rm class.phpmailer.php class.smtp.php && \ ln -s /usr/share/php/libphp-phpmailer/class.phpmailer.php && \ ln -s /usr/share/php/libphp-phpmailer/class.smtp.php cd debian/moodle/usr/share/moodle/lib && rm -r adodb/ && \ ln -s /usr/share/php/adodb cd debian/moodle/usr/share/moodle/lib/htmlpurifier && \ rm -r HTMLPurifier HTMLPurifier.php HTMLPurifier.safe-includes.php && \ ln -s /usr/share/php-htmlpurifier/library/HTMLPurifier.php && \ ln -s /usr/share/php-htmlpurifier/library/HTMLPurifier.safe-includes.php && \ ln -s /usr/share/php-htmlpurifier/library/HTMLPurifier/ cd debian/moodle/usr/share/moodle/lib/phpexcel/PHPExcel/Shared/PCLZip/ && \ rm pclzip.lib.php && ln -s /usr/share/php/libphp-pclzip/pclzip.lib.php # set dir permissions chown www-data:www-data debian/moodle/var/lib/moodle chmod 0750 debian/moodle/var/lib/moodle dh binary-indep --remaining %: dh $@ override_dh_builddeb: dh_builddeb debian/moodle.lintian-overrides0000644000000000000000000000160312261521432014023 0ustar # Moodle uses customised versions of these libraries moodle: embedded-javascript-library usr/share/moodle/lib/editor/tinymce/tiny_mce/3.5.8/tiny_mce.js moodle: embedded-javascript-library usr/share/moodle/lib/editor/tinymce/tiny_mce/3.5.8/tiny_mce_popup.js moodle: embedded-javascript-library usr/share/moodle/lib/editor/tinymce/tiny_mce/3.5.8/tiny_mce_src.js #Moodle uses markdown extra but only 'standard' version is packaged in Debian moodle: embedded-php-library usr/share/moodle/lib/markdown.php # False positive: just a jpgraph interface, not jpgraph itself moodle: embedded-php-library usr/share/moodle/lib/phpexcel/PHPExcel/Chart/Renderer/jpgraph.php # This 3rd party documentation is not accessible from within Moodle moodle: privacy-breach-google-adsense usr/share/moodle/lib/dragmath/README.html moodle: privacy-breach-google-adsense usr/share/moodle/lib/dragmath/Version History.html debian/moodle.cron.d0000644000000000000000000000026112167215654011562 0ustar # Regular cron jobs for the moodle package */15 * * * * www-data [ -f /usr/share/moodle/admin/cli/cron.php ] && /usr/bin/php -f /usr/share/moodle/admin/cli/cron.php > /dev/null debian/config0000755000000000000000000000165112167215654010375 0ustar #!/bin/sh set -e #set -x . /usr/share/debconf/confmodule if [ -f /etc/moodle/config.php ]; then TEMPFILE=`tempfile` cp /etc/moodle/config.php $TEMPFILE #Change short tags into long tags sed -i '1 s/dbname -sCFG->dbhost -pCFG->dbpass -uCFG->dbuser -tCFG->dbtype" fi db_input critical moodle/www || true db_go || true db_get moodle/www www="$RET" if [ ! `echo "$www" | egrep "^http"` ]; then www="http://$www" db_set moodle/www "$www" fi # dbc_debug=1 dbc_dbtypes="mysql, pgsql" dbc_authmethod_user="password" dbc_first_version="1.9.8-1" . /usr/share/dbconfig-common/dpkg/config dbc_go moodle $@ debian/docs0000644000000000000000000000006212167215654010050 0ustar README.txt TRADEMARK.txt tags.txt config-dist.php debian/install0000644000000000000000000000256312167215654010576 0ustar admin usr/share/moodle auth usr/share/moodle backup usr/share/moodle badges usr/share/moodle blocks usr/share/moodle blog usr/share/moodle brokenfile.php usr/share/moodle cache usr/share/moodle calendar usr/share/moodle cohort usr/share/moodle comment usr/share/moodle completion usr/share/moodle course usr/share/moodle draftfile.php usr/share/moodle enrol usr/share/moodle error usr/share/moodle file.php usr/share/moodle files usr/share/moodle filter usr/share/moodle grade usr/share/moodle group usr/share/moodle help.php usr/share/moodle help_ajax.php usr/share/moodle index.php usr/share/moodle install usr/share/moodle install.php usr/share/moodle iplookup usr/share/moodle lang usr/share/moodle lib usr/share/moodle local usr/share/moodle login usr/share/moodle message usr/share/moodle mnet usr/share/moodle mod usr/share/moodle my usr/share/moodle notes usr/share/moodle pix usr/share/moodle plagiarism usr/share/moodle pluginfile.php usr/share/moodle portfolio usr/share/moodle question usr/share/moodle rating usr/share/moodle report usr/share/moodle repository usr/share/moodle rss usr/share/moodle tag usr/share/moodle theme usr/share/moodle user usr/share/moodle userpix usr/share/moodle version.php usr/share/moodle webservice usr/share/moodle debian/sql/upgrade/mysql/* usr/share/dbconfig-common/data/moodle/upgrade/mysql debian/po/0000755000000000000000000000000012173161650007606 5ustar debian/po/pt.po0000644000000000000000000000306212171434402010566 0ustar # Translation of moodle's debconf messages to Portuguese # Copyright (C) 2010 the moodle's copyright holder # This file is distributed under the same license as the moodle package. # # Américo Monteiro , 2010, 2013. msgid "" msgstr "" "Project-Id-Version: moodle 2.5.1-1\n" "Report-Msgid-Bugs-To: moodle@packages.debian.org\n" "POT-Creation-Date: 2013-06-28 15:43+0200\n" "PO-Revision-Date: 2013-07-13 21:18+0100\n" "Last-Translator: Américo Monteiro \n" "Language-Team: Portuguese \n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Lokalize 1.4\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. Type: string #. Description #: ../templates:2001 msgid "URL for the Moodle site:" msgstr "URL para o site do Moodle:" #. Type: string #. Description #: ../templates:2001 msgid "Please enter the URL from which Moodle should serve pages." msgstr "Por favor indique o URL a partir do qual o Moodle deve servir páginas." #. Type: string #. Description #: ../templates:2001 msgid "" "The moodle package does not perform any automatic web server configuration, " "but does provide basic configuration templates for Apache." msgstr "" "O pacote moodle não executa nenhuma configuração automática de servidor web, " "mas disponibiliza modelos de configuração básica para o Apache." #. Type: string #. Description #: ../templates:2001 msgid "Please leave off the trailing \"/\"." msgstr "Por favor, não coloque a barra \"/\" final." debian/po/ja.po0000644000000000000000000000300512172160762010540 0ustar # Copyright (C) 2010 Moodle Packaging Team # This file is distributed under the same license as moodle package. # Hideki Yamane , 2010. # msgid "" msgstr "" "Project-Id-Version: moodle 2.5.1-1\n" "Report-Msgid-Bugs-To: moodle@packages.debian.org\n" "POT-Creation-Date: 2013-06-28 15:43+0200\n" "PO-Revision-Date: 2013-06-28 22:43+0900\n" "Last-Translator: Hideki Yamane \n" "Language-Team: Japanese \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:2001 msgid "URL for the Moodle site:" msgstr "Moodle サイトの URL:" #. Type: string #. Description #: ../templates:2001 msgid "Please enter the URL from which Moodle should serve pages." msgstr "Moodle が提供しているページの URL を入力してください。" #. Type: string #. Description #: ../templates:2001 msgid "" "The moodle package does not perform any automatic web server configuration, " "but does provide basic configuration templates for Apache." msgstr "" "moodle パッケージは自動的なウェブサーバ設定を行いませんが、Apache 向けに基本" "的な設定テンプレートを提供します。" #. Type: string #. Description #: ../templates:2001 msgid "Please leave off the trailing \"/\"." msgstr "最後の「/」は省いてください。" debian/po/cs.po0000644000000000000000000000270612173161642010561 0ustar # Czech translation of PO debconf template for package moodle. # Copyright (C) 2010 Michal Simunek # This file is distributed under the same license as the moodle package. # Michal Simunek , 2010 - 2013. # msgid "" msgstr "" "Project-Id-Version: moodle 2.5.1-1\n" "Report-Msgid-Bugs-To: moodle@packages.debian.org\n" "POT-Creation-Date: 2013-06-28 15:43+0200\n" "PO-Revision-Date: 2013-07-21 09:31+0200\n" "Last-Translator: Michal Simunek \n" "Language-Team: Czech \n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:2001 msgid "URL for the Moodle site:" msgstr "URL webu Moodle:" #. Type: string #. Description #: ../templates:2001 msgid "Please enter the URL from which Moodle should serve pages." msgstr "Zadejte prosím URL, na které budou dostupné stránky Moodle." #. Type: string #. Description #: ../templates:2001 msgid "" "The moodle package does not perform any automatic web server configuration, " "but does provide basic configuration templates for Apache." msgstr "" "Balíček moodle neprovádí žádné automatické nastavení webového serveru, ale " "poskytuje základní šablony pro nastavení Apache." #. Type: string #. Description #: ../templates:2001 msgid "Please leave off the trailing \"/\"." msgstr "Vynechejte prosím koncové \"/\"." debian/po/es.po0000644000000000000000000000433612167215654010572 0ustar # moodle po-debconf translation to Spanish # Copyright (C) 2010 Software in the Public Interest # This file is distributed under the same license as the moodle package. # # Changes: # - Initial translation # Francisco Javier Cuadrado , 2010 # # Traductores, si no conocen el formato PO, merece la pena leer la # documentación de gettext, especialmente las secciones dedicadas a este # formato, por ejemplo ejecutando: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Equipo de traducción al español, por favor lean antes de traducir # los siguientes documentos: # # - El proyecto de traducción de Debian al español # http://www.debian.org/intl/spanish/ # especialmente las notas y normas de traducción en # http://www.debian.org/intl/spanish/notas # # - La guía de traducción de po's de debconf: # /usr/share/doc/po-debconf/README-trans # o http://www.debian.org/intl/l10n/po-debconf/README-trans # msgid "" msgstr "" "Project-Id-Version: moodle 1.9.8-2\n" "Report-Msgid-Bugs-To: moodle@packages.debian.org\n" "POT-Creation-Date: 2013-06-28 15:43+0200\n" "PO-Revision-Date: 2010-07-25 16:16+0100\n" "Last-Translator: Francisco Javier Cuadrado \n" "Language-Team: Debian l10n Spanish \n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:2001 msgid "URL for the Moodle site:" msgstr "URL del sitio de Moodle:" #. Type: string #. Description #: ../templates:2001 msgid "Please enter the URL from which Moodle should serve pages." msgstr "Introduzca la URL desde la que Moodle debería servir las páginas." #. Type: string #. Description #: ../templates:2001 msgid "" "The moodle package does not perform any automatic web server configuration, " "but does provide basic configuration templates for Apache." msgstr "" "El paquete de moodle no realiza ninguna configuración automática del " "servidor web, pero sí que proporciona plantillas básicas para la " "configuración de Apache." #. Type: string #. Description #: ../templates:2001 msgid "Please leave off the trailing \"/\"." msgstr "" debian/po/fr.po0000644000000000000000000000306112173161537010561 0ustar # Translation of moodle debconf templates to French. # Copyright (C) 2010 Debian French l10n team # This file is distributed under the same license as the moodle package. # Julien Patriarca , 2010. # msgid "" msgstr "" "Project-Id-Version: moodle\n" "Report-Msgid-Bugs-To: moodle@packages.debian.org\n" "POT-Creation-Date: 2013-06-28 15:43+0200\n" "PO-Revision-Date: 2013-07-18 15:27+0100\n" "Last-Translator: Julien Patriarca \n" "Language-Team: FRENCH \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.5.4\n" #. Type: string #. Description #: ../templates:2001 msgid "URL for the Moodle site:" msgstr "URL du site Moodle :" #. Type: string #. Description #: ../templates:2001 msgid "Please enter the URL from which Moodle should serve pages." msgstr "" "Veuillez indiquer l'adresse Internet (URL) utilisée par Moodle pour afficher " "les pages." #. Type: string #. Description #: ../templates:2001 msgid "" "The moodle package does not perform any automatic web server configuration, " "but does provide basic configuration templates for Apache." msgstr "" "Le paquet de Moodle ne configure pas automatiquement le serveur web, mais " "fournit des modèles de configuration pour Apache." #. Type: string #. Description #: ../templates:2001 msgid "Please leave off the trailing \"/\"." msgstr "Cette adresse ne doit pas se terminer par le caractère « / »." debian/po/de.po0000644000000000000000000000275112171257651010550 0ustar # German translation of debconf templates for moodle. # Copyright (C) 2010, 2013 Holger Wansing # This file is distributed under the same license as the moodle package. # Holger Wansing , 2010, 2013. # # msgid "" msgstr "" "Project-Id-Version: moodle 2.5.1-1\n" "Report-Msgid-Bugs-To: moodle@packages.debian.org\n" "POT-Creation-Date: 2013-06-28 15:43+0200\n" "PO-Revision-Date: 2013-07-14 21:10+0200\n" "Last-Translator: Holger Wansing \n" "Language-Team: German \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:2001 msgid "URL for the Moodle site:" msgstr "URL für die Moodle-Site:" #. Type: string #. Description #: ../templates:2001 msgid "Please enter the URL from which Moodle should serve pages." msgstr "Bitte geben Sie die URL ein, von der Moodle Seiten bereitstellen soll." #. Type: string #. Description #: ../templates:2001 msgid "" "The moodle package does not perform any automatic web server configuration, " "but does provide basic configuration templates for Apache." msgstr "" "Das Moodle-Paket führt keine automatische Webserver-Konfiguration durch, " "stellt jedoch einfache Konfigurationsvorlagen für Apache zur Verfügung." #. Type: string #. Description #: ../templates:2001 msgid "Please leave off the trailing \"/\"." msgstr "Bitte lassen Sie das abschließende »/« weg." debian/po/sv.po0000644000000000000000000000271712172222302010574 0ustar # translation of moodle debconf messages to Swedish # Copyright (C) 2010, 2013 Martin Bagge # This file is distributed under the same license as the moodle package. # # Martin Bagge , 2010, 2013 msgid "" msgstr "" "Project-Id-Version: Moodle\n" "Report-Msgid-Bugs-To: moodle@packages.debian.org\n" "POT-Creation-Date: 2013-06-28 15:43+0200\n" "PO-Revision-Date: 2013-07-19 12:00+0100\n" "Last-Translator: Martin Bagge / brother \n" "Language-Team: Swedish \n" "Language: sv_SE\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.5.4\n" #. Type: string #. Description #: ../templates:2001 msgid "URL for the Moodle site:" msgstr "URL för Moodle:" #. Type: string #. Description #: ../templates:2001 msgid "Please enter the URL from which Moodle should serve pages." msgstr "Ange den URL som Moodle ska använda för att servera sidor." #. Type: string #. Description #: ../templates:2001 msgid "" "The moodle package does not perform any automatic web server configuration, " "but does provide basic configuration templates for Apache." msgstr "" "Moodlepaketet ställer inte in några webbservrar automatiskt men " "tillhandahåller grundläggande inställningar för Apache." #. Type: string #. Description #: ../templates:2001 msgid "Please leave off the trailing \"/\"." msgstr "Ta inte med avslutande \"/\"." debian/po/ro.po0000644000000000000000000000267012167215654010602 0ustar # Translation of moodle debconf templates to Romanian. # Copyright (C) 2010 Costin Ionescu # This file is distributed under the same license as the moodle package. # Costin Ionescu , 2010. # msgid "" msgstr "" "Project-Id-Version: moodle 1.9.8-2\n" "Report-Msgid-Bugs-To: moodle@packages.debian.org\n" "POT-Creation-Date: 2013-06-28 15:43+0200\n" "PO-Revision-Date: 2010-07-18 17:42+0100\n" "Last-Translator: Costin Ionescu \n" "Language-Team: Costin Ionescu \n" "Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:2001 msgid "URL for the Moodle site:" msgstr "Adresa URL a site-ului Moodle:" #. Type: string #. Description #: ../templates:2001 msgid "Please enter the URL from which Moodle should serve pages." msgstr "Vă rugăm introduceţi adresa URL de unde Moodle va afişa paginile." #. Type: string #. Description #: ../templates:2001 msgid "" "The moodle package does not perform any automatic web server configuration, " "but does provide basic configuration templates for Apache." msgstr "" "Pachetul moodle nu efectuează o configurare automată a server-ului web, dar " "furnizează configuraţii şablon pentru Apache." #. Type: string #. Description #: ../templates:2001 msgid "Please leave off the trailing \"/\"." msgstr "" debian/po/POTFILES.in0000644000000000000000000000004412167215654011370 0ustar [type: gettext/rfc822deb] templates debian/po/da.po0000644000000000000000000000266212170777360010550 0ustar # Danish translation moodle. # Copyright (C) 2012 moodle & nedenstående oversættere. # This file is distributed under the same license as the moodle package. # Joe Hansen (joedalton2@yahoo.dk), 2012, 2013. # msgid "" msgstr "" "Project-Id-Version: moodle\n" "Report-Msgid-Bugs-To: moodle@packages.debian.org\n" "POT-Creation-Date: 2013-06-28 15:43+0200\n" "PO-Revision-Date: 2013-07-15 12:42+0000\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:2001 msgid "URL for the Moodle site:" msgstr "Adresse for Moodlesiden:" #. Type: string #. Description #: ../templates:2001 msgid "Please enter the URL from which Moodle should serve pages." msgstr "Indtast venligst adressen hvorfra Moodle skal betjene sider." #. Type: string #. Description #: ../templates:2001 msgid "" "The moodle package does not perform any automatic web server configuration, " "but does provide basic configuration templates for Apache." msgstr "" "Pakken moodle udfører ikke automatisk konfiguration af internetserveren, men " "tilbyder dog grundlæggende konfigurationsskabeloner for Apache." #. Type: string #. Description #: ../templates:2001 msgid "Please leave off the trailing \"/\"." msgstr "Undlad venligst det efterfølgende »/«." debian/po/nl.po0000644000000000000000000000270712170277360010570 0ustar # Dutch translation of moodle debconf templates. # Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the moodle package. # Jeroen Schot , 2012. # msgid "" msgstr "" "Project-Id-Version: moodle 2.5.1-1\n" "Report-Msgid-Bugs-To: moodle@packages.debian.org\n" "POT-Creation-Date: 2013-06-28 15:43+0200\n" "PO-Revision-Date: 2013-07-13 18:21+0200\n" "Last-Translator: Thijs Kinkhorst \n" "Language-Team: Debian l10n Dutch \n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:2001 msgid "URL for the Moodle site:" msgstr "URL voor de Moodle-site:" #. Type: string #. Description #: ../templates:2001 msgid "Please enter the URL from which Moodle should serve pages." msgstr "Vanaf welke URL moet Moodle pagina's opdienen?" #. Type: string #. Description #: ../templates:2001 msgid "" "The moodle package does not perform any automatic web server configuration, " "but does provide basic configuration templates for Apache." msgstr "" "Het moodle-pakket voert geen automatische configuratie van de webserver uit, " "maar het biedt wel een eenvoudige configuratietemplates voor Apache." #. Type: string #. Description #: ../templates:2001 msgid "Please leave off the trailing \"/\"." msgstr "Een \"/\" op het einde laat u achterwege." debian/po/it.po0000644000000000000000000000302412172222600010551 0ustar # Italian translation of moodle debconf messages. # Copyright (C) 2013 moodle package copyright holder # This file is distributed under the same license as the moodle package. # Beatrice Torracca , 2012, 2013. msgid "" msgstr "" "Project-Id-Version: moodle\n" "Report-Msgid-Bugs-To: moodle@packages.debian.org\n" "POT-Creation-Date: 2013-06-28 15:43+0200\n" "PO-Revision-Date: 2013-07-17 14:53+0200\n" "Last-Translator: Beatrice Torracca \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Virtaal 0.7.1\n" #. Type: string #. Description #: ../templates:2001 msgid "URL for the Moodle site:" msgstr "URL del sito Moodle:" #. Type: string #. Description #: ../templates:2001 msgid "Please enter the URL from which Moodle should serve pages." msgstr "Inserire l'URL da cui Moodle deve servire le pagine." #. Type: string #. Description #: ../templates:2001 msgid "" "The moodle package does not perform any automatic web server configuration, " "but does provide basic configuration templates for Apache." msgstr "" "Il pacchetto moodle non effettua alcuna configurazione automatica del server " "web, però fornisce alcuni modelli di configurazione base per Apache." #. Type: string #. Description #: ../templates:2001 msgid "Please leave off the trailing \"/\"." msgstr "Non inserire il carattere \"/\" finale." debian/po/templates.pot0000644000000000000000000000217112167215654012340 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: moodle\n" "Report-Msgid-Bugs-To: moodle@packages.debian.org\n" "POT-Creation-Date: 2013-06-28 15:43+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:2001 msgid "URL for the Moodle site:" msgstr "" #. Type: string #. Description #: ../templates:2001 msgid "Please enter the URL from which Moodle should serve pages." msgstr "" #. Type: string #. Description #: ../templates:2001 msgid "" "The moodle package does not perform any automatic web server configuration, " "but does provide basic configuration templates for Apache." msgstr "" #. Type: string #. Description #: ../templates:2001 msgid "Please leave off the trailing \"/\"." msgstr "" debian/po/pl.po0000644000000000000000000000321412172160755010565 0ustar # Translation of moodle debconf templates to Polish. # Copyright (C) 2010 Tomasz Muras # This file is distributed under the same license as the moodle package. # # Tomasz Muras , 2010. # Michał Kułach , 2013. msgid "" msgstr "" "Project-Id-Version: moodle 1.9.8-2\n" "Report-Msgid-Bugs-To: moodle@packages.debian.org\n" "POT-Creation-Date: 2013-06-28 15:43+0200\n" "PO-Revision-Date: 2013-07-17 17:54+0200\n" "Last-Translator: Michał Kułach \n" "Language-Team: Polish \n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2);\n" "X-Generator: Lokalize 1.4\n" #. Type: string #. Description #: ../templates:2001 msgid "URL for the Moodle site:" msgstr "URL do strony Moodla:" #. Type: string #. Description #: ../templates:2001 msgid "Please enter the URL from which Moodle should serve pages." msgstr "Proszę podać URL spod którego będzie dostępny Moodle." #. Type: string #. Description #: ../templates:2001 msgid "" "The moodle package does not perform any automatic web server configuration, " "but does provide basic configuration templates for Apache." msgstr "" "Pakiet nie przeprowadza żadnej automatycznej konfiguracji serwera WWW ale " "zawiera podstawowe szablony konfiguracyjne dla Apache." #. Type: string #. Description #: ../templates:2001 msgid "Please leave off the trailing \"/\"." msgstr "Proszę nie wpisywać znaku \"/\" na końcu adresu." debian/po/ru.po0000644000000000000000000000322612171175576010611 0ustar # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the moodle package. # # Yuri Kozlov , 2010, 2013. msgid "" msgstr "" "Project-Id-Version: moodle 2.5.1-1\n" "Report-Msgid-Bugs-To: moodle@packages.debian.org\n" "POT-Creation-Date: 2013-06-28 15:43+0200\n" "PO-Revision-Date: 2013-07-15 19:08+0400\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Lokalize 1.4\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. Type: string #. Description #: ../templates:2001 msgid "URL for the Moodle site:" msgstr "URL сайта Moodle:" #. Type: string #. Description #: ../templates:2001 msgid "Please enter the URL from which Moodle should serve pages." msgstr "Введите URL, страницы которого будет обслуживать Moodle." #. Type: string #. Description #: ../templates:2001 msgid "" "The moodle package does not perform any automatic web server configuration, " "but does provide basic configuration templates for Apache." msgstr "" "Пакет moodle не выполняет автоматическую настройку веб-сервера, но " "предоставляет общие шаблоны настройки Apache." #. Type: string #. Description #: ../templates:2001 msgid "Please leave off the trailing \"/\"." msgstr "Не удаляйте завершающий «/»." debian/po/pt_BR.po0000644000000000000000000000276212172222770011163 0ustar # Debconf translations for moodle. # Copyright (C) 2012 THE moodle'S COPYRIGHT HOLDER # This file is distributed under the same license as the moodle package. # Adriano Rafael Gomes , 2012, 2013. # msgid "" msgstr "" "Project-Id-Version: moodle 2.5.1-1\n" "Report-Msgid-Bugs-To: moodle@packages.debian.org\n" "POT-Creation-Date: 2013-06-28 15:43+0200\n" "PO-Revision-Date: 2013-07-13 14:11-0300\n" "Last-Translator: Adriano Rafael Gomes \n" "Language-Team: Brazilian Portuguese \n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:2001 msgid "URL for the Moodle site:" msgstr "URL para o site Moodle:" #. Type: string #. Description #: ../templates:2001 msgid "Please enter the URL from which Moodle should serve pages." msgstr "" "Por favor, informe a URL a partir da qual o Moodle deverá servir páginas." #. Type: string #. Description #: ../templates:2001 msgid "" "The moodle package does not perform any automatic web server configuration, " "but does provide basic configuration templates for Apache." msgstr "" "O pacote moodle não faz nenhuma configuração automática do servidor web, mas " "fornece modelos básicos de configuração para o Apache." #. Type: string #. Description #: ../templates:2001 msgid "Please leave off the trailing \"/\"." msgstr "Por favor, não coloque \"/\" no final." debian/postrm0000755000000000000000000000342712167215654010457 0ustar #!/bin/sh # postrm script for moodle # # see: dh_installdeb(1) set -e #set -x # summary of how this script can be called: # * `remove' # * `purge' # * `upgrade' # * `failed-upgrade' # * `abort-install' # * `abort-install' # * `abort-upgrade' # * `disappear' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package if [ -f /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule fi if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then . /usr/share/dbconfig-common/dpkg/postrm dbc_go moodle $@ fi case "$1" in purge) rm -rf /usr/share/moodle for conf in '/etc/moodle/config.php' '/etc/moodle/apache.conf' '/etc/cron.d/moodle' '/etc/moodle/apache.vhost.conf'; do for ext in '~' '%' .bak .ucf-new .ucf-old .ucf-dist; do rm -f $conf$ext done # remove the configuration file itself rm -f $conf # and finally clear it out from the ucf database if which ucf >/dev/null; then ucf --purge $conf fi if which ucfr >/dev/null; then ucfr --purge foo $conf fi done rm -rf /etc/moodle rm -rf /var/lib/moodle rm -f /etc/cron.d/moodle ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0