--- mahara-1.0.9.orig/htdocs/lib/phpmailer/class.phpmailer.php +++ mahara-1.0.9/htdocs/lib/phpmailer/class.phpmailer.php @@ -1500,4 +1500,4 @@ } } -?> \ No newline at end of file +?> --- mahara-1.0.9.orig/scripts/debian_packages.sh +++ mahara-1.0.9/scripts/debian_packages.sh @@ -0,0 +1,46 @@ +#!/bin/bash +# +# Builds official debian packages of Mahara. +# +# Usage: ./scripts/debian_packages.sh $version [sponsor] +# +# Passing the optional "sponsor" second argument builds the packages signed +# with the current sponsor's key. See the sponsor_keyid variable below +# +# Currently, $version should be space separated, e.g. 0.9 1. When release.sh is +# upgraded then this will change +set -e + +# This is currently Francois' Debian GPG key +sponsor_keyid=19D03486 + +if [ ! -x scripts/release.sh ] ; then + echo "You must run this script from the Mahara top directory" + exit 1 +fi + +if [ "$1" = "" ] || [ "$1" = "-h" ] || [ "$1" = "--help" ]; then + echo "Builds official debian packages of Mahara. Check the comment" + echo "at the top of the script for more information." + exit +fi + +# Build the original tarball if it doesn't exist +if [ ! -e ../mahara_$1.$2.orig.tar.gz ] ; then + scripts/release.sh $1 $2 || exit 1 + rm -f mahara-*.tar.bz2 mahara-*.zip + mv mahara-$1.$2.tar.gz ../mahara_$1.$2.orig.tar.gz +fi + +# Build the package and sign it +if [ "$3" = "sponsor" ]; then + dpkg-buildpackage -rfakeroot -k${sponsor_keyid} -i'.git' -I.git -tc || exit 2 +else + dpkg-buildpackage -rfakeroot -us -uc -tc -i'.git' -I.git || exit 2 +fi + +# Run lintian on it +lintian -i -I ../mahara_$1.$2*changes + +echo "" +echo "Don't forget to tag the 'pkg-debian' git branch once you're done" --- mahara-1.0.9.orig/debian/control +++ mahara-1.0.9/debian/control @@ -0,0 +1,38 @@ +Source: mahara +Section: web +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Mahara Debian Packaging Team +Uploaders: Nigel McNie , Penny Leach , Francois Marier +Build-Depends: debhelper (>= 7), po-debconf, dpatch +Standards-Version: 3.8.0 +Homepage: http://www.mahara.org +Vcs-Git: git://git.debian.org/git/collab-maint/mahara.git +Vcs-Browser: http://git.debian.org/?p=collab-maint/mahara.git;a=summary + +Package: mahara +Architecture: all +Depends: ${misc:Depends}, php5-pgsql | php5-mysql, php5-cli, php5-gd, file, cron, perl, ttf-freefont, php-file, php-pear, smarty, libphp-snoopy +Recommends: mahara-apache2, postgresql | postgresql-8.3 | mysql-server | mysql-server-5.0, clamav, clamav-daemon, php5-curl, php5-xmlrpc, php5-imagick, libfile-slurp-perl, libtext-diff-perl +Description: Electronic portfolio, weblog, and resume builder + Mahara is a fully featured electronic portfolio, weblog, resume builder and + social networking system, connecting users and creating online communities. + . + Mahara is designed to provide users with the tools to create a personal and + professional learning and development environment. + . + This is the core Mahara package, it does not include any of the web server + configuration. + +Package: mahara-apache2 +Architecture: all +Depends: ${misc:Depends}, mahara (>= 1.0.1-1), apache2, libapache2-mod-php5 +Conflicts: mahara-apache +Description: Electronic portfolio, weblog, and resume builder - apache2 configuration + Mahara is a fully featured electronic portfolio, weblog, resume builder and + social networking system, connecting users and creating online communities. + . + Mahara is designed to provide users with the tools to create a personal and + professional learning and development environment. + . + This package configures Mahara for the Apache 2.x web server. --- mahara-1.0.9.orig/debian/mahara-apache2.postrm +++ mahara-1.0.9/debian/mahara-apache2.postrm @@ -0,0 +1,42 @@ +#!/bin/sh +# postrm script for mahara-apache2 +# +# see: dh_installdeb(1) + +set -e + +#DEBHELPER# + +# 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 + +case "$1" in + purge) + ;; + upgrade|remove) + # These scripts were installed by previous versions of packaging + rm -f /etc/mahara/servername.conf + rm -f /etc/mahara/serverredirects.conf + ;; + failed-upgrade|abort-install|abort-upgrade|disappear|upgrade) + ;; + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +exit 0 + + + --- mahara-1.0.9.orig/debian/mahara-apache2.links +++ mahara-1.0.9/debian/mahara-apache2.links @@ -0,0 +1 @@ +etc/mahara/apache.conf etc/apache2/conf.d/mahara --- mahara-1.0.9.orig/debian/watch +++ mahara-1.0.9/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/~.*// \ + http://eduforge.org/frs/?group_id=176 /frs/download.php/\d+/mahara-([\d.]+).tar.bz2 --- mahara-1.0.9.orig/debian/mahara.cron.d +++ mahara-1.0.9/debian/mahara.cron.d @@ -0,0 +1,5 @@ +# +# Mahara implements its own cron to cater for people who need to run it in +# situations where normal unixy cron isn't available. +# +* * * * * www-data if [ -r /usr/share/mahara/lib/cron.php ] ; then /usr/bin/php5 /usr/share/mahara/lib/cron.php >>/var/log/mahara/cron.log 2>&1 ; fi --- mahara-1.0.9.orig/debian/mahara.links +++ mahara-1.0.9/debian/mahara.links @@ -0,0 +1,4 @@ +usr/share/mahara/js/MochiKit/Packed.js usr/share/mahara/js/MochiKit/setup.js +etc/mahara/config.debconf.php usr/share/mahara/config.debconf.php +etc/mahara/config.php usr/share/mahara/config.php +etc/mahara/robots.txt usr/share/mahara/robots.txt --- mahara-1.0.9.orig/debian/rules +++ mahara-1.0.9/debian/rules @@ -0,0 +1,87 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + +build: configure-stamp + +install: configure-stamp patch-stamp + dh_testdir + dh_testroot + dh_installdirs + + # Main Mahara files + cp -r $(CURDIR)/htdocs/* $(CURDIR)/debian/mahara/usr/share/mahara + + # Exclude common files + find $(CURDIR)/debian/mahara/usr/share/mahara/ -name "readme.txt" -exec rm {} \; + find $(CURDIR)/debian/mahara/usr/share/mahara/ -name "license.txt" -exec rm {} \; + find $(CURDIR)/debian/mahara/usr/share/mahara/ -name "COPYING*" -exec rm {} \; + find $(CURDIR)/debian/mahara/usr/share/mahara/ -name "README" -exec rm {} \; + find $(CURDIR)/debian/mahara/usr/share/mahara/ -name "LICENSE*" -exec rm {} \; + + # Exclude specific files/directories + rm -f $(CURDIR)/debian/mahara/usr/share/mahara/theme/default/static/captcha.ttf + rm -f $(CURDIR)/debian/mahara/usr/share/mahara/theme/schoolmyportfolio/static/captcha.ttf + rm -f $(CURDIR)/debian/mahara/usr/share/mahara/robots.txt + rm -f $(CURDIR)/debian/mahara/usr/share/mahara/lib/phpmailer/ChangeLog.txt + rm -rf $(CURDIR)/debian/mahara/usr/share/mahara/lib/adodb/docs/ + rm -rf $(CURDIR)/debian/mahara/usr/share/mahara/lib/adodb/tests/ + rm -f $(CURDIR)/debian/mahara/usr/share/mahara/lib/adodb/pear/readme.Auth.txt + rm -rf $(CURDIR)/debian/mahara/usr/share/mahara/lib/snoopy/ + rm -rf $(CURDIR)/debian/mahara/usr/share/mahara/lib/pear/File + rm -f $(CURDIR)/debian/mahara/usr/share/mahara/lib/pear/File.php + rm -rf $(CURDIR)/debian/mahara/usr/share/mahara/lib/pear/PEAR + rm -f $(CURDIR)/debian/mahara/usr/share/mahara/lib/pear/PEAR.php + rm -rf $(CURDIR)/debian/mahara/usr/share/mahara/lib/smarty/libs/ + + # Config files (common package) + cp $(CURDIR)/debian/config.php $(CURDIR)/debian/mahara/etc/mahara/ + cp $(CURDIR)/htdocs/robots.txt $(CURDIR)/debian/mahara/etc/mahara/ + + # Config file (-apache2) + cp $(CURDIR)/htdocs/.htaccess $(CURDIR)/debian/mahara-apache2/usr/share/mahara + cp $(CURDIR)/debian/apache.conf $(CURDIR)/debian/mahara-apache2/etc/mahara/apache.conf + +clean: clean1 unpatch +clean1: + dh_testdir + dh_testroot + rm -f configure-stamp + dh_clean + debconf-updatepo + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installdebconf + dh_installcron + dh_installlogrotate + dh_compress + dh_fixperms + dh_lintian + dh_installdeb + dh_link + dh_gencontrol + dh_md5sums + dh_builddeb -- -Z bzip2 + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch install patch unpatch configure --- mahara-1.0.9.orig/debian/mahara.postinst +++ mahara-1.0.9/debian/mahara.postinst @@ -0,0 +1,91 @@ +#!/bin/sh +# postinst script for mahara +# +# see: dh_installdeb(1) + +set -e + +# 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 + +#DEBHELPER# + +. /usr/share/debconf/confmodule + +CONFIG_DEBCONF_PHP=/etc/mahara/config.debconf.php + +case "$1" in + configure) + # Configure Mahara + echo " $CONFIG_DEBCONF_PHP + echo "// WARNING: DO NOT EDIT THIS FILE!" >> $CONFIG_DEBCONF_PHP + echo "//" >> $CONFIG_DEBCONF_PHP + echo "// It is automatically generated by debconf and will be overwritten" >> $CONFIG_DEBCONF_PHP + echo "// everytime the mahara Debian package is upgraded." >> $CONFIG_DEBCONF_PHP + echo "// Use 'dpkg-reconfigure mahara' instead." >> $CONFIG_DEBCONF_PHP + echo "//" >> $CONFIG_DEBCONF_PHP + echo "// Your local customizations should go into /etc/mahara/config.php" >> $CONFIG_DEBCONF_PHP + echo "if (!defined('CRON')) {" >> $CONFIG_DEBCONF_PHP + echo " \$cfg->wwwroot = (isset(\$_SERVER['HTTPS']) ? 'https://' : 'http://') . \$_SERVER['SERVER_NAME'] . '/mahara/';" >> $CONFIG_DEBCONF_PHP + echo "}" >> $CONFIG_DEBCONF_PHP + db_get mahara/db_type + echo "\$cfg->dbtype = '${RET}';" >> $CONFIG_DEBCONF_PHP + db_get mahara/db_host + echo "\$cfg->dbhost = '${RET}';" >> $CONFIG_DEBCONF_PHP + db_get mahara/db_port + echo "\$cfg->dbport = '${RET}';" >> $CONFIG_DEBCONF_PHP + db_get mahara/db_name + echo "\$cfg->dbname = '${RET}';" >> $CONFIG_DEBCONF_PHP + db_get mahara/db_user + echo "\$cfg->dbuser = '${RET}';" >> $CONFIG_DEBCONF_PHP + db_get mahara/db_pass + echo "\$cfg->dbpass = '${RET}';" >> $CONFIG_DEBCONF_PHP + db_reset mahara/db_pass + db_get mahara/smtphosts + if [ -n "${RET}" ]; then + echo "\$cfg->smtphosts = '${RET}';" >> $CONFIG_DEBCONF_PHP + fi + + # Set Dataroot + chown www-data:www-data /var/lib/mahara + chown www-data:www-data /var/lib/mahara/smarty + chown www-data:www-data /var/lib/mahara/smarty/cache + chown www-data:www-data /var/lib/mahara/smarty/compile + echo "\$cfg->dataroot = '/var/lib/mahara';" >> $CONFIG_DEBCONF_PHP + echo "?>" >> $CONFIG_DEBCONF_PHP + + # Touch cron log + mkdir -p /var/log/mahara + touch /var/log/mahara/cron.log + chown www-data:www-data /var/log/mahara/cron.log + + # Link to captcha font + [ ! -h /usr/share/mahara/theme/default/static/captcha.ttf ] && ln -s /usr/share/fonts/truetype/freefont/FreeMono.ttf /usr/share/mahara/theme/default/static/captcha.ttf + + # Link to libphp-snoopy + [ ! -h /usr/share/mahara/lib/snoopy ] && ln -s /usr/share/php/libphp-snoopy/ /usr/share/mahara/lib/snoopy + + # Link to smarty if necessary (e.g. on Ubuntu) + [ ! -h /usr/share/mahara/lib/smarty/libs -a -e /usr/share/php/smarty/Smarty.class.php ] && ln -s /usr/share/php/smarty/ /usr/share/mahara/lib/smarty/libs + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +db_stop +exit 0 --- mahara-1.0.9.orig/debian/changelog +++ mahara-1.0.9/debian/changelog @@ -0,0 +1,185 @@ +mahara (1.0.9-2ubuntu0.3) jaunty; urgency=low + + * SECURITY UPDATE: cross-site scripting vulnerabilities in user profile + field and text blocks in all views (LP: #364949) + - debian/patches/CVE-2009-0664.dpatch: fix from upstream + - CVE-2009-0664 + + -- Francois Marier Wed, 22 Apr 2009 17:13:39 +1200 + +mahara (1.0.9-2ubuntu0.2) jaunty; urgency=low + + * Upload to correct pocket + + -- Jamie Strandboge Thu, 19 Mar 2009 10:04:50 -0500 + +mahara (1.0.9-2ubuntu0.1) jaunty-security; urgency=low + + * SECURITY UPDATE: multiple cross-site scripting vulnerabilities in user + profile data and blogs (LP: #340863) + - debian/patches/CVE-2009-0660.dpatch: fixes from upstream advisory + - http://mahara.org/interaction/forum/topic.php?id=350 + - CVE-2009-0660 + * Add dpatch support + + -- Francois Marier Fri, 13 Mar 2009 09:16:06 +1300 + +mahara (1.0.9-2) unstable; urgency=low + + * debian/mahara.postrm: delete the snoopy symlink + * debian/mahara.postinst: create a lib/smarty/libs symlink when necessary + (for example on Ubuntu) + + -- Francois Marier Mon, 09 Feb 2009 17:55:38 +1300 + +mahara (1.0.9-1) unstable; urgency=high + + * New Upstream Version + - fixes XSS vulnerability in forum posts + * debian/copyright: add the word "copyright" to fix a lintian notice + + -- Francois Marier Tue, 03 Feb 2009 18:26:32 +1300 + +mahara (1.0.6-1) unstable; urgency=low + + * New upstream version + + -- Francois Marier Sun, 09 Nov 2008 23:45:15 +1300 + +mahara (1.0.5-2) unstable; urgency=high + + * Depend on libphp-snoopy instead of using the embedded copy shipped + with Mahara (CVE-2008-4796, closes: #504170) + * Backport upstream's patch (41189c30d198153dc66dc867e160dab948929458) + to phpmailer (CVE-2007-3125, closes: #504253) + * Add lintian overrides for the customised embedded libraries + + -- Francois Marier Mon, 03 Nov 2008 19:16:44 +1300 + +mahara (1.0.5-1) unstable; urgency=low + + * New Upstream Version + * Fix comments in maintainer scripts (closes: #491924) + * Add lintian override for embedded copies of mochikit + * Bump debhelper compatibility to 7 to use dh_lintian + + -- Francois Marier Mon, 29 Sep 2008 13:00:12 +1300 + +mahara (1.0.4-2) unstable; urgency=low + + * Compress the package using bzip2 + * Remove non-userdata directories in /var/lib/mahara when purging + * Clarify the MySQL instructions in README.Debian + + * Add Galician debconf translation (closes: #488185). Thanks Jacobo! + * Add Japanese debconf translation (closes: #488338). Thanks Tsunoda! + * Add Czech debconf translation (closes: #488368). Thanks Miroslav! + * Add Turkish debconf translation (closes: #488507). Thanks Mert! + * Add Russian debconf translation (closes: #489168). Thanks Yuri! + * Add Finnish debconf translation (closes: #489121). Thanks Esko! + * Add Vietnamese debconf translation (closes: #489402). Thanks Clytie! + + -- Francois Marier Mon, 07 Jul 2008 11:23:15 +1200 + +mahara (1.0.4-1) unstable; urgency=low + + [ Francois Marier ] + * Add Swedish debconf translation (closes: #487724). Thanks Martin! + * Remove outdated NEWS file + + [ Nigel McNie ] + * New Upstream Version + + -- Francois Marier Wed, 25 Jun 2008 16:52:34 +1200 + +mahara (1.0.3-1) unstable; urgency=low + + [ Nigel McNie ] + * New Upstream Version + * Tweak apache rules to give access to some required files (closes: #479858) + + [ Francois Marier ] + * Bump Standards-Version up to 3.8.0 + * Bump the Postgres version number to 8.3 to match the latest version in sid + + -- Francois Marier Fri, 13 Jun 2008 14:18:13 +1200 + +mahara (1.0.2-1) unstable; urgency=low + + * New Upstream Version + + -- Nigel McNie Tue, 29 Apr 2008 11:15:39 +1200 + +mahara (1.0.1-1) unstable; urgency=low + + [ Francois Marier ] + * debian/copyright: Bump the copyright year for Mahara and remove the + reference to Smarty since we are no longer shipping it. + * Revised French translation thanks to Christian Perrier (closes: #472770) + * Updated Portugese translation thanks to Américo Monteiro (closes: #471952) + + [ Nigel McNie ] + * Don't chmod -R the dataroot directory in the postinst. It takes ages and + is completely unnecessary. + * Update the Vcs- control fields to point at the new location for the debian + packaging + * Removed a whole bunch of configuration questions from the mahara-apache2 + package that are now unnecessary + * Support running the site under an apache alias; by default when installed + the package won't clobber other sites (closes: #464726) + * Set Mahara Debian Packaging Team as maintainer, set myself, Penny and + Francois as uploaders. + * Add MySQL howto instructions to README.Debian (closes: #475278) + + -- Francois Marier Fri, 11 Apr 2008 16:40:01 +1200 + +mahara (0.9.2-2) unstable; urgency=low + + [ Nigel McNie ] + * Removed recommends on php5-openssl and postgresql-8.1 + * Changed default server name to mahara; moved asking about the servername + to mahara-apache2 so running `dpkg-reconfigure -plow mahara-apache2' + changes it (Closes: #464726) + * Removed the restart_apache helper function + * Re-ran debconf-updatepo + * Depend on the smarty debian package rather than bundling our own, + cherry-picked 21b81a5c4c4bfd0408410fdfdd6a8f0217e8f9ff from 0.9_STABLE to + assist with this (Closes: #471201) + + [ Francois Marier ] + * Bump debhelper compatibility to 6 + + -- Nigel McNie Tue, 18 Mar 2008 12:26:31 +1300 + +mahara (0.9.2-1) unstable; urgency=low + + * New upstream release + * Removed copyright notices for KSES and validateurlsyntax.php, both of + which are no longer included in Mahara. + * Reset the database password field after using it to write out the config + file. This allows people to reconfigure the package to remove the + password, at the expense of having to type in the password every time they + reconfigure. + + -- Nigel McNie Wed, 30 Jan 2008 15:52:43 +1300 + +mahara (0.9.1-1) unstable; urgency=low + + [ Francois Marier ] + * Add Portugese debconf translation (closes: #457978). Thanks to Traduz! + * Add Spanish debconf translation (closes: #460236). Thanks Germana! + + [ Nigel McNie ] + * New upstream release + * Set myself as maintainer + * Backported patch 8ffa8b55da108d0ab79d2200a14b152b7d37b0fe, which makes + Mahara respect the system include path. This allows Mahara to use the + system PEAR libraries instead of crashing when it can't find them. + + -- Nigel McNie Wed, 16 Jan 2008 15:28:33 +1300 + +mahara (0.9.0-1) unstable; urgency=low + + * Initial upload to unstable (closes: #447203) + + -- Francois Marier Mon, 17 Dec 2007 09:36:53 +1300 --- mahara-1.0.9.orig/debian/mahara.docs +++ mahara-1.0.9/debian/mahara.docs @@ -0,0 +1 @@ +README --- mahara-1.0.9.orig/debian/apache.conf +++ mahara-1.0.9/debian/apache.conf @@ -0,0 +1,42 @@ +# Read README.Debian for instructions on setting up the apache config + +# Uncomment this to add an alias. +#Alias /mahara /usr/share/mahara + +# Uncomment this if you want to use a vhost. Remember to set $cfg->wwwroot in +# /etc/mahara/config.php! +# +# ServerName your-server-name-here +# DocumentRoot /usr/share/mahara +# + +# There should be little need for you to touch the directives below this line + + + Order allow,deny + Deny from all + + + + Order deny,allow + Allow from all + + + + Options -Indexes + AllowOverride all + + + + + ExpiresActive On + ExpiresDefault "access plus 1 hour" + + + + + + ExpiresActive On + ExpiresDefault "access plus 1 hour" + + --- mahara-1.0.9.orig/debian/mahara.templates +++ mahara-1.0.9/debian/mahara.templates @@ -0,0 +1,48 @@ +Template: mahara/db_type +Type: select +Default: postgres8 +Choices: postgres8, mysql5 +_Description: Database type: + What type of database should be used for the Mahara site + +Template: mahara/db_host +Type: string +Default: +_Description: Database host: + Which database host should be used for the Mahara site + You can leave this blank to connect via UNIX sockets + +Template: mahara/db_port +Type: string +Default: +_Description: Database port: + Which database port should be used for the Mahara site + You can leave this blank for the default + +Template: mahara/db_name +Type: string +Default: mahara +_Description: Database name (not username): + Which database should be used for the Mahara site + +Template: mahara/db_user +Type: string +Default: mahara +_Description: Database username: + Which username should be used to connect to the Mahara database + +Template: mahara/db_pass +Type: string +Default: +_Description: Database password: + Which password is associated with the given username + You can leave this blank if you are not using password authentication. + +Template: mahara/smtphosts +Type: string +Default: +_Description: SMTP Hosts: + Comma separated list of SMTP servers to use to send mail + . + If you leave this blank, the system mailer will be used. Generally, this will + work fine --- mahara-1.0.9.orig/debian/mahara.logrotate +++ mahara-1.0.9/debian/mahara.logrotate @@ -0,0 +1,7 @@ +/var/log/mahara/cron.log { + create 644 www-data www-data + rotate 12 + weekly + compress + missingok +} --- mahara-1.0.9.orig/debian/mahara.preinst +++ mahara-1.0.9/debian/mahara.preinst @@ -0,0 +1,35 @@ +#! /bin/sh +# preinst script for mahara +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +case "$1" in + upgrade) + rm -rf /var/lib/mahara/smarty/compile/* + ;; + install|abort-upgrade) + ;; + + *) + echo "preinst 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 --- mahara-1.0.9.orig/debian/mahara.dirs +++ mahara-1.0.9/debian/mahara.dirs @@ -0,0 +1,5 @@ +etc/mahara +usr/share/mahara +var/lib/mahara +var/lib/mahara/smarty/cache +var/lib/mahara/smarty/compile --- mahara-1.0.9.orig/debian/README.Debian +++ mahara-1.0.9/debian/README.Debian @@ -0,0 +1,60 @@ +Setting up Mahara +----------------- + +There are two steps involved in setting up Mahara: + +1. Create the database, and grant a user access to it +2. Set up the apache configuration + +Setting up the database for Mahara +----------------------------------- + +Mahara assumes that you have properly created the database and the user account +before you connect to the site for the first time. + +Here's how to create a 'maharauser' account on Postgres: + + $ sudo -u postgres createuser -SRDP maharauser + Enter password for new role: ******** + Enter it again: ******** + CREATE ROLE + +and how to create a new 'maharadb' database: + + $ sudo -u postgres createdb -O maharauser -E utf8 maharadb + CREATE DATABASE + +Here's how to create a 'mahara' database on MySQL: + + $ mysql -u root -p + Enter password: + > CREATE DATABASE mahara; + Query OK, 1 row affected (0.00 sec) + +and how to create a 'maharauser' user account: + + > GRANT ALL ON mahara.* to maharauser IDENTIFIED BY 'password'; + Query OK, 0 rows affected (0.00 sec) + > FLUSH PRIVILEGES; + Query OK, 0 rows affected (0.00 sec) + > exit + Bye + +Set up the apache configuration +------------------------------- + +You have two options. One is to use an alias, the other is to use a virtual +host. + +By default, Mahara is set up to be run at http://localhost/mahara/. In order to +enable this: + +1. Edit /etc/mahara/apache.conf and uncomment the 'Alias' line +2. Reload apache with /etc/init.d/apache2 reload + +If you want to run Mahara as a virtualhost: + +1. Uncomment the virtualhost block in /etc/mahara/apache.conf +2. Edit /etc/mahara/config.php and set the wwwroot to what you set the + ServerName to in the virtualhost conf +3. Reload apache with /etc/init.d/apache2 reload --- mahara-1.0.9.orig/debian/mahara.config +++ mahara-1.0.9/debian/mahara.config @@ -0,0 +1,22 @@ +#!/bin/sh -e + +# Source debconf library. +. /usr/share/debconf/confmodule + +# Decide how important it is for the user to see this message +PRIORITY=high + +db_input $PRIORITY mahara/db_type || true +db_go +db_input $PRIORITY mahara/db_host || true +db_go +db_input medium mahara/db_port || true +db_go +db_input $PRIORITY mahara/db_name || true +db_go +db_input $PRIORITY mahara/db_user || true +db_go +db_input $PRIORITY mahara/db_pass|| true +db_go +db_input medium mahara/smtphosts || true +db_go --- mahara-1.0.9.orig/debian/compat +++ mahara-1.0.9/debian/compat @@ -0,0 +1 @@ +7 --- mahara-1.0.9.orig/debian/mahara.lintian-overrides +++ mahara-1.0.9/debian/mahara.lintian-overrides @@ -0,0 +1,11 @@ +# Mahara requires a version of Mochikit with extra patches applied to it. These patches +# have not yet been part of an upstream release. +mahara: embedded-javascript-library usr/share/mahara/js/MochiKit/MochiKit.js +mahara: embedded-javascript-library usr/share/mahara/lib/pieforms/static/core/MochiKit/MochiKit.js + +# Mahara uses customised versions of these libraries +mahara: embedded-javascript-library usr/share/mahara/js/tinymce/tiny_mce.js +mahara: embedded-javascript-library usr/share/mahara/js/tinymce/tiny_mce_popup.js +mahara: embedded-javascript-library usr/share/mahara/js/tinymce/tiny_mce_src.js +mahara: embedded-php-library usr/share/mahara/lib/adodb/adodb.inc.php +mahara: embedded-php-library usr/share/mahara/lib/phpmailer/class.phpmailer.php --- mahara-1.0.9.orig/debian/mahara.postrm +++ mahara-1.0.9/debian/mahara.postrm @@ -0,0 +1,51 @@ +#!/bin/sh +# postrm script for mahara +# +# see: dh_installdeb(1) + +set -e + +#DEBHELPER# + +# 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 + +case "$1" in + purge) + rm -rf /var/log/mahara/ + rm -rf /var/lib/mahara/sessions/ + rm -rf /var/lib/mahara/htmlpurifier/ + rm -rf /var/lib/mahara/smarty/ + rm -rf /var/lib/mahara/quarantine/ + [ -d /var/lib/mahara ] && echo "NOTE: purge does _not_ remove /var/lib/mahara, you must do this yourself if you really want to!" + rm -f /etc/mahara/config.debconf.php + ;; + remove) + rm -f /usr/share/mahara/theme/default/static/captcha.ttf + rm -f /usr/share/mahara/lib/snoopy + rm -f /usr/share/mahara/lib/smarty/libs + rm -rf /var/lib/mahara/smarty/compile/* + rm -rf /var/lib/mahara/smarty/cache/* + ;; + failed-upgrade|abort-install|abort-upgrade|disappear|upgrade) + ;; + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +exit 0 + + + --- mahara-1.0.9.orig/debian/copyright +++ mahara-1.0.9/debian/copyright @@ -0,0 +1,153 @@ +This package was debianized by Martyn Smith on +Tue, 9 Jan 2007 10:47:50 +1300. + +It was downloaded from http://mahara.eduforge.org + +Upstream Authors: + Martyn Smith + Penny Leach + Nigel McNie + Richard Mansfield + Alastair Pharo + Francois Marier + Clare Lenihan + +Copyright: (C) 2006-2008 Catalyst IT Ltd http://catalyst.net.nz + + 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 3 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 should have received a copy of the GNU General Public License + along with this program. If not, see . + +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-3 file. + +The Debian packaging is copyright (C) 2007-2008, Catalyst IT +and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + +This package also includes the following code: + + htdocs/js/tinymce/: + Copyright (C) 2004-2007 Moxiecode Systems AB + Released under the GNU Lesser General Public License 2.1+ + + htdocs/js/tinymce/plugins/devkit/jscripts/diff.js: + Copyright (C) 2006 Neil Fraser + Released under the GNU General Public License + + htdocs/lib/adodb/: + Copyright (c) 2000-2004 John Lim + Released under both the GNU Lesser General Public License 2.1+ + and a Modified BSD license + + htdocs/lib/phpmailer/: + Copyright (C) 2001-2005 Brent R. Matzelle + Released under the GNU Lesser General Public License 2.1+ + + htdocs/lib/pear/XML/: + Copyright (C) 2005 James Stewart + Released under the GNU Lesser General Public License 2.1+ + + htdocs/lib/snoopy/: + Copyright (C) 1999-2000 ispi + Released under the GNU Lesser General Public License 2.1+ + + htdocs/lib/pieforms/static/jscalendar/: + Copyright (C) 2002-2005 Mihai Bazon + Released under the GNU Lesser General Public License 2.1+ + + htdocs/js/MochiKit/Style.js: + Copyright (c) 2006 Yahoo! Inc. + Released under the Modified BSD license + + htdocs/lib/constants.php, searchlib.php, dml.php, ddl.php, + uploadmanager.php, mahara.php, web.php, file.php, xmldb/: + Copyright (C) 2006-2007 Catalyst IT Ltd + Copyright (C) 1999-2007 Martin Dougiamas + Released under the GNU General Public License 2+ + + htdocs/lib/xmldb/: + Copyright (C) 2006-2007 Catalyst IT Ltd + Copyright (C) 2001-2007 Martin Dougiamas + Copyright (C) 2001-2007 Eloy Lafuente + Released under the GNU General Public License 3+ + + htdocs/lib/pieforms/static/core/pieforms.js: + Copyright (C) 2006 Nigel McNie + Copyright (C) 2006 Drupal + Released under the GNU General Public License 2+ + + htdocs/search/internal/lib.php: + Copyright (C) 2006-2007 Catalyst IT + Copyright (C) 2007 Drupal + Released under the GNU General Public License + + htdocs/lib/htmlpurifier/: + Copyright (C) 2006-2008 Edward Z. Yang + Released under the GNU General Public License 2.1+ + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. +The complete text of the Modified BSD license can be found in +`/usr/share/common-licenses/BSD'. + + htdocs/lib/pieforms/static/core/MochiKit/ and + htdocs/js/MochiKit/: + Copyright (C) 2005-2006 Bob Ippolito + Released under the MIT License: + + 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. + + htdocs/js/MochiKit/Controls.js, DragAndDrop.js, Sortable.js: + Copyright (C) 2005 Thomas Fuchs + Released under the MIT License (see above) + + htdocs/lib/pieforms/JSON/: + Copyright (C) 2005 Michal Migurski + + 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. + + THIS SOFTWARE IS PROVIDED ``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 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. --- mahara-1.0.9.orig/debian/mahara-apache2.dirs +++ mahara-1.0.9/debian/mahara-apache2.dirs @@ -0,0 +1,2 @@ +etc/mahara +usr/share/mahara --- mahara-1.0.9.orig/debian/config.php +++ mahara-1.0.9/debian/config.php @@ -0,0 +1,127 @@ +. + * + * @package mahara + * @subpackage core + * @author Penny Leach + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL + * @copyright (C) 2006,2007 Catalyst IT Ltd http://catalyst.net.nz + * + */ + +$cfg = new StdClass; + +require('config.debconf.php'); + +// database connection details +//$cfg->dbtype = 'postgres8'; +//$cfg->dbhost = 'localhost'; +//$cfg->dbport = ''; +//$cfg->dbname = 'mahara'; +//$cfg->dbuser = 'mahara'; +//$cfg->dbpass = ''; +//$cfg->dbprefix = ''; + +// wwwroot - the web-visible path to your Mahara installation +// Normally, this is automatically detected - if it doesn't work for you +// then try specifying it here +//$cfg->wwwroot = 'http://myhost.com/mahara/'; + +// dataroot - uploaded files are stored here +// must be writable by the webserver and outside document root. +// Mahara will NOT RUN if this is inside your document root, because +// this is a big security hole. +//$cfg->dataroot = '/path/to/uploaddir'; + +// system mail address. emails out come from this address. +// if not specified, will default to noreply@ automatically detected host. +// if that doesn't work or you want something else, then specify it here. +// $cfg->noreplyaddress = 'noreply@myhost.com' + +// Logging configuration +// For each log level, you can specify where the messages are displayed. +// LOG_TARGET_SCREEN makes the error messages go to the screen - useful +// when debugging but not on a live site! +// LOG_TARGET_ERRORLOG makes the error messages go to the log as specified +// by the apache ErrorLog directive. It's probably useful to have this on +// for all log levels. +// You can combine them with bitwise operations, +// e.g. LOG_TARGET_SCREEN | LOG_TARGET_ERRORLOG +// +// This configuration is suitable for people running Mahara for the first +// time. You will immediately see environment errors, and so can correct +// them. You will be able to see other debugging information in your error +// logs. Once your site is up and running you might want to remove the +// environment level logging completely, and just log everything else to +// the error log. +$cfg->log_dbg_targets = LOG_TARGET_ERRORLOG; +$cfg->log_info_targets = LOG_TARGET_ERRORLOG; +$cfg->log_warn_targets = LOG_TARGET_ERRORLOG; +$cfg->log_environ_targets = LOG_TARGET_SCREEN | LOG_TARGET_ERRORLOG; +// This configuration is suitable for developers. You will see all errors +// and they will also be in the logs. +//$cfg->log_dbg_targets = LOG_TARGET_SCREEN | LOG_TARGET_ERRORLOG; +//$cfg->log_info_targets = LOG_TARGET_SCREEN | LOG_TARGET_ERRORLOG; +//$cfg->log_warn_targets = LOG_TARGET_SCREEN | LOG_TARGET_ERRORLOG; +//$cfg->log_environ_targets = LOG_TARGET_SCREEN | LOG_TARGET_ERRORLOG; + +// The log levels that will generate backtraces. Useful for development, +// but probably only warnings are useful on a live site. +//$cfg->log_backtrace_levels = LOG_LEVEL_WARN | LOG_LEVEL_ENVIRON; +$cfg->log_backtrace_levels = LOG_LEVEL_WARN; + +// Developer mode +// When set, the following things (among others) will happen: +// +// * 'debug.js' will be included on each page. You can edit this file to add +// debugging javascript at your discretion +// * 'debug.css' will be included on each page. You can edit this file to add +// debugging CSS at your discretion +// * firebuglite will be included, if you are not using Firefox +// * the unpacked version of MochiKit will be used +// +// These options are a performance hit otherwise, enable when you are +// developing for Mahara +$cfg->developermode = false; + +// capture performance information and print it +// $cfg->perftofoot = true; // needs a call to mahara_performance_info (smarty callback) - see default theme's footer.tpl +// $cfg->perftolog = true; +// if neither are set, performance info wont be captured. + +// mail handling +// if you want mahara to use smtp servers to send mail, enter one or more here +// blank means mahara will use the default PHP method. +// $cfg->smtphosts = 'mail.a.com;mail.b.com'; +// If you have specified an smtp server above, and the server requires authentication, +// enter them here +// $cfg->smtpuser = ''; +// $cfg->smtppass = ''; + +// xmlrpc +// if you're running in a configuration where the host contacting you will be +// using an IP address that is not the same as the IP address that is registered +// for its host name, then you should change the value below to 'true'. +$cfg->xmlrpc_allow_masquerading = false; + +// maximum allowed size of uploaded images +// NOTE: the scalable resize might result in images with one dimesion larger than one of these sizes, but not both +$cfg->imagemaxwidth = 1024; +$cfg->imagemaxheight = 1024; + +?> --- mahara-1.0.9.orig/debian/po/POTFILES.in +++ mahara-1.0.9/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] mahara.templates --- mahara-1.0.9.orig/debian/po/templates.pot +++ mahara-1.0.9/debian/po/templates.pot @@ -0,0 +1,115 @@ +# 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: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: mahara@packages.debian.org\n" +"POT-Creation-Date: 2008-03-28 14:33+1300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "Database type:" +msgstr "" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "What type of database should be used for the Mahara site" +msgstr "" + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "Database host:" +msgstr "" + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "" +"Which database host should be used for the Mahara site You can leave this " +"blank to connect via UNIX sockets" +msgstr "" + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "Database port:" +msgstr "" + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "" +"Which database port should be used for the Mahara site You can leave this " +"blank for the default" +msgstr "" + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Database name (not username):" +msgstr "" + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Which database should be used for the Mahara site" +msgstr "" + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Database username:" +msgstr "" + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Which username should be used to connect to the Mahara database" +msgstr "" + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "Database password:" +msgstr "" + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "" +"Which password is associated with the given username You can leave this " +"blank if you are not using password authentication." +msgstr "" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "SMTP Hosts:" +msgstr "" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "Comma separated list of SMTP servers to use to send mail" +msgstr "" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "" +"If you leave this blank, the system mailer will be used. Generally, this " +"will work fine" +msgstr "" --- mahara-1.0.9.orig/debian/po/cs.po +++ mahara-1.0.9/debian/po/cs.po @@ -0,0 +1,123 @@ +# Czech translation of mahara debconf messages. +# Copyright (C) 2008 Miroslav Kure +# This file is distributed under the same license as the mahara package. +# +msgid "" +msgstr "" +"Project-Id-Version: mahara\n" +"Report-Msgid-Bugs-To: mahara@packages.debian.org\n" +"POT-Creation-Date: 2008-03-28 14:33+1300\n" +"PO-Revision-Date: 2008-06-28 13:21+0200\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "Database type:" +msgstr "Typ databáze:" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "What type of database should be used for the Mahara site" +msgstr "Typ databáze, který se má použít pro systém Mahara." + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "Database host:" +msgstr "Server s databází:" + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "" +"Which database host should be used for the Mahara site You can leave this " +"blank to connect via UNIX sockets" +msgstr "" +"Na kterém serveru se nachází databáze pro systém Mahara. Pro připojení pomocí " +"Unixových socketů můžete ponechat prázdné." + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "Database port:" +msgstr "Port databáze:" + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "" +"Which database port should be used for the Mahara site You can leave this " +"blank for the default" +msgstr "" +"Databázový port, který se má použít pro systém Mahara. Pro výchozí hodnotu " +"můžete ponechat prázdné." + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Database name (not username):" +msgstr "Jméno databáze:" + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Which database should be used for the Mahara site" +msgstr "Databáze, která se má použít pro systém Mahara." + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Database username:" +msgstr "Uživatelské jméno do databáze:" + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Which username should be used to connect to the Mahara database" +msgstr "" +"Uživatelské jméno, které se má použít pro připojení k databázi systému Mahara." + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "Database password:" +msgstr "Heslo do databáze:" + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "" +"Which password is associated with the given username You can leave this " +"blank if you are not using password authentication." +msgstr "" +"Heslo, které se má použít s dříve zadaným uživatelským jménem pro připojení " +"k databázi systému Mahara. Pokud nepoužíváte ověřování heslem, můžete " +"ponechat prázdné." + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "SMTP Hosts:" +msgstr "SMTP servery:" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "Comma separated list of SMTP servers to use to send mail" +msgstr "Čárkami oddělený seznam SMTP serverů pro odesílání pošty" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "" +"If you leave this blank, the system mailer will be used. Generally, this " +"will work fine" +msgstr "" +"Ponecháte-li prázdné, použije se poštovní server nastavený v systému. " +"Obvykle to bude fungovat bez problémů." --- mahara-1.0.9.orig/debian/po/pt.po +++ mahara-1.0.9/debian/po/pt.po @@ -0,0 +1,157 @@ +# translation of mahara debconf to Portuguese +# Mahara debconf questions +# Copyright (C) 2007 Américo Monteiro +# This file is distributed under the same license as the mahara package. +# +# Américo Monteiro , 2007, 2008. +msgid "" +msgstr "" +"Project-Id-Version: mahara 0.9.2-2\n" +"Report-Msgid-Bugs-To: mahara@packages.debian.org\n" +"POT-Creation-Date: 2008-03-28 14:33+1300\n" +"PO-Revision-Date: 2008-03-19 23:08+0000\n" +"Last-Translator: Américo Monteiro \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "Database type:" +msgstr "Tipo de base de dados:" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "What type of database should be used for the Mahara site" +msgstr "Que tipo de base de dados deverá ser usada para o site Mahara?" + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "Database host:" +msgstr "Máquina da base de dados:" + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "" +"Which database host should be used for the Mahara site You can leave this " +"blank to connect via UNIX sockets" +msgstr "" +"Qual a máquina, com a base de dados, que deverá ser usada para o site " +"Mahara? Você pode deixar este campo vazio para ligação via sockets UNIX." + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "Database port:" +msgstr "Porto da base de dados:" + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "" +"Which database port should be used for the Mahara site You can leave this " +"blank for the default" +msgstr "" +"Qual o porto da base de dados que deverá ser usado para o site Mahara? Você " +"pode deixar este campo vazio para usar a pré-definição." + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Database name (not username):" +msgstr "Nome da base de dados (não é o nome de utilizador):" + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Which database should be used for the Mahara site" +msgstr "Qual base de dados deverá ser usada para o site Mahara?" + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Database username:" +msgstr "Nome de utilizador da base de dados:" + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Which username should be used to connect to the Mahara database" +msgstr "" +"Qual nome de utilizador deve ser usado para ligar à base de dados Mahara?" + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "Database password:" +msgstr "Palavra-chave da base de dados:" + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "" +"Which password is associated with the given username You can leave this " +"blank if you are not using password authentication." +msgstr "" +"Que palavra-chave está associada com o nome de utilizador dado? Você pode " +"deixar este campo vazio se você não está a usar autenticação por password." + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "SMTP Hosts:" +msgstr "Máquinas SMTP:" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "Comma separated list of SMTP servers to use to send mail" +msgstr "" +"Lista de servidores SMTP, separados por vírgulas, a usar para enviar mail." + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "" +"If you leave this blank, the system mailer will be used. Generally, this " +"will work fine" +msgstr "" +"Se você deixar este campo vazio, o 'mailer' do sistema irá ser usado. De " +"modo geral, isto irá funcionar bem." + +#~ msgid "Server name:" +#~ msgstr "Nome do servidor:" + +#~ msgid "This is the servername of the Mahara site." +#~ msgstr "Isto é o nome de servidor do site Mahara." + +#~ msgid "" +#~ "It is up to you to ensure your chosen hostname resolves to this machine. " +#~ "See /usr/share/doc/mahara/README.Debian for more information." +#~ msgstr "" +#~ "Cabe-lhe a si assegurar-se que o nome de máquina escolhido endereça a " +#~ "esta máquina. Veja /usr/share/doc/mahara/README.Debian para mais " +#~ "informação." + +#~ msgid "" +#~ "Note that this is just the domain name, so for \"http://my.site.com\" you " +#~ "only need to enter \"my.site.com\"" +#~ msgstr "" +#~ "Note que isto é apenas o nome de domínio, então para \"http://meu.site." +#~ "com\" você apenas precisa de indicar \"meu.site.com\"." + +#~ msgid "Server redirects:" +#~ msgstr "Redireccionamentos do servidor:" + +#~ msgid "" +#~ "Comma separated list of domain names that the server should permanently " +#~ "redirect to the server name." +#~ msgstr "" +#~ "Lista de nomes de domínio, separada por vírgulas, que o servidor deverá " +#~ "permanentemente redireccionar para o nome de servidor." --- mahara-1.0.9.orig/debian/po/fi.po +++ mahara-1.0.9/debian/po/fi.po @@ -0,0 +1,122 @@ +msgid "" +msgstr "" +"Project-Id-Version: mahara\n" +"Report-Msgid-Bugs-To: mahara@packages.debian.org\n" +"POT-Creation-Date: 2008-03-28 14:33+1300\n" +"PO-Revision-Date: 2008-07-03 09:15-0000\n" +"Last-Translator: Esko Arajärvi \n" +"Language-Team: Finnish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Finnish\n" +"X-Poedit-Country: FINLAND\n" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "Database type:" +msgstr "Tietokannan tyyppi:" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "What type of database should be used for the Mahara site" +msgstr "Valitse minkä tyyppistä tietokantaa Mahara-sivuston tulisi käyttää." + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "Database host:" +msgstr "Tietokantapalvelin:" + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "" +"Which database host should be used for the Mahara site You can leave this " +"blank to connect via UNIX sockets" +msgstr "" +"Anna tietokantapalvelin, jota Mahara-sivuston tulisi käyttää. Käytettäessä " +"UNIX-pistokkeita tämä voidaan jättää tyhjäksi." + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "Database port:" +msgstr "Tietokantaportti:" + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "" +"Which database port should be used for the Mahara site You can leave this " +"blank for the default" +msgstr "" +"Anna tietokantaportti, jota Mahara-sivuston tulisi käyttää. Jos tämä " +"jätetään tyhjäksi, käytetään oletusporttia." + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Database name (not username):" +msgstr "Tietokannan nimi (ei käyttäjätunnus):" + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Which database should be used for the Mahara site" +msgstr "Anna käytettävän Mahara-sivuston tietokannan nimi." + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Database username:" +msgstr "Tietokannan käyttäjätunnus:" + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Which username should be used to connect to the Mahara database" +msgstr "" +"Anna käyttäjätunnus, jota käytetään otettaessa yhteys Mahara-tietokantaan." + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "Database password:" +msgstr "Tietokannan salasana:" + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "" +"Which password is associated with the given username You can leave this " +"blank if you are not using password authentication." +msgstr "" +"Anna annetun käyttäjätunnuksen salasana. Jätä kenttä tyhjäksi, jos " +"tunnistautumisessa ei käytetä salasanoja." + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "SMTP Hosts:" +msgstr "SMTP-palvelimet:" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "Comma separated list of SMTP servers to use to send mail" +msgstr "" +"Anna pilkuin eroteltuna lista SMTP-palvelimista, joiden kautta sähköposti " +"lähetetään." + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "" +"If you leave this blank, the system mailer will be used. Generally, this " +"will work fine" +msgstr "" +"Jos tämä jätetään tyhjäksi, käytetään järjestelmän postijärjestelmää. Tämä " +"toimii yleensä hyvin." --- mahara-1.0.9.orig/debian/po/es.po +++ mahara-1.0.9/debian/po/es.po @@ -0,0 +1,171 @@ +# Mahara translation to Spanish +# Copyright (C) 2007 +# This file is distributed under the same license as the mahara package. +# Changes: +# - Initial translation +# Maria Germana Oliveira , 2007. +# +# Traductores, si no conoce 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/coordinacion +# especialmente las notas 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: mahara 0.9.0-1\n" +"Report-Msgid-Bugs-To: mahara@packages.debian.org\n" +"POT-Creation-Date: 2008-03-28 14:33+1300\n" +"PO-Revision-Date: 2008-01-09 14:27-0430\n" +"Last-Translator: Maria Germana Oliveira Blazetic \n" +"Language-Team: Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "Database type:" +msgstr "Tipo de base de datos:" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "What type of database should be used for the Mahara site" +msgstr "¿Qué tipo de base de datos debería usarse para el sitio de Mahara?" + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "Database host:" +msgstr "Servidor de base de datos:" + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "" +"Which database host should be used for the Mahara site You can leave this " +"blank to connect via UNIX sockets" +msgstr "" +"¿Qué servidor de base de datos debería usarse para el sitio de Mahara? Puede " +"dejar esto en blanco para conectarse a través de puertos de UNIX" + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "Database port:" +msgstr "Puerto de conexión de la base de datos:" + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "" +"Which database port should be used for the Mahara site You can leave this " +"blank for the default" +msgstr "" +"¿Qué puerto de base de datos debería usarse para el sitio de Mahara? Puede " +"dejar esto en blanco para usar el predeterminado" + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Database name (not username):" +msgstr "Nombre de la base de datos (no el nombre de usuario):" + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Which database should be used for the Mahara site" +msgstr "¿Qué base de datos debería usarse para el sitio de Mahara?" + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Database username:" +msgstr "Nombre de usuario de la base de datos:" + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Which username should be used to connect to the Mahara database" +msgstr "" +"¿Qué nombre de usuario debería usarse para conectarse a la base de datos del " +"sitio de Mahara?" + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "Database password:" +msgstr "Contraseña de la base de datos:" + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "" +"Which password is associated with the given username You can leave this " +"blank if you are not using password authentication." +msgstr "" +"¿Qué contraseña estará asociada con el nombre de usuario dado anteriormente? " +"Puede dejar esto en blanco si no está usando la autenticación por contraseña." + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "SMTP Hosts:" +msgstr "Servidores SMTP:" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "Comma separated list of SMTP servers to use to send mail" +msgstr "" +"Lista de servidores SMTP, separada por comas, usados para enviar correo " +"electrónico" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "" +"If you leave this blank, the system mailer will be used. Generally, this " +"will work fine" +msgstr "" +"Si deja esto en blanco, se usará el servidor de correo del sistema. " +"Generalmente esto debería funcionar bien" + +#~ msgid "Server name:" +#~ msgstr "Nombre del Servidor:" + +#~ msgid "This is the servername of the Mahara site." +#~ msgstr "Este será el nombre de servidor del sitio de Mahara." + +#~ msgid "" +#~ "Note that this is just the domain name, so for \"http://my.site.com\" you " +#~ "only need to enter \"my.site.com\"" +#~ msgstr "" +#~ "Note, que esto es solo el nombre de dominio, por lo tanto para «http://mi." +#~ "sitio.com» solo necesita introducir «mi.sitio.com»" + +#~ msgid "Server redirects:" +#~ msgstr "Redireccionamientos del servidor:" + +#~ msgid "" +#~ "Comma separated list of domain names that the server should permanently " +#~ "redirect to the server name." +#~ msgstr "" +#~ "Lista de nombres de dominio, separada por comas, que el servidor deberá " +#~ "redirigir permanentemente al nombre de servidor." --- mahara-1.0.9.orig/debian/po/gl.po +++ mahara-1.0.9/debian/po/gl.po @@ -0,0 +1,122 @@ +# Galician translation of mahara's debconf templates +# This file is distributed under the same license as the mahara package. +# Jacobo Tarrio , 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: mahara\n" +"Report-Msgid-Bugs-To: mahara@packages.debian.org\n" +"POT-Creation-Date: 2008-03-28 14:33+1300\n" +"PO-Revision-Date: 2008-06-26 21:03+0100\n" +"Last-Translator: Jacobo Tarrio \n" +"Language-Team: Galician \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "Database type:" +msgstr "Tipo da base de datos:" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "What type of database should be used for the Mahara site" +msgstr "Que tipo de base de datos se debe empregar para o sitio de Mahara." + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "Database host:" +msgstr "Servidor da base de datos:" + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "" +"Which database host should be used for the Mahara site You can leave this " +"blank to connect via UNIX sockets" +msgstr "" +"Que servidor de bases de datos se debe empregar para o sitio de Mahara. Pode " +"deixalo en branco para se conectar mediante sockets UNIX." + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "Database port:" +msgstr "Porto da base de datos:" + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "" +"Which database port should be used for the Mahara site You can leave this " +"blank for the default" +msgstr "" +"Que porto da base de datos se debe empregar para o sitio de Mahara. Pode " +"deixalo en branco para empregar o valor por defecto." + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Database name (not username):" +msgstr "Nome da base de datos (non o usuario):" + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Which database should be used for the Mahara site" +msgstr "Que base de datos se debe empregar para o sitio de Mahara." + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Database username:" +msgstr "Nome do usuario da base de datos:" + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Which username should be used to connect to the Mahara database" +msgstr "Cal é o usuario a empregar para se conectar á base de datos de Mahara." + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "Database password:" +msgstr "Contrasinal da base de datos:" + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "" +"Which password is associated with the given username You can leave this " +"blank if you are not using password authentication." +msgstr "" +"Que contrasinal está asociado co nome de usuario fornecido. Pode deixalo en " +"branco se non emprega autenticación por contrasinais." + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "SMTP Hosts:" +msgstr "Servidores SMTP:" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "Comma separated list of SMTP servers to use to send mail" +msgstr "" +"Lista de servidores SMTP separados por comas a empregar para enviar correo." + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "" +"If you leave this blank, the system mailer will be used. Generally, this " +"will work fine" +msgstr "" +"Se deixa isto baleiro, hase empregar o sistema de correo do sistema. Isto " +"adoita funcionar correctamente." --- mahara-1.0.9.orig/debian/po/de.po +++ mahara-1.0.9/debian/po/de.po @@ -0,0 +1,149 @@ +# Mahara debconf questions +# Copyright (C) 2007 +# This file is distributed under the same license as the mahara package. +# Heinz Krettek +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: mahara@packages.debian.org\n" +"POT-Creation-Date: 2008-03-28 14:33+1300\n" +"PO-Revision-Date: 2007-12-03 16:53+0100\n" +"Last-Translator: Heinz Krettek \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "Database type:" +msgstr "Datenbanktyp:" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "What type of database should be used for the Mahara site" +msgstr "Welche Datenbank soll für die Mahara Site benutzt werden" + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "Database host:" +msgstr "Datenbank Host:" + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "" +"Which database host should be used for the Mahara site You can leave this " +"blank to connect via UNIX sockets" +msgstr "" +"Welcher Datenbank Host soll für die Mahara Site benutzt werden Wenn Sie das " +"Feld leer lassen, wird die Verbindung über UNIX Sockets hergestellt" + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "Database port:" +msgstr "Datenbank Port:" + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "" +"Which database port should be used for the Mahara site You can leave this " +"blank for the default" +msgstr "" +"Welcher Datenbank Port soll für die Mahara Site benutzt werden Wenn Sie das " +"Feld leer lassen, wird die Standardeinstellung benutzt" + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Database name (not username):" +msgstr "Datenbank Name (das ist nicht der Benutzername):" + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Which database should be used for the Mahara site" +msgstr "Welche Datenbank soll für die Mahara Site benutzt werden" + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Database username:" +msgstr "Datenbank Benutzername:" + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Which username should be used to connect to the Mahara database" +msgstr "" +"Welcher Benutzername soll für die Verbindung zur Mahara Datenbank benutzt " +"werden" + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "Database password:" +msgstr "Datenbank Passwort:" + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "" +"Which password is associated with the given username You can leave this " +"blank if you are not using password authentication." +msgstr "" +"Das Passwort für den gewählten Benutzernamen. Wenn keine Passwort-" +"Authentifizierung benutzt wird, können Sie das Feld leer lassen" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "SMTP Hosts:" +msgstr "SMTP Server:" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "Comma separated list of SMTP servers to use to send mail" +msgstr "" +"Geben Sie hier den vollen Namen von einem oder mehreren lokalen SMTP-Servern " +"(getrennt durch Kommata) an, die Mahara für den E-Mail-Versand benutzen soll" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "" +"If you leave this blank, the system mailer will be used. Generally, this " +"will work fine" +msgstr "" +"Wenn Sie dieses Feld frei lassen, wird Mahara die Standard-Methode von PHP " +"zum Senden von E-Mails verwenden" + +#~ msgid "Server name:" +#~ msgstr "Servername:" + +#~ msgid "This is the servername of the Mahara site." +#~ msgstr "Der Servername der Mahara Site." + +#~ msgid "" +#~ "Note that this is just the domain name, so for \"http://my.site.com\" you " +#~ "only need to enter \"my.site.com\"" +#~ msgstr "" +#~ "Beachten Sie, dass dies der Domainname ist, Sie müssen deshalb für " +#~ "\"http://meine.seite.com\" nur \"meine.seite.com\" eingeben" + +#~ msgid "Server redirects:" +#~ msgstr "Server Weiterleitungen:" + +#~ msgid "" +#~ "Comma separated list of domain names that the server should permanently " +#~ "redirect to the server name." +#~ msgstr "" +#~ "Geben Sie hier eine Liste (getrennt durch Kommata) der Domainnamen ein, " +#~ "die der Server permanent weiterleiten soll." --- mahara-1.0.9.orig/debian/po/vi.po +++ mahara-1.0.9/debian/po/vi.po @@ -0,0 +1,115 @@ +# Vietnamese translation for Mahara. +# Copyright © 2008 Free Software Foundation, Inc. +# Clytie Siddall , 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: mahara 1.0.3-1\n" +"Report-Msgid-Bugs-To: mahara@packages.debian.org\n" +"POT-Creation-Date: 2008-03-28 14:33+1300\n" +"PO-Revision-Date: 2008-07-05 22:48+0930\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: LocFactoryEditor 1.7b3\n" + +#: ../mahara.templates:1001 +#. Type: select +#. Description +msgid "Database type:" +msgstr "Kiểu cơ sở dữ liệu :" + +#: ../mahara.templates:1001 +#. Type: select +#. Description +msgid "What type of database should be used for the Mahara site" +msgstr "Đối với chỗ Web Mahara, có nên dùng cơ sở dữ liệu kiểu nào?" + +#: ../mahara.templates:2001 +#. Type: string +#. Description +msgid "Database host:" +msgstr "Máy chủ cơ sở dữ liệu :" + +#: ../mahara.templates:2001 +#. Type: string +#. Description +msgid "" +"Which database host should be used for the Mahara site You can leave this " +"blank to connect via UNIX sockets" +msgstr "Đối với chỗ Web Mahara, có nên dùng máy chủ cơ sở dữ liệu nào? Cũng có thể bỏ trống trường này để kết nối thông qua ổ cắm UNIX." + +#: ../mahara.templates:3001 +#. Type: string +#. Description +msgid "Database port:" +msgstr "Cổng cơ sở dữ liệu :" + +#: ../mahara.templates:3001 +#. Type: string +#. Description +msgid "" +"Which database port should be used for the Mahara site You can leave this " +"blank for the default" +msgstr "Đối với chỗ Web Mahara, có nên dùng cổng cơ sở dữ liệu nào? Bỏ trống thì dùng giá trị mặc định." + +#: ../mahara.templates:4001 +#. Type: string +#. Description +msgid "Database name (not username):" +msgstr "Tên cơ sở dữ liệu (không phải tên người dùng):" + +#: ../mahara.templates:4001 +#. Type: string +#. Description +msgid "Which database should be used for the Mahara site" +msgstr "Đối với chỗ Web Mahara, có nên dùng cơ sở dữ liệu gì?" + +#: ../mahara.templates:5001 +#. Type: string +#. Description +msgid "Database username:" +msgstr "Tên người dùng cơ sở dữ liệu :" + +#: ../mahara.templates:5001 +#. Type: string +#. Description +msgid "Which username should be used to connect to the Mahara database" +msgstr "Để kết nối tới cơ sở dữ liệu Mahara, có nên dùng tên người dùng gì?" + +#: ../mahara.templates:6001 +#. Type: string +#. Description +msgid "Database password:" +msgstr "Mật khẩu cơ sở dữ liệu :" + +#: ../mahara.templates:6001 +#. Type: string +#. Description +msgid "" +"Which password is associated with the given username You can leave this " +"blank if you are not using password authentication." +msgstr "Bạn đã nhập tên người dùng liên quan đến mật khẩu gì? Có thể bỏ trống nếu không dùng chức năng xác thực bằng mật khẩu." + +#: ../mahara.templates:7001 +#. Type: string +#. Description +msgid "SMTP Hosts:" +msgstr "Máy chủ SMTP:" + +#: ../mahara.templates:7001 +#. Type: string +#. Description +msgid "Comma separated list of SMTP servers to use to send mail" +msgstr "Danh sách định giới bằng dấu phẩy chứa các máy phục vụ SMTP được dùng để gửi thư tín." + +#: ../mahara.templates:7001 +#. Type: string +#. Description +msgid "" +"If you leave this blank, the system mailer will be used. Generally, this " +"will work fine" +msgstr "Bỏ trống trường này thì dùng trình phục vụ thư tín của hệ thộng. Bình thường, nó cũng được." --- mahara-1.0.9.orig/debian/po/ja.po +++ mahara-1.0.9/debian/po/ja.po @@ -0,0 +1,119 @@ +# Copyright (C) 2008 shinichi tsunoda +# This file is distributed under the same license as the mahara package. +msgid "" +msgstr "" +"Project-Id-Version: mahara\n" +"Report-Msgid-Bugs-To: mahara@packages.debian.org\n" +"POT-Creation-Date: 2008-03-28 14:33+1300\n" +"PO-Revision-Date: 2008-06-25 11:10+0900\n" +"Last-Translator: shinichi tsunoda \n" +"Language-Team: japanese\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "Database type:" +msgstr "データベースの種類:" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "What type of database should be used for the Mahara site" +msgstr "Mahara サイトで利用するデータベースの種類" + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "Database host:" +msgstr "データベースのホスト名:" + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "" +"Which database host should be used for the Mahara site You can leave this " +"blank to connect via UNIX sockets" +msgstr "" +"Mahara サイトで利用するデータベースのホスト名。\n" +"UNIX ソケット経由で接続する場合、ブランクでかまいません" + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "Database port:" +msgstr "データベースのポート番号:" + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "" +"Which database port should be used for the Mahara site You can leave this " +"blank for the default" +msgstr "" +"Mahara サイト利用するデータベースのポート番号。\n" +"デフォルトではブランクのままでかまいません" + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Database name (not username):" +msgstr "データベース名 (ユーザ名ではありません):" + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Which database should be used for the Mahara site" +msgstr "Mahara サイトで利用するデータベース" + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Database username:" +msgstr "データベースのユーザ名:" + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Which username should be used to connect to the Mahara database" +msgstr "Mahara データベースに接続する際のユーザ名" + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "Database password:" +msgstr "データベースのパスワード" + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "" +"Which password is associated with the given username You can leave this " +"blank if you are not using password authentication." +msgstr "" +"指定したユーザ名に関連付けるパスワード。\n" +"パスワード認証を使わない場合、ブランク。" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "SMTP Hosts:" +msgstr "SMTP ホスト:" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "Comma separated list of SMTP servers to use to send mail" +msgstr "メール送信に使用する SMTP サーバをコンマ区切りで列挙" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "" +"If you leave this blank, the system mailer will be used. Generally, this " +"will work fine" +msgstr "" +"この欄をブランクにしておくと、システムのデフォルトのメール\n" +"送信プログラムが利用されます。一般的には、これでいいはずです" --- mahara-1.0.9.orig/debian/po/sv.po +++ mahara-1.0.9/debian/po/sv.po @@ -0,0 +1,114 @@ +# translation of mahara_1.0.3-1_templates.po to swedish +# Copyright (C) 2008 Martin Bagge +# This file is distributed under the same license as the mahara package. +msgid "" +msgstr "" +"Project-Id-Version: mahara_1.0.3-1_templates\n" +"Report-Msgid-Bugs-To: mahara@packages.debian.org\n" +"POT-Creation-Date: 2008-03-28 14:33+1300\n" +"PO-Revision-Date: 2008-06-23 21:41+0200\n" +"Last-Translator: Martin Bagge \n" +"Language-Team: swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "Database type:" +msgstr "Databastyp:" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "What type of database should be used for the Mahara site" +msgstr "Vilken sorts databas ska användas för Mahara" + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "Database host:" +msgstr "Databasvärd:" + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "" +"Which database host should be used for the Mahara site You can leave this " +"blank to connect via UNIX sockets" +msgstr "Vilken databasvärd ska användas för Mahara. Du kan lämna detta fält blankt för att ansluta via UNIX-socket." + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "Database port:" +msgstr "Databas-port:" + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "" +"Which database port should be used for the Mahara site You can leave this " +"blank for the default" +msgstr "Vilken databasport ska användas för Mahara? Lämnas detta fält tomt för att använda standardvärdet." + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Database name (not username):" +msgstr "Namn på databasen:" + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Which database should be used for the Mahara site" +msgstr "Vilken databas ska användas för Mahara" + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Database username:" +msgstr "Användarnamn för databasen:" + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Which username should be used to connect to the Mahara database" +msgstr "Vilket användarnamn ska användas för att ansluta till Maharadatabasen" + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "Database password:" +msgstr "Lösenord för databasen:" + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "" +"Which password is associated with the given username You can leave this " +"blank if you are not using password authentication." +msgstr "Ange lösenordet för att ansluta till Maharadatabasen. Lämna fältet tomt om du inte använder lösenord för att ansluta till databasen." + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "SMTP Hosts:" +msgstr "Värd för utgående e-post(SMTP):" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "Comma separated list of SMTP servers to use to send mail" +msgstr "Ange servrar för utgående e-post(SMTP), avskilj med komma för flera olika." + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "" +"If you leave this blank, the system mailer will be used. Generally, this " +"will work fine" +msgstr "Om du lämnar detta fält blankt så används systemets meddelandehantering. Detta är en fullgod lösning." + --- mahara-1.0.9.orig/debian/po/fr.po +++ mahara-1.0.9/debian/po/fr.po @@ -0,0 +1,168 @@ +# Translation of mahara debconf templates to French +# Copyright (C) 2008 Christian Perrier +# This file is distributed under the same license as the mahara package. +# +# Christian Perrier , 2008. +# Francois Marier , 2007. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: mahara@packages.debian.org\n" +"POT-Creation-Date: 2008-03-28 14:33+1300\n" +"PO-Revision-Date: 2008-03-20 09:12+0100\n" +"Last-Translator: Christian Perrier \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "Database type:" +msgstr "Type de serveur de bases de données :" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "What type of database should be used for the Mahara site" +msgstr "" +"Veuillez indiquer le type de serveur de bases de données à utiliser pour ce " +"site Mahara." + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "Database host:" +msgstr "Nom d'hôte du serveur de bases de données :" + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "" +"Which database host should be used for the Mahara site You can leave this " +"blank to connect via UNIX sockets" +msgstr "" +"Veuillez indiquer le nom d'hôte du serveur de bases de données à utiliser " +"pour ce site Mahara. Ce champ peut être laissé vide pour utiliser les " +"« sockets » UNIX." + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "Database port:" +msgstr "Port d'écoute du serveur de bases de données :" + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "" +"Which database port should be used for the Mahara site You can leave this " +"blank for the default" +msgstr "" +"Veuillez indiquer le port d'écoute du serveur de bases de données à utiliser " +"pour ce site Mahara. Ce champ peut être laissé vide pour utiliser le port " +"par défaut." + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Database name (not username):" +msgstr "Nom de la base de données :" + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Which database should be used for the Mahara site" +msgstr "" +"Veuillez indiquer le nom de la base de données à utiliser pour ce site " +"Mahara. Ce nom n'est pas l'identifiant de connexion." + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Database username:" +msgstr "Identifiant de connexion à la base de données :" + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Which username should be used to connect to the Mahara database" +msgstr "" +"Veuillez indiquer l'identifiant à utiliser pour les connexions à la base de " +"données de ce site Mahara." + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "Database password:" +msgstr "Mot de passe de connexion à la base de données :" + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "" +"Which password is associated with the given username You can leave this " +"blank if you are not using password authentication." +msgstr "" +"Veuillez indiquer le mot de passe de l'identifiant de connexion à la base de " +"données. Ce champ peut être laissé vide si vous n'utilisez pas " +"l'authentification par mot de passe." + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "SMTP Hosts:" +msgstr "Hôtes SMTP :" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "Comma separated list of SMTP servers to use to send mail" +msgstr "" +"Veuillez indiquer la liste des serveurs SMTP à utiliser pour envoyer des " +"courriels. Les entrées multiples doivent être séparées par des virgules." + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "" +"If you leave this blank, the system mailer will be used. Generally, this " +"will work fine" +msgstr "Si ce champ est vide, le serveur de messagerie local sera utilisé. " + +#~ msgid "Server name:" +#~ msgstr "Nom du serveur :" + +#~ msgid "This is the servername of the Mahara site." +#~ msgstr "" +#~ "Veuillez indiquer le nom qui sera utilisé par ce site Mahara (directive " +#~ "« ServerName » d'Apache)." + +#~ msgid "" +#~ "It is up to you to ensure your chosen hostname resolves to this machine. " +#~ "See /usr/share/doc/mahara/README.Debian for more information." +#~ msgstr "" +#~ "Il est indispensable que ce nom puisse être résolut sur le réseau. " +#~ "Veuillez lire le fichier /usr/share/doc/mahara/README.Debian pour plus " +#~ "d'informations." + +#~ msgid "" +#~ "Note that this is just the domain name, so for \"http://my.site.com\" you " +#~ "only need to enter \"my.site.com\"" +#~ msgstr "" +#~ "Veuillez noter que ce champ ne doit contenir que le nom de domaine, par " +#~ "exemple « mon.site.com » pour un serveur qui sera joignable à l'adresse " +#~ "« http://mon.site.com »." + +#~ msgid "Server redirects:" +#~ msgstr "Redirection du serveur :" + +#~ msgid "" +#~ "Comma separated list of domain names that the server should permanently " +#~ "redirect to the server name." +#~ msgstr "" +#~ "Veuillez indiquer une liste des noms de domaine que le serveur doit " +#~ "rediriger de façon permanente vers le nom de serveur indiqué. Les entrées " +#~ "multiples doivent être séparées par des virgules." --- mahara-1.0.9.orig/debian/po/tr.po +++ mahara-1.0.9/debian/po/tr.po @@ -0,0 +1,106 @@ +# Copyright (C) 2008 Mert Dirik +# This file is distributed under the same license as the mahara package. +# +msgid "" +msgstr "" +"Project-Id-Version: mahara 1.0.3-1\n" +"Report-Msgid-Bugs-To: mahara@packages.debian.org\n" +"POT-Creation-Date: 2008-03-28 14:33+1300\n" +"PO-Revision-Date: 2008-06-25 14:04+0200\n" +"Last-Translator: Mert Dirik \n" +"Language-Team: Debian L10n Turkish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "Database type:" +msgstr "Veritabanı türü:" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "What type of database should be used for the Mahara site" +msgstr "Mahara sitesinde ne tür bir veritabanı kullanılsın?" + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "Database host:" +msgstr "Veritabanı makinesi:" + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "Which database host should be used for the Mahara site You can leave this blank to connect via UNIX sockets" +msgstr "Mahara sitesinde hangi veritabanı makinesi kullanılsın? UNIX soketleri yoluyla bağlanmak için bu alanı boş bırakabilirsiniz." + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "Database port:" +msgstr "Veritabanı portu:" + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "Which database port should be used for the Mahara site You can leave this blank for the default" +msgstr "Mahara sitesinde hangi veritabanı portu kullanılsın? Öntanımlı değeri kullanmak için bu alanı boş bırakabilirsiniz." + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Database name (not username):" +msgstr "Veritabanı adı (kullanıcı adı değil):" + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Which database should be used for the Mahara site" +msgstr "Mahara sitesinde hangi veritabanı kullanılsın?" + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Database username:" +msgstr "Veritabanı kullanıcı adı:" + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Which username should be used to connect to the Mahara database" +msgstr "Mahara veritabanına bağlanmak için hangi kullanıcı adı kullanılsın?" + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "Database password:" +msgstr "Veritabanı parolası:" + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "Which password is associated with the given username You can leave this blank if you are not using password authentication." +msgstr "Verilen kullanıcı hesabının parolası nedir? Eğer parolayla kimlik doğrulama kullanmıyorsanız bu alanı boş bırakabilirsiniz." + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "SMTP Hosts:" +msgstr "SMTP Sunucuları:" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "Comma separated list of SMTP servers to use to send mail" +msgstr "Posta göndermek için kullanılacak SMTP sunucularının virgülle ayrılmış listesi" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "If you leave this blank, the system mailer will be used. Generally, this will work fine" +msgstr "Eğer bu alanı boş bırakırsanız, sistemin posta sunucusu kullanılacak. Bu genellikle sorun çıkarmaz." + --- mahara-1.0.9.orig/debian/po/ru.po +++ mahara-1.0.9/debian/po/ru.po @@ -0,0 +1,125 @@ +# translation of ru.po to Russian +# This file is distributed under the same license as the mahara package. +# +# Yuri Kozlov , 2008. +msgid "" +msgstr "" +"Project-Id-Version: mahara 1.0.3-1\n" +"Report-Msgid-Bugs-To: mahara@packages.debian.org\n" +"POT-Creation-Date: 2008-03-28 14:33+1300\n" +"PO-Revision-Date: 2008-07-03 21:15+0400\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.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: select +#. Description +#: ../mahara.templates:1001 +msgid "Database type:" +msgstr "Тип базы данных:" + +#. Type: select +#. Description +#: ../mahara.templates:1001 +msgid "What type of database should be used for the Mahara site" +msgstr "Укажите, какой тип базы данных нужно использовать для сайта Mahara" + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "Database host:" +msgstr "Хост базы данных:" + +#. Type: string +#. Description +#: ../mahara.templates:2001 +msgid "" +"Which database host should be used for the Mahara site You can leave this " +"blank to connect via UNIX sockets" +msgstr "" +"Укажите хост базы данных, который нужно использовать для сайта Mahara. " +"Чтобы использовать сокеты UNIX, оставьте поле пустым." + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "Database port:" +msgstr "Порт базы данных:" + +#. Type: string +#. Description +#: ../mahara.templates:3001 +msgid "" +"Which database port should be used for the Mahara site You can leave this " +"blank for the default" +msgstr "" +"Укажите порт базы данных, который нужно использовать для сайта Mahara. " +"Чтобы использовать значение по умолчанию, оставьте поле пустым." + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Database name (not username):" +msgstr "Имя базы данных (не имя пользователя):" + +#. Type: string +#. Description +#: ../mahara.templates:4001 +msgid "Which database should be used for the Mahara site" +msgstr "Укажите имя базы данных, которое нужно использовать для сайта Mahara." + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Database username:" +msgstr "Имя пользователя для подключения к базе данных:" + +#. Type: string +#. Description +#: ../mahara.templates:5001 +msgid "Which username should be used to connect to the Mahara database" +msgstr "Укажите имя пользователя для подключения к базе данных Mahara." + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "Database password:" +msgstr "Пароль к базе данных:" + +#. Type: string +#. Description +#: ../mahara.templates:6001 +msgid "" +"Which password is associated with the given username You can leave this " +"blank if you are not using password authentication." +msgstr "" +"Укажите пароль для подключения к базе данных Mahara. " +"Если аутентификация по паролю не используется, оставьте поле " +"пустым." + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "SMTP Hosts:" +msgstr "Хосты SMTP:" + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "Comma separated list of SMTP servers to use to send mail" +msgstr "Введите список SMTP-серверов (через запятую) для отправки почты." + +#. Type: string +#. Description +#: ../mahara.templates:7001 +msgid "" +"If you leave this blank, the system mailer will be used. Generally, this " +"will work fine" +msgstr "" +"Чтобы использовать системный почтовый сервер, оставьте поле пустым. " +"Обычно, это отлично работает." + --- mahara-1.0.9.orig/debian/patches/CVE-2009-0660.dpatch +++ mahara-1.0.9/debian/patches/CVE-2009-0660.dpatch @@ -0,0 +1,287 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## CVE-2009-0660.dpatch by Francois Marier +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Multiple XSS vulnerabilities + +@DPATCH@ +diff --git a/htdocs/admin/users/edit.php b/htdocs/admin/users/edit.php +index 7f791d9..fa0a143 100644 +--- a/htdocs/admin/users/edit.php ++++ b/htdocs/admin/users/edit.php +@@ -431,7 +431,7 @@ $smarty->assign('institutions', count($allinstitutions) > 1); + $smarty->assign('institutionform', $institutionform); + + if ($id != $USER->get('id') && is_null($USER->get('parentuser'))) { +- $loginas = get_string('loginasuser', 'admin', $user->username); ++ $loginas = get_string('loginasuser', 'admin', hsc($user->username)); + } else { + $loginas = null; + } +diff --git a/htdocs/artefact/blog/lib.php b/htdocs/artefact/blog/lib.php +index e10a66e..8cf8d4b 100644 +--- a/htdocs/artefact/blog/lib.php ++++ b/htdocs/artefact/blog/lib.php +@@ -210,10 +210,10 @@ class ArtefactTypeBlog extends ArtefactType { + if (isset($options['viewid'])) { + $smarty->assign('artefacttitle', '' . $this->get('title') . ''); ++ . '">' . hsc($this->get('title')) . ''); + } + else { +- $smarty->assign('artefacttitle', $this->get('title')); ++ $smarty->assign('artefacttitle', hsc($this->get('title'))); + } + + $smarty->assign('blockid', $blockid); +@@ -221,7 +221,7 @@ class ArtefactTypeBlog extends ArtefactType { + $smarty->assign('enc_id', json_encode($this->id)); + $smarty->assign('limit', self::pagination); + $smarty->assign('loading_img', theme_get_url('images/loading.gif')); +- $smarty->assign('description', $this->get('description')); ++ $smarty->assign('description', clean_text($this->get('description'))); + + // Remove unnecessary options for blog posts + unset($options['hidetitle']); +@@ -415,15 +415,15 @@ class ArtefactTypeBlogPost extends ArtefactType { + if (isset($options['viewid'])) { + $smarty->assign('artefacttitle', '' . $this->get('title') . ''); ++ . '">' . hsc($this->get('title')) . ''); + } + else { +- $smarty->assign('artefacttitle', $this->get('title')); ++ $smarty->assign('artefacttitle', hsc($this->get('title'))); + } + } + + // We need to make sure that the images in the post have the right viewid associated with them +- $postcontent = $this->get('description'); ++ $postcontent = clean_text($this->get('description')); + if (isset($options['viewid'])) { + safe_require('artefact', 'file'); + $postcontent = ArtefactTypeFolder::append_view_url($postcontent, $options['viewid']); +@@ -553,6 +553,9 @@ class ArtefactTypeBlogPost extends ArtefactType { + $result[$file->blogpost]->files[] = $file; + } + } ++ foreach ($result as &$post) { ++ $post->description = clean_text($post->description); ++ } + } + + return array($count, array_values($result)); +diff --git a/htdocs/artefact/blog/theme/default/editpost.tpl b/htdocs/artefact/blog/theme/default/editpost.tpl +index 9b1120e..dec5ec5 100644 +--- a/htdocs/artefact/blog/theme/default/editpost.tpl ++++ b/htdocs/artefact/blog/theme/default/editpost.tpl +@@ -9,7 +9,7 @@ + {include file="sidebar.tpl"} + + {include file="columnleftstart.tpl"} +-

