--- drupal-5.1.orig/debian/po/templates.pot +++ drupal-5.1/debian/po/templates.pot @@ -0,0 +1,23 @@ +# 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: ubuntu-motu@lists.ubuntu.com\n" +"POT-Creation-Date: 2007-03-09 19:17+1100\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: multiselect +#. Description +#: ../templates.master:1001 +msgid "Web server(s) that should be configured automatically:" +msgstr "" --- drupal-5.1.orig/debian/po/ca.po +++ drupal-5.1/debian/po/ca.po @@ -0,0 +1,236 @@ +# Catalan translation of drupal +# Copyright (c) 2004 Software in the Public Interest, Inc. +# This file is distributed under the same license as the drupal package. +# Josep Monés i Teixidor , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: drupal\n" +"Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n" +"POT-Creation-Date: 2007-03-09 19:17+1100\n" +"PO-Revision-Date: 2005-03-21 11:09+0100\n" +"Last-Translator: Sergio Talens-Oliag \n" +"Language-Team: Catalan \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +# Type: multiselect +# Description +#. Type: multiselect +#. Description +#: ../templates.master:1001 +#, fuzzy +msgid "Web server(s) that should be configured automatically:" +msgstr "Servidor(s) web que han de ser configurats automàticament" + +# Type: boolean +# Description +#~ msgid "Automatically create Drupal database?" +#~ msgstr "Voleu crear automàticament una base de dades del Drupal?" + +# Type: boolean +# Description +#~ msgid "" +#~ "Drupal needs access to a database, along with initialized data structures " +#~ "in order to function properly. This can be created automatically by this " +#~ "package, for MySQL or PostgreSQL databases." +#~ msgstr "" +#~ "Al Drupal li cal una base de dades configurada amb estructures de dades " +#~ "inicialitzades per a funcionar correctament. Aixó pot ser creat " +#~ "automàticament per aquest paquet per a bases de dades MySQL o PostgreSQL." + +# Type: boolean +# Description +#~ msgid "" +#~ "Automatically creating the database does not make sense if a Drupal " +#~ "database already exists or if no database server has been setup when " +#~ "Drupal is installed." +#~ msgstr "" +#~ "Crear automàticament la base de dades no te trellat si ja existeix una " +#~ "base de dades del Drupal o si no s'ha configurat cap servidor de bases de " +#~ "dades quan s'ha instal.lat el Drupal." + +# Type: select +# Description +#~ msgid "Database engine to be used with Drupal" +#~ msgstr "Motor de base de dades a fer servir amb el Drupal" + +# Type: string +# Description +#~ msgid "Database server for Drupal's database" +#~ msgstr "Servidor de bases de dades per a la base de dades del Drupal" + +# Type: string +# Description +#~ msgid "Database server administrator user name on host ${host}" +#~ msgstr "" +#~ "Nom d'usuari de l'administrador del servidor de base de dades al equip " +#~ "${host}" + +# Type: password +# Description +#~ msgid "Password for database server administrator ${user} on host ${host}" +#~ msgstr "" +#~ "Contrasenya per a l'administrador del servidor de base de dades ${user} " +#~ "al equip ${host}" + +# Type: password +# Description +#~ msgid "The answer will not be stored anywhere permanently." +#~ msgstr "La resposta no es guardarà en cap lloc permanentment." + +# Type: string +# Description +#~ msgid "Drupal database owner username" +#~ msgstr "Nom d'usuari del propietari de la base de dades del Drupal" + +# Type: string +# Description +#~ msgid "" +#~ "This username will be used by Drupal to connect to the database server." +#~ msgstr "" +#~ "Aquest nom d'usuari serà emprat per el Drupal per a conectar amb el " +#~ "servidor de bases de dades." + +#~ msgid "Drupal database owner password" +#~ msgstr "Contrasenya del propietari de la base de dades del Drupal" + +# Type: password +# Description +#~ msgid "" +#~ "If no password is specified here, a random password will be generated." +#~ msgstr "Si no es tria cap contrasenya ací, es generarà una aleatòriament." + +# Type: string +# Description +#~ msgid "Drupal database name" +#~ msgstr "Nom de la base de dades del Drupal" + +# Type: string +# Description +#, fuzzy +#~ msgid "Drupal Base Url" +#~ msgstr "Nom de la base de dades del Drupal" + +# Type: boolean +# Description +#~ msgid "Remove Drupal database when the package is removed?" +#~ msgstr "" +#~ "Eliminar les bases de dades del Drupal quan el paquet siga eliminat?" + +# Type: boolean +# Description +#~ msgid "Remove former database backups when the package is removed?" +#~ msgstr "" +#~ "Eliminar les còpies de les bases de dades anteriors quan el paquet siga " +#~ "eliminat?" + +# Type: boolean +# Description +#~ msgid "" +#~ "These backups are stored in /var/lib/drupal/backups. This will not remove " +#~ "the current database from the DBMS." +#~ msgstr "" +#~ "Les còpies de seguretat es guarden a /var/lib/drupal/backups. Aixó no " +#~ "eliminarà la base de dades actual del sistema de gestió de bases de dades." + +#, fuzzy +#~ msgid "Database update neccesary. Continue?" +#~ msgstr "Executar guió d'actualització de la base de dades?" + +# Type: note +# Description +#~ msgid "User creation failed" +#~ msgstr "Ha fallat la creació de l'usuari" + +#~ msgid "Attempt to modify config file ${conffile} failed" +#~ msgstr "" +#~ "Va fallar l'intent de modificar el fitxer de configuració ${conffile}" + +# Type: note +# Description +#~ msgid "Database creation failed" +#~ msgstr "Ha fallat la creació de la base de dades" + +# Type: note +# Description +#~ msgid "Database initialization failed" +#~ msgstr "Ha fallat la inicialització de la base de dades" + +# Type: note +# Description +#~ msgid "Database removal failed" +#~ msgstr "Ha fallat l'eliminació de la base de dades" + +#~ msgid "Script output:" +#~ msgstr "Eixida del guió:" + +#~ msgid "${result}" +#~ msgstr "${result}" + +#~ msgid "Run database update script?" +#~ msgstr "Executar guió d'actualització de la base de dades?" + +# Type: boolean +# Description +#~ msgid "" +#~ "If you are upgrading Drupal from an older upstream version, the database " +#~ "structure needs to be updated. This package can perform this task " +#~ "automatically." +#~ msgstr "" +#~ "Si està actualitzant Drupal des de una versió original antiga es necesari " +#~ "actualitzar l'estructura de la base de dades. Aquest paquet pot fer-ho " +#~ "automàticament per vosté." + +#~ msgid "" +#~ "A manual update procedure is available by pointing a web browser to " +#~ "." +#~ msgstr "" +#~ "Hi ha un procedimet d'actualització manual disponible accedint a la " +#~ "adreça amb un navegador." + +# Type: boolean +# Description +#~ msgid "The database will be backed up to prevent data loss." +#~ msgstr "" +#~ "Es farà una còpia de seguretat de la base de dades per a prevenir perdues " +#~ "d'informació." + +# Type: note +# Description +#~ msgid "Automatic database update failed" +#~ msgstr "Ha fallat l'actualització automàtica de la base de dades" + +# Type: note +# Description +#~ msgid "The automatic update script failed to update the database." +#~ msgstr "" +#~ "El guió d'actualització automàtica no ha actualitzat la base de dades." + +# Type: note +# Description +#~ msgid "Automatic update script can not be run" +#~ msgstr "El guió d'actualització automàtica no es pot executar" + +# Type: note +# Description +#~ msgid "" +#~ "Configuration files of a Drupal package ${oldversion} have been found, " +#~ "but the package itself has been removed. Therefore, it is not possible to " +#~ "run the automatic update script." +#~ msgstr "" +#~ "S'han trobat fitxers de configuració de Drupal ${old_version}, però el " +#~ "paquet ha estat el.liminat. Així que no es pot executar el guió " +#~ "d'actualització automàtica." + +# Type: note +# Description +#~ msgid "" +#~ "Please run it by hand after the package has been successfully installed. " +#~ "Either point your web browser to ${site_root}/update.php or run /usr/" +#~ "share/drupal/scripts/debian-update.php from a shell." +#~ msgstr "" +#~ "Per favor executa-ho manualment després que el paquet estiga correctament " +#~ "instal.lat. Apunteu amb el vostre navegador a ${site_root}/update.php o " +#~ "executa /usr/share/drupal/FIXME des d'una shell." --- drupal-5.1.orig/debian/po/de.po +++ drupal-5.1/debian/po/de.po @@ -0,0 +1,183 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n" +"POT-Creation-Date: 2007-03-09 19:17+1100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Hilko Bengen \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Description +#: ../templates.master:1001 +#, fuzzy +msgid "Web server(s) that should be configured automatically:" +msgstr "Webserver, die automatisch konfiguriert werden sollen" + +#~ msgid "Automatically create Drupal database?" +#~ msgstr "Datenbank für Drupal automatisch erstellen?" + +#~ msgid "" +#~ "Drupal needs access to a database, along with initialized data structures " +#~ "in order to function properly. This can be created automatically by this " +#~ "package, for MySQL or PostgreSQL databases." +#~ msgstr "" +#~ "Drupal benötigt Zugang zu einer Datenbank und " +#~ "vorbereiteteDatenstrukturen. Diese Datenbnk kann automatisch von diesem " +#~ "Paketangelegt werden; zur Auswahl stehen MySQL- oder PostgreSQL-" +#~ "Datenbanken." + +#~ msgid "" +#~ "Automatically creating the database does not make sense if a Drupal " +#~ "database already exists or if no database server has been setup when " +#~ "Drupal is installed." +#~ msgstr "" +#~ "Automatisches Anlegen der Datenbank st nicht sinnvoll, falls bereits eine " +#~ "Drupal-Datenbank existiert oder falls zur Installationszeit kein " +#~ "Datenbanksystem installiert und eingerichtet ist." + +#~ msgid "Database engine to be used with Drupal" +#~ msgstr "Datenbanksoftware, die mit Drupal verwendet werden soll" + +#~ msgid "Database server for Drupal's database" +#~ msgstr "Server für die Drupal-Datenbank" + +#~ msgid "Database server administrator user name on host ${host}" +#~ msgstr "Benutzername des Datenbankadministrators auf Server ${host}" + +#~ msgid "Password for database server administrator ${user} on host ${host}" +#~ msgstr "Passwort des Datenbankadministrators ${user} auf Server ${host}" + +#~ msgid "The answer will not be stored anywhere permanently." +#~ msgstr "Die Antwort wird nicht permanent gespeichert." + +#~ msgid "Drupal database owner username" +#~ msgstr "Benutzername für die Drupal-Datenbank" + +#~ msgid "" +#~ "This username will be used by Drupal to connect to the database server." +#~ msgstr "" +#~ "Drupal wird diesen Benutzernamen zum Zugriff auf die Datenbank verwenden" + +#~ msgid "Drupal database owner password" +#~ msgstr "Passwort für den Drupal-Benutzer" + +#~ msgid "" +#~ "If no password is specified here, a random password will be generated." +#~ msgstr "" +#~ "Wenn kein Passwort angegeben wird, so wird ein zufälliges Passwort " +#~ "generiert werden." + +#~ msgid "Drupal database name" +#~ msgstr "Name der Drupal-Datenbank" + +#, fuzzy +#~ msgid "Drupal Base Url" +#~ msgstr "Name der Drupal-Datenbank" + +#~ msgid "Remove Drupal database when the package is removed?" +#~ msgstr "Drupal-Datenbank entfernen, wenn diese Paket entfernt wird?" + +#~ msgid "Remove former database backups when the package is removed?" +#~ msgstr "" +#~ "Datenbank-Sicherheitskopien entfernen, wenn dieses Paket entfernt wird?" + +#~ msgid "" +#~ "These backups are stored in /var/lib/drupal/backups. This will not remove " +#~ "the current database from the DBMS." +#~ msgstr "" +#~ "Diese Sicherheitskopien liegen in /var/lib/drupal/backups. Die Datenbank " +#~ "wird hierdurch nicht entfernt werden." + +#, fuzzy +#~ msgid "Database update neccesary. Continue?" +#~ msgstr "Datenbank-Updateskript ausführen?" + +#~ msgid "User creation failed" +#~ msgstr "Anlegen des Benutzers fehlgeschlagen" + +#~ msgid "Attempt to modify config file ${conffile} failed" +#~ msgstr "Änderung an der Konfigurationsdatei ${conffile} fehlgeschlagen" + +#~ msgid "Database creation failed" +#~ msgstr "Anlegen der Datenbank fehlgeschlagen" + +#~ msgid "Database initialization failed" +#~ msgstr "Einrichten der Datenbank fehlgeschlagen" + +#~ msgid "Database removal failed" +#~ msgstr "Entfernung der Datenbank fehlgeschlagen" + +#~ msgid "Script output:" +#~ msgstr "Ausgabe des Skripts:" + +#~ msgid "${result}" +#~ msgstr "${result}" + +#~ msgid "Run database update script?" +#~ msgstr "Datenbank-Updateskript ausführen?" + +#~ msgid "" +#~ "If you are upgrading Drupal from an older upstream version, the database " +#~ "structure needs to be updated. This package can perform this task " +#~ "automatically." +#~ msgstr "" +#~ "Wenn Sie von einer früheren Drupal-Version upgraden, ist es nötig, die " +#~ "Datenbankstrukturen anzupassen. Dieses Paket kann das automatisch " +#~ "erledigen." + +#~ msgid "" +#~ "A manual update procedure is available by pointing a web browser to " +#~ "." +#~ msgstr "" +#~ "Alternativ können Sie die Datenbankstrukturen an die neue Versionanpassen " +#~ "lassen, indem Sie mit einemWebbrowser aufrufen." + +#~ msgid "The database will be backed up to prevent data loss." +#~ msgstr "" +#~ "Eine Sicherheitskopie der Datenbank wird erstellt werden, um Verlust der " +#~ "Daten zu verhindern." + +#~ msgid "Automatic database update failed" +#~ msgstr "Automatisches Datenbank-Update fehlgeschlagen" + +#~ msgid "The automatic update script failed to update the database." +#~ msgstr "Das automatische Update-Skript konnte die Datenbank nicht anpassen" + +#~ msgid "Automatic update script can not be run" +#~ msgstr "Das automatische Update-Skript kann nocht ausgeführt werden." + +#~ msgid "" +#~ "Configuration files of a Drupal package ${oldversion} have been found, " +#~ "but the package itself has been removed. Therefore, it is not possible to " +#~ "run the automatic update script." +#~ msgstr "" +#~ "Konfigurationsdateien eines früheren Drupal-Pakets ${oldversion} wurden " +#~ "gefunden, aber das Paket selbst wurde entfernt. Daher ist es nicht " +#~ "möglich, das Skript auszuführen." + +#~ msgid "" +#~ "Please run it by hand after the package has been successfully installed. " +#~ "Either point your web browser to ${site_root}/update.php or run /usr/" +#~ "share/drupal/scripts/debian-update.php from a shell." +#~ msgstr "" +#~ "Bitte führen Sie es von Hand aus, nachdem das Paket installiert wurde. " +#~ "Entweder laden Sie ${site_root}/update.php in einem Webbrowser, oder " +#~ "starten Sie /usr/share/drupal/scripts/debian-update.php in einer Shell." --- drupal-5.1.orig/debian/po/es.po +++ drupal-5.1/debian/po/es.po @@ -0,0 +1,195 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: drupal\n" +"Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n" +"POT-Creation-Date: 2007-03-09 19:17+1100\n" +"PO-Revision-Date: 2005-03-21 11:08+0100\n" +"Last-Translator: Sergio Talens-Oliag \n" +"Language-Team: Debian Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Description +#: ../templates.master:1001 +#, fuzzy +msgid "Web server(s) that should be configured automatically:" +msgstr "Servidor(es) web que deben ser configurados automáticamente" + +# Type: boolean +# Description +#~ msgid "Automatically create Drupal database?" +#~ msgstr "¿Crear automáticamente una base de datos de Drupal?" + +#~ msgid "" +#~ "Drupal needs access to a database, along with initialized data structures " +#~ "in order to function properly. This can be created automatically by this " +#~ "package, for MySQL or PostgreSQL databases." +#~ msgstr "" +#~ "Para funcionar correctamente Drupal necesita aceso a una base de datos " +#~ "con estructuras de datos inicializadas. Esto puede ser creado " +#~ "automáticamente por este paquete para bases de datos MySQL o PostgreSQL." + +#~ msgid "" +#~ "Automatically creating the database does not make sense if a Drupal " +#~ "database already exists or if no database server has been setup when " +#~ "Drupal is installed." +#~ msgstr "" +#~ "La creación automática de la base de datos no tiene sentido si ya existe " +#~ "una base de datos de Drupal o si no se ha configurado un servidor de base " +#~ "de datos cuando se ha instalado Drupal." + +#~ msgid "Database engine to be used with Drupal" +#~ msgstr "Motor de base de datos a usar con Drupal" + +#~ msgid "Database server for Drupal's database" +#~ msgstr "Servidor de base de datos para la base de datos de Drupal" + +#~ msgid "Database server administrator user name on host ${host}" +#~ msgstr "" +#~ "Nombre de usuario del administrador del servidor de bases de datos en el " +#~ "equipo ${host}" + +#~ msgid "Password for database server administrator ${user} on host ${host}" +#~ msgstr "" +#~ "Contraseña para el administrador del servidor de bases de datos ${user} " +#~ "en el equipo ${host}" + +#~ msgid "The answer will not be stored anywhere permanently." +#~ msgstr "La respuesta no se guardará en ningún sitio de modo permanente." + +#~ msgid "Drupal database owner username" +#~ msgstr "Nombre de usuario del propietario de la base de datos de Drupal" + +#~ msgid "" +#~ "This username will be used by Drupal to connect to the database server." +#~ msgstr "" +#~ "Este nombre de usuario será usado por Drupal para conectar al servidor de " +#~ "bases de datos." + +#~ msgid "Drupal database owner password" +#~ msgstr "Clave del usuario propietario de la base de Datos de Drupal" + +#~ msgid "" +#~ "If no password is specified here, a random password will be generated." +#~ msgstr "" +#~ "Si no se especifica ninguna contraseña aquí, se generará una " +#~ "aleatoriamente." + +#~ msgid "Drupal database name" +#~ msgstr "Nombre de la base de datos de Drupal" + +#, fuzzy +#~ msgid "Drupal Base Url" +#~ msgstr "Nombre de la base de datos de Drupal" + +#~ msgid "Remove Drupal database when the package is removed?" +#~ msgstr "¿Borrar la base de datos de Drupal cuando el paquete sea eliminado?" + +#~ msgid "Remove former database backups when the package is removed?" +#~ msgstr "" +#~ "¿Eliminar copias de seguridad anteriores de la base de datos cuando el " +#~ "paquete sea eliminado?" + +#~ msgid "" +#~ "These backups are stored in /var/lib/drupal/backups. This will not remove " +#~ "the current database from the DBMS." +#~ msgstr "" +#~ "Estas copias de seguridad están almacenadas en /var/lib/drupal/backups. " +#~ "Esto no eliminará la base de datos actual del sistema de gestión de bases " +#~ "de datos." + +#, fuzzy +#~ msgid "Database update neccesary. Continue?" +#~ msgstr "¿Ejecutar el guión de actualización de la base de datos?" + +#~ msgid "User creation failed" +#~ msgstr "Ha fallado la creación del usuario" + +#~ msgid "Attempt to modify config file ${conffile} failed" +#~ msgstr "" +#~ "Ha fallado el intento de modificar el fichero de configuración ${conffile}" + +#~ msgid "Database creation failed" +#~ msgstr "Ha fallado la creación de la base de datos" + +#~ msgid "Database initialization failed" +#~ msgstr "Ha fallado la inicialización de la base de datos" + +#~ msgid "Database removal failed" +#~ msgstr "Ha fallado la eliminación de la base de datos" + +#~ msgid "Script output:" +#~ msgstr "Salida del guión:" + +#~ msgid "${result}" +#~ msgstr "${result}" + +#~ msgid "Run database update script?" +#~ msgstr "¿Ejecutar el guión de actualización de la base de datos?" + +# Type: boolean +# Description +#~ msgid "" +#~ "If you are upgrading Drupal from an older upstream version, the database " +#~ "structure needs to be updated. This package can perform this task " +#~ "automatically." +#~ msgstr "" +#~ "Si está actualizando Drupal desde una versión original más antigua, la " +#~ "estructura de la base de datos debe ser actualizada. Este paquete puede " +#~ "realizar esta tarea automáticamente." + +#~ msgid "" +#~ "A manual update procedure is available by pointing a web browser to " +#~ "." +#~ msgstr "" +#~ "Hay un procedimiento de actualización manual disponible accediendo a la " +#~ "dirección con un navegador." + +#~ msgid "The database will be backed up to prevent data loss." +#~ msgstr "" +#~ "Se hará una copia de seguridad de la base de datos para prevenir la " +#~ "pérdida de datos." + +#~ msgid "Automatic database update failed" +#~ msgstr "Ha fallado la actualización automática de la base de datos" + +#~ msgid "The automatic update script failed to update the database." +#~ msgstr "" +#~ "Ha fallado el guión de actualización automática al actualizar la base de " +#~ "datos." + +#~ msgid "Automatic update script can not be run" +#~ msgstr "No se puede ejecutar el guión de actualización automática" + +#~ msgid "" +#~ "Configuration files of a Drupal package ${oldversion} have been found, " +#~ "but the package itself has been removed. Therefore, it is not possible to " +#~ "run the automatic update script." +#~ msgstr "" +#~ "Se han encontrado ficheros de un paquete de Drupal ${old_version}, pero " +#~ "el paquete ha sido eliminado. Por lo tanto, no es posible ejecutar el " +#~ "guión de actualización automática." + +#~ msgid "" +#~ "Please run it by hand after the package has been successfully installed. " +#~ "Either point your web browser to ${site_root}/update.php or run /usr/" +#~ "share/drupal/scripts/debian-update.php from a shell." +#~ msgstr "" +#~ "Por favor ejecútelo a mano después de que el paquete haya sido intalado " +#~ "con éxito. Cargue en un navegador la dirección ${site_root}/update.php o " +#~ "ejecute /usr/share/drupal/FIXME desde un intérprete de órdenes." --- drupal-5.1.orig/debian/po/fr.po +++ drupal-5.1/debian/po/fr.po @@ -0,0 +1,31 @@ +# translation of fr.po to French +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans# +# Developers do not need to manually edit POT or PO files. +# Christian Perrier , 2003 +# +msgid "" +msgstr "" +"Project-Id-Version: fr\n" +"Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n" +"POT-Creation-Date: 2007-03-09 19:17+1100\n" +"PO-Revision-Date: 2005-05-19 21:40+0200\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.9.1\n" + +#. Type: multiselect +#. Description +#: ../templates.master:1001 +msgid "Web server(s) that should be configured automatically:" +msgstr "Serveur(s) web à configurer automatiquement :" --- drupal-5.1.orig/debian/po/ja.po +++ drupal-5.1/debian/po/ja.po @@ -0,0 +1,180 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +# +msgid "" +msgstr "" +"Project-Id-Version: drupal 4.5.2-4\n" +"Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n" +"POT-Creation-Date: 2007-03-09 19:17+1100\n" +"PO-Revision-Date: 2005-05-21 23:20+0900\n" +"Last-Translator: Hideki Yamane \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=EUC-JP\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Description +#: ../templates.master:1001 +#, fuzzy +msgid "Web server(s) that should be configured automatically:" +msgstr "web ¥µ¡¼¥Ð¤Ï¼«Æ°Åª¤ËÀßÄꤵ¤ì¤Þ¤¹" + +#~ msgid "Automatically create Drupal database?" +#~ msgstr "Drupal ¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¤ò¼«Æ°Åª¤ËºîÀ®¤·¤Þ¤¹¤«?" + +#~ msgid "" +#~ "Drupal needs access to a database, along with initialized data structures " +#~ "in order to function properly. This can be created automatically by this " +#~ "package, for MySQL or PostgreSQL databases." +#~ msgstr "" +#~ "µ¡Ç½¤¬Àµ¤·¤¯Æ°ºî¤¹¤ë¤¿¤á¤Ë¤Ï¡¢Drupal ¤Ï¥Ç¡¼¥¿¹½Â¤¤¬½é´ü²½¤µ¤ì¤¿¥Ç¡¼¥¿¥Ù¡¼" +#~ "¥¹¤ËÀܳ¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤Ï¡¢¤³¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ë¤è¤Ã¤Æ¼«Æ°Åª¤ËºîÀ®²Äǽ" +#~ "¤Ç¡¢MySQL ¤Þ¤¿¤Ï PostgreSQL ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¤É¤Á¤é¤«¤¬ÍøÍѤǤ­¤Þ¤¹¡£" + +#~ msgid "" +#~ "Automatically creating the database does not make sense if a Drupal " +#~ "database already exists or if no database server has been setup when " +#~ "Drupal is installed." +#~ msgstr "" +#~ "Drupal ¥Ç¡¼¥¿¥Ù¡¼¥¹¤¬¤¹¤Ç¤Ë¸ºß¤·¤Æ¤¤¤ë¡¢¤Þ¤¿¤Ï Drupal ¤Î¥¤¥ó¥¹¥È¡¼¥ë»þ¤Ë" +#~ "¥Ç¡¼¥¿¥Ù¡¼¥¹¥µ¡¼¥Ð¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤Ê¤É¤Î¾ì¹ç¡¢¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¼«Æ°ºîÀ®¤Ï°Õ" +#~ "Ì£¤¬¤¢¤ê¤Þ¤»¤ó¡£" + +#~ msgid "Database engine to be used with Drupal" +#~ msgstr "Drupal ¤Ç»È¤ï¤ì¤ë¥Ç¡¼¥¿¥Ù¡¼¥¹¥¨¥ó¥¸¥ó" + +#~ msgid "Database server for Drupal's database" +#~ msgstr "Drupal ¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹ÍѤΥǡ¼¥¿¥Ù¡¼¥¹¥µ¡¼¥Ð" + +#~ msgid "Database server administrator user name on host ${host}" +#~ msgstr "¥Û¥¹¥È ${host} ¾å¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¥µ¡¼¥Ð¤Î´ÉÍý¼Ô¥æ¡¼¥¶" + +#~ msgid "Password for database server administrator ${user} on host ${host}" +#~ msgstr "¥Û¥¹¥È ${host} ¾å¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¥µ¡¼¥Ð¤Î´ÉÍý¼Ô ${user} ¤Î¥Ñ¥¹¥ï¡¼¥É" + +#~ msgid "The answer will not be stored anywhere permanently." +#~ msgstr "²óÅú¤Ï¤É¤³¤Ë¤â¹±µ×Ū¤Ë¤ÏÊݸ¤µ¤ì¤Þ¤»¤ó¡£" + +#~ msgid "Drupal database owner username" +#~ msgstr "Drupal ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î½êÍ­¼Ô¥æ¡¼¥¶Ì¾" + +#~ msgid "" +#~ "This username will be used by Drupal to connect to the database server." +#~ msgstr "¤³¤Î¥æ¡¼¥¶Ì¾¤¬¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËÀܳ¤¹¤ëºÝ¡¢Drupal ¤Ë¤è¤Ã¤Æ»È¤ï¤ì¤Þ¤¹" + +#~ msgid "Drupal database owner password" +#~ msgstr "Drupal ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î½êÍ­¼Ô¥Ñ¥¹¥ï¡¼¥É" + +#~ msgid "" +#~ "If no password is specified here, a random password will be generated." +#~ msgstr "" +#~ "¤³¤³¤Ç¥Ñ¥¹¥ï¡¼¥É¤¬»ØÄꤵ¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¡¢¥é¥ó¥À¥à¤Ç¥Ñ¥¹¥ï¡¼¥É¤¬À¸À®¤µ¤ì¤Þ" +#~ "¤¹¡£" + +#~ msgid "Drupal database name" +#~ msgstr "Drupal ¥Ç¡¼¥¿¥Ù¡¼¥¹Ì¾" + +#, fuzzy +#~ msgid "Drupal Base Url" +#~ msgstr "Drupal ¥Ç¡¼¥¿¥Ù¡¼¥¹Ì¾" + +#~ msgid "Remove Drupal database when the package is removed?" +#~ msgstr "¥Ñ¥Ã¥±¡¼¥¸¤òºï½ü¤¹¤ëºÝ¡¢Drupal ¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¤âºï½ü¤·¤Þ¤¹¤«?" + +#~ msgid "Remove former database backups when the package is removed?" +#~ msgstr "" +#~ "¥Ñ¥Ã¥±¡¼¥¸¤òºï½ü¤¹¤ëºÝ¡¢°ÊÁ°¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¤âºï½ü¤·¤Þ¤¹¤«?" + +#~ msgid "" +#~ "These backups are stored in /var/lib/drupal/backups. This will not remove " +#~ "the current database from the DBMS." +#~ msgstr "" +#~ "¤³¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¤Ï /var/lib/drupal/backups ¤ËÊݸ¤µ¤ì¤Æ¤¤¤ë¤â¤Î¤Ç¤¹¡£¤³¤ì" +#~ "¤ò¹Ô¤Ã¤Æ¤â¡¢DBMS ¤«¤é¸½ºß¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¤Îºï½ü¤Ï¹Ô¤¤¤Þ¤»¤ó¡£" + +#, fuzzy +#~ msgid "Database update neccesary. Continue?" +#~ msgstr "¥Ç¡¼¥¿¥Ù¡¼¥¹¤ò¹¹¿·¤¹¤ë¥¹¥¯¥ê¥×¥È¤ò¼Â¹Ô¤·¤Þ¤¹¤«?" + +#~ msgid "User creation failed" +#~ msgstr "¥æ¡¼¥¶¤ÎºîÀ®¤¬¼ºÇÔ¤·¤Þ¤·¤¿" + +#~ msgid "Attempt to modify config file ${conffile} failed" +#~ msgstr "ÀßÄê¥Õ¥¡¥¤¥ë ${conffile} ¤ÎÊѹ¹¤¬¼ºÇÔ¤·¤Þ¤·¤¿" + +#~ msgid "Database creation failed" +#~ msgstr "¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎºîÀ®¤¬¼ºÇÔ¤·¤Þ¤·¤¿" + +#~ msgid "Database initialization failed" +#~ msgstr "¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î½é´ü²½¤¬¼ºÇÔ¤·¤Þ¤·¤¿" + +#~ msgid "Database removal failed" +#~ msgstr "¥Ç¡¼¥¿¥Ù¡¼¥¹¤Îºï½ü¤¬¼ºÇÔ¤·¤Þ¤·¤¿" + +#~ msgid "Script output:" +#~ msgstr "¥¹¥¯¥ê¥×¥È¤Î·ë²Ì:" + +#~ msgid "${result}" +#~ msgstr "${result}" + +#~ msgid "Run database update script?" +#~ msgstr "¥Ç¡¼¥¿¥Ù¡¼¥¹¤ò¹¹¿·¤¹¤ë¥¹¥¯¥ê¥×¥È¤ò¼Â¹Ô¤·¤Þ¤¹¤«?" + +#~ msgid "" +#~ "If you are upgrading Drupal from an older upstream version, the database " +#~ "structure needs to be updated. This package can perform this task " +#~ "automatically." +#~ msgstr "" +#~ "Drupal ¤ò¸Å¤¤³«È¯¸µ¤Î¥Ð¡¼¥¸¥ç¥ó¤«¤é¥¢¥Ã¥×¥°¥ì¡¼¥É¤¹¤ë¾ì¹ç¡¢¥Ç¡¼¥¿¥Ù¡¼¥¹¹½" +#~ "¤¤â¹¹¿·¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤³¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ç¤Ï¤³¤Îºî¶È¤ò¼«Æ°Åª¤Ë¼Â¹Ô¤·¤Þ" +#~ "¤¹¡£" + +#~ msgid "" +#~ "A manual update procedure is available by pointing a web browser to " +#~ "." +#~ msgstr "" +#~ "¼êÆ°¤Ç¤Î¹¹¿·ºî¶È¤Ï¡¢¥¦¥§¥Ö¥Ö¥é¥¦¥¶¤Ç ¤ò»ØÄꤹ¤ì" +#~ "¤Ð²Äǽ¤Ç¤¹¡£" + +#~ msgid "The database will be backed up to prevent data loss." +#~ msgstr "¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ï¥Ç¡¼¥¿¤Î»¼º¤òÈò¤±¤ë¤¿¤á¤Ë¥Ð¥Ã¥¯¥¢¥Ã¥×¤µ¤ì¤Þ¤¹¡£" + +#~ msgid "Automatic database update failed" +#~ msgstr "¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¼«Æ°¥¢¥Ã¥×¥Ç¡¼¥È¤¬¼ºÇÔ¤·¤Þ¤·¤¿" + +#~ msgid "The automatic update script failed to update the database." +#~ msgstr "" +#~ "¼«Æ°¹¹¿·¥¹¥¯¥ê¥×¥È¤¬¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥¢¥Ã¥×¥Ç¡¼¥È¤ò¹Ô¤ª¤¦¤È¤·¤Þ¤·¤¿¤¬¡¢¼ºÇÔ¤·" +#~ "¤Þ¤·¤¿¡£" + +#~ msgid "Automatic update script can not be run" +#~ msgstr "¼«Æ°¹¹¿·¥¹¥¯¥ê¥×¥È¤¬¼Â¹Ô¤Ç¤­¤Þ¤»¤ó" + +#~ msgid "" +#~ "Configuration files of a Drupal package ${oldversion} have been found, " +#~ "but the package itself has been removed. Therefore, it is not possible to " +#~ "run the automatic update script." +#~ msgstr "" +#~ "Drupal ¥Ñ¥Ã¥±¡¼¥¸ ${oldversion} ¤Î ÀßÄê¥Õ¥¡¥¤¥ë¤¬¸«¤Ä¤«¤ê¤Þ¤·¤¿¤¬¡¢¥Ñ¥Ã" +#~ "¥±¡¼¥¸¼«ÂΤϺï½ü¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢¼«Æ°¹¹¿·¥¹¥¯¥ê¥×¥È¤¬¼Â¹Ô¤Ç¤­¤Þ¤»¤ó¡£" + +#~ msgid "" +#~ "Please run it by hand after the package has been successfully installed. " +#~ "Either point your web browser to ${site_root}/update.php or run /usr/" +#~ "share/drupal/scripts/debian-update.php from a shell." +#~ msgstr "" +#~ "¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë¤¬´°Î»¸å¡¢¼êÆ°¤Ç¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£¤Þ¤¿¤Ï¥Ö¥é¥¦¥¶" +#~ "¤Ç ${site_root}/update.php ¤ò»²¾È¤¹¤ë¤«¡¢¥·¥§¥ë¤«¤é /usr/share/drupal/" +#~ "scripts/debian-update.php ¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£" --- drupal-5.1.orig/debian/po/it.po +++ drupal-5.1/debian/po/it.po @@ -0,0 +1,179 @@ +# Italian translation of debconf for Drupal. +# This file is distributed under the same license as the Drupal package. +# Copyright 2005 by Valentina Commissari . +msgid "" +msgstr "" +"Project-Id-Version: Drupal 4.5.2-3\n" +"Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n" +"POT-Creation-Date: 2007-03-09 19:17+1100\n" +"PO-Revision-Date: 2005-03-29 10:50+0100\n" +"Last-Translator: Valentina Commissari \n" +"Language-Team: Italian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Italian\n" +"X-Poedit-Country: ITALY\n" +"X-Poedit-SourceCharset: utf-8\n" + +#. Type: multiselect +#. Description +#: ../templates.master:1001 +#, fuzzy +msgid "Web server(s) that should be configured automatically:" +msgstr "I server web che devono essere automaticamente configurati" + +#~ msgid "Automatically create Drupal database?" +#~ msgstr "Creare automaticamente il database di Drupal?" + +#~ msgid "" +#~ "Drupal needs access to a database, along with initialized data structures " +#~ "in order to function properly. This can be created automatically by this " +#~ "package, for MySQL or PostgreSQL databases." +#~ msgstr "" +#~ "Drupal necessita dell'accesso ad un database, associato a strutture dati " +#~ "inizializzate per far sì che funzioni correttamente. Questo puo` essere " +#~ "creato automaticamente da questo pacchetto, per database come MySQL o " +#~ "PostgreSQL." + +#~ msgid "" +#~ "Automatically creating the database does not make sense if a Drupal " +#~ "database already exists or if no database server has been setup when " +#~ "Drupal is installed." +#~ msgstr "" +#~ "Creare automaticamente il database non ha senso se esiste gia` un " +#~ "database di Drupal o se non e` stato impostato un server per database " +#~ "quando Drupal e` stato installato." + +#~ msgid "Database engine to be used with Drupal" +#~ msgstr "Motore del database da essere usato con Drupal" + +#~ msgid "Database server for Drupal's database" +#~ msgstr "Server del database per il database di Drupal" + +#~ msgid "Database server administrator user name on host ${host}" +#~ msgstr "Nome dell'amministratore del server del database sull'host ${host}" + +#~ msgid "Password for database server administrator ${user} on host ${host}" +#~ msgstr "" +#~ "Password per l'amministratore del server del database ${user} sull'host " +#~ "${host}" + +#~ msgid "The answer will not be stored anywhere permanently." +#~ msgstr "La risposta non sara` permanentemente archiviata." + +#~ msgid "Drupal database owner username" +#~ msgstr "Nome del proprietario del database di Drupal" + +#~ msgid "" +#~ "This username will be used by Drupal to connect to the database server." +#~ msgstr "" +#~ "Questo nome sara` usato da Drupal per connettersi al server del database." + +#~ msgid "Drupal database owner password" +#~ msgstr "Password del proprietario del database di Drupal" + +#~ msgid "" +#~ "If no password is specified here, a random password will be generated." +#~ msgstr "" +#~ "Se qui non viene specificata nessuna password, ne sara` generata una " +#~ "casuale." + +#~ msgid "Drupal database name" +#~ msgstr "Nome del database di Drupal" + +#, fuzzy +#~ msgid "Drupal Base Url" +#~ msgstr "Nome del database di Drupal" + +#~ msgid "Remove Drupal database when the package is removed?" +#~ msgstr "Rimuovere il database di Drupal quando il pacchetto viene rimosso?" + +#~ msgid "Remove former database backups when the package is removed?" +#~ msgstr "" +#~ "Rimuovere i vecchi backup del database quando il pacchetto viene rimosso?" + +#~ msgid "" +#~ "These backups are stored in /var/lib/drupal/backups. This will not remove " +#~ "the current database from the DBMS." +#~ msgstr "" +#~ "Questi backup sono salvati in /var/lib/drupal/backups. Questo non " +#~ "rimuovera` l'attuale database dal DBMS." + +#, fuzzy +#~ msgid "Database update neccesary. Continue?" +#~ msgstr "Eseguire lo script di aggiornamento database?" + +#~ msgid "User creation failed" +#~ msgstr "Creazione dell'utente fallita" + +#~ msgid "Attempt to modify config file ${conffile} failed" +#~ msgstr "" +#~ "Tentativo di modificare il file di configurazione ${conffile} fallito" + +#~ msgid "Database creation failed" +#~ msgstr "Creazione del database fallita" + +#~ msgid "Database initialization failed" +#~ msgstr "Inizializzazione del database fallita" + +#~ msgid "Database removal failed" +#~ msgstr "Rimozione del database fallita" + +#~ msgid "Script output:" +#~ msgstr "Output dello script:" + +#~ msgid "${result}" +#~ msgstr "${result}" + +#~ msgid "Run database update script?" +#~ msgstr "Eseguire lo script di aggiornamento database?" + +#~ msgid "" +#~ "If you are upgrading Drupal from an older upstream version, the database " +#~ "structure needs to be updated. This package can perform this task " +#~ "automatically." +#~ msgstr "" +#~ "Se si sta aggiornando Drupal da una versione piu` vecchia, la struttura " +#~ "del database necessita di essere aggiornata. Questo pacchetto puo` " +#~ "svolgere questa funzione automaticamente." + +#~ msgid "" +#~ "A manual update procedure is available by pointing a web browser to " +#~ "." +#~ msgstr "" +#~ "Una procedura di aggiornamento manuale e` disponibile andando con un " +#~ "browser all'indirizzo: ." + +#~ msgid "The database will be backed up to prevent data loss." +#~ msgstr "" +#~ "Il database sara` salvato in un backup per prevenire perdite di dati." + +#~ msgid "Automatic database update failed" +#~ msgstr "Aggiornamento automatico del database fallito" + +#~ msgid "The automatic update script failed to update the database." +#~ msgstr "" +#~ "Lo script di aggiornamento automatico ha fallito nell'aggiornare il " +#~ "database" + +#~ msgid "Automatic update script can not be run" +#~ msgstr "Lo script di aggiornamento automatico non puo` essere eseguito" + +#~ msgid "" +#~ "Configuration files of a Drupal package ${oldversion} have been found, " +#~ "but the package itself has been removed. Therefore, it is not possible to " +#~ "run the automatic update script." +#~ msgstr "" +#~ "Sono stati trovati file di configurazione di un pacchetto Drupal " +#~ "${oldversion}, ma lo stesso pacchetto e` stato rimosso. Per questo motivo " +#~ "non e` possibile eseguire lo script di aggiornamento automatico." + +#~ msgid "" +#~ "Please run it by hand after the package has been successfully installed. " +#~ "Either point your web browser to ${site_root}/update.php or run /usr/" +#~ "share/drupal/scripts/debian-update.php from a shell." +#~ msgstr "" +#~ "Eseguirlo manualmente dopo che il pacchetto e` stato installato con " +#~ "successo. Tramite un browser web andare all'indirizzo ${site_root}/update." +#~ "php o eseguire /usr/share/drupal/scripts/debian-update.php da una shell." --- drupal-5.1.orig/debian/po/nl.po +++ drupal-5.1/debian/po/nl.po @@ -0,0 +1,199 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: drupal\n" +"Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n" +"POT-Creation-Date: 2007-03-09 19:17+1100\n" +"PO-Revision-Date: 2007-01-23 11:49+0100\n" +"Last-Translator: Bart Cornelis \n" +"Language-Team: debian-l10n-dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Description +#: ../templates.master:1001 +#, fuzzy +msgid "Web server(s) that should be configured automatically:" +msgstr "Webserver(s) die automatisch geconfigureerd dienen te worden" + +#~ msgid "Automatically create Drupal database?" +#~ msgstr "Drupal-database automatisch aanmaken?" + +#~ msgid "" +#~ "Drupal needs access to a database, along with initialized data structures " +#~ "in order to function properly. This can be created automatically by this " +#~ "package, for MySQL or PostgreSQL databases." +#~ msgstr "" +#~ "Opdat Drupal zou werken is er een geconfigureerde database opstelling met " +#~ "geïnitializeerde databasestructuur nodig. Dit pakket is in staat om " +#~ "automatisch een geschikte MySQL-, of PostgreSQL- database aan te maken." + +#~ msgid "" +#~ "Automatically creating the database does not make sense if a Drupal " +#~ "database already exists or if no database server has been setup when " +#~ "Drupal is installed." +#~ msgstr "" +#~ "Automatsisch aanmaken van de database heeft geen zin wanneer de Drupal-" +#~ "database reeds bestaat, of wanneer er op het moment van de Drupal-" +#~ "installatie geen database-server ingesteld is." + +#~ msgid "Database engine to be used with Drupal" +#~ msgstr "Door Drupal te gebruiken database-engine" + +#~ msgid "Database server for Drupal's database" +#~ msgstr "Databaseserver waarop de Drupal-database loopt" + +#~ msgid "Database server administrator user name on host ${host}" +#~ msgstr "Gebruikersnaam van de database-beheerder op machine ${host}" + +#~ msgid "Password for database server administrator ${user} on host ${host}" +#~ msgstr "Wachtwoord van de database-beheerder ${user} op machine ${host}" + +#~ msgid "The answer will not be stored anywhere permanently." +#~ msgstr "Uw antwoord wordt niet permanent opgeslagen." + +#~ msgid "Drupal database owner username" +#~ msgstr "Gebruikersnaam van de eigenaar van de Drupal-database" + +#~ msgid "" +#~ "This username will be used by Drupal to connect to the database server." +#~ msgstr "" +#~ "Deze gebruikersnaam wordt door Drupal gebruikt om verbinding te maken met " +#~ "de database-server." + +#~ msgid "Drupal database owner password" +#~ msgstr "Wachtwoord van de eigenaar van de Drupal-database" + +#~ msgid "" +#~ "If no password is specified here, a random password will be generated." +#~ msgstr "" +#~ "Wanneer u geen wachtwoord opgeeft zal er een willekeurig wachtwoord " +#~ "gegenereerd worden." + +#~ msgid "Drupal database name" +#~ msgstr "Naam van de Drupal-database" + +#~ msgid "Drupal Base Url" +#~ msgstr "Basis-url voor Drupal" + +#~ msgid "Remove Drupal database when the package is removed?" +#~ msgstr "Drupal-database verwijderen bij pakket de-installatie?" + +#~ msgid "Remove former database backups when the package is removed?" +#~ msgstr "" +#~ "Oudere database-reserverkopieëen verwijderen bij pakket de-installatie?" + +#~ msgid "" +#~ "These backups are stored in /var/lib/drupal/backups. This will not remove " +#~ "the current database from the DBMS." +#~ msgstr "" +#~ "Deze reservekopieën zijn opgeslagen in /var/lib/drupal/backups. Dit zal " +#~ "de huidige database NIET van de database-server verwijderen." + +#~ msgid "Database update neccesary. Continue?" +#~ msgstr "Bijwerken van de database is noodzakelijk. Wilt u doorgaan?" + +#~ msgid "" +#~ "You need to update your database, or drupal will not work anymore. The " +#~ "automatic database update is diabled with this version. I recommend you " +#~ "to disable all custom modules and themes and login as admin bevor you " +#~ "continue. Then point your webbrowser to ${site_root}/update.php and " +#~ "fellow the instructions. Be sure to read the appropriate documentation if " +#~ "you don't know for sure what you are doing." +#~ msgstr "" +#~ "Uw database dient bijgewerkt te worden, zoniet zal drupal niet meer " +#~ "werken. De Automatische update is uitgeschakeld in deze versie. Het is " +#~ "aan te raden om alle 'custom'-modules, en -thema's uit te schakelen, en " +#~ "als admin in te loggen voor u verder gaat. Ga vervolgens in uw webbrowser " +#~ "naar ${site_root}/update.php en volg de instructies. Als u niet zeker " +#~ "bent wat u doen moet, gelieve dan de documentatie te lezen." + +#~ msgid "User creation failed" +#~ msgstr "Aanmaken gebruiker is mislukt" + +#~ msgid "Attempt to modify config file ${conffile} failed" +#~ msgstr "" +#~ "Poging om het configuratiebestand ${conffile} aan te passen is mislukt" + +#~ msgid "Database creation failed" +#~ msgstr "Aanmaken database is mislukt" + +#~ msgid "Database initialization failed" +#~ msgstr "Database-initializatie is mislukt" + +#~ msgid "Database removal failed" +#~ msgstr "Verwijderen database is mislukt" + +#~ msgid "Script output:" +#~ msgstr "Scriptuitvoer:" + +#~ msgid "${result}" +#~ msgstr "${result}" + +#~ msgid "Run database update script?" +#~ msgstr "Wilt u het script om de database bij te werken uitvoeren?" + +#~ msgid "" +#~ "If you are upgrading Drupal from an older upstream version, the database " +#~ "structure needs to be updated. This package can perform this task " +#~ "automatically." +#~ msgstr "" +#~ "Wanneer u Drupal opwaardeert van een oudere versie is het waarschijnlijk " +#~ "noodzakelijk om de databasestructuur bij te werken. Dit pakket kan deze " +#~ "taak automatisch uitvoeren." + +#~ msgid "" +#~ "A manual update procedure is available by pointing a web browser to " +#~ "." +#~ msgstr "" +#~ "U kunt handmatig bijwerken door in uw webbrowser naar te gaan." + +#~ msgid "The database will be backed up to prevent data loss." +#~ msgstr "" +#~ "Om dataverlies te vermijden wordt er een reservekopie gemaakt van de " +#~ "database." + +#~ msgid "Automatic database update failed" +#~ msgstr "Automatisch bijwerken van de database is mislukt" + +#~ msgid "The automatic update script failed to update the database." +#~ msgstr "" +#~ "Het automatische bijwerkscript is er niet in geslaagt om de database bij " +#~ "te werken." + +#~ msgid "Automatic update script can not be run" +#~ msgstr "Automatisch bijwerkscript kan niet uitgevoerd worden" + +#~ msgid "" +#~ "Configuration files of a Drupal package ${oldversion} have been found, " +#~ "but the package itself has been removed. Therefore, it is not possible to " +#~ "run the automatic update script." +#~ msgstr "" +#~ "Er zijn configuratiebestanden van een 'Drupal'-pakket ${oldversion} " +#~ "gevonden, terwijl dat pakket zelf verwijdert is. Bijgevolg is het " +#~ "onmogelijk om het automatische bijwerkscript uit te voeren. " + +#~ msgid "" +#~ "Please run it by hand after the package has been successfully installed. " +#~ "Either point your web browser to ${site_root}/update.php or run /usr/" +#~ "share/drupal/scripts/debian-update.php from a shell." +#~ msgstr "" +#~ "U dient dit script handmatig opstarten nadat het pakket met succes " +#~ "geïnstalleerd is. Hiertoe richt u of uw webbrowser naar ${site_root}/" +#~ "update.php, of voert u /usr/share/drupal/scripts/debian-update.php uit " +#~ "vanin een shell." --- drupal-5.1.orig/debian/po/pt.po +++ drupal-5.1/debian/po/pt.po @@ -0,0 +1,180 @@ +# Portuguese translation od Drupal's debconf messages. +# 2005, Miguel Figueiredo +# +# 21-05-2005 - Miguel Figueiredo - 1u +# +msgid "" +msgstr "" +"Project-Id-Version: drupal 4.5.2-4\n" +"Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n" +"POT-Creation-Date: 2007-03-09 19:17+1100\n" +"PO-Revision-Date: 2005-05-21 12:02+0000\n" +"Last-Translator: Miguel Figueiredo >\n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Description +#: ../templates.master:1001 +#, fuzzy +msgid "Web server(s) that should be configured automatically:" +msgstr "Servidor(es) web que devem ser configurados automaticamente" + +#~ msgid "Automatically create Drupal database?" +#~ msgstr "Criar automaticamente a base de dados do Drupal?" + +#~ msgid "" +#~ "Drupal needs access to a database, along with initialized data structures " +#~ "in order to function properly. This can be created automatically by this " +#~ "package, for MySQL or PostgreSQL databases." +#~ msgstr "" +#~ "O Drupal necessita de aceder a uma base de dados, assim como a estruturas " +#~ "de dados inicializadas de modo a funcionar correctamente. Isto pode ser " +#~ "criado automaticamente por este pacote, para bases de dados MySQL ou " +#~ "PostgreSQL." + +#~ msgid "" +#~ "Automatically creating the database does not make sense if a Drupal " +#~ "database already exists or if no database server has been setup when " +#~ "Drupal is installed." +#~ msgstr "" +#~ "Criar automaticamente a base de dados não faz sentido se já existir uma " +#~ "base de dados do Drupal ou se não foi preparado nenhum servidor de bases " +#~ "de dados quando o Drupal foi instalado." + +#~ msgid "Database engine to be used with Drupal" +#~ msgstr "Motor da base de dados para ser utilizado com o Drupal" + +#~ msgid "Database server for Drupal's database" +#~ msgstr "Servidor de base de dados para a base de dados do Drupal" + +#~ msgid "Database server administrator user name on host ${host}" +#~ msgstr "" +#~ "Nome de utilizador do administrador do servidor de bases de dados no host " +#~ "${host}" + +#~ msgid "Password for database server administrator ${user} on host ${host}" +#~ msgstr "" +#~ "Password do administrador ${user} do servidor de bases de dados no host " +#~ "${host}" + +#~ msgid "The answer will not be stored anywhere permanently." +#~ msgstr "A resposta não será guardada em qualquer local de forma permanente." + +#~ msgid "Drupal database owner username" +#~ msgstr "Nome de utilizador do dono da base de dados do Drupal" + +#~ msgid "" +#~ "This username will be used by Drupal to connect to the database server." +#~ msgstr "" +#~ "Este nome de utilizador será utilizado pelo Drupal para se ligar ao " +#~ "servidor de bases de dados." + +#~ msgid "Drupal database owner password" +#~ msgstr "Password do dono da base de dados do Drupal" + +#~ msgid "" +#~ "If no password is specified here, a random password will be generated." +#~ msgstr "" +#~ "Se nenhuma password for especificada aqui, será gerada uma password " +#~ "aleatória." + +#~ msgid "Drupal database name" +#~ msgstr "Nome da base de dados do Drupal" + +#, fuzzy +#~ msgid "Drupal Base Url" +#~ msgstr "Nome da base de dados do Drupal" + +#~ msgid "Remove Drupal database when the package is removed?" +#~ msgstr "Remover a base de dados do Drupal quando o pacote for removido?" + +#~ msgid "Remove former database backups when the package is removed?" +#~ msgstr "" +#~ "Remover backups antigos da base de dados quando o pacote for removido?" + +#~ msgid "" +#~ "These backups are stored in /var/lib/drupal/backups. This will not remove " +#~ "the current database from the DBMS." +#~ msgstr "" +#~ "Estes backups são guardados em /var/lib/drupal/backups. Isto não irá " +#~ "remover a base de dados actual do SGDB." + +#, fuzzy +#~ msgid "Database update neccesary. Continue?" +#~ msgstr "Correr o script de actualização da base de dados?" + +#~ msgid "User creation failed" +#~ msgstr "A criação do utilizador falhou" + +#~ msgid "Attempt to modify config file ${conffile} failed" +#~ msgstr "" +#~ "Falhou a tentativa de modificar o ficheiro de configuração ${conffile}" + +#~ msgid "Database creation failed" +#~ msgstr "Falhou a criação da base de dados" + +#~ msgid "Database initialization failed" +#~ msgstr "Falhou a inicialização da base de dados" + +#~ msgid "Database removal failed" +#~ msgstr "Falhou a remoção da base de dados" + +#~ msgid "Script output:" +#~ msgstr "Saída do script:" + +#~ msgid "${result}" +#~ msgstr "${result}" + +#~ msgid "Run database update script?" +#~ msgstr "Correr o script de actualização da base de dados?" + +#~ msgid "" +#~ "If you are upgrading Drupal from an older upstream version, the database " +#~ "structure needs to be updated. This package can perform this task " +#~ "automatically." +#~ msgstr "" +#~ "Se estiver a actualizar o Drupal a partir de uma versão upstream mais " +#~ "antiga, a estrutura da base de dados necessita ser actualizada. Este " +#~ "pacote pode executar essa tarefa automaticamente." + +#~ msgid "" +#~ "A manual update procedure is available by pointing a web browser to " +#~ "." +#~ msgstr "" +#~ "Um procedimento de actualização manual está disponível apontando um " +#~ "browser da web para ." + +#~ msgid "The database will be backed up to prevent data loss." +#~ msgstr "A base de dados será salvaguardada para prevenir a perda de dados." + +#~ msgid "Automatic database update failed" +#~ msgstr "Falhou a actualização automática da base de dados" + +#~ msgid "The automatic update script failed to update the database." +#~ msgstr "" +#~ "O script de actualização automática falhou a actualização da base de " +#~ "dados." + +#~ msgid "Automatic update script can not be run" +#~ msgstr "O script de actualização automática não pode ser corrido" + +#~ msgid "" +#~ "Configuration files of a Drupal package ${oldversion} have been found, " +#~ "but the package itself has been removed. Therefore, it is not possible to " +#~ "run the automatic update script." +#~ msgstr "" +#~ "Foram encontrados ficheiros de configuração de um pacote Drupal " +#~ "${oldversion}, mas o pacote em si foi removido. Por isso, não é possível " +#~ "correr o script de actualização automática." + +#~ msgid "" +#~ "Please run it by hand after the package has been successfully installed. " +#~ "Either point your web browser to ${site_root}/update.php or run /usr/" +#~ "share/drupal/scripts/debian-update.php from a shell." +#~ msgstr "" +#~ "Por favor corra-o manualmente após o pacote ter sido instalado com " +#~ "sucesso. Ou aponte o seu browser web para ${site_root}/update.php ou " +#~ "corra a partir da shell /usr/share/drupal/scripts/debian-update.php." --- drupal-5.1.orig/debian/po/POTFILES.in +++ drupal-5.1/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates.master --- drupal-5.1.orig/debian/po/pt_BR.po +++ drupal-5.1/debian/po/pt_BR.po @@ -0,0 +1,172 @@ +msgid "" +msgstr "" +"Project-Id-Version: drupal\n" +"Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n" +"POT-Creation-Date: 2007-03-09 19:17+1100\n" +"PO-Revision-Date: 2005-05-19 21:41+0200\n" +"Last-Translator: Gleydson Mazioli da Silva \n" +"Language-Team: Brazilian Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Description +#: ../templates.master:1001 +#, fuzzy +msgid "Web server(s) that should be configured automatically:" +msgstr "O servidor Web que deverá ser configurado automaticamente" + +#~ msgid "Automatically create Drupal database?" +#~ msgstr "Criar automaticamente o banco de dados do Drupal?" + +#~ msgid "" +#~ "Drupal needs access to a database, along with initialized data structures " +#~ "in order to function properly. This can be created automatically by this " +#~ "package, for MySQL or PostgreSQL databases." +#~ msgstr "" +#~ "O Drupal precisa ter acesso a um banco de dados e também as estruturas de " +#~ "dados já inicializadas para funcionar adequadamente. Isto poderá ser " +#~ "criado automaticamente por este pacote, para bases de dados MySQL ou " +#~ "PostgreSQL." + +#~ msgid "" +#~ "Automatically creating the database does not make sense if a Drupal " +#~ "database already exists or if no database server has been setup when " +#~ "Drupal is installed." +#~ msgstr "" +#~ "A criação automática do banco de dados não faz sentido se um banco de " +#~ "dados drupal já existe ou se um servidor de banco de dados foi " +#~ "configurado para ser usado pelo drupal após a instalação." + +#~ msgid "Database engine to be used with Drupal" +#~ msgstr "Tipo de banco de dados que será usado com o Drupal" + +#~ msgid "Database server for Drupal's database" +#~ msgstr "Servidor de banco de dados do banco de dados do Drupal" + +#~ msgid "Database server administrator user name on host ${host}" +#~ msgstr "Nome do administrador do banco de dados na máquina ${host}" + +#~ msgid "Password for database server administrator ${user} on host ${host}" +#~ msgstr "" +#~ "Senha para o banco de dados do administrador ${user} na máquina ${host}" + +#~ msgid "The answer will not be stored anywhere permanently." +#~ msgstr "A resposta não será armazenada em qualquer lugar permanentemente." + +#~ msgid "Drupal database owner username" +#~ msgstr "Nome do dono da base de dados do Drupal" + +#~ msgid "" +#~ "This username will be used by Drupal to connect to the database server." +#~ msgstr "" +#~ "Este nome de usuário será usado pelo Drupal para se conectar ao servidor " +#~ "dobanco de dados." + +#~ msgid "Drupal database owner password" +#~ msgstr "Senha do dono da base de dados do Drupal" + +#~ msgid "" +#~ "If no password is specified here, a random password will be generated." +#~ msgstr "" +#~ "Caso nenhuma senha seja especificada aqui, uma senha qualquer será gerada." + +#~ msgid "Drupal database name" +#~ msgstr "Nome da base de dados do Drupal" + +#, fuzzy +#~ msgid "Drupal Base Url" +#~ msgstr "Nome da base de dados do Drupal" + +#~ msgid "Remove Drupal database when the package is removed?" +#~ msgstr "Remover a base de dados do Drupal quando o pacote for removido?" + +#~ msgid "Remove former database backups when the package is removed?" +#~ msgstr "Remover os backups da base de dados quando o pacote for removido?" + +#~ msgid "" +#~ "These backups are stored in /var/lib/drupal/backups. This will not remove " +#~ "the current database from the DBMS." +#~ msgstr "" +#~ "Estes backups estão armazenados em /var/lib/drupal/backups. Isto não " +#~ "removerá o banco de dados atual do DBMS." + +#, fuzzy +#~ msgid "Database update neccesary. Continue?" +#~ msgstr "Executar o script de atualização do banco de dados?" + +#~ msgid "User creation failed" +#~ msgstr "Ocorreu uma falha durante a criação do usuário" + +#~ msgid "Attempt to modify config file ${conffile} failed" +#~ msgstr "" +#~ "Falha na tentativa de modificar o arquivo de configuração ${conffile}" + +#~ msgid "Database creation failed" +#~ msgstr "Falha na criação do banco de dados" + +#~ msgid "Database initialization failed" +#~ msgstr "Falha na inicialização do banco de dados" + +#~ msgid "Database removal failed" +#~ msgstr "Falha na remoção da base de dados" + +#~ msgid "Script output:" +#~ msgstr "Saida do script:" + +#~ msgid "${result}" +#~ msgstr "${result}" + +#~ msgid "Run database update script?" +#~ msgstr "Executar o script de atualização do banco de dados?" + +#~ msgid "" +#~ "If you are upgrading Drupal from an older upstream version, the database " +#~ "structure needs to be updated. This package can perform this task " +#~ "automatically." +#~ msgstr "" +#~ "Se estiver atualizando o Drupal de uma versão upstream antiga, a " +#~ "estrutura do banco de dados precisará ser atualizada. Este pacote poderá " +#~ "fazer esta tarefa automaticamente." + +#~ msgid "" +#~ "A manual update procedure is available by pointing a web browser to " +#~ "." +#~ msgstr "" +#~ "Um procedimento de atualização manual está disponível apontando seu " +#~ "navegadorweb para ." + +#~ msgid "The database will be backed up to prevent data loss." +#~ msgstr "" +#~ "Será feito um backup do banco de dados para se evitar uma perda de dados." + +#~ msgid "Automatic database update failed" +#~ msgstr "Falha na atualização automática do banco de dados" + +#~ msgid "The automatic update script failed to update the database." +#~ msgstr "" +#~ "O script de atualização automática falhou ao tentar atualizar o banco de " +#~ "dados." + +#~ msgid "Automatic update script can not be run" +#~ msgstr "O script de atualização automática não pode ser executado" + +#~ msgid "" +#~ "Configuration files of a Drupal package ${oldversion} have been found, " +#~ "but the package itself has been removed. Therefore, it is not possible to " +#~ "run the automatic update script." +#~ msgstr "" +#~ "Foram emcontrados arquivos de configuração do pacote Drupal " +#~ "${oldversion}, mas o pacote foi removido. No entanto, é possível executar " +#~ "o script automático de atualização." + +#~ msgid "" +#~ "Please run it by hand after the package has been successfully installed. " +#~ "Either point your web browser to ${site_root}/update.php or run /usr/" +#~ "share/drupal/scripts/debian-update.php from a shell." +#~ msgstr "" +#~ "Por favor execute manualmente após o pacote ser instalado com sucesso. Ou " +#~ "apontando seu navegador para ${site_root}/update.php ou executando /usr/" +#~ "share/drupal/scripts/debian-update.php a partir de um shell." --- drupal-5.1.orig/debian/etc/apache.conf +++ drupal-5.1/debian/etc/apache.conf @@ -0,0 +1,8 @@ +Alias /drupal /usr/share/drupal-5.1 + + + Options +FollowSymLinks + AllowOverride All + order allow,deny + allow from all + --- drupal-5.1.orig/debian/etc/settings.php +++ drupal-5.1/debian/etc/settings.php @@ -0,0 +1,173 @@ + 'main_', + * 'users' => 'shared_', + * 'sessions' => 'shared_', + * 'role' => 'shared_', + * 'authmap' => 'shared_', + * 'sequences' => 'shared_', + * ); + * + * Database URL format: + * $db_url = 'mysql://username:password@localhost/databasename'; + * $db_url = 'mysqli://username:password@localhost/databasename'; + * $db_url = 'pgsql://username:password@localhost/databasename'; + */ +require_once('dbconfig.php'); +if (!isset($dbserver) || empty($dbserver)) + $dbserver='localhost'; +$db_url = "$dbtype://$dbuser:$dbpass@$dbserver/$dbname"; +$db_prefix = ''; + +/** + * Base URL (optional). + * + * If you are experiencing issues with different site domains, + * uncomment the Base URL statement below (remove the leading hash sign) + * and fill in the URL to your Drupal installation. + * + * You might also want to force users to use a given domain. + * See the .htaccess file for more information. + * + * Examples: + * $base_url = 'http://www.example.com'; + * $base_url = 'http://www.example.com:8888'; + * $base_url = 'http://www.example.com/drupal'; + * $base_url = 'https://www.example.com:8888/drupal'; + * + * It is not allowed to have a trailing slash; Drupal will add it + * for you. + */ +# $base_url = 'http://www.example.com'; // NO trailing slash! +if (file_exists('baseurl.php')) + include_once('baseurl.php'); + +/** + * PHP settings: + * + * To see what PHP settings are possible, including whether they can + * be set at runtime (ie., when ini_set() occurs), read the PHP + * documentation at http://www.php.net/manual/en/ini.php#ini.list + * and take a look at the .htaccess file to see which non-runtime + * settings are used there. Settings defined here should not be + * duplicated there so as to avoid conflict issues. + */ +ini_set('arg_separator.output', '&'); +ini_set('magic_quotes_runtime', 0); +ini_set('magic_quotes_sybase', 0); +ini_set('session.cache_expire', 200000); +ini_set('session.cache_limiter', 'none'); +ini_set('session.cookie_lifetime', 2000000); +ini_set('session.gc_maxlifetime', 200000); +ini_set('session.save_handler', 'user'); +ini_set('session.use_only_cookies', 1); +ini_set('session.use_trans_sid', 0); +ini_set('url_rewriter.tags', ''); + +/** + * We try to set the correct cookie domain. If you are experiencing problems + * try commenting out the code below or specifying the cookie domain by hand. + */ +if (isset($_SERVER['HTTP_HOST'])) { + $domain = '.'. preg_replace('`^www.`', '', $_SERVER['HTTP_HOST']); + // Per RFC 2109, cookie domains must contain at least one dot other than the + // first. For hosts such as 'localhost', we don't set a cookie domain. + if (count(explode('.', $domain)) > 2) { + ini_set('session.cookie_domain', $domain); + } +} + +/** + * Variable overrides: + * + * To override specific entries in the 'variable' table for this site, + * set them here. You usually don't need to use this feature. This is + * useful in a configuration file for a vhost or directory, rather than + * the default settings.php. Any configuration setting from the 'variable' + * table can be given a new value. + * + * Remove the leading hash signs to enable. + */ +# $conf = array( +# 'site_name' => 'My Drupal site', +# 'theme_default' => 'minnelli', +# 'anonymous' => 'Visitor', +# ); + --- drupal-5.1.orig/debian/TODO +++ drupal-5.1/debian/TODO @@ -0,0 +1,18 @@ + +Before 4.3.x-1 +-------------- + +* Get automagic database upgrade from 4.x working + +After 4.3.x-1 +------------- + +* Get full Postgres support working +* Better README.Debian +* Implement virtual server support +* Translations + +4.4.2 +----- + +* Multi-site database backup --- drupal-5.1.orig/debian/dirs +++ drupal-5.1/debian/dirs @@ -0,0 +1,5 @@ +etc/drupal/5.1/sites/default +var/lib/drupal-5.1/files +var/lib/drupal-5.1/backups +usr/share/doc/drupal-5.1 +usr/share/lintian/overrides --- drupal-5.1.orig/debian/docs +++ drupal-5.1/debian/docs @@ -0,0 +1,5 @@ +MAINTAINERS.txt +UPGRADE.txt +INSTALL.mysql.txt +INSTALL.pgsql.txt +scripts --- drupal-5.1.orig/debian/control +++ drupal-5.1/debian/control @@ -0,0 +1,23 @@ +Source: drupal +Section: web +Priority: extra +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Luigi Gangitano +Build-Depends-Indep: debhelper (>= 4), dpatch +Standards-Version: 3.7.2 + +Package: drupal-5.1 +Architecture: all +Depends: ${debconf-depends}, apache2, php5, php5-mysql | php5-pgsql, php5-gd, postfix | mail-transport-agent, wwwconfig-common (>= 0.0.37), mysql-client | virtual-mysql-client | postgresql-client-8.2, dbconfig-common, curl +Recommends: mysql-server | postgresql-8.2 +Description: a fully-featured content management framework + Drupal is a dynamic web site platform which allows an individual or + community of users to publish, manage and organize a variety of + content, Drupal integrates many popular features of content + management systems, weblogs, collaborative tools and discussion-based + community software into one easy-to-use package. + . + This package contains version 5.1 of Drupal. + . + More information is available at http://www.drupal.org + Homepage: http://www.drupal.org --- drupal-5.1.orig/debian/cron.sh +++ drupal-5.1/debian/cron.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# $Id: cron.sh 1716 2007-01-16 18:42:33Z luigi $ + +for i in /etc/drupal/5.1/sites/*/settings.php ; do + BASE_URL=`grep '^$base_url' $i | cut -d"'" -f2` + if [ "X$BASE_URL" = "X" ] ; then + BASE_URL='http://localhost/drupal' + fi + curl --silent --compressed $BASE_URL/cron.php +done + --- drupal-5.1.orig/debian/links +++ drupal-5.1/debian/links @@ -0,0 +1,3 @@ +etc/drupal/5.1/htaccess usr/share/drupal-5.1/.htaccess +etc/drupal/5.1/sites usr/share/drupal-5.1/sites +var/lib/drupal-5.1/files usr/share/drupal-5.1/files --- drupal-5.1.orig/debian/rules +++ drupal-5.1/debian/rules @@ -0,0 +1,82 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 + +VERSION=5.1 + +include /usr/share/dpatch/dpatch.make + +ifeq (,$(wildcard /usr/bin/po2debconf)) +PO2DEBCONF := no +MINDEBCONFVER := 0.5 +else +PO2DEBCONF := yes +MINDEBCONFVER := 1.2.0 +endif + +build: patch + +clean-patched: + dh_testdir + dh_testroot + dh_clean + +clean: clean-patched unpatch + +ifeq ($(PO2DEBCONF),yes) +# Hack for woody compatibility. This makes sure that the +# debian/templates file shipped in the source package doesn't +# specify encodings, which woody's debconf can't handle. If building +# on a system with po-debconf installed (conveniently debhelper (>= +# 4.1.16) depends on it), the binary-arch target will generate a +# better version for sarge. + echo 1 > debian/po/output + po2debconf debian/templates.master > debian/templates + rm -f debian/po/output +endif + +install:build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs -X.svn -XCVS + dh_install -XCVS -X.svn + # fix permissions + find $(CURDIR)/debian/drupal-$(VERSION)/usr/share/drupal-$(VERSION)/themes \ + -name '*.png' -o -name '*.jpg' | xargs chmod a-x + chmod +x $(CURDIR)/debian/drupal-$(VERSION)/usr/share/drupal-$(VERSION)/scripts/* + + install -m640 .htaccess debian/drupal-$(VERSION)/etc/drupal/$(VERSION)/htaccess + install -m644 debian/drupal-$(VERSION).lintian debian/drupal-$(VERSION)/usr/share/lintian/overrides/drupal-$(VERSION) +# Everything else is handled by dh_install + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGELOG.txt + dh_installdocs -XCVS -X.svn + dh_installexamples + dh_installdebconf + dh_installcron + dh_link + dh_compress + dh_fixperms + dh_installdeb +ifeq ($(PO2DEBCONF),yes) + po2debconf -e utf8 debian/templates.master > debian/templates +endif + dh_gencontrol -- -V'debconf-depends=debconf (>= $(MINDEBCONFVER))' + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install #PHONY_CONFIGURE# --- drupal-5.1.orig/debian/watch +++ drupal-5.1/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://ftp.osuosl.org/pub/drupal/files/projects/drupal-([\d\.]+)\.tar\.gz uupdate --- drupal-5.1.orig/debian/drupal-5.1.lintian +++ drupal-5.1/debian/drupal-5.1.lintian @@ -0,0 +1,2 @@ +drupal-5.1: package-contains-upstream-install-documentation usr/share/doc/drupal-5.1/INSTALL.mysql.txt +drupal-5.1: package-contains-upstream-install-documentation usr/share/doc/drupal-5.1/INSTALL.pgsql.txt --- drupal-5.1.orig/debian/templates.master +++ drupal-5.1/debian/templates.master @@ -0,0 +1,5 @@ +Template: drupal-5.1/webserver +Type: multiselect +Choices: apache2, apache, apache-ssl, apache-perl +Default: apache2 +_Description: Web server(s) that should be configured automatically: --- drupal-5.1.orig/debian/changelog +++ drupal-5.1/debian/changelog @@ -0,0 +1,479 @@ +drupal (5.1-0ubuntu2.1) feisty-security; urgency=low + + * SECURITY UPDATE: + Drupal 5.1 has some security flaws, which were detected. + Those were remote exploits namely + - Multiple cross site request forgeries + - Multiple cross site scripting vulnerabilities + + Further readings: + http://drupal.org/node/162364 + * debian/patches/* + - Added 20_SA-2007-017-5.1.dpatch, which fixes the cross site request + forgeries + - Added 21_SA-2007-018-5.1.dpatch, which fixes the cross site scripting + vulnerabilities + * References: + + Drupal Advisories: + - http://drupal.org/node/162360 (SA-2007-017-5.1) + - http://drupal.org/node/162361 (SA-2007-018.5.1) + + CVE: + - CVE-2007-4064 (Cross Site Scripting Vulnerability) + - CVE-2007-4063 (Cross Site Forgery) + + -- Stephan Hermann Thu, 06 Sep 2007 17:30:34 +0200 + +drupal (5.1-0ubuntu2) feisty; urgency=low + + * Rename postgresql-server-8.2 to postgresql-8.2, as the former + doesn't exist. (LP: #106540) + + -- Luke Yelavich Sat, 14 Apr 2007 23:27:34 +1000 + +drupal (5.1-0ubuntu1) feisty; urgency=low + + * New upstream release. + * debian/control: + - Changed maintainer field, and added XSBC-Original_Maintainer + field. + - Removed all php4 dependencies. + - Added php5-gd dependency for graphics. + - Changed exim4 dependency to postfix. + - Adjusted postgresql dependencies and recommends. + - Fixed slight grammatical error in package long description. + - Added homepage. + * debian/drupal-5.1*: Renamed and modified for drupal 5.1. + * debian/drupal-5.1.postinst: Add curl command-line to use drupal's + install script to populate the database. + * debian/rules: + - Refined, so that version number only has to be changed once per + new upstream release. + - Removed copying of database files. + * debian/patches/10_cronjob.dpatch: Modified to patch against drupal + 5.1, and added patch description. + * debian/etc/*: Updated for drupal 5.1. + * debian/README.Debian: revised. + * Set apache2 as default web server. + + -- Luke Yelavich Mon, 12 Mar 2007 16:49:04 +1100 + +drupal (4.7.6-1) unstable; urgency=low + + * New upstream release + - Fixes Arbitrary Code Execution (SA-2007-005) (Ref: CVE-TOBEASSIGNED) + + -- Luigi Gangitano Tue, 30 Jan 2007 03:03:21 +0100 + +drupal (4.7.5-2) unstable; urgency=low + + [ Luigi Gangitano ] + * debian/control + - Bumped Standards-Version to 3.7.2 (no change needed) + - Removed dependency on postgsql-{client,server}-8.0 which is not in + the archive anymore + - Removed Suggests: on ssl enabled apache + - Removed strict dependency on apache*, added dependency on httpd | apache + + * debian/watch + - Added debian watch file + + * Translations + - Updated Dutch translations by Bart Cornelis + + -- Bart Cornelis (cobaco) Tue, 23 Jan 2007 11:50:45 +0100 + +drupal (4.7.5-1) unstable; urgency=low + + * New upstream release + - Fixes Denial of Service (DRUPAL-SA-2007-002) (Ref: CVE-2007-0124) + - Fixes CSS Vulnerability (DRUPAL-SA-2007-001) (Ref: CVE-2007-0136) + + -- Luigi Gangitano Sun, 7 Jan 2007 00:33:33 +0100 + +drupal (4.7.4-3) unstable; urgency=low + + * debian/po/fr.po + - Updated French debconf templates translation (Thanks to Thomas Huriaux) + (Closes: #404967) + + * debian/control + - Add php5 dependency (Closes: #405162) + + -- Luigi Gangitano Sun, 7 Jan 2007 00:13:36 +0100 + +drupal (4.7.4-2) unstable; urgency=low + + * debian/control + - Fixed dependency on postgresql-client + - Removed dependency on makepasswd (not needed since we use + dbconfig.common) + - Removed dependency on php4-cli (not needed with new cron script) + - Promote Recommends: php4 to Depends: php4 + + * debian/etc/settings.php + - Fix warning if baseurl.php does not exists + + * debian/copyright + - Fixed copyright information as requested by ftp-master + + -- Luigi Gangitano Tue, 5 Dec 2006 15:37:25 +0100 + +drupal (4.7.4-1) unstable; urgency=low + + * Prepare package for new inclusion in Debian + - Thanks to Karl-Heinz Nirschl for keeping this package in his repository + and allowing me to start from his work + - Change (binary) package name to drupal-4.7 allowing for multiple version + to be installed concurrently, so admins can control upgrade between + releases + - Add dependency on dbconfig-common and switch custom config script to use + functions provided by dbconfig-common (Closes: #366692) + - Removed unused templates + - Added dependency on curl for cron script execution + - Take over removal request (Closes: #375496) + - Update to latest revision (Closes: #307821, #365047, #365709) + + -- Luigi Gangitano Thu, 23 Nov 2006 21:53:19 +0100 + +drupal (4.7.4-0brainlog1) unstable; urgency=low + + * new upstream release because patches do not apply cleanly + * fixes: DRUPAL-SA-2006-024, DRUPAL-SA-2006-025, DRUPAL-SA-2006-026 + + -- Karl-Heinz Nirschl Fri, 20 Oct 2006 19:26:16 +0200 + +drupal (4.7.2-0brainlog4) unstable; urgency=low + + * add security fix DRUPAL-SA-2006-011 + XSS Vulnerability in user module + * move scripts dir to doc + + -- Karl-Heinz Nirschl Thu, 3 Aug 2006 19:46:57 +0200 + +drupal (4.7.2-0brainlog3) unstable; urgency=low + + * fix initial database generation - now checks for mysql version + + -- Karl-Heinz Nirschl Sat, 8 Jul 2006 13:13:12 +0200 + +drupal (4.7.2-0brainlog2) unstable; urgency=low + + * Using a fresh tarball and no .svn files. + * Fix x. permissions. + * Use debian mysql maint password for mysql install + + -- Tzafrir Cohen Fri, 7 Jul 2006 15:59:41 +0300 + +drupal (4.7.2-0brainlog1) unstable; urgency=low + + * new upstream release + * add patch handling to package + - make cron job less verbose + + -- Karl-Heinz Nirschl Fri, 16 Jun 2006 17:13:50 +0200 + +drupal (4.7.1-0brainlog1) unstable; urgency=low + + * new upstream version + + -- Karl-Heinz Nirschl Mon, 29 May 2006 14:01:48 +0200 + +drupal (4.6.5-0brainlog1) unstable; urgency=low + + * update to drupal 4.6.5 (new upstream) + + -- Karl-Heinz Nirschl Mon, 29 May 2006 13:58:55 +0200 + +drupal (4.6.3-0brainlog1) unstable; urgency=low + + * New upstream version (Closes: #307821) + * based on the drupal 4.5.2-4 debian package + * remove the auto update database stuff + * added debconf entry for the base_url + + -- Karl-Heinz Nirschl Thu, 29 Sep 2005 19:10:17 +0200 + +drupal (4.5.2-4) unstable; urgency=low + + * [Miguel Figueiredo ] Added Portuguese translation + (Closes: #301394) + * [Valentina Commissari ] Added Italian translation + (Closes: #301946) + * [Gleydson Mazioli da Silva ] Updated Brazilian + Portuguese translation. + * Fixed typo in package description (Closes: #306997) + + -- Hilko Bengen Thu, 19 May 2005 21:23:27 +0200 + +drupal (4.5.2-3) unstable; urgency=high + + * Fixes "Bypass access via comments" problem mentioned in + http://drupal.org/node/19009. Patch from Gerhard Killesreiter, thanks. + I consider this a critical bug, hence urgency=high. + * [Sergio Talens-Oliag ] Updated Spanish and Catalan + Debconf translations and converted them to UTF-8. + + -- Hilko Bengen Tue, 22 Mar 2005 11:14:36 +0100 + +drupal (4.5.2-2) unstable; urgency=low + + * Changed includes/bootstrap.inc: conf.php (or $site.php) is loaded from + /etc/drupal directly, without the need for any link. + * Removed indentations from sed script which is used to edit the + configuration file. + * Rolled back session.inc to version found in 4.5.1; fixes bug documented + in http://drupal.org/node/15666 + * Added documentation about manual update procedure in README.Debian + and Debconf templates (Closes: #293804) + * Added documentation about adding modules and themes that are not + part of the package. + * NEWS.Debian mentions where to get Marvin and UnConeD themes that used + to be part of the Drupal distribution. + + -- Hilko Bengen Tue, 15 Mar 2005 15:16:26 +0100 + +drupal (4.5.2-1) unstable; urgency=low + + * New upstream version (Closes: #290745; That was fast, wasn't it?) + * Updates Japanese Debconf template, thanks to Hideki Yamane + (Closes: #290439) + * The config file /etc/drupal/conf.php is only generated if it hasn't + existed. It is no longer edited. + + -- Hilko Bengen Sun, 16 Jan 2005 14:49:50 +0100 + +drupal (4.5.1-2) unstable; urgency=low + + * /etc/drupal/conf.php is no longer a conffile (Closes: #289624) + * Should install with mysql-client-4.1 now (Closes: #285733) + + -- Hilko Bengen Wed, 12 Jan 2005 02:16:28 +0100 + +drupal (4.5.1-1) unstable; urgency=low + + * New upstream version (Closes: #277547, #289216, #278345) + * Marvin and UnConeD have been split off into separate packages, as they + are not officially supported by upstream any longer. + * Added Japanese Debconf template (Closes: #288040) + + -- Hilko Bengen Sun, 9 Jan 2005 04:21:03 +0100 + +drupal (4.4.2-2) unstable; urgency=low + + * Bump version dependency to 0.0.37 where better support for PostgreSQL + is included (Closes: 263730) + * Another patch to node.module for DB-independennce (Closes: 258015) + + -- Hilko Bengen Wed, 18 Aug 2004 00:39:58 +0200 + +drupal (4.4.2-1) unstable; urgency=low + + * New upstream bugfix release + - PostgreSQL support fixed in node.module + (Closes: #258015, #258016) + * Fixed sed statement in postinst so it will work with woody's sed. + (Closes: #257529) + * Depends: sharutils (Closes: #258156) + * Cron script checks whether /usr/share/drupal/scripts/cron.sh exists + and is executable (Closes: #251853) + + -- Hilko Bengen Tue, 20 Jul 2004 00:03:06 +0200 + +drupal (4.4.1-3) unstable; urgency=low + + * Included Marvin and Unconed themes from contrib (Closes: #255039) + + -- Hilko Bengen Mon, 28 Jun 2004 14:34:40 +0200 + +drupal (4.4.1-2) unstable; urgency=high + + * Applied admin_node.patch from + against the "Invalid argument supplied for foreach() in + /usr/share/drupal/modules/node.module" error (Closes: #242992) + * Fixed removal of links in webserver directories + * Shut up cron.sh (Closes: #251853) + * Install misc/ directory (images and css) (Closes: #253550) + * Fixed PostgreSQL removal, added some docs (Closes: #253282) + + -- Hilko Bengen Thu, 10 Jun 2004 16:06:47 +0200 + +drupal (4.4.1-1) unstable; urgency=low + + * New upstream version (Closes: #246307) + * Added to cron.d (Closes: #242199) + * Create language in database/database.pgsql (Closes: #242572) + * Fixed dependencies (Closes: #242622): + - Depends on php4-cgi (since it's used by maintainer scripts) + - Recommends: php4 | libapache2-mod-php4 (After all, one _can_ run + Drupal with a PHP-CGI setup + * Fixed generation of links in webserver directories (Closes: #249488) + * Out-of-the-box support for multiple sites (Closes: #246009) + * Put themes directory under /usr/share/drupal. Themes are no longer + handled as conffiles. + * Fixed path to database.mysql in README.Debian (Closes: #246414) + + -- Hilko Bengen Tue, 25 May 2004 10:12:34 +0200 + +drupal (4.3.2-3) unstable; urgency=low + + * Rewrote README.Debian, copying substantial parts from the INSTALL file + (Closes: #240505) + * Re-added a (commented-out) directive for restricting access to + admin.php to htaccess file + + -- Hilko Bengen Sun, 28 Mar 2004 17:38:11 +0200 + +drupal (4.3.2-2) unstable; urgency=low + + * [Bart Cornelis ] Added Dutch debconf translation + (Closes: #232230) + * [Sergio Talens-Oliag ] Added Spanish and Catalan + debconf translations (Closes: #235018 + * [Gleydson Mazioli da Silva ] Added Brazilian + Portugese debconf translation (Closes: #185829) + * [Christian Perrier ] Added French debconf translation + (Closes: #200722) + * Added German debconf translation + + -- Hilko Bengen Tue, 16 Mar 2004 00:43:55 +0100 + +drupal (4.3.2-1) unstable; urgency=low + + * New maintainer (Closes: #227771) + * New upstream release (Closes: #204241, #220066) + - Test shows that kuro5hin RSS feed can be imported just fine + (Closes: #184252) + - The encoding bug in ping.module appears to have been fixed + (Closes: #215643) + * Revamped installation and automatic upgrade procedure + - Update sets password in config.php _and_ database (Closes: #193545) + - It's possible to install the package without performing any database + setup at all (Closes: #201202) + * Fixed /etc/drupal/apache.conf (Closes: #219143) + * Basic PostgreSQL support -- user and database are created + (Closes: #186563) + * Should work with apache2 (Closes: #235912) + + -- Hilko Bengen Thu, 11 Mar 2004 17:30:11 +0100 + +drupal (4.1.0-10) unstable; urgency=low + + * Maintainer field set to QA Group + * New Brazilian Portuguese debconf template translation, provided by + Andre Luis Lopes . Closes: #228109 + + -- Emanuele Rocca Sun, 1 Feb 2004 20:35:04 +0100 + +drupal (4.1.0-9.1) unstable; urgency=low + + * NMU + * French debconf templates translation. Closes: #200722 + * Correction to english templates for (I guess) better english and + formulations. Closes: #186566 + * Brazilian portuguese debconf tempaltes translation. Closes: #185829 + + -- Christian Perrier Tue, 16 Sep 2003 08:55:38 +0200 + +drupal (4.1.0-9) unstable; urgency=low + + * Two corrections in postinst to allow manually setting up the DB + on upgrade. + + -- Hugo Espuny Wed, 19 Mar 2003 22:02:50 +0100 + +drupal (4.1.0-8) unstable; urgency=low + + * Added patch from drupal.org (Closes: #185217) + * Minor typo on apache.conf + * Now htaccess is set up dynamically. + * Example of restricted admin.php is now at htaccess + * Debconf now does not repeat questions after preconfiguring. + + -- Hugo Espuny Wed, 19 Mar 2003 20:09:45 +0100 + +drupal (4.1.0-7) unstable; urgency=high + + * Added securing point to README.Debian + * Alias directive on /etc/drupal/apache.conf now is changed + dynamically according with debconf question. + + -- Hugo Espuny Fri, 14 Mar 2003 20:33:29 +0100 + +drupal (4.1.0-6) unstable; urgency=high + + * Corrected postrm problem whe downgrading to certain versions. + + -- Hugo Espuny Fri, 14 Mar 2003 19:38:15 +0100 + +drupal (4.1.0-5) unstable; urgency=low + + * Corrected mv themes order in rules file. + + -- Hugo Espuny Fri, 14 Mar 2003 19:22:12 +0100 + +drupal (4.1.0-4) unstable; urgency=low + + * Corrected themes moving engine. (Closes: #184752) + * Themes are now configfiles (since 4.1.0-2). I forgot to say... + + -- Hugo Espuny Fri, 14 Mar 2003 17:30:45 +0100 + +drupal (4.1.0-3) unstable; urgency=low + + * Updated to policy version 3.5.9 + + -- Hugo Espuny Fri, 14 Mar 2003 00:28:18 +0100 + +drupal (4.1.0-2) unstable; urgency=low + + * Corrected directive "AllowOverride None" to "AllowOverride All" in + /etc/drupal/apache.conf. (Closes: #184183) + * Corrected directive to in + /etc/drupal/apache.conf. + * Corrected cron file, postinst and templates. Now debconf asks for the + whole URL, not only TCP port. (Closes: #184182) (Closes: #184182) + Thanks to John Goerzen to point me those. + * News feed now works properly. (Closes: #184252) (Closes: #184253) + + -- Hugo Espuny Wed, 12 Mar 2003 18:25:35 +0100 + +drupal (4.1.0-1) unstable; urgency=high + + * New upstream version (Closes: #178506) (Closes: #173107) + * Moved to use po-debconf. + * Fixed README.Debian (Closes: #173103) (Closes: #184111) + + -- Hugo Espuny Fri, 7 Mar 2003 21:09:02 +0100 + +drupal (4.0-4) unstable; urgency=low + + * Corrected a bug on cron.d file. + + -- Hugo Espuny Wed, 11 Dec 2002 22:39:16 +0100 + +drupal (4.0-3) unstable; urgency=low + + * Corrected /etc/cron.d/drupal (thanx to Paul van Tilburg + ). (Closes: #172153) + * Corrected link in README.Debian. (Closes: #169949) + * Changed priority to extra. + * postrm now executes an abort install properly. + * Updated policy standars to 3.5.8 + + -- Hugo Espuny Tue, 10 Dec 2002 00:38:36 +0100 + +drupal (4.0-2) unstable; urgency=low + + * Minor typo correction in templates file. + * Minor bug correction about webserver port in postinst. + * Added versioned dependency on wget to support HTTPS + * Moved update.php to /usr/share/doc/drupal/upgrades + + -- Hugo Espuny Wed, 30 Oct 2002 16:54:06 +0100 + +drupal (4.0-1) unstable; urgency=low + + * New debian package. (Closes: #164676) + * Code taken from phpnuke package. + + -- Hugo Espuny Tue, 29 Oct 2002 21:21:26 +0100 + --- drupal-5.1.orig/debian/compat +++ drupal-5.1/debian/compat @@ -0,0 +1 @@ +4 --- drupal-5.1.orig/debian/cron.d +++ drupal-5.1/debian/cron.d @@ -0,0 +1 @@ +*/5 * * * * www-data [ -x /usr/share/drupal/scripts/cron.sh ] && /usr/share/drupal/scripts/cron.sh --- drupal-5.1.orig/debian/drupal-5.1.postinst +++ drupal-5.1/debian/drupal-5.1.postinst @@ -0,0 +1,77 @@ +#!/bin/bash +# postinst script for drupal + +set -e + +dbc_generate_include='php:/etc/drupal/5.1/sites/default/dbconfig.php' +dbc_generate_include_owner='root:www-data' +dbc_generate_include_perms='640' + +. /usr/share/debconf/confmodule +# source dbconfig-common stuff +. /usr/share/dbconfig-common/dpkg/postinst +dbc_go drupal-5.1 $@ + +if [ "$DPKG_DEBUG" = "developer" ]; then + set -x +fi + +package_name="drupal-5.1" +datadir="/var/lib/${package_name}" +filesdir="${datadir}/files" +backupdir="${datadir}/backups" +pkgdir="/usr/share/${package_name}" +docdir="/usr/share/doc/${package_name}" +upgradesdir="${docdir}/upgrades" +configdir="/etc/drupal/5.1" +default_configfile="${configdir}/sites/default/settings.php" +includefile="${configdir}/apache.conf" +cronfile="/etc/cron.d/${package_name}" + +OLDVERSION="$2" + +case "$1" in + configure) + + # Get Debconf variables + + db_get ${package_name}/webserver || true + webserver="$RET" + + webserver=`echo $webserver|sed -e 's/, */ /g'` + + for i in $webserver; do + if [ ! -d /etc/$i/conf.d/ ]; then + install -d -m755 /etc/$i/conf.d/ + fi + if [ ! -e /etc/$i/conf.d/drupal.conf ]; then + ln -s ${includefile} \ + /etc/$i/conf.d/drupal.conf + restart="$i $restart" + fi + done + + servers="apache apache-ssl apache-perl apache2" + . /usr/share/wwwconfig-common/restart.sh + curl http://localhost/drupal/install.php?profile=default 2> /dev/null | grep "Drupal installation complete" > /dev/null || exit 1 + # Permissions + dpkg-statoverride --list $filesdir || dpkg-statoverride --add --force --update www-data www-data 0750 $filesdir + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst 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 --- drupal-5.1.orig/debian/drupal-5.1.prerm +++ drupal-5.1/debian/drupal-5.1.prerm @@ -0,0 +1,14 @@ +#! /bin/bash +# prerm script for ${package_name} +# + +set -e + +. /usr/share/debconf/confmodule +. /usr/share/dbconfig-common/dpkg/prerm +dbc_go drupal-5.1 $@ + +#DEBHELPER# + +exit 0 + --- drupal-5.1.orig/debian/README.Debian +++ drupal-5.1/debian/README.Debian @@ -0,0 +1,184 @@ +Drupal for Debian +----------------- + +1. Introduction +2. Manual initial database generation and configuration +3. Deleting the Drupal database +4. Apache config file and php4 Apache module +5. Apache config file and php4 CGI version +6. Securing your portal +7. Upgrading database from previous versions +8. Virtual hosts +9. Additional themes and modules + +A. Customizing themes +B. Links for more support + + +1. Introduction +--------------- +The latest version of Drupal can always be found at +. + +A running database server is needed for this package to work. It +doesn't matter whether the DBMS runs on the same machine as the +web server. MySQL and PostgreSQL servers are supported by this package. + +You can change the DBMS configuration after installation by running +"dpkg-reconfigure drupal" + + +2. Manual initial database generation and configuration +------------------------------------------------------- +This is only necessary if you chose not to automatically create the +database at installation time or if automatic creation failed. + +[The rest of this section has been copied from the Drupal INSTALL + file.] + + CREATE THE DRUPAL DATABASE + + This step is only necessary if you don't already have a database + set-up (e.g. by your host). In the following examples, 'dba_user' is + an example MySQL user which has the CREATE and GRANT privileges. Use + the appropriate user name for your system. + + First, you must create a new database for your Drupal site + (here, 'databasename' is the name of the new database): + + mysqladmin -u dba_user -p create databasename + + MySQL will prompt for the 'dba_user' database password and then create + the initial database files. Next you must login and set the access + database rights: + + mysql -u dba_user -p + + Again, you will be asked for the 'dba_user' database password. + At the MySQL prompt, enter following command: + + GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, + ALTER, CREATE TEMPORARY TABLES, LOCK TABLES + ON databasename.* + TO 'username'@'localhost' IDENTIFIED BY 'password'; + + where + + 'databasename' is the name of your database + 'username@localhost' is the username of your MySQL account + 'password' is the password required for that username + + Note: Unless your database user has all of the privileges listed + above, you will not be able to run Drupal. + + If successful, MySQL will reply with: + + Query OK, 0 rows affected + + To activate the new permissions, enter the following command: + + FLUSH PRIVILEGES; + + +3. Deleting the Drupal database +-------------------------------- +The database may be deleted automatically on purging the package +(debconf prompt the user asking to do it or not). + +If you want to purge the data stored at MySQl database manually you +can use the following command: + +'mysqladmin -p drop drupal' + +being the user who admin MySQL. + + +4. Apache config file and php4 CGI version +------------------------------------------ +This package is configured to automatically use the php5 Apache +module. It sets up the system to avoid showing the php files in plain +text by default. It is possible to use the php5 CGI version, instead. +However, you need to make sure that the CGI interpreter uses the +following settings: + +magic_quotes_gpc = Off +session.save_handler = user + + +5. Securing your portal +----------------------- +It is very good security measure to restrict access to admin.php only +to trusted IP's and localhost (you can see an example at +/etc/drupal/htaccess) As an added security measure, is a good idea to +set up a ssl-enabled web server in your apache, and allow access to +admin page only to ssl streams. + + +6. Upgrading database from previous versions +-------------------------------------------- +From version 4.7.4 drupal packages will be separated for each major version. +Automatic upgrading the database will not be attempted anymore. i + +To upgrade an existing version of drupal, install the new package and manually +configure the database to point to the existing database, then execute the +upstream upgrade script by pointing a web browser to + + + +Then remove the old package. + +WARNING: be sure to _NOT_ remove the old package's database. + + +7. Virtual hosts +---------------- +Drupal supports a setup with multiple virtual hosts. Each virtual host +has its own configuration directory in /etc/drupal-5.1/sites/_virtualhost_. +At install time the 'default' virtual host is created with the required +settings.php configuration file. + +To create new virtual hosts simply duplicate the default virtual host directory +and adjust the settings.php and dbconfig.php configuration files. + +This package supports running cron scripts on each virtual host, as long as you +define the $base_url variable in the virtual host settings.php configuration +file. + + +8. Additional modules and themes +-------------------------------- + +Drupal looks for modules and themes in the modules/ and themes/ +subdirectories, respectively. However, it would be a bad idea to put +additional modules and themes into those directories because they +might be overwritten on upgrades. Instead, create links to another +directory that won't be touched by dpkg, e.g. in the /usr/local +hierarchy: + + # ln -s /usr/local/share/drupal/modules /usr/share/drupal/modules/local + # ln -s /usr/local/share/drupal/themes /usr/share/drupal/themes/local + + +9. Customizing themes +--------------------- +To create or customize a theme for your site, I recommend to start +with an existing theme (as exmaple), copy it to a different location ( +#cp -ai /etc/drupal/themes/example /etc/drupal/themes/Custom ) and +modify this new created theme. You can now select your "Custom" theme +in the Preferences menu from the admin interface. + +You should not modify and use an included theme in the package +directly, as your changes could be overwritten next time you upgrade +drupal. + + +A. Links for more support +------------------------- +* http://www.drupal.org/ + - Drupal's project page for those willing to get involved in the + ongoing development + +* http://www.drupal.org/node.php?id=253 + - online installation guidelines + + -- Luke Yelavich , Fri, 9 Mar 2007 20:25:58 +1100 --- drupal-5.1.orig/debian/patches/10_cronjob.dpatch +++ drupal-5.1/debian/patches/10_cronjob.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_cronjob.dpatch by Luke Yelavich +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Reduce cron verbocity. + +@DPATCH@ +diff -urN drupal-5.1/includes/common.inc drupal-5.1.new/includes/common.inc +--- drupal-5.1/includes/common.inc 2007-01-11 10:30:07.000000000 +1100 ++++ drupal-5.1.new/includes/common.inc 2007-03-09 18:27:05.162257638 +1100 +@@ -2011,7 +2011,7 @@ + + // Record cron time + variable_set('cron_last', time()); +- watchdog('cron', t('Cron run completed.'), WATCHDOG_NOTICE); ++ // watchdog('cron', t('Cron run completed.'), WATCHDOG_NOTICE); + + // Release cron semaphore + variable_del('cron_semaphore'); --- drupal-5.1.orig/debian/patches/00list +++ drupal-5.1/debian/patches/00list @@ -0,0 +1,3 @@ +10_cronjob +20_SA-2007-017-5.1 +21_SA-2007-018-5.1 --- drupal-5.1.orig/debian/patches/20_SA-2007-017-5.1.dpatch +++ drupal-5.1/debian/patches/20_SA-2007-017-5.1.dpatch @@ -0,0 +1,298 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 20_SA-2007-017-5.1.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad drupal-5.1~/includes/form.inc drupal-5.1/includes/form.inc +--- drupal-5.1~/includes/form.inc 2007-01-29 22:51:53.000000000 +0100 ++++ drupal-5.1/includes/form.inc 2007-09-06 16:29:45.194792802 +0200 +@@ -249,7 +249,7 @@ + $form_button_counter = array(0, 0); + + drupal_prepare_form($form_id, $form); +- if (($form['#programmed']) || (!empty($_POST) && (($_POST['form_id'] == $form_id) || ($_POST['form_id'] == $form['#base'])))) { ++ if (($form['#programmed']) || (!empty($_POST) && (($_POST['form_id'] == $form_id)))) { + drupal_validate_form($form_id, $form); + // IE does not send a button value when there is only one submit button (and no non-submit buttons) + // and you submit by pressing enter. +diff -urNad drupal-5.1~/modules/comment/comment.module drupal-5.1/modules/comment/comment.module +--- drupal-5.1~/modules/comment/comment.module 2007-01-29 22:51:53.000000000 +0100 ++++ drupal-5.1/modules/comment/comment.module 2007-09-06 16:29:58.695562167 +0200 +@@ -1075,23 +1075,8 @@ + + $output = ''; + +- // We'll only delete if the user has confirmed the +- // deletion using the form in our else clause below. +- if (is_object($comment) && is_numeric($comment->cid) && $_POST['confirm']) { +- drupal_set_message(t('The comment and all its replies have been deleted.')); +- +- // Delete comment and its replies. +- _comment_delete_thread($comment); +- +- _comment_update_node_statistics($comment->nid); +- +- // Clear the cache so an anonymous user sees that his comment was deleted. +- cache_clear_all(); +- +- drupal_goto("node/$comment->nid"); +- } +- else if (is_object($comment) && is_numeric($comment->cid)) { +- $output = drupal_get_form('comment_confirm_delete', $comment->subject, $comment->nid); ++ if (is_object($comment) && is_numeric($comment->cid)) { ++ $output = drupal_get_form('comment_confirm_delete', $comment); + } + else { + drupal_set_message(t('The comment no longer exists.')); +@@ -1100,16 +1085,38 @@ + return $output; + } + +-function comment_confirm_delete($subject, $nid) { ++function comment_confirm_delete($comment) { ++ ++ $form = array(); ++ $form['comment'] = array( ++ '#type' => 'value', ++ '#value' => $comment, ++ ); ++ + return confirm_form( +- array(), +- t('Are you sure you want to delete the comment %title?', array('%title' => $subject)), +- 'node/'. $nid, ++ $form, ++ t('Are you sure you want to delete the comment %title?', array('%title' => $comment->subject)), ++ 'node/'. $comment->nid, + t('Any replies to this comment will be lost. This action cannot be undone.'), + t('Delete'), + t('Cancel')); + } + ++function comment_confirm_delete_submit($form_id, $form_values) { ++ $comment = $form_values['comment']; ++ ++ // Delete comment and its replies. ++ _comment_delete_thread($comment); ++ _comment_update_node_statistics($comment->nid); ++ // Clear the cache so an anonymous user sees that his comment was deleted. ++ cache_clear_all(); ++ ++ drupal_set_message(t('The comment and all its replies have been deleted.')); ++ ++ return "node/$comment->nid"; ++} ++ ++ + /** + * Comment operations. We offer different update operations depending on + * which comment administration page we're on. +diff -urNad drupal-5.1~/modules/menu/menu.module drupal-5.1/modules/menu/menu.module +--- drupal-5.1~/modules/menu/menu.module 2007-01-05 20:05:54.000000000 +0100 ++++ drupal-5.1/modules/menu/menu.module 2007-09-06 16:30:05.195932602 +0200 +@@ -68,7 +68,8 @@ + 'type' => MENU_CALLBACK); + $items[] = array('path' => 'admin/build/menu/item/disable', + 'title' => t('Disable menu item'), +- 'callback' => 'menu_disable_item', ++ 'callback' => 'drupal_get_form', ++ 'callback arguments' => array('menu_confirm_disable_item'), + 'access' => user_access('administer menu'), + 'type' => MENU_CALLBACK); + $items[] = array('path' => 'admin/build/menu/item/delete', +@@ -481,14 +482,24 @@ + + /** + * Menu callback; hide a menu item. ++ * ++ * Presents a confirmation form to protect against cross site request forgeries. + */ +-function menu_disable_item($mid) { ++function menu_confirm_disable_item($mid, $token = NULL) { ++ global $user; + $item = menu_get_item($mid); +- $type = $item['type']; ++ $form = array(); ++ $form['mid'] = array('#type' => 'value', '#value' => $mid); ++ $form['item'] = array('#type' => 'value', '#value' => $item); ++ return confirm_form($form, t('Are you sure you want to disable the menu item %menu-item?', array('%menu-item' => $item['title'])), 'admin/build/menu', ' ', t('Disable'), t('Cancel')); ++} ++ ++function menu_confirm_disable_item_submit($form_id, $form_values) { ++ $type = $form_values['item']['type']; + $type &= ~MENU_VISIBLE_IN_TREE; + $type &= ~MENU_VISIBLE_IN_BREADCRUMB; + $type |= MENU_MODIFIED_BY_ADMIN; +- db_query('UPDATE {menu} SET type = %d WHERE mid = %d', $type, $mid); ++ db_query('UPDATE {menu} SET type = %d WHERE mid = %d', $type, $form_values['mid']); + drupal_set_message(t('The menu item has been disabled.')); + drupal_goto('admin/build/menu'); + } +diff -urNad drupal-5.1~/modules/node/node.module drupal-5.1/modules/node/node.module +--- drupal-5.1~/modules/node/node.module 2007-01-29 22:51:53.000000000 +0100 ++++ drupal-5.1/modules/node/node.module 2007-09-06 16:30:09.696189057 +0200 +@@ -35,7 +35,7 @@ + return '