{$pagetitle}

++

{$pagetitle|escape}

+ {$textinputform} +
+
+diff --git a/htdocs/artefact/blog/theme/default/render/blogpost_renderfull.tpl b/htdocs/artefact/blog/theme/default/render/blogpost_renderfull.tpl +index bc2f23d..1754212 100644 +--- a/htdocs/artefact/blog/theme/default/render/blogpost_renderfull.tpl ++++ b/htdocs/artefact/blog/theme/default/render/blogpost_renderfull.tpl +@@ -11,7 +11,7 @@ + {foreach from=$attachments item=item} + + +- {$item->title} ({$item->size}) - {str tag=Download section=artefact.file} ++ {$item->title|escape} ({$item->size}) - {str tag=Download section=artefact.file} +
{$item->description|escape} + + {/foreach} +diff --git a/htdocs/artefact/file/blocktype/image/lib.php b/htdocs/artefact/file/blocktype/image/lib.php +index f5baa53..108feb8 100644 +--- a/htdocs/artefact/file/blocktype/image/lib.php ++++ b/htdocs/artefact/file/blocktype/image/lib.php +@@ -71,7 +71,7 @@ class PluginBlocktypeImage extends PluginBlocktype { + + $description = (is_a($image, 'ArtefacttypeImage')) ? $image->get('description') : $image->get('title'); + if (!empty($configdata['showdescription']) && $description) { +- $result .= '

' . $description . '

'; ++ $result .= '

' . hsc($description) . '

'; + } + $result .= '
'; + } +diff --git a/htdocs/artefact/file/theme/default/file_render_self.tpl b/htdocs/artefact/file/theme/default/file_render_self.tpl +index 1ea07c8..86d27e6 100644 +--- a/htdocs/artefact/file/theme/default/file_render_self.tpl ++++ b/htdocs/artefact/file/theme/default/file_render_self.tpl +@@ -6,7 +6,7 @@ + + + +- ++ + + + +diff --git a/htdocs/artefact/file/theme/default/folder_render_self.tpl b/htdocs/artefact/file/theme/default/folder_render_self.tpl +index 3e9427a..1a5cfbc 100644 +--- a/htdocs/artefact/file/theme/default/folder_render_self.tpl ++++ b/htdocs/artefact/file/theme/default/folder_render_self.tpl +@@ -20,7 +20,7 @@ + + + +- ++ + {if !$simpledisplay}{/if} + + {/foreach} +diff --git a/htdocs/artefact/resume/theme/default/fragments/personalinformation.tpl b/htdocs/artefact/resume/theme/default/fragments/personalinformation.tpl +index 1953c21..8f56c78 100644 +--- a/htdocs/artefact/resume/theme/default/fragments/personalinformation.tpl ++++ b/htdocs/artefact/resume/theme/default/fragments/personalinformation.tpl +@@ -1,8 +1,8 @@ +
{str tag=Type section=artefact.file}:{$filetype}
{str tag=Description section=artefact.file}:{$description|escape}
{str tag=Owner section=artefact.file}:{$owner}
{str tag=Owner section=artefact.file}:{$owner|escape}
{str tag=Created section=artefact.file}:{$created}
{str tag=lastmodified section=artefact.file}:{$modified}
{str tag=Size section=artefact.file}:{$size|escape}
{$child->artefacttype|escape}{$child->title}{$child->description}{$child->description|escape}{$child->date}
+ {foreach from=$fields key='field' item='value'} + +- +- ++ ++ + + {/foreach} +
{$field}{$value}{$field|escape}{$value|escape}
+diff --git a/htdocs/lib/web.php b/htdocs/lib/web.php +index 430e908..f9456b2 100644 +--- a/htdocs/lib/web.php ++++ b/htdocs/lib/web.php +@@ -440,7 +440,7 @@ EOF; + + if ($USER->get('parentuser')) { + $smarty->assign('USERMASQUERADING', true); +- $smarty->assign('masqueradedetails', get_string('youaremasqueradingas', 'mahara', display_name($USER))); ++ $smarty->assign('masqueradedetails', get_string('youaremasqueradingas', 'mahara', hsc(display_name($USER)))); + $smarty->assign('becomeyouagain', + ' ' + . get_string('becomeadminagain', 'admin', $USER->get('parentuser')->name) +diff --git a/htdocs/theme/default/templates/admin/users/edit.tpl b/htdocs/theme/default/templates/admin/users/edit.tpl +index 028f753..aef9ed5 100644 +--- a/htdocs/theme/default/templates/admin/users/edit.tpl ++++ b/htdocs/theme/default/templates/admin/users/edit.tpl +@@ -2,7 +2,7 @@ + + {include file="columnfullstart.tpl"} +
+-

{$user->firstname} {$user->lastname} ({$user->username})

++

{$user|display_name|escape}

+ {if !empty($loginas)} + + {/if} +diff --git a/htdocs/theme/default/templates/searchresulttable.tpl b/htdocs/theme/default/templates/searchresulttable.tpl +index 1031502..a836dc9 100644 +--- a/htdocs/theme/default/templates/searchresulttable.tpl ++++ b/htdocs/theme/default/templates/searchresulttable.tpl +@@ -26,7 +26,7 @@ + {foreach from=$results.data item=r} + + {foreach from=$cols key=f item=c} +- {if empty($c.template)}{$r[$f]}{else}{eval var=$c.template}{/if} ++ {if empty($c.template)}{$r[$f]|escape}{else}{eval var=$c.template}{/if} + {/foreach} + + {/foreach} +diff --git a/htdocs/theme/default/templates/user/view.tpl b/htdocs/theme/default/templates/user/view.tpl +index 0c3093c..e025d84 100644 +--- a/htdocs/theme/default/templates/user/view.tpl ++++ b/htdocs/theme/default/templates/user/view.tpl +@@ -10,7 +10,7 @@ + {/if} + +
+- {$introduction} ++ {$introduction|clean_text} +
+ +
+@@ -39,12 +39,12 @@ +
+
    + {foreach from=$USERFIELDS name=userfields key=key item=item} +-
  • {$item}
  • ++
  • {$item|escape}
  • + {/foreach} +
+ {if $relationship == 'pending'} +
+- {str tag='whymakemeyourfriend' section='group'} {$message} ++ {str tag='whymakemeyourfriend' section='group'} {$message|escape} + {$requestform} +
+ {/if} +@@ -57,7 +57,7 @@ +

{$item->title|escape}

+ + {if $item->description} +- {$item->description} ++ {$item->description|clean_text} + {/if} + {if $item->description && $item->artefacts}
{/if} + {if $item->artefacts} +@@ -80,7 +80,7 @@ + +

{$item->name|escape} - {str tag=$item->type section=group}

+ {if $item->description} +- {$item->description} ++ {$item->description|clean_text} + {/if} + + +diff --git a/htdocs/user/view.php b/htdocs/user/view.php +index ed72e98..f128e36 100644 +--- a/htdocs/user/view.php ++++ b/htdocs/user/view.php +@@ -332,7 +332,7 @@ if ($loggedinid != $userid) { + } + + if ($userid != $USER->get('id') && $USER->is_admin_for_user($user) && is_null($USER->get('parentuser'))) { +- $loginas = get_string('loginasuser', 'admin', $user->username); ++ $loginas = get_string('loginasuser', 'admin', hsc($user->username)); + } else { + $loginas = null; + } +diff --git a/htdocs/view/artefact.php b/htdocs/view/artefact.php +index 9094632..8559742 100644 +--- a/htdocs/view/artefact.php ++++ b/htdocs/view/artefact.php +@@ -87,13 +87,13 @@ $artefactpath[] = array( + 'title' => $artefact->display_title(), + ); + +-$heading = '' . hsc($view->get('title')) . ' ' . get_string('by', 'view') . ' ' . $view->formatted_owner() . ''; ++$heading = '' . hsc($view->get('title')) . ' ' . get_string('by', 'view') . ' ' . hsc($view->formatted_owner()) . ''; + foreach ($artefactpath as $item) { + if (empty($item['url'])) { +- $heading .= ': ' . $item['title']; ++ $heading .= ': ' . hsc($item['title']); + } + else { +- $heading .= ': ' . $item['title'] . ''; ++ $heading .= ': ' . hsc($item['title']) . ''; + } + } + +diff --git a/htdocs/view/view.php b/htdocs/view/view.php +index ebe6fde..4113f28 100644 +--- a/htdocs/view/view.php ++++ b/htdocs/view/view.php +@@ -49,7 +49,7 @@ if ($new) { + else { + $heading = '' . hsc($view->get('title')) . ''; + } +-$heading .= ' ' . get_string('by', 'view') . ' ' . $view->formatted_owner() . ''; ++$heading .= ' ' . get_string('by', 'view') . ' ' . hsc($view->formatted_owner()) . ''; + + + $tutorfilefeedbackformrow = ''; --- mahara-1.0.9.orig/debian/patches/00list +++ mahara-1.0.9/debian/patches/00list @@ -0,0 +1,2 @@ +CVE-2009-0660.dpatch +CVE-2009-0664.dpatch --- mahara-1.0.9.orig/debian/patches/CVE-2009-0664.dpatch +++ mahara-1.0.9/debian/patches/CVE-2009-0664.dpatch @@ -0,0 +1,31 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## CVE-2009-0664.dpatch by Francois Marier +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: XSS vulnerabilities + +@DPATCH@ +diff --git a/htdocs/artefact/internal/blocktype/profileinfo/theme/default/content.tpl b/htdocs/artefact/internal/blocktype/profileinfo/theme/default/content.tpl +index 64235c9..5cb0d3b 100644 +--- a/htdocs/artefact/internal/blocktype/profileinfo/theme/default/content.tpl ++++ b/htdocs/artefact/internal/blocktype/profileinfo/theme/default/content.tpl +@@ -1,5 +1,5 @@ + {if $profileiconpath}
{/if} +-

{$profileinfo.introduction}

++

{$profileinfo.introduction|clean_text}

+ +
    + {foreach from=$profileinfo key=key item=item} +diff --git a/htdocs/blocktype/textbox/lib.php b/htdocs/blocktype/textbox/lib.php +index 361d5fe..d67006b 100644 +--- a/htdocs/blocktype/textbox/lib.php ++++ b/htdocs/blocktype/textbox/lib.php +@@ -45,7 +45,7 @@ class PluginBlocktypeTextbox extends SystemBlocktype { + $text = (isset($configdata['text'])) ? $configdata['text'] : ''; + safe_require('artefact', 'file'); + $text = ArtefactTypeFolder::append_view_url($text,$instance->get('view')); +- return $text; ++ return clean_text($text); + } + + public static function has_instance_config() {