'. t('To create a new content type, enter the human-readable name, the machine-readable name, and all other relevant fields that are on this page. Once created, users of your site will be able to create posts that are instances of this content type.') .'

'; + } + +- if (arg(0) == 'node' && is_numeric(arg(1)) && arg(2) == 'revisions') { ++ if (arg(0) == 'node' && is_numeric(arg(1)) && arg(2) == 'revisions' && arg(3) == NULL) { + return '

'. t('The revisions let you track differences between multiple versions of a post.') .'

'; + } + +@@ -1195,11 +1195,26 @@ + 'weight' => 1, + 'type' => MENU_CALLBACK); + $revisions_access = ((user_access('view revisions') || user_access('administer nodes')) && node_access('view', $node) && db_result(db_query('SELECT COUNT(vid) FROM {node_revisions} WHERE nid = %d', arg(1))) > 1); +- $items[] = array('path' => 'node/'. arg(1) .'/revisions', 'title' => t('Revisions'), ++ $items[] = array( ++ 'path' => 'node/'. arg(1) .'/revisions', ++ 'title' => t('Revisions'), + 'callback' => 'node_revisions', + 'access' => $revisions_access, + 'weight' => 2, +- 'type' => MENU_LOCAL_TASK); ++ 'type' => MENU_LOCAL_TASK, ++ ); ++ if (!is_null(arg(3))) { ++ $items[] = array( ++ 'path' => 'node/'. arg(1) .'/revisions/'. arg(3) .'/delete', ++ 'callback' => 'node_revision_delete', ++ 'callback arguments' => array(arg(1), arg(3)), ++ ); ++ $items[] = array( ++ 'path' => 'node/'. arg(1) .'/revisions/'. arg(3) .'/revert', ++ 'callback' => 'node_revision_revert', ++ 'callback arguments' => array(arg(1), arg(3)), ++ ); ++ } + } + } + +@@ -1681,16 +1696,7 @@ + $node = node_load($nid, $revision); + if ((user_access('revert revisions') || user_access('administer nodes')) && node_access('update', $node)) { + if ($node->vid) { +- $node->revision = 1; +- $node->log = t('Copy of the revision from %date.', array('%date' => format_date($node->revision_timestamp))); +- if (module_exists('taxonomy')) { +- $node->taxonomy = array_keys($node->taxonomy); +- } +- +- node_save($node); +- +- drupal_set_message(t('%title has been reverted back to the revision from %revision-date', array('%revision-date' => format_date($node->revision_timestamp), '%title' => $node->title))); +- watchdog('content', t('@type: reverted %title revision %revision.', array('@type' => t($node->type), '%title' => $node->title, '%revision' => $revision))); ++ return drupal_get_form('node_revision_revert_confirm', $node); + } + else { + drupal_set_message(t('You tried to revert to an invalid revision.'), 'error'); +@@ -1701,6 +1707,31 @@ + } + + /** ++ * Ask for confirmation of the reversion to prevent against CSRF attacks. ++ */ ++function node_revision_revert_confirm($node) { ++ $form['node'] = array('#type' => 'value', '#value' => $node); ++ return confirm_form($form, t('Are you sure you want to revert to the revision from %revision-date?', array('%revision-date' => format_date($node->revision_timestamp))), 'node/'. $node->nid .'/revisions', '', t('Revert'), t('Cancel')); ++} ++ ++function node_revision_revert_confirm_submit($form_id, $form_values) { ++ $node = $form_values['node']; ++ ++ $node->revision = 1; ++ $node->log = t('Copy of the revision from %date.', array('%date' => format_date($node->revision_timestamp))); ++ if (module_exists('taxonomy')) { ++ $node->taxonomy = array_keys($node->taxonomy); ++ } ++ ++ node_save($node); ++ ++ drupal_set_message(t('%title has been reverted back to the revision from %revision-date', array('%revision-date' => format_date($node->revision_timestamp), '%title' => $node->title))); ++ watchdog('content', t('@type: reverted %title revision %revision.', array('@type' => t($node->type), '%title' => $node->title, '%revision' => $revision))); ++ ++ return 'node/'. $node->nid .'/revisions'; ++} ++ ++/** + * Delete the revision with specified revision number. A "delete revision" nodeapi event is invoked when a + * revision is deleted. + */ +@@ -1710,22 +1741,22 @@ + if (node_access('delete', $node)) { + // Don't delete the current revision + if ($revision != $node->vid) { +- $node = node_load($nid, $revision); +- +- db_query("DELETE FROM {node_revisions} WHERE nid = %d AND vid = %d", $nid, $revision); +- node_invoke_nodeapi($node, 'delete revision'); +- drupal_set_message(t('Deleted %title revision %revision.', array('%title' => $node->title, '%revision' => $revision))); +- watchdog('content', t('@type: deleted %title revision %revision.', array('@type' => t($node->type), '%title' => $node->title, '%revision' => $revision))); ++ if ($node = node_load($nid, $revision)) { ++ return drupal_get_form('node_revision_delete_confirm', $node); ++ } ++ else { ++ drupal_set_message(t('Deletion failed. You tried to delete a non-existing revision.')); ++ } + } +- + else { + drupal_set_message(t('Deletion failed. You tried to delete the current revision.')); + } ++ + if (db_result(db_query('SELECT COUNT(vid) FROM {node_revisions} WHERE nid = %d', $nid)) > 1) { +- drupal_goto("node/$nid/revisions"); ++ drupal_goto('node/'. $nid .'/revisions'); + } + else { +- drupal_goto("node/$nid"); ++ drupal_goto('node/'. $nid); + } + } + } +@@ -1734,6 +1765,29 @@ + } + + /** ++ * Ask confirmation for revision deletion to prevent against CSRF attacks. ++ */ ++function node_revision_delete_confirm($node) { ++ $form['node'] = array('#type' => 'value', '#value' => $node); ++ return confirm_form($form, t('Are you sure you want to delete the revision from %revision-date?', array('%revision-date' => format_date($node->revision_timestamp))), 'node/'. $node->nid .'/revisions', t('This action cannot be undone.'), t('Delete'), t('Cancel')); ++} ++ ++function node_revision_delete_confirm_submit($form_id, $form_values) { ++ $node = $form_values['node']; ++ db_query("DELETE FROM {node_revisions} WHERE nid = %d AND vid = %d", $node->nid, $node->vid); ++ node_invoke_nodeapi($node, 'delete revision'); ++ drupal_set_message(t('Deleted %title revision %revision.', array('%title' => $node->title, '%revision' => $node->vid))); ++ watchdog('content', t('@type: deleted %title revision %revision.', array('@type' => t($node->type), '%title' => $node->title, '%revision' => $node->vid))); ++ ++ if (db_result(db_query('SELECT COUNT(vid) FROM {node_revisions} WHERE nid = %d', $node->nid)) > 1) { ++ return 'node/'. $node->nid .'/revisions'; ++ } ++ else { ++ return 'node/'. $node->nid; ++ } ++} ++ ++/** + * Return a list of all the existing revision numbers. + */ + function node_revision_list($node) { +@@ -2355,12 +2409,6 @@ + } + } + break; +- case 'revert': +- node_revision_revert(arg(1), arg(3)); +- break; +- case 'delete': +- node_revision_delete(arg(1), arg(3)); +- break; + } + } + drupal_not_found(); --- drupal-5.1.orig/debian/patches/21_SA-2007-018-5.1.dpatch +++ drupal-5.1/debian/patches/21_SA-2007-018-5.1.dpatch @@ -0,0 +1,304 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 21_SA-2007-018-5.1.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad drupal-5.1~/includes/bootstrap.inc drupal-5.1/includes/bootstrap.inc +--- drupal-5.1~/includes/bootstrap.inc 2007-01-15 12:52:02.000000000 +0100 ++++ drupal-5.1/includes/bootstrap.inc 2007-09-06 16:31:31.200833742 +0200 +@@ -200,7 +200,7 @@ + } + + $confdir = 'sites'; +- $uri = explode('/', $_SERVER['PHP_SELF'] ? $_SERVER['PHP_SELF'] : $_SERVER['SCRIPT_FILENAME']); ++ $uri = explode('/', $_SERVER['SCRIPT_NAME'] ? $_SERVER['SCRIPT_NAME'] : $_SERVER['SCRIPT_FILENAME']); + $server = explode('.', implode('.', array_reverse(explode(':', rtrim($_SERVER['HTTP_HOST'], '.'))))); + for ($i = count($uri) - 1; $i > 0; $i--) { + for ($j = count($server); $j > 0; $j--) { +@@ -230,11 +230,16 @@ + } + + /** +- * Loads the configuration and sets the base URL correctly. ++ * Loads the configuration and sets the base URL, cookie domain, and ++ * session name correctly. + */ + function conf_init() { +- global $db_url, $db_prefix, $base_url, $base_path, $base_root, $conf, $installed_profile; ++ global $base_url, $base_path, $base_root; ++ ++ // Export the following settings.php variables to the global namespace ++ global $db_url, $db_prefix, $cookie_domain, $conf, $installed_profile; + $conf = array(); ++ + include_once './'. conf_path() .'/settings.php'; + + if (isset($base_url)) { +@@ -250,8 +255,14 @@ + else { + // Create base URL + $base_root = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https' : 'http'; +- $base_url = $base_root .= '://'. $_SERVER['HTTP_HOST']; +- if ($dir = trim(dirname($_SERVER['PHP_SELF']), '\,/')) { ++ ++ // As $_SERVER['HTTP_HOST'] is user input, ensure it only contains ++ // characters allowed in hostnames. ++ $base_url = $base_root .= '://'. preg_replace('/[^a-z0-9-:._]/i', '', $_SERVER['HTTP_HOST']); ++ ++ // $_SERVER['SCRIPT_NAME'] can, in contrast to $_SERVER['PHP_SELF'], not ++ // be modified by a visitor. ++ if ($dir = trim(dirname($_SERVER['SCRIPT_NAME']), '\,/')) { + $base_path = "/$dir"; + $base_url .= $base_path; + $base_path .= '/'; +@@ -260,6 +271,37 @@ + $base_path = '/'; + } + } ++ ++ if (!$cookie_domain) { ++ // If the $cookie_domain is empty, try to use the session.cookie_domain. ++ $cookie_domain = ini_get('session.cookie_domain'); ++ } ++ if ($cookie_domain) { ++ // If the user specifies the cookie domain, also use it for session name. ++ $session_name = $cookie_domain; ++ } ++ else { ++ // Otherwise use $base_url for session name. ++ $session_name = $base_url; ++ // We try to set the cookie domain to the hostname. ++ // We escape the hostname because it can be modified by a visitor. ++ if (!empty($_SERVER['HTTP_HOST'])) { ++ $cookie_domain = check_plain($_SERVER['HTTP_HOST']); ++ } ++ } ++ // Strip leading periods, www., and port numbers from cookie domain. ++ $cookie_domain = ltrim($cookie_domain, '.'); ++ if (strpos($cookie_domain, 'www.') === 0) { ++ $cookie_domain = substr($cookie_domain, 4); ++ } ++ $cookie_domain = explode(':', $cookie_domain); ++ $cookie_domain = '.'. $cookie_domain[0]; ++ // Per RFC 2109, cookie domains must contain at least one dot other than the ++ // first. For hosts such as 'localhost' or IP Addresses we don't set a cookie domain. ++ if (count(explode('.', $cookie_domain)) > 2 && !is_numeric(str_replace('.', '', $cookie_domain))) { ++ ini_set('session.cookie_domain', $cookie_domain); ++ } ++ session_name('SESS'. md5($session_name)); + } + + /** +@@ -599,10 +641,10 @@ + } + else { + if (isset($_SERVER['argv'])) { +- $uri = $_SERVER['PHP_SELF'] .'?'. $_SERVER['argv'][0]; ++ $uri = $_SERVER['SCRIPT_NAME'] .'?'. $_SERVER['argv'][0]; + } + else { +- $uri = $_SERVER['PHP_SELF'] .'?'. $_SERVER['QUERY_STRING']; ++ $uri = $_SERVER['SCRIPT_NAME'] .'?'. $_SERVER['QUERY_STRING']; + } + } + +diff -urNad drupal-5.1~/includes/common.inc drupal-5.1/includes/common.inc +--- drupal-5.1~/includes/common.inc 2007-09-06 16:31:14.699893407 +0200 ++++ drupal-5.1/includes/common.inc 2007-09-06 16:31:36.201118692 +0200 +@@ -548,7 +548,7 @@ + $entry = $types[$errno] .': '. $message .' in '. $filename .' on line '. $line .'.'; + + // Force display of error messages in update.php +- if (variable_get('error_level', 1) == 1 || strstr($_SERVER['PHP_SELF'], 'update.php')) { ++ if (variable_get('error_level', 1) == 1 || strstr($_SERVER['SCRIPT_NAME'], 'update.php')) { + drupal_set_message($entry, 'error'); + } + +diff -urNad drupal-5.1~/modules/blogapi/blogapi.module drupal-5.1/modules/blogapi/blogapi.module +--- drupal-5.1~/modules/blogapi/blogapi.module 2007-01-05 20:05:54.000000000 +0100 ++++ drupal-5.1/modules/blogapi/blogapi.module 2007-09-06 16:31:45.701660097 +0200 +@@ -537,7 +537,7 @@ + } + + function blogapi_admin_settings() { +- $node_types = node_get_types('names'); ++ $node_types = array_map('check_plain', node_get_types('names')); + $defaults = isset($node_types['blog']) ? array('blog' => 1) : array(); + $form['blogapi_node_types'] = array( + '#type' => 'checkboxes', +diff -urNad drupal-5.1~/modules/node/content_types.inc drupal-5.1/modules/node/content_types.inc +--- drupal-5.1~/modules/node/content_types.inc 2007-01-09 08:53:26.000000000 +0100 ++++ drupal-5.1/modules/node/content_types.inc 2007-09-06 16:31:51.702002037 +0200 +@@ -18,7 +18,6 @@ + foreach ($names as $key => $name) { + $type = $types[$key]; + if (function_exists($type->module .'_form')) { +- $name = check_plain($name); + $type_url_str = str_replace('_', '-', $type->type); + // Populate the operations field. + $operations = array(); +diff -urNad drupal-5.1~/modules/node/node.module drupal-5.1/modules/node/node.module +--- drupal-5.1~/modules/node/node.module 2007-09-06 16:31:14.699893407 +0200 ++++ drupal-5.1/modules/node/node.module 2007-09-06 16:31:56.702286987 +0200 +@@ -1142,11 +1142,10 @@ + + foreach (node_get_types() as $type) { + if (function_exists($type->module .'_form')) { +- $name = check_plain($type->name); + $type_url_str = str_replace('_', '-', $type->type); + $items[] = array( + 'path' => 'node/add/'. $type_url_str, +- 'title' => drupal_ucfirst($name), ++ 'title' => drupal_ucfirst($type->name), + 'access' => node_access('create', $type->type), + ); + } +@@ -1228,7 +1227,6 @@ + $type = node_get_types('type', $type_name); + + if (!empty($type)) { +- $type->name = check_plain($type->name); + $type_url_str = str_replace('_', '-', $type->type); + + $items[] = array( +@@ -1568,7 +1566,7 @@ + while ($node = db_fetch_object($result)) { + $nodes[$node->nid] = ''; + $form['title'][$node->nid] = array('#value' => l($node->title, 'node/'. $node->nid) .' '. theme('mark', node_mark($node->nid, $node->changed))); +- $form['name'][$node->nid] = array('#value' => node_get_types('name', $node)); ++ $form['name'][$node->nid] = array('#value' => check_plain(node_get_types('name', $node))); + $form['username'][$node->nid] = array('#value' => theme('username', $node)); + $form['status'][$node->nid] = array('#value' => ($node->status ? t('published') : t('not published'))); + $form['operations'][$node->nid] = array('#value' => l(t('edit'), 'node/'. $node->nid .'/edit', array(), $destination)); +@@ -2583,7 +2581,7 @@ + } + + // Node types: +- $types = node_get_types('names'); ++ $types = array_map('check_plain', node_get_types('names')); + $form['advanced']['type'] = array( + '#type' => 'checkboxes', + '#title' => t('Only of the type(s)'), +--- drupal-5.1~/modules/poll/poll.module 2006-12-25 10:48:42.000000000 +0100 ++++ drupal-5.1/modules/poll/poll.module 2007-09-06 16:32:02.702628927 +0200 +@@ -354,7 +354,9 @@ + $teaser = NULL; + if (is_array($node->choice)) { + foreach ($node->choice as $k => $choice) { +- $teaser .= '* '. $choice['chtext'] .'\n'; ++ if ($choice['chtext'] != '') { ++ $teaser .= '* '. check_plain($choice['chtext']) ."\n"; ++ } + } + } + return $teaser; +diff -urNad drupal-5.1~/modules/profile/profile.module drupal-5.1/modules/profile/profile.module +--- drupal-5.1~/modules/profile/profile.module 2007-01-23 20:09:58.000000000 +0100 ++++ drupal-5.1/modules/profile/profile.module 2007-09-06 16:32:11.203113342 +0200 +@@ -111,7 +111,7 @@ + $fields = array(); + $result = db_query('SELECT name, title, weight, visibility FROM {profile_fields} WHERE visibility IN (%d, %d) ORDER BY weight', PROFILE_PUBLIC, PROFILE_PUBLIC_LISTINGS); + while ($record = db_fetch_object($result)) { +- $fields[$record->name] = $record->title; ++ $fields[$record->name] = check_plain($record->title); + } + $fields['user_profile'] = t('Link to full user profile'); + $form['profile_block_author_fields'] = array('#type' => 'checkboxes', +@@ -398,7 +398,7 @@ + $result = db_query('SELECT * FROM {profile_fields} ORDER BY category, weight'); + $rows = array(); + while ($field = db_fetch_object($result)) { +- $rows[] = array(check_plain($field->title), $field->name, _profile_field_types($field->type), $field->category, l(t('edit'), "admin/user/profile/edit/$field->fid"), l(t('delete'), "admin/user/profile/delete/$field->fid")); ++ $rows[] = array(check_plain($field->title), check_plain($field->name), _profile_field_types($field->type), check_plain($field->category), l(t('edit'), "admin/user/profile/edit/$field->fid"), l(t('delete'), "admin/user/profile/delete/$field->fid")); + } + if (count($rows) == 0) { + $rows[] = array(array('data' => t('No fields defined.'), 'colspan' => '6')); +@@ -627,7 +627,7 @@ + while ($field = db_fetch_object($result)) { + $category = $field->category; + if (!isset($fields[$category])) { +- $fields[$category] = array('#type' => 'fieldset', '#title' => $category, '#weight' => $w++); ++ $fields[$category] = array('#type' => 'fieldset', '#title' => check_plain($category), '#weight' => $w++); + } + switch ($field->type) { + case 'textfield': +@@ -758,7 +758,7 @@ + $output .= "

$field->value

\n"; + } + else { +- $output .= "

$field->title
$field->value

\n"; ++ $output .= '

'. check_plain($field->title) ."
$field->value

\n"; + } + } + } +diff -urNad drupal-5.1~/modules/search/search.module drupal-5.1/modules/search/search.module +--- drupal-5.1~/modules/search/search.module 2007-01-30 00:36:39.000000000 +0100 ++++ drupal-5.1/modules/search/search.module 2007-09-06 16:32:18.703540767 +0200 +@@ -1231,7 +1231,7 @@ + $output = '
'. check_plain($item['title']) .'
'; + $info = array(); + if ($item['type']) { +- $info[] = $item['type']; ++ $info[] = check_plain($item['type']); + } + if ($item['user']) { + $info[] = $item['user']; +diff -urNad drupal-5.1~/modules/system/system.module drupal-5.1/modules/system/system.module +--- drupal-5.1~/modules/system/system.module 2007-01-29 22:51:53.000000000 +0100 ++++ drupal-5.1/modules/system/system.module 2007-09-06 16:32:24.703882707 +0200 +@@ -2010,7 +2010,7 @@ + '#suffix' => '', + ); + foreach ($node_types as $type => $name) { +- $form['node_info']["toggle_node_info_$type"] = array('#type' => 'checkbox', '#title' => $name, '#default_value' => $settings["toggle_node_info_$type"]); ++ $form['node_info']["toggle_node_info_$type"] = array('#type' => 'checkbox', '#title' => check_plain($name), '#default_value' => $settings["toggle_node_info_$type"]); + } + } + } +diff -urNad drupal-5.1~/modules/taxonomy/taxonomy.module drupal-5.1/modules/taxonomy/taxonomy.module +--- drupal-5.1~/modules/taxonomy/taxonomy.module 2007-01-25 22:51:36.000000000 +0100 ++++ drupal-5.1/modules/taxonomy/taxonomy.module 2007-09-06 16:32:32.204310132 +0200 +@@ -152,7 +152,7 @@ + $types = array(); + foreach ($vocabulary->nodes as $type) { + $node_type = node_get_types('name', $type); +- $types[] = $node_type ? $node_type : $type; ++ $types[] = $node_type ? check_plain($node_type) : check_plain($type); + } + $rows[] = array('name' => check_plain($vocabulary->name), + 'type' => implode(', ', $types), +@@ -236,7 +236,7 @@ + $form['nodes'] = array('#type' => 'checkboxes', + '#title' => t('Types'), + '#default_value' => $edit['nodes'], +- '#options' => node_get_types('names'), ++ '#options' => array_map('check_plain', node_get_types('names')), + '#description' => t('A list of node types you want to associate with this vocabulary.'), + '#required' => TRUE, + ); +diff -urNad drupal-5.1~/modules/tracker/tracker.module drupal-5.1/modules/tracker/tracker.module +--- drupal-5.1~/modules/tracker/tracker.module 2007-01-10 16:17:51.000000000 +0100 ++++ drupal-5.1/modules/tracker/tracker.module 2007-09-06 16:32:46.205107992 +0200 +@@ -106,7 +106,7 @@ + } + + $rows[] = array( +- node_get_types('name', $node->type), ++ check_plain(node_get_types('name', $node->type)), + l($node->title, "node/$node->nid") .' '. theme('mark', node_mark($node->nid, $node->changed)), + theme('username', $node), + array('class' => 'replies', 'data' => $comments), +diff -urNad drupal-5.1~/modules/user/user.module drupal-5.1/modules/user/user.module +--- drupal-5.1~/modules/user/user.module 2007-01-29 20:08:46.000000000 +0100 ++++ drupal-5.1/modules/user/user.module 2007-09-06 16:32:52.205449932 +0200 +@@ -649,7 +649,7 @@ + $output .= theme('user_picture', $account); + foreach ($fields as $category => $items) { + if (strlen($category) > 0) { +- $output .= '

'. $category .'

'; ++ $output .= '

'. check_plain($category) .'

'; + } + $output .= '
'; + foreach ($items as $item) { --- drupal-5.1.orig/debian/copyright +++ drupal-5.1/debian/copyright @@ -0,0 +1,44 @@ +This package was debianized by Hugo Espuny on +Sat, 29 Jun 2002 22:13:16 +0200. + +The current Debian Maintainer is Luigi Gangitano + +It was downloaded from http://www.drupal.org + +Upstream authors: Dries Buytaert +James Walker +Moshe Weitzman +Charlie Lowe +Steven Wittens +Károly Négyesi +Gabor Hojtsy +Richard Archer +Matt Westgate +Piotr Krukowiecki +Károly Négyesi +Jeremy Andrews +Károly Négyesi +Hilko Bengen +Gerhard Killesreiter + +Copyright: 2000-2006 Dries Buytaert + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License. + + 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 with + the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; + if not, write to the Free Software Foundation, Inc., 59 Temple Place, + Suite 330, Boston, MA 02111-1307 USA + +On Debian systems, the complete text of the GNU General Public +License, version 2, can be found in /usr/share/common-licenses/GPL-2. + +The Debian packaging is (C) 2006, Luigi Gangitano and +is licensed under the GPL, see above. --- drupal-5.1.orig/debian/drupal-5.1.config +++ drupal-5.1/debian/drupal-5.1.config @@ -0,0 +1,51 @@ +#!/bin/bash + +# Debconf config script for Drupal + +set -e + + +# Source debconf library +. /usr/share/debconf/confmodule + +if [ -f /usr/share/dbconfig-common/dpkg/config ]; then + # we support mysql and pgsql + dbc_dbtypes="mysql, pgsql" + dbc_dbname=drupal51 + dbc_dbuser=drupal51 + + # source dbconfig-common stuff + . /usr/share/dbconfig-common/dpkg/config + dbc_go drupal-5.1 $@ +fi + +if [ "$DPKG_DEBUG" = "developer" ]; then + set -x +fi + +################################################## +# Begin installation directories definition block# +################################################## +package_name="drupal-5.1" +datadir="/var/lib/${package_name}" +backupdir="${datadir}/backups/" +docdir="/usr/share/doc/${package_name}" +upgradesdir="${docdir}/upgrades" +configdir="/etc/drupal/5.1" +configfile="${configdir}/conf.php" +includefile="${configdir}/apache.conf" +################################################ +# End installation directories definition block # +################################################ + +######################################################################## +# The actual configuration + +OLDVERSION="$2" + +db_input "high" "${package_name}/webserver" || true +db_go || true + +db_stop + +exit 0 --- drupal-5.1.orig/debian/examples +++ drupal-5.1/debian/examples @@ -0,0 +1,2 @@ +sites/default/settings.php + --- drupal-5.1.orig/debian/drupal-5.1.install +++ drupal-5.1/debian/drupal-5.1.install @@ -0,0 +1,9 @@ +*.php usr/share/drupal-5.1 +includes usr/share/drupal-5.1 +modules usr/share/drupal-5.1 +themes usr/share/drupal-5.1 +misc usr/share/drupal-5.1 +profiles usr/share/drupal-5.1 +debian/etc/apache.conf etc/drupal/5.1 +debian/etc/settings.php etc/drupal/5.1/sites/default +debian/cron.sh usr/share/drupal-5.1/scripts --- drupal-5.1.orig/debian/drupal-5.1.postrm +++ drupal-5.1/debian/drupal-5.1.postrm @@ -0,0 +1,98 @@ +#! /bin/bash +# postrm script for ${package_name} +# + +#set -e + +if [ -f /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule +fi + +# source dbconfig-common stuff +if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then + . /usr/share/dbconfig-common/dpkg/postrm + dbc_go drupal-5.1 $@ +fi + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +if [ "$DPKG_DEBUG" = "developer" ]; then + set -x +fi + +package_name="drupal-5.1" +datadir="/var/lib/${package_name}/" +backupdir="${datadir}backups/" +nukedir="/usr/share/${package_name}/" +docdir="/usr/share/doc/${package_name}/" +sqlfile="${docdir}database/database.mysql" +upgradesdir="${docdir}upgrades/" +configdir="/etc/drupal/5.1/" +configfile="${configdir}conf.php" +includefile="${configdir}apache.conf" +dbconfigfile="${configdir}/sites/default/dbconfig.php" +cronfile="/etc/cron.d/${package_name}" + +# Make sure that notifications are sent to user + +db_get ${package_name}/webserver || true +webserver=`echo $RET|sed -e 's/, */ /g'` + +case "$1" in + purge|remove) + + # Un-configure webservers + for i in $webserver; do + if [ -L /etc/$i/conf.d/drupal.conf ]; then + rm -f /etc/$i/conf.d/drupal.conf || true + restart="$i $restart" + fi + done + + servers="apache apache-ssl apache-perl apache2" + . /usr/share/wwwconfig-common/restart.sh + + + # Remove configuration files (conf.php, $SITE.php) +# rm -f /etc/drupal/*.php + rm -f /etc/drupal/sites/default/settings.php + + if [ "$1" = "purge" ]; then + rm -f ${dbconfigfile} + if which ucf >/dev/null 2>&1; then + ucf --purge ${dbconfigfile} + fi + + db_purge || true + + fi + + ;; + + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm 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 + --- drupal-5.1.orig/debian/templates +++ drupal-5.1/debian/templates @@ -0,0 +1,6 @@ +Template: drupal-5.1/webserver +Type: multiselect +Choices: apache2, apache, apache-ssl, apache-perl +Default: apache2 +Description: Web server(s) that should be configured automatically: +Description-fr.UTF-8: Serveur(s) web à configurer automatiquement :