--- gallery2-2.2.1.orig/upgrade/steps/SystemChecksStep.class
+++ gallery2-2.2.1/upgrade/steps/SystemChecksStep.class
@@ -391,7 +391,7 @@
'notice' => sprintf(
_('Error: Some files and or directories in your storage directory are ' .
'not writeable by the webserver user. Run chown -R webserverUser ' .
- '%s OR run chmod -R 777 %s.'),
+ '%s.'),
$gallery->getConfig('data.gallery.base'),
$gallery->getConfig('data.gallery.base'))
);
--- gallery2-2.2.1.orig/MANIFEST
+++ gallery2-2.2.1/MANIFEST
@@ -1,6 +1,5 @@
# $Revision: 16143 $
# File crc32 crc32(crlf) size size(crlf) or R File
-LICENSE 3778559985 3184057198 18011 18351
README.html 1715631958 3279834971 79828 82189
bootstrap.inc 1885928140 3308349794 2129 2187
embed.php 3902714400 2014752743 2684 2751
@@ -115,7 +114,6 @@
install/steps/InstallOtherModulesStep.class 246112376 3940607770 9496 9795
install/steps/MultisiteStep.class 3271967288 4237753300 6349 6529
install/steps/SecureStep.class 840214918 2938791733 2224 2286
-install/steps/StorageSetupStep.class 3761790822 2039876101 10336 10646
install/steps/SystemChecksStep.class 629765889 225773591 19315 19844
install/steps/WelcomeStep.class 3317962444 11445266 1473 1523
install/templates/AdminUserSetupRequest.html 1002631039 3999363617 3689 3805
@@ -140,7 +138,6 @@
install/templates/MultisiteSuccess.html 3637549020 2095741799 206 216
install/templates/NavBar.html 1952304065 963513540 1258 1297
install/templates/Secure.html 1295671378 3610014054 2747 2799
-install/templates/StorageSetupRequest.html 695235472 2507932040 8223 8372
install/templates/StorageSetupSuccess.html 1056692906 3881909576 97 102
install/templates/SystemChecks.html 3858186548 1672036693 1111 1150
install/templates/VersionCheckFailed.html 3142928725 3099485724 1860 1921
@@ -286,13 +283,10 @@
lib/tools/bin/XmlParser.inc 3057478442 3031825396 2398 2476
lib/tools/bin/dbxml.tpl 1189412270 2590422693 1356 1410
lib/tools/bin/entities.tpl 1926639038 871525141 781 796
-lib/tools/bin/extractClassXml.pl 1987079674 2958783943 1422 1484
lib/tools/bin/generate-dbxml.php 2333224653 2178045415 8835 9154
lib/tools/bin/generate-entities.php 2938013899 539769755 6302 6526
lib/tools/bin/generate-maps.php 1343937023 1028299052 3249 3366
lib/tools/bin/generate-sql.php 127434467 3522809060 47684 49160
-lib/tools/bin/getIllegalFunctions.pl 2694286659 3868382365 1197 1248
-lib/tools/bin/makeManifest.pl 3477167924 3700963975 4850 5042
lib/tools/bin/maps.tpl 1915592437 1513454121 482 489
lib/tools/bin/rebuild-modules.pl 2721262392 211589498 465 481
lib/tools/creator/GNUmakefile.tpl 4034380534 480088214 159 166
@@ -369,7 +363,6 @@
lib/tools/stubs/TestCase_stub.class 2643562060 660049028 1009 1041
lib/tools/uml/GNUmakefile 3017185505 848639846 105 113
lib/tools/uml/JavaClasses.xsl 3906486853 3699569723 2176 2227
-lib/tools/uml/make-java-classes.pl 3765624927 2605669075 2734 2840
lib/wz_dragdrop/transparentpixel.gif 140141401 140141401 43 43
lib/wz_dragdrop/wz_dragdrop.js 3756427581 4136821188 38687 40134
lib/yui/animation-min.js 1024449788 3382714815 14489 14490
@@ -477,7 +470,6 @@
upgrade/steps/CleanCacheStep.class 3119751369 888425571 2963 3050
upgrade/steps/FinishedStep.class 3114865067 513654131 1119 1154
upgrade/steps/RedirectToInstallerStep.class 3724236023 3764634579 1683 1734
-upgrade/steps/SystemChecksStep.class 2795141813 3117964273 21940 22538
upgrade/steps/UpgradeCoreModuleStep.class 2476622324 2279631887 6069 6239
upgrade/steps/UpgradeOtherModulesStep.class 2560092579 2444616070 13434 13852
upgrade/steps/WelcomeStep.class 384488481 2778124194 1662 1715
--- gallery2-2.2.1.orig/debian/po/es.po
+++ gallery2-2.2.1/debian/po/es.po
@@ -0,0 +1,159 @@
+# gallery2 po-debconf translation to Spanish
+# Copyright (C) 2005 Software in the Public Interest
+# This file is distributed under the same license as the gallery2 package.
+#
+# Changes:
+# - Initial translation
+# César Gómez Martín
+#
+# - Revision and sync
+# Rudy Godoy Guillén , 2007
+#
+# Traductores, si no conoce el formato PO, merece la pena leer la
+# documentación de gettext, especialmente las secciones dedicadas a este
+# formato, por ejemplo ejecutando:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+# Equipo de traducción al español, por favor, lean antes de traducir
+# los siguientes documentos:
+#
+# - El proyecto de traducción de Debian al español
+# http://www.debian.org/intl/spanish/
+# especialmente las notas de traducción en
+# http://www.debian.org/intl/spanish/notas
+#
+# - La guía de traducción de po's de debconf:
+# /usr/share/doc/po-debconf/README-trans
+# o http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gallery2 2.2.1-1\n"
+"Report-Msgid-Bugs-To: schultmc@debian.org\n"
+"POT-Creation-Date: 2007-02-26 07:35+0100\n"
+"PO-Revision-Date: 2007-05-13 16:06-0500\n"
+"Last-Translator: César Gómez Martín \n"
+"Language-Team: Debian l10n spanish \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Spanish\n"
+"X-Poedit-Country: SPAIN\n"
+"X-Poedit-SourceCharset: utf-8\n"
+
+#. Type: multiselect
+#. Choices
+#: ../gallery2.templates:1001
+msgid "apache, apache-ssl, apache-perl, apache2"
+msgstr "apache, apache-ssl, apache-perl, apache2"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid "Web server to reconfigure automatically:"
+msgstr "Servidor web que le gustaría reconfigurar automáticamente:"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid ""
+"If you do not select a web server to reconfigure automatically, gallery2 "
+"will not be usable until you reconfigure your webserver to enable Gallery2."
+msgstr "Si no selecciona un servidor web para que se reconfigure automáticamente, gallery2 no podrá usarse hasta que reconfigure su servidor web para habilitar Gallery2."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid "Should ${webserver} be restarted?"
+msgstr "¿${webserver} debería reiniciarse?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid ""
+"Remember that in order to activate the new configuration, ${webserver} has "
+"to be restarted. You can also restart ${webserver} by manually executing "
+"'invoke-rc.d ${webserver} restart'."
+msgstr ""
+"Recuerde que para activar la nueva configuración se ha de reiniciar "
+"${webserver}. También puede reiniciar ${webserver} de forma manual mediante "
+"la ejecución de «invoke-rc.d ${webserver} restart»."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid "Configure MySQL?"
+msgstr "¿Desea configurar MySQL?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid ""
+"Please confirm whether Gallery2 should attempt to configure MySQL "
+"automatically. If you do not choose this option, please see the "
+"instructions in /usr/share/doc/gallery2/README.Debian. Do not choose this "
+"option if mysql-server is being installed along with gallery2. Read the "
+"file /usr/share/doc/mysql-serv/README.Debian to enable networking. It may be "
+"wise to set a new MySQL root password when installing mysql-server."
+msgstr "Por favor, confirme si Gallery2 debe intentar configurar MySQL automáticamente. Si no elije esta opción, por favor, lea las instrucciones en /usr/share/doc/gallery2/README.Debian. No elija esta opción si mysql-server se está instalando a la vez que gallery2. Lea el fichero /usr/share/doc/mysql-serv/README.Debian para habilitar las conexiones de red. Al instalar mysql-server sería aconsejable establecer una nueva contraseña para el usuario root de mysql."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid "MySQL Host:"
+msgstr "Servidor MySQL:"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid ""
+"Please mention the name or IP address of the host running MySQL that will "
+"store the Gallery2 database."
+msgstr "Por favor, indique el nombre o dirección IP de la máquina que ejecuta el servidor MySQL que almacenará la base de datos Gallery2."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user who can create a database:"
+msgstr "Usuario administrador de la base de datos que puede crear bases de datos:"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user account capable of creating new databases."
+msgstr ""
+"Cuenta de usuario administrador de la base de datos capaz de crear nuevas "
+"bases de datos."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid "Delete database on purge?"
+msgstr "¿Desea eliminar base de datos al purgar el paquete?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid ""
+"Please choose whether the database should be removed when Gallery2 is purged."
+msgstr "Por favor, elija si se debe eliminar la base de datos cuando se purgue Gallery2."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:7001
+msgid "Gallery2 database name:"
+msgstr "Nombre de la base de datos de Gallery2:"
+
+#. Type: password
+#. Description
+#: ../gallery2.templates:8001
+msgid "Database admin password:"
+msgstr "Contraseña del administrador de la base de datos:"
+
+#~ msgid "Name of the gallery2 database."
+#~ msgstr "Nombre de la base de datos de gallery2."
+
+#~ msgid "Password for the database admin user account."
+#~ msgstr ""
+#~ "Contraseña para la cuenta de usuario del administrador de la base de "
+#~ "datos."
--- gallery2-2.2.1.orig/debian/po/sv.po
+++ gallery2-2.2.1/debian/po/sv.po
@@ -0,0 +1,147 @@
+# 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: gallery2 2.0-1\n"
+"Report-Msgid-Bugs-To: schultmc@debian.org\n"
+"POT-Creation-Date: 2007-02-26 07:35+0100\n"
+"PO-Revision-Date: 2007-02-25 21:37+0100\n"
+"Last-Translator: Daniel Nylander \n"
+"Language-Team: Swedish \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: multiselect
+#. Choices
+#: ../gallery2.templates:1001
+msgid "apache, apache-ssl, apache-perl, apache2"
+msgstr "apache, apache-ssl, apache-perl, apache2"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid "Web server to reconfigure automatically:"
+msgstr "Webbserver att konfigurera automatiskt:"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid ""
+"If you do not select a web server to reconfigure automatically, gallery2 "
+"will not be usable until you reconfigure your webserver to enable Gallery2."
+msgstr ""
+"Om du inte väljer en webbserver att konfigurera om automatiskt kommer "
+"gallery2 inte att vara användbart tills du har konfigurerat om din "
+"webbserver för att aktivera Gallery2."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid "Should ${webserver} be restarted?"
+msgstr "Ska ${webserver} startas om?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid ""
+"Remember that in order to activate the new configuration, ${webserver} has "
+"to be restarted. You can also restart ${webserver} by manually executing "
+"'invoke-rc.d ${webserver} restart'."
+msgstr ""
+"Kom ihåg att för att aktivera den nya konfigurationen måste ${webserver} "
+"startas om. Du kan även starta om ${webserver} manuellt genom att köra "
+"\"invoke-rc.d ${webserver} restart\"."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid "Configure MySQL?"
+msgstr "Konfigurera MySQL?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid ""
+"Please confirm whether Gallery2 should attempt to configure MySQL "
+"automatically. If you do not choose this option, please see the "
+"instructions in /usr/share/doc/gallery2/README.Debian. Do not choose this "
+"option if mysql-server is being installed along with gallery2. Read the "
+"file /usr/share/doc/mysql-serv/README.Debian to enable networking. It may be "
+"wise to set a new MySQL root password when installing mysql-server."
+msgstr ""
+"Bekräfta huruvida Gallery2 ska försöka att konfigurera MySQL automatiskt. Om "
+"du inte väljer det här alternativet, läs instruktionerna i /usr/share/doc/"
+"gallery2/README.Debian. Välj inte det här alternativet om paketet mysql-"
+"server blir installerat samtidigt som gallery2. Läs filen /usr/share/doc/"
+"mysql-serv/README.Debian för hur man aktiverar nätverksfunktionen. Det kan "
+"vara smart att ställa in ett nytt root-lösenord för MySQL efter att mysql-"
+"server har installerats."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid "MySQL Host:"
+msgstr "MySQL-värd:"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid ""
+"Please mention the name or IP address of the host running MySQL that will "
+"store the Gallery2 database."
+msgstr ""
+"Ange namnet eller IP-adressen till den värd som kör MySQL och som ska lagra "
+"Gallery2-databasen."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user who can create a database:"
+msgstr "Databasadministratörens användare som kan skapa en databas:"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user account capable of creating new databases."
+msgstr "Databasadministratörens användarkonto som kan skapa nya databaser."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid "Delete database on purge?"
+msgstr "Ta bort databasen vid avinstallation?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid ""
+"Please choose whether the database should be removed when Gallery2 is purged."
+msgstr "Välj huruvida databasen ska tas bort när Gallery2 avinstalleras."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:7001
+msgid "Gallery2 database name:"
+msgstr "Databasnamn för Gallery2:"
+
+#. Type: password
+#. Description
+#: ../gallery2.templates:8001
+msgid "Database admin password:"
+msgstr "Lösenord för databasadministratören:"
+
+#~ msgid "Name of the gallery2 database."
+#~ msgstr "Namn på gallery2 databasen."
+
+#~ msgid "Password for the database admin user account."
+#~ msgstr "Lösenordet för databas admin användaren."
--- gallery2-2.2.1.orig/debian/po/gl.po
+++ gallery2-2.2.1/debian/po/gl.po
@@ -0,0 +1,142 @@
+# Galician translation of gallery2's debconf templates
+# This file is distributed under the same license as the gallery2 package.
+# Jacobo Tarrio , 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gallery2\n"
+"Report-Msgid-Bugs-To: schultmc@debian.org\n"
+"POT-Creation-Date: 2007-02-26 07:35+0100\n"
+"PO-Revision-Date: 2007-02-25 23:38+0100\n"
+"Last-Translator: Jacobo Tarrio \n"
+"Language-Team: Galician \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: multiselect
+#. Choices
+#: ../gallery2.templates:1001
+msgid "apache, apache-ssl, apache-perl, apache2"
+msgstr "apache, apache-ssl, apache-perl, apache2"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid "Web server to reconfigure automatically:"
+msgstr "Servidor web a reconfigurar automaticamente:"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid ""
+"If you do not select a web server to reconfigure automatically, gallery2 "
+"will not be usable until you reconfigure your webserver to enable Gallery2."
+msgstr ""
+"Se non escolle un servidor web a reconfigurar automaticamente, gallery2 non "
+"ha ser utilizable ata que reconfigure o seu servidor web para activar "
+"Gallery2."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid "Should ${webserver} be restarted?"
+msgstr "¿Debería reiniciarse ${webserver}?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid ""
+"Remember that in order to activate the new configuration, ${webserver} has "
+"to be restarted. You can also restart ${webserver} by manually executing "
+"'invoke-rc.d ${webserver} restart'."
+msgstr ""
+"Lembre que para activar a nova configuración hai que reiniciar ${webserver}. "
+"Tamén pode reiniciar ${webserver} executando manualmente \"invoke-rc.d "
+"${webserver} restart\"."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid "Configure MySQL?"
+msgstr "¿Configurar MySQL?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid ""
+"Please confirm whether Gallery2 should attempt to configure MySQL "
+"automatically. If you do not choose this option, please see the "
+"instructions in /usr/share/doc/gallery2/README.Debian. Do not choose this "
+"option if mysql-server is being installed along with gallery2. Read the "
+"file /usr/share/doc/mysql-serv/README.Debian to enable networking. It may be "
+"wise to set a new MySQL root password when installing mysql-server."
+msgstr ""
+"Confirme se quere que Gallery2 trate de configurar MySQL automaticamente. Se "
+"non escolle esta opción, consulte as instruccións de /usr/share/doc/gallery2/"
+"README.Debian. Non escolla esta opción se está a instalar mysql-server ao "
+"mesmo tempo que gallery2. Consulte o ficheiro /usr/share/doc/mysql-server/"
+"README.Debian para activar a rede. Pode ser unha boa idea establecer un novo "
+"contrasinal de administrador de MySQL ao instalar mysql-server."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid "MySQL Host:"
+msgstr "Servidor MySQL:"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid ""
+"Please mention the name or IP address of the host running MySQL that will "
+"store the Gallery2 database."
+msgstr ""
+"Introduza o nome ou IP do servidor MySQL que ha gardar a base de datos de "
+"Gallery2."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user who can create a database:"
+msgstr ""
+"Usuario administrador da base de datos que pode crear unha base de datos:"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user account capable of creating new databases."
+msgstr ""
+"Conta de usuario administrador da base de datos que pode crear novas bases "
+"de datos."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid "Delete database on purge?"
+msgstr "¿Eliminar a base de datos ao purgar?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid ""
+"Please choose whether the database should be removed when Gallery2 is purged."
+msgstr "Indique se quere que se elimine a base de datos ao purgar Gallery2."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:7001
+msgid "Gallery2 database name:"
+msgstr "Nome da base de datos de Gallery2:"
+
+#. Type: password
+#. Description
+#: ../gallery2.templates:8001
+msgid "Database admin password:"
+msgstr "Contrasinal do administrador da base de datos:"
+
+#~ msgid "Name of the gallery2 database."
+#~ msgstr "Nome da base de datos de gallery2."
+
+#~ msgid "Password for the database admin user account."
+#~ msgstr "Contrasinal para a conta do administrador da base de datos."
--- gallery2-2.2.1.orig/debian/po/ar.po
+++ gallery2-2.2.1/debian/po/ar.po
@@ -0,0 +1,136 @@
+# translation of ar.po to
+#
+# 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.
+# Ossama M. Khayat, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gallery2_0.0+2.0.beta3-1\n"
+"Report-Msgid-Bugs-To: schultmc@debian.org\n"
+"POT-Creation-Date: 2007-02-26 07:35+0100\n"
+"PO-Revision-Date: 2005-07-19 19:37+0300\n"
+"Last-Translator: Ossama M. Khayat \n"
+"Language-Team: Arabic \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
+#. Choices
+#: ../gallery2.templates:1001
+msgid "apache, apache-ssl, apache-perl, apache2"
+msgstr "apache, apache-ssl, apache-perl, apache2"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+#, fuzzy
+msgid "Web server to reconfigure automatically:"
+msgstr "أي خادم وب تودّ إعادة تهيئته تلقائياً؟"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+#, fuzzy
+msgid ""
+"If you do not select a web server to reconfigure automatically, gallery2 "
+"will not be usable until you reconfigure your webserver to enable Gallery2."
+msgstr ""
+"إن لم تقم باختيار خادم وب لإعادة تهيئته تلقائياً، فلكن تكون قادراً على استخدام "
+"gallery2 حتى تقوم بإعادة تهيئة خادم الوب لتمكين gallery2."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid "Should ${webserver} be restarted?"
+msgstr "هل يجب إعادة تشغيل ${webserver}؟"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+#, fuzzy
+msgid ""
+"Remember that in order to activate the new configuration, ${webserver} has "
+"to be restarted. You can also restart ${webserver} by manually executing "
+"'invoke-rc.d ${webserver} restart'."
+msgstr ""
+"تذكر أنه كي تفعّل التهيئة الجديدة يجب إعادة تشغيل ${webserver}. يمكن أيضاً "
+"إعادة تشغيل ${webserver} يدوياً بتنفيذ الأمر rc.d ${webserver} restart."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid "Configure MySQL?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid ""
+"Please confirm whether Gallery2 should attempt to configure MySQL "
+"automatically. If you do not choose this option, please see the "
+"instructions in /usr/share/doc/gallery2/README.Debian. Do not choose this "
+"option if mysql-server is being installed along with gallery2. Read the "
+"file /usr/share/doc/mysql-serv/README.Debian to enable networking. It may be "
+"wise to set a new MySQL root password when installing mysql-server."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid "MySQL Host:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid ""
+"Please mention the name or IP address of the host running MySQL that will "
+"store the Gallery2 database."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user who can create a database:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user account capable of creating new databases."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid "Delete database on purge?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid ""
+"Please choose whether the database should be removed when Gallery2 is purged."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:7001
+msgid "Gallery2 database name:"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../gallery2.templates:8001
+msgid "Database admin password:"
+msgstr ""
--- gallery2-2.2.1.orig/debian/po/templates.pot
+++ gallery2-2.2.1/debian/po/templates.pot
@@ -0,0 +1,121 @@
+# 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: schultmc@debian.org\n"
+"POT-Creation-Date: 2007-02-26 07:35+0100\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
+#. Choices
+#: ../gallery2.templates:1001
+msgid "apache, apache-ssl, apache-perl, apache2"
+msgstr ""
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid "Web server to reconfigure automatically:"
+msgstr ""
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid ""
+"If you do not select a web server to reconfigure automatically, gallery2 "
+"will not be usable until you reconfigure your webserver to enable Gallery2."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid "Should ${webserver} be restarted?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid ""
+"Remember that in order to activate the new configuration, ${webserver} has "
+"to be restarted. You can also restart ${webserver} by manually executing "
+"'invoke-rc.d ${webserver} restart'."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid "Configure MySQL?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid ""
+"Please confirm whether Gallery2 should attempt to configure MySQL "
+"automatically. If you do not choose this option, please see the "
+"instructions in /usr/share/doc/gallery2/README.Debian. Do not choose this "
+"option if mysql-server is being installed along with gallery2. Read the "
+"file /usr/share/doc/mysql-serv/README.Debian to enable networking. It may be "
+"wise to set a new MySQL root password when installing mysql-server."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid "MySQL Host:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid ""
+"Please mention the name or IP address of the host running MySQL that will "
+"store the Gallery2 database."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user who can create a database:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user account capable of creating new databases."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid "Delete database on purge?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid ""
+"Please choose whether the database should be removed when Gallery2 is purged."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:7001
+msgid "Gallery2 database name:"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../gallery2.templates:8001
+msgid "Database admin password:"
+msgstr ""
--- gallery2-2.2.1.orig/debian/po/ja.po
+++ gallery2-2.2.1/debian/po/ja.po
@@ -0,0 +1,120 @@
+# 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.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gallery2\n"
+"Report-Msgid-Bugs-To: schultmc@debian.org\n"
+"POT-Creation-Date: 2007-02-26 07:35+0100\n"
+"PO-Revision-Date: 2007-02-28 08:07+0900\n"
+"Last-Translator: Kenshi Muto \n"
+"Language-Team: Japanese \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: multiselect
+#. Choices
+#: ../gallery2.templates:1001
+msgid "apache, apache-ssl, apache-perl, apache2"
+msgstr "apache, apache-ssl, apache-perl, apache2"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid "Web server to reconfigure automatically:"
+msgstr "自動的に再設定する Web サーバ:"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid ""
+"If you do not select a web server to reconfigure automatically, gallery2 "
+"will not be usable until you reconfigure your webserver to enable Gallery2."
+msgstr "自動再設定する Web サーバを選択しない場合、gallery2 はあなたがあなたの Web サーバで Gallery2 を有効にするよう再設定するまで利用できません。"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid "Should ${webserver} be restarted?"
+msgstr "${webserver} を再起動しますか?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid ""
+"Remember that in order to activate the new configuration, ${webserver} has "
+"to be restarted. You can also restart ${webserver} by manually executing "
+"'invoke-rc.d ${webserver} restart'."
+msgstr "新しい設定をアクティブにするために ${webserver} を再起動する必要があることを忘れないでください。手動で invoke-rc.d ${webserver} restart を実行することでも ${webserver} を再起動できます。"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid "Configure MySQL?"
+msgstr "MySQL を設定しますか?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid ""
+"Please confirm whether Gallery2 should attempt to configure MySQL "
+"automatically. If you do not choose this option, please see the "
+"instructions in /usr/share/doc/gallery2/README.Debian. Do not choose this "
+"option if mysql-server is being installed along with gallery2. Read the "
+"file /usr/share/doc/mysql-serv/README.Debian to enable networking. It may be "
+"wise to set a new MySQL root password when installing mysql-server."
+msgstr "Gallery2 で自動的に MySQL を設定すべきかどうか確認してください。「いいえ」と答える場合、/usr/share/doc/gallery2/README.Debian の説明を参照してください。mysql-server を gallery2 と同時にインストールしている場合は「いいえ」を選んでください。ネットワーキングを有効するために、/usr/share/doc/mysql-serv/README.Debian ファイルを読んでください。mysql-server のインストール時には新しい mysql root パスワードを設定するのが賢明でしょう。"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid "MySQL Host:"
+msgstr "MySQL ホスト:"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid ""
+"Please mention the name or IP address of the host running MySQL that will "
+"store the Gallery2 database."
+msgstr "Gallery2 データベースを格納する MySQL を実行するホストの名前または IP を記述してください。"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user who can create a database:"
+msgstr "データベースを作成できるデータベース管理ユーザ:"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user account capable of creating new databases."
+msgstr "新しいデータベースの作成能力を持つデータベース管理ユーザアカウント。"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid "Delete database on purge?"
+msgstr "完全削除時にデータベースを削除しますか?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid ""
+"Please choose whether the database should be removed when Gallery2 is purged."
+msgstr "Gallery2 を完全削除するときに、データベースも削除しますか?"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:7001
+msgid "Gallery2 database name:"
+msgstr "Gallery2 データベース名:"
+
+#. Type: password
+#. Description
+#: ../gallery2.templates:8001
+msgid "Database admin password:"
+msgstr "データベース管理パスワード:"
--- gallery2-2.2.1.orig/debian/po/cs.po
+++ gallery2-2.2.1/debian/po/cs.po
@@ -0,0 +1,143 @@
+#
+# 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: gallery2\n"
+"Report-Msgid-Bugs-To: schultmc@debian.org\n"
+"POT-Creation-Date: 2007-02-26 07:35+0100\n"
+"PO-Revision-Date: 2007-02-26 21:00+0100\n"
+"Last-Translator: Miroslav Kure \n"
+"Language-Team: Czech \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: multiselect
+#. Choices
+#: ../gallery2.templates:1001
+msgid "apache, apache-ssl, apache-perl, apache2"
+msgstr "apache, apache-ssl, apache-perl, apache2"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid "Web server to reconfigure automatically:"
+msgstr "Webový server, který se má nastavit automaticky:"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid ""
+"If you do not select a web server to reconfigure automatically, gallery2 "
+"will not be usable until you reconfigure your webserver to enable Gallery2."
+msgstr ""
+"Pokud nevyberete webový server, který se má nastavit automaticky, nebude "
+"Gallery2 fungovat do té doby, dokud ji ve svém webovém serveru nepovolíte."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid "Should ${webserver} be restarted?"
+msgstr "Má se ${webserver} restartovat?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid ""
+"Remember that in order to activate the new configuration, ${webserver} has "
+"to be restarted. You can also restart ${webserver} by manually executing "
+"'invoke-rc.d ${webserver} restart'."
+msgstr ""
+"Pamatujte, že aby se nové nastavení aktivovalo, musí se ${webserver} "
+"restartovat. ${webserver} také můžete restartovat ručně příkazem 'invoke-rc."
+"d ${webserver} restart'."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid "Configure MySQL?"
+msgstr "Nastavit MySQL?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid ""
+"Please confirm whether Gallery2 should attempt to configure MySQL "
+"automatically. If you do not choose this option, please see the "
+"instructions in /usr/share/doc/gallery2/README.Debian. Do not choose this "
+"option if mysql-server is being installed along with gallery2. Read the "
+"file /usr/share/doc/mysql-serv/README.Debian to enable networking. It may be "
+"wise to set a new MySQL root password when installing mysql-server."
+msgstr ""
+"Potvrďte, zda se má Gallery2 pokusit o automatické nastavení MySQL. Pokud "
+"ne, přečtěte si návod v souboru /usr/share/doc/gallery2/README.Debian. "
+"Jestliže se mysql-server instaluje současně s gallery2, odpovězte záporně. "
+"Pro povolení síťování si prosím přečtěte /usr/share/doc/mysql-serv/README."
+"Debian. Při instalaci balíku mysql-server je moudré nastavit správcovské "
+"heslo."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid "MySQL Host:"
+msgstr "Počítač s MySQL:"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid ""
+"Please mention the name or IP address of the host running MySQL that will "
+"store the Gallery2 database."
+msgstr ""
+"Zadejte prosím jméno nebo IP adresu počítače, na kterém běží server MySQL, "
+"jež bude uchovávat databázi Gallery2."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user who can create a database:"
+msgstr "Administrátor databáze"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user account capable of creating new databases."
+msgstr ""
+"Účet databázového uživatele, který má oprávnění vytvářet nové databáze."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid "Delete database on purge?"
+msgstr "Smazat databázi při vyčištění?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid ""
+"Please choose whether the database should be removed when Gallery2 is purged."
+msgstr ""
+"Zvolte, zda se má při vyčištění Gallery2 ze systému odstranit i databáze."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:7001
+msgid "Gallery2 database name:"
+msgstr "Jméno databáze Gallery2:"
+
+#. Type: password
+#. Description
+#: ../gallery2.templates:8001
+msgid "Database admin password:"
+msgstr "Heslo administrátora databáze:"
--- gallery2-2.2.1.orig/debian/po/ru.po
+++ gallery2-2.2.1/debian/po/ru.po
@@ -0,0 +1,137 @@
+# translation of gallery2_2.1.2-1_debconf_ru.po to Russian
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Yuri Kozlov , 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: 2.1.2-1\n"
+"Report-Msgid-Bugs-To: schultmc@debian.org\n"
+"POT-Creation-Date: 2007-02-26 07:35+0100\n"
+"PO-Revision-Date: 2007-02-26 21:51+0300\n"
+"Last-Translator: Yuri Kozlov \n"
+"Language-Team: Russian \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
+"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#. Type: multiselect
+#. Choices
+#: ../gallery2.templates:1001
+msgid "apache, apache-ssl, apache-perl, apache2"
+msgstr "apache, apache-ssl, apache-perl, apache2"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid "Web server to reconfigure automatically:"
+msgstr "Веб-сервер для настройки автоматически:"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid ""
+"If you do not select a web server to reconfigure automatically, gallery2 "
+"will not be usable until you reconfigure your webserver to enable Gallery2."
+msgstr ""
+"Если вы не выберите веб-сервер для настройки автоматически, gallery2 не "
+"будет работать, пока вы не перенастроите веб-сервер для активирования "
+"Gallery2."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid "Should ${webserver} be restarted?"
+msgstr "Перезапустить ${webserver}?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid ""
+"Remember that in order to activate the new configuration, ${webserver} has "
+"to be restarted. You can also restart ${webserver} by manually executing "
+"'invoke-rc.d ${webserver} restart'."
+msgstr ""
+"Чтобы новая конфигурация начала действовать, ${webserver} нужно "
+"перезапустить. Также вы можете перезапустить ${webserver} вручную, выполнив "
+"команду 'invoke-rc.d ${webserver} restart'."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid "Configure MySQL?"
+msgstr "Настроить MySQL?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid ""
+"Please confirm whether Gallery2 should attempt to configure MySQL "
+"automatically. If you do not choose this option, please see the "
+"instructions in /usr/share/doc/gallery2/README.Debian. Do not choose this "
+"option if mysql-server is being installed along with gallery2. Read the "
+"file /usr/share/doc/mysql-serv/README.Debian to enable networking. It may be "
+"wise to set a new MySQL root password when installing mysql-server."
+msgstr ""
+"Подтвердите, что Gallery2 должен попытаться настроить MySQL автоматически. "
+"Если вы ответите отрицательно, прочитайте инструкции в файле /usr/share/doc/"
+"gallery2/README.Debian. Не отвечайте положительно, если устанавливаете mysql-"
+"server вместе с gallery2. Прочитайте файл /usr/share/doc/mysql-serv/README."
+"Debian, чтобы включить сетевые настройки. При установке mysql-server было бы "
+"правильно задать новый пароль администратора MySQL."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid "MySQL Host:"
+msgstr "Хост с MySQL:"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid ""
+"Please mention the name or IP address of the host running MySQL that will "
+"store the Gallery2 database."
+msgstr ""
+"Введите имя или IP-адес хоста с запущенным MySQL, в котором будет храниться "
+"база данных Gallery2."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user who can create a database:"
+msgstr "Администратор баз данных с правами создания баз данных:"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user account capable of creating new databases."
+msgstr "Администратор баз данных, который может создавать новые базы данных."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid "Delete database on purge?"
+msgstr "Удалить базу данных при вычистке?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid ""
+"Please choose whether the database should be removed when Gallery2 is purged."
+msgstr "Укажите, нужно ли удалять базу данных при вычистке Gallery2."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:7001
+msgid "Gallery2 database name:"
+msgstr "Имя базы данных Gallery2:"
+
+#. Type: password
+#. Description
+#: ../gallery2.templates:8001
+msgid "Database admin password:"
+msgstr "Пароль администратора базы данных:"
--- gallery2-2.2.1.orig/debian/po/nl.po
+++ gallery2-2.2.1/debian/po/nl.po
@@ -0,0 +1,108 @@
+# 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.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gallery\n"
+"Report-Msgid-Bugs-To: schultmc@debian.org\n"
+"POT-Creation-Date: 2007-02-26 07:35+0100\n"
+"PO-Revision-Date: 2007-03-09 18:53+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"
+"X-Poedit-Language: Dutch\n"
+
+#. Type: multiselect
+#. Choices
+#: ../gallery2.templates:1001
+msgid "apache, apache-ssl, apache-perl, apache2"
+msgstr "apache, apache-ssl, apache-perl, apache2"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid "Web server to reconfigure automatically:"
+msgstr "Automatisch te configureren webserver:"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid "If you do not select a web server to reconfigure automatically, gallery2 will not be usable until you reconfigure your webserver to enable Gallery2."
+msgstr "Als u ervoor kiest om geen enkele webserver automatisch te laten herconfigureren zal gallery2 pas bruikbaar zijn eens u uw webserver heeft ingesteld om gallery2 te activeren."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid "Should ${webserver} be restarted?"
+msgstr "Wilt u dat ${webserver} herstart wordt?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid "Remember that in order to activate the new configuration, ${webserver} has to be restarted. You can also restart ${webserver} by manually executing 'invoke-rc.d ${webserver} restart'."
+msgstr "Vergeet niet dat ${webserver} herstart moet worden om de nieuwe configuratie van kracht te maken. U kunt ${webserver} ook handmatig herstarten via het commando 'invoke-rc.d ${webserver} restart'."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid "Configure MySQL?"
+msgstr "Wilt u dat MySQL ingesteld wordt?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid "Please confirm whether Gallery2 should attempt to configure MySQL automatically. If you do not choose this option, please see the instructions in /usr/share/doc/gallery2/README.Debian. Do not choose this option if mysql-server is being installed along with gallery2. Read the file /usr/share/doc/mysql-serv/README.Debian to enable networking. It may be wise to set a new MySQL root password when installing mysql-server."
+msgstr "Gelieve te bevestigen dat u gallery2 wil laten proberen om MySQL automatisch in te stellen. Als u dit afslaat zult u de nodige aanpassingen zelf moeten uitvoeren, instructies hiervoor vindt u in /usr/share/doc/gallery2/README.Debian. Opgelet: kies niet voor deze optie als u mysql-server tegelijk met gallery2 installeert. Informatie over het activeren van netwerktoegang vindt u in /usr/share/doc/mysql-serv/README.Debian. Het is verstandig om een nieuw MySQL-beheerderswachtwoord in te stellen wanneer u mysql-server installeert. "
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid "MySQL Host:"
+msgstr "MySQL-computer:"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid "Please mention the name or IP address of the host running MySQL that will store the Gallery2 database."
+msgstr "Wat is de naam of het IP-adres van de MySQL-server waar de gallery2-database geplaatst wordt."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user who can create a database:"
+msgstr "Databasebeheerder die een database kan aanmaken:"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user account capable of creating new databases."
+msgstr "De databasebeheerder die in staat is om nieuwe databases aan te maken."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid "Delete database on purge?"
+msgstr "Wilt u de database verwijderen tijdens wissen van dit pakket?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid "Please choose whether the database should be removed when Gallery2 is purged."
+msgstr "Gelieve aan te geven of u wilt dat bij wissen van gallery2 ook de database verwijderd wordt."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:7001
+msgid "Gallery2 database name:"
+msgstr "Naam van de gallery2-database:"
+
+#. Type: password
+#. Description
+#: ../gallery2.templates:8001
+msgid "Database admin password:"
+msgstr "Wachtwoord van de databasebeheerder:"
+
--- gallery2-2.2.1.orig/debian/po/pt.po
+++ gallery2-2.2.1/debian/po/pt.po
@@ -0,0 +1,141 @@
+# Portuguese translation of gallery2 debconf messages.
+# This file is distributed under the same license as the gallery2 package.
+# Rui Branco , 2006.
+# 25-02-07 - Rui Branco - 11f
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gallery2 2.1.1-1.1\n"
+"Report-Msgid-Bugs-To: schultmc@debian.org\n"
+"POT-Creation-Date: 2007-02-26 07:35+0100\n"
+"PO-Revision-Date: 2007-02-25 20:48+0000\n"
+"Last-Translator: Rui Branco \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
+#. Choices
+#: ../gallery2.templates:1001
+msgid "apache, apache-ssl, apache-perl, apache2"
+msgstr "apache, apache-ssl, apache-perl, apache2"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid "Web server to reconfigure automatically:"
+msgstr "Que servidor web deseja reconfigurar automaticamente:"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid ""
+"If you do not select a web server to reconfigure automatically, gallery2 "
+"will not be usable until you reconfigure your webserver to enable Gallery2."
+msgstr ""
+"Se não seleccionar um servidor web para reconfigurar automaticamente, o "
+"gallery2 não funcionará até que reconfigure o seu servidor web para que "
+"active o Gallery2."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid "Should ${webserver} be restarted?"
+msgstr "Deverá o ${webserver} ser reiniciado?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid ""
+"Remember that in order to activate the new configuration, ${webserver} has "
+"to be restarted. You can also restart ${webserver} by manually executing "
+"'invoke-rc.d ${webserver} restart'."
+msgstr ""
+"Lembre-se que para activar a nova configuração, o ${webserver} terá que ser "
+"reiniciado. Pode também reiniciar o ${webserver} manualmente executando "
+"'invoke-rc.d ${webserver} restart'."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid "Configure MySQL?"
+msgstr "Configurar o MySQL?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid ""
+"Please confirm whether Gallery2 should attempt to configure MySQL "
+"automatically. If you do not choose this option, please see the "
+"instructions in /usr/share/doc/gallery2/README.Debian. Do not choose this "
+"option if mysql-server is being installed along with gallery2. Read the "
+"file /usr/share/doc/mysql-serv/README.Debian to enable networking. It may be "
+"wise to set a new MySQL root password when installing mysql-server."
+msgstr ""
+"Por favor confirme se quer que o Gallery2 tente configurar o MySQL "
+"automaticamente. Se não escolher esta opção por favor veja as instruções em /"
+"usr/share/doc/gallery2/README.Debian. Não escolha esta opção se o servidor-"
+"mysql está a ser instalado ao mesmo tempo que o gallery2. Leia o ficheiro /"
+"usr/share/doc/mysql-serv/README.Debian para activar a ligação de rede. Pode "
+"ser inteligente definir uma nova palavra-chave de administrador MySQL quando "
+"instalar o servidor-mysql."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid "MySQL Host:"
+msgstr "Máquina anfitriã MySQL:"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid ""
+"Please mention the name or IP address of the host running MySQL that will "
+"store the Gallery2 database."
+msgstr ""
+"Por favor mencione o nome ou IP da máquina anfitriã a correr MySQL que "
+"guardará a base de dados do Gallery2."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user who can create a database:"
+msgstr ""
+"Utilizador com privilégios de administração da base de dados que possa criar "
+"a base de dados."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user account capable of creating new databases."
+msgstr ""
+"Conta de utilizador com privilégios de administração da base de dados que "
+"possa criar novas bases de dados."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid "Delete database on purge?"
+msgstr "Apagar bases de dados durante a remoção (purge)?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid ""
+"Please choose whether the database should be removed when Gallery2 is purged."
+msgstr ""
+"Escolha se deseja que a base de dados seja removida quando o Gallery2 for "
+"purgado."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:7001
+msgid "Gallery2 database name:"
+msgstr "Nome da base de dados Gallery2:"
+
+#. Type: password
+#. Description
+#: ../gallery2.templates:8001
+msgid "Database admin password:"
+msgstr "Palavra-chave do administrador da base de dados:"
--- gallery2-2.2.1.orig/debian/po/eu.po
+++ gallery2-2.2.1/debian/po/eu.po
@@ -0,0 +1,144 @@
+# translation of eu2.po to librezale
+#
+# 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.
+#
+# Piarres Beobide , 2005, 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: eu2\n"
+"Report-Msgid-Bugs-To: schultmc@debian.org\n"
+"POT-Creation-Date: 2007-02-26 07:35+0100\n"
+"PO-Revision-Date: 2007-02-25 23:19+0100\n"
+"Last-Translator: Piarres Beobide \n"
+"Language-Team: librezale \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+"Plural-Forms: nplurals=2; plural=(n != 1)\n"
+
+#. Type: multiselect
+#. Choices
+#: ../gallery2.templates:1001
+msgid "apache, apache-ssl, apache-perl, apache2"
+msgstr "apache, apache-ssl, apache-perl, apache2"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid "Web server to reconfigure automatically:"
+msgstr "Automatikoki konfiguratu behar den zerbitzaria:"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid ""
+"If you do not select a web server to reconfigure automatically, gallery2 "
+"will not be usable until you reconfigure your webserver to enable Gallery2."
+msgstr ""
+"Automatikoki konfiguratzeko zerbitzaririk ez hautatuaz gero, gallery2 ezin "
+"izango duzu erabili web zerbitzaria gallery2 gaitzeko birkonfiguratu arte."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid "Should ${webserver} be restarted?"
+msgstr "${webserver} berrabiarazi behar al da?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid ""
+"Remember that in order to activate the new configuration, ${webserver} has "
+"to be restarted. You can also restart ${webserver} by manually executing "
+"'invoke-rc.d ${webserver} restart'."
+msgstr ""
+"Gogoratu konfigurazio berria martxan ipintzeko ${webserver} berrabiarazi "
+"egin behar dela. ${webserver} eskuz berrabiarazi dezakezu 'invoke-rc.d "
+"${webserver} restart' eginez."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid "Configure MySQL?"
+msgstr "MySQL Konfiguratu?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid ""
+"Please confirm whether Gallery2 should attempt to configure MySQL "
+"automatically. If you do not choose this option, please see the "
+"instructions in /usr/share/doc/gallery2/README.Debian. Do not choose this "
+"option if mysql-server is being installed along with gallery2. Read the "
+"file /usr/share/doc/mysql-serv/README.Debian to enable networking. It may be "
+"wise to set a new MySQL root password when installing mysql-server."
+msgstr ""
+"Mesedez berretsi Gallery2 MySQL automatikoki konfiguratu behar den Ezezkoan "
+"begiratu /usr/share/doc/gallery2/README.Debian fitxategiko argibideak. Ez "
+"aukera hau hautatu MySQL gallery2 instalatzeko momentuan instalatua izango "
+"bada. Begiratu /usr/share/doc/mysql-serv/README.Debian sarea gaitzeko. "
+"Zentzuduna da mysql root pasahitz berri bat ezartzea mysql-server "
+"instalatzerakoan."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid "MySQL Host:"
+msgstr "MySQL Ostalaria:"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid ""
+"Please mention the name or IP address of the host running MySQL that will "
+"store the Gallery2 database."
+msgstr ""
+"Gallery2 datu-basea duen MysQL abiarazirik duen ostalariaren izen edo ip "
+"helbidea ezarri."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user who can create a database:"
+msgstr "Datu-base bat sortu dezakeen datubase kudeaketa erabiltzailea"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user account capable of creating new databases."
+msgstr "Datu-base sortzeko ahalmena duen datu-base kudeaketa erabiltzailea."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid "Delete database on purge?"
+msgstr "Ezabatu datu-basea paketea kentzerakoan?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid ""
+"Please choose whether the database should be removed when Gallery2 is purged."
+msgstr ""
+"Mesedez hautatu datu-basea ezabatu egin behar al den Gallery2 kentzerakoan."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:7001
+msgid "Gallery2 database name:"
+msgstr "Gallery datu-base izena:"
+
+#. Type: password
+#. Description
+#: ../gallery2.templates:8001
+msgid "Database admin password:"
+msgstr "Datu-base kudeatzaile pasahitza"
--- gallery2-2.2.1.orig/debian/po/POTFILES.in
+++ gallery2-2.2.1/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] gallery2.templates
--- gallery2-2.2.1.orig/debian/po/de.po
+++ gallery2-2.2.1/debian/po/de.po
@@ -0,0 +1,143 @@
+# Translation of gallery2 debconf templates to German
+# Copyright (C) Helge Kreutzmann , 2006, 2007.
+# This file is distributed under the same license as the gallery2 package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gallery2 2.1.2-1\n"
+"Report-Msgid-Bugs-To: schultmc@debian.org\n"
+"POT-Creation-Date: 2007-02-26 07:35+0100\n"
+"PO-Revision-Date: 2007-02-25 21:46+0100\n"
+"Last-Translator: Helge Kreutzmann \n"
+"Language-Team: de \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: multiselect
+#. Choices
+#: ../gallery2.templates:1001
+msgid "apache, apache-ssl, apache-perl, apache2"
+msgstr "Apache, Apache-ssl, Apache-perl, Apache2"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid "Web server to reconfigure automatically:"
+msgstr "Web-Server, der automatisch rekonfiguriert werden soll:"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid ""
+"If you do not select a web server to reconfigure automatically, gallery2 "
+"will not be usable until you reconfigure your webserver to enable Gallery2."
+msgstr ""
+"Falls Sie keinen Web-Server für für die automatische Rekonfiguration "
+"auswählen, wird Gallery2 nicht funktionieren, bis Sie einen Web-Server für "
+"Gallery2 aktiviert haben."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid "Should ${webserver} be restarted?"
+msgstr "Soll ${webserver} neu gestartet werden?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid ""
+"Remember that in order to activate the new configuration, ${webserver} has "
+"to be restarted. You can also restart ${webserver} by manually executing "
+"'invoke-rc.d ${webserver} restart'."
+msgstr ""
+"Beachten Sie, dass ${webserver} neu gestartet werden muss, damit die neue "
+"Konfiguration aktiviert wird. Sie können ${webserver} auch über »invoke-rc.d "
+"${webserver} restart« neu starten."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid "Configure MySQL?"
+msgstr "Konfiguriere MySQL?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid ""
+"Please confirm whether Gallery2 should attempt to configure MySQL "
+"automatically. If you do not choose this option, please see the "
+"instructions in /usr/share/doc/gallery2/README.Debian. Do not choose this "
+"option if mysql-server is being installed along with gallery2. Read the "
+"file /usr/share/doc/mysql-serv/README.Debian to enable networking. It may be "
+"wise to set a new MySQL root password when installing mysql-server."
+msgstr ""
+"Bitte bestätigen Sie, ob Gallery2 versuchen soll, MySQL automatisch zu "
+"konfigurieren. Falls Sie diese Option nicht wählen, lesen Sie die "
+"Anweisungen in /usr/share/doc/gallery2/README.Debian. Lehnen Sie dies ab, "
+"falls MySQL-Server gleichzeitig mit Gallery2 installiert wird. Lesen Sie die "
+"Datei /usr/share/doc/mysql-serv/README.Debian um Netzzugriff zu aktivieren. "
+"Es kann sinnvoll sein, ein neues MySQL Root-Passwort zu setzen, wenn Sie den "
+"MySQL-Server installieren."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid "MySQL Host:"
+msgstr "MySQL-Rechner:"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid ""
+"Please mention the name or IP address of the host running MySQL that will "
+"store the Gallery2 database."
+msgstr ""
+"Der Name oder die IP des Rechners, auf dem der MySQL läuft, der die Gallery2-"
+"Datenbank speichern wird."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user who can create a database:"
+msgstr "Datenbankadministrator, der Datenbanken erzeugen kann"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user account capable of creating new databases."
+msgstr ""
+"Datenbank-Administratorbenutzerkonto, dass neue Datenbanken erstellen kann."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid "Delete database on purge?"
+msgstr "Datenbank beim vollständigen Löschen entfernen?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid ""
+"Please choose whether the database should be removed when Gallery2 is purged."
+msgstr ""
+"Bitte wählen Sie aus, ob die Datenbank entfernt werden soll, wenn Gallery2 "
+"vollständig gelöscht wird."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:7001
+msgid "Gallery2 database name:"
+msgstr "Gallery2 Datenbank-Name:"
+
+#. Type: password
+#. Description
+#: ../gallery2.templates:8001
+msgid "Database admin password:"
+msgstr "Datenbank Administratorpasswort:"
+
+#~ msgid "Name of the gallery2 database."
+#~ msgstr "Name der Gallery2-Datenbank."
+
+#~ msgid "Password for the database admin user account."
+#~ msgstr "Passwort für das Datenbank-Administratorkonto."
--- gallery2-2.2.1.orig/debian/po/fr.po
+++ gallery2-2.2.1/debian/po/fr.po
@@ -0,0 +1,151 @@
+# 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 , 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: fr\n"
+"Report-Msgid-Bugs-To: schultmc@debian.org\n"
+"POT-Creation-Date: 2007-02-26 07:35+0100\n"
+"PO-Revision-Date: 2007-02-27 20:13+0100\n"
+"Last-Translator: Steve Petruzzello \n"
+"Language-Team: French \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-SourceCharset: utf-8\n"
+"X-Generator: KBabel 1.11.4\n"
+
+#. Type: multiselect
+#. Choices
+#: ../gallery2.templates:1001
+msgid "apache, apache-ssl, apache-perl, apache2"
+msgstr "Apache, Apache-ssl, Apache-perl, Apache2"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid "Web server to reconfigure automatically:"
+msgstr "Serveur Web à reconfigurer automatiquement :"
+
+#. Type: multiselect
+#. Description
+#: ../gallery2.templates:1002
+msgid ""
+"If you do not select a web server to reconfigure automatically, gallery2 "
+"will not be usable until you reconfigure your webserver to enable Gallery2."
+msgstr ""
+"Si vous ne choisissez pas un serveur Web à reconfigurer automatiquement, "
+"Gallery2 sera inutilisable jusqu'à ce que vous reconfiguriez correctement "
+"votre serveur"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid "Should ${webserver} be restarted?"
+msgstr "Faut-il redémarrer ${webserver} ?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:2001
+msgid ""
+"Remember that in order to activate the new configuration, ${webserver} has "
+"to be restarted. You can also restart ${webserver} by manually executing "
+"'invoke-rc.d ${webserver} restart'."
+msgstr ""
+"Veuillez noter que, pour que la nouvelle configuration soit active, "
+"${webserver} doit être redémarré. Vous pouvez aussi redémarrer ${webserver} "
+"en exécutant la commande « invoke-rc.d ${webserver} restart »."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid "Configure MySQL?"
+msgstr "Faut-il configurer MySQL ?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:3001
+msgid ""
+"Please confirm whether Gallery2 should attempt to configure MySQL "
+"automatically. If you do not choose this option, please see the "
+"instructions in /usr/share/doc/gallery2/README.Debian. Do not choose this "
+"option if mysql-server is being installed along with gallery2. Read the "
+"file /usr/share/doc/mysql-serv/README.Debian to enable networking. It may be "
+"wise to set a new MySQL root password when installing mysql-server."
+msgstr ""
+"Veuillez choisir si Gallery2 doit tenter de configurer MySQL "
+"automatiquement. Si vous ne choisissez pas cette option, veuillez lire les "
+"instructions dans /usr/share/doc/gallery2/README.Debian. Ne la choisissez "
+"pas si mysql-server est installé en même temps que gallery2. Veuillez lire "
+"le fichier /usr/share/doc/mysql-serv/README.Debian afin d'activer le réseau. "
+"Il peut être sage de choisir un nouveau mot de passe pour le "
+"superutilisateur de MySQL lors de l'installation de mysql-server."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid "MySQL Host:"
+msgstr "Hôte MySQL :"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:4001
+msgid ""
+"Please mention the name or IP address of the host running MySQL that will "
+"store the Gallery2 database."
+msgstr ""
+"Veuillez indiquer le nom ou l'adresse IP de l'hôte qui exécute le serveur "
+"MySQL qui accueille la base de données de Gallery2."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user who can create a database:"
+msgstr "Identifiant de l'administrateur du serveur de bases de données :"
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:5001
+msgid "Database admin user account capable of creating new databases."
+msgstr ""
+"Veuillez indiquer l'identifiant d'un administrateur du serveur de bases de "
+"données, qui possède les droits de création de nouvelles bases de données."
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid "Delete database on purge?"
+msgstr "Faut-il supprimer la base de données à la purge du paquet ?"
+
+#. Type: boolean
+#. Description
+#: ../gallery2.templates:6001
+msgid ""
+"Please choose whether the database should be removed when Gallery2 is purged."
+msgstr ""
+"Veuillez confirmer si la base de données doit être supprimée lorsque le "
+"paquet Gallery2 est purgé."
+
+#. Type: string
+#. Description
+#: ../gallery2.templates:7001
+msgid "Gallery2 database name:"
+msgstr "Nom de la base de données de Gallery2 :"
+
+#. Type: password
+#. Description
+#: ../gallery2.templates:8001
+msgid "Database admin password:"
+msgstr "Mot de passe de l'administrateur du serveur de bases de données :"
--- gallery2-2.2.1.orig/debian/control
+++ gallery2-2.2.1/debian/control
@@ -0,0 +1,27 @@
+Source: gallery2
+Section: web
+Priority: optional
+Maintainer: Michael C. Schultheiss
+Build-Depends: debhelper (>= 5)
+Standards-Version: 3.7.2
+
+Package: gallery2
+Architecture: all
+Depends: apache | apache-ssl | apache-perl | apache2 | httpd, php4 | php4-cgi | libapache-mod-php4 | libapache2-mod-php4 | php5 | php5-cgi | libapache-mod-php5 | libapache2-mod-php5, netpbm (>= 9.20) | imagemagick, debconf (>= 0.2.26) | debconf-2.0, mysql-client | postgresql-client, wwwconfig-common, php4-mysql | php5-mysql | php4-pgsql | php5-pgsql
+Recommends: jhead, unzip, libjpeg-progs, php4-gd | php5-gd, dcraw, ffmpeg, mysql-server-4.1 | mysql-server | postgresql, zip
+Description: web-based photo album written in PHP
+ Gallery2 is a web-based photo album with multiple user support. It
+ provides users with the ability to create and maintain their own albums
+ via an intuitive web interface. Photo management includes automatic
+ thumbnail creation, image resizing, rotation, ordering, captioning,
+ searching and more. Albums can have read, write and caption permissions
+ per individual authenticated user for an additional level of privacy.
+ .
+ Gallery2 (G2) has been redesigned from the ground up and is database
+ driven. Two years of design and development have gone into G2. It has
+ customizable themes and layouts using XHTML compliant templates which
+ make it much easier for you to personalize your G2 install. G2 is
+ modularized and features can be enabled and disabled separately for
+ maximum control.
+ .
+ The upstream web site is: http://gallery.sf.net
--- gallery2-2.2.1.orig/debian/changelog
+++ gallery2-2.2.1/debian/changelog
@@ -0,0 +1,207 @@
+gallery2 (2.2.1-3) unstable; urgency=high
+
+ * Urgency high due to RC bug.
+ * debian/gallery2.postrm: Add conditional block around mysql-dropdb.sh
+ sourcing. (Thanks to Matthew Johnson. Closes: #416749)
+ * Add Spanish translation of debconf templates. (Thanks to Rudy Godoy.
+ Closes: #423680)
+
+ -- Michael C. Schultheiss Wed, 13 Jun 2007 16:38:45 +0000
+
+gallery2 (2.2.1-2) unstable; urgency=high
+
+ * Urgency high due to RC bug
+ * debian/gallery2.postrm: Don't fail if debconf is not
+ installed. (Closes: #416749)
+ * debian/control: Simplify postgresql Depends/Recommends (Closes: #419284)
+ * Add Dutch translation of debconf templates. (Thanks to Bart Cornelis.
+ Closes: #415521)
+
+ -- Michael C. Schultheiss Fri, 20 Apr 2007 16:31:21 +0000
+
+gallery2 (2.2.1-1) unstable; urgency=low
+
+ * New upstream release (Closes: #416319)
+
+ -- Michael C. Schultheiss Mon, 26 Mar 2007 21:13:30 +0000
+
+gallery2 (2.2-1) unstable; urgency=low
+
+ * New upstream release (Closes: #415261)
+ * Update installation instructions (Closes: #414724)
+ * Don't force php4 to load when php5 is enabled (Closes: #409623)
+ * debian/control:
+ + Combine Recommends on mysql/postgresql server
+ packages (Closes: #392264)
+ + Add PostgreSQL 8.2 packages to Depends/Recommends
+ possibilities (Closes: #403400)
+
+ -- Michael C. Schultheiss Sat, 17 Mar 2007 17:37:12 +0000
+
+gallery2 (2.1.2-2) unstable; urgency=low
+
+ * l10n updates (Thanks to Christian Perrier for coordinating this
+ update):
+ + debian/gallery.templates: Update per recommendations from
+ Helge Kreutzmann and Christian Perrier. Closes: #401459
+ + Update Basque translation of debconf templates (Thanks to
+ Piarres Beobide. Closes: #412410)
+ + Update Czech translation of debconf templates (Thanks to
+ Miroslav Kure. Closes: #412556)
+ + Update French translation of debconf templates (Thanks to
+ Steve Petruzzello. Closes: #412906)
+ + Add Galician translation of debconf templates (Thanks to
+ Jacobo Tarrio. Closes: #412363)
+ + Add German translation of debconf templates (Thanks to
+ Helge Kreutzmann. Closes: #401460, #412396)
+ + Add Japanese translation of debconf templates (Thanks to
+ Kenshi Muto. Closes: #412505)
+ + Update Portuguese translation of debconf templates (Thanks to
+ Rui Branco. Closes: #412395)
+ + Add Russian translation of debconf templates (Thanks to
+ Yuri Kozlov. Closes: #412552)
+ + Update Swedish translation of debconf templates (Thanks to
+ Daniel Nylander. Closes: #412390)
+
+ -- Michael C. Schultheiss Thu, 01 Mar 2007 15:01:13 +0000
+
+gallery2 (2.1.2-1) unstable; urgency=high
+
+ * New upstream release (Closes: #383421)
+ + Urgency high due to security issues
+ - Fixes minor information leakage issue
+ - Fixes major session ID disclosure issue
+ * Add Portuguese translation of debconf templates (Thanks to
+ Rui Branco. Closes: #373261)
+ * debian/control:
+ + Bump Standards Version
+ + Add postgresql clients to db client dependency i
+ possibilities. (Closes: #367785)
+ + Changes Build-Depends-Indep on debhelper to Build-Depends, bump
+ debhelper version to >= 5
+
+ -- Michael C. Schultheiss Thu, 17 Aug 2006 16:18:16 +0000
+
+gallery2 (2.1.1-1) unstable; urgency=low
+
+ * New upstream release (Closes: #362936)
+ + Bugfixes for Postgres7 (Closes: #359000, #362152)
+
+ -- Michael C. Schultheiss Sun, 16 Apr 2006 16:42:35 +0000
+
+gallery2 (2.1-1) unstable; urgency=low
+
+ * New upstream release (Closes: #330658, #357671, #358037, #358700)
+ * README.Debian: Mention default alias status (Closes: #357649)
+
+ -- Michael C. Schultheiss Fri, 24 Mar 2006 05:44:15 +0000
+
+gallery2 (2.0.4-1) unstable; urgency=high
+
+ * New upstream release (Closes: #356446)
+ + Urgency high due to security issues
+ - Fixes local inclusion exploit available when register_globals is on
+
+ -- Michael C. Schultheiss Sun, 12 Mar 2006 02:56:36 +0000
+
+gallery2 (2.0.3-2) unstable; urgency=low
+
+ * modules/ffmpeg/classes/FfmpegToolkit.class: Replace singlejpeg with
+ mjpeg (Closes: #325263)
+ * debian/apache.conf: Disable default Alias (Closes: #344220)
+ * debian/control:
+ + Add httpd to web server dependency choices (Closes: #334062)
+ + Add zip to Recommends (Closes: #338965)
+
+ -- Michael C. Schultheiss Wed, 8 Mar 2006 21:44:11 +0000
+
+gallery2 (2.0.3-1) unstable; urgency=high
+
+ * New upstream release (Closes: #355009)
+ + Urgency high due to security issues
+ - Fixes minor XSS issue
+ - Fixes session code issue that could allow users to remotely delete
+ session files
+ * l10n update:
+ + Add Basque translation of debconf templates (Thanks to
+ Piarres Beobide. Closes: #341088)
+ * debian/rules: Bump DH_COMPAT to level 5
+
+ -- Michael C. Schultheiss Thu, 2 Mar 2006 17:52:34 +0000
+
+gallery2 (2.0.2-1) unstable; urgency=high
+
+ * New upstream release (Closes: #341270)
+ + Urgency high due to security issues
+ - Fixes security flaw in zipcart that could allow remote
+ visitors to view sensitive files on your webserver
+ - fixes an XSS issue in add-from-web
+ - Obscures the naming of the install.log file
+
+ -- Michael C. Schultheiss Tue, 29 Nov 2005 15:50:12 +0000
+
+gallery2 (2.0.1-1) unstable; urgency=high
+
+ * New upstream release (Closes: #333961)
+ + Urgency high due to security issue (Input sanitization)
+ * debian/control: Update dependencies (Closes: #328696, #331832)
+ * l10n updates:
+ + Add Swedish translation of debconf templates (Thanks to
+ Daniel Nylander. Closes: #330600)
+ + Update French translation of debconf templates (Thanks to
+ Steve Petruzzello. Closes: #331253)
+
+ -- Michael C. Schultheiss Fri, 14 Oct 2005 17:17:36 +0000
+
+gallery2 (2.0-1) unstable; urgency=low
+
+ * This release is dedicated in memory of Otto A. Uyehara.
+ * New upstream release (Closes: #328095)
+
+ -- Michael C. Schultheiss Tue, 13 Sep 2005 16:21:41 +0000
+
+gallery2 (0.0+2.0.rc2-1) unstable; urgency=low
+
+ * This release is dedicated to Susan J. Schultheiss - Happy Birthday, Mom!
+ * New upstream release (Closes: #324903)
+ + Applies guest-preview mode to subalbum trees (Closes: #323393)
+ * debian/control: Add dependency on php4-mysql
+ * debian/post{inst,rm}: Add db_stop and reorder to prevent hanging
+ (Thanks to Bharat Mediratta. Closes: #320394)
+ * debian/apache.conf: Replace gallery with gallery2 where needed
+
+ -- Michael C. Schultheiss Wed, 24 Aug 2005 19:08:58 +0000
+
+gallery2 (0.0+2.0.rc1-1) unstable; urgency=low
+
+ * New upstream release (Closes: #321843)
+ * l10n updates:
+ + Add Arabic translation of debconf templates (Thanks to
+ Mohammed Adnène Trojett. Closes: #320764).
+ + Update Czech translation of debconf templates (Thanks to
+ Miroslav Kure. Closes: #321766)
+ * debian/control: Bump Standards-Version (no changes necessary)
+
+ -- Michael C. Schultheiss Mon, 8 Aug 2005 21:46:19 +0000
+
+gallery2 (0.0+2.0.beta4-1) unstable; urgency=low
+
+ * New upstream release (Closes: #319532)
+ * l10n updates:
+ + Add French translation of debconf templates (Thanks to
+ Steve. Closes: #316716)
+ + Add Czech translation of debconf templates (Thanks to
+ Miroslav Kure. Closes: #317664)
+ * Make sure all docs get installed in
+ /usr/share/docs/gallery2 (Closes: #316990)
+ * Ensure mysql debconf questions are only asked when
+ desired (Closes: #320395)
+
+ -- Michael C. Schultheiss Thu, 28 Jul 2005 13:55:27 +0000
+
+gallery2 (0.0+2.0.beta3-1) unstable; urgency=low
+
+ * Initial Release. (Closes: #297629)
+
+ -- Michael C. Schultheiss Sun, 12 Jun 2005 01:39:00 +0000
+
--- gallery2-2.2.1.orig/debian/gallery2.postrm
+++ gallery2-2.2.1/debian/gallery2.postrm
@@ -0,0 +1,90 @@
+#! /bin/sh
+
+set -e
+
+if [ -f /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+fi
+
+db_version 2.0 || [ $? -lt 30 ]
+
+if [ "$1" = "purge" ]; then
+
+ db_get gallery2/reconfigure || true
+
+ db_get gallery2/mysql/configure || true
+ if [ "$RET" = true ]; then
+
+ db_get gallery2/purge || true
+ if [ "$RET" = true ]; then
+
+ db_get gallery2/mysql/dbserver || true
+ dbserver=$RET
+ db_get gallery2/mysql/dbadmin || true
+ dbadmin=$RET
+ db_input critical gallery2/mysql/dbadmpass || true
+ db_go || true
+
+ db_get gallery2/mysql/dbadmpass || true
+ dbadmpass=$RET
+
+ # remove the database
+ db_get gallery2/mysql/dbname || true
+ dbname=$RET
+ if [ -f /usr/share/wwwconfig-common/mysql-dropdb.sh ]; then
+ . /usr/share/wwwconfig-common/mysql-dropdb.sh
+ fi
+
+ fi
+ fi
+
+
+ for websvrs in apache apache-perl apache-ssl apache2; do
+ rm -f /etc/$websvrs/conf.d/gallery2
+ done
+
+ webservers="$RET"
+ restart=""
+
+ for webserver in $webservers; do
+ webserver=${webserver%,}
+
+ case "$webserver" in
+ apache|apache-perl|apache-ssl|apache2)
+ rm -f /etc/$webserver/conf.d/gallery2
+ test -x /usr/sbin/$webserver || continue
+ db_reset gallery2/restart || true
+ db_subst gallery2/restart webserver "$webserver" || true
+ db_input gallery2/restart high || true
+ db_go || true
+ db_get gallery2/restart-webserver || true
+ if [ "$RET" = "true" ]; then
+ restart="$restart $webserver"
+ fi
+ ;;
+ esac
+ done
+
+ rmdir --ignore-fail-on-non-empty /etc/gallery2 || true
+fi
+
+# Automatically added by dh_installdebconf
+if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+ db_purge
+fi
+# End automatically added section
+
+if [ "$1" = "purge" ]; then
+ for webserver in $restart; do
+ webserver=${webserver%,}
+ if [ -x /usr/sbin/invoke-rc.d ]; then
+ invoke-rc.d $webserver restart
+ else
+ /etc/init.d/$webserver restart
+ fi
+ done
+fi
+
+
+#DEBHELPER#
--- gallery2-2.2.1.orig/debian/rules
+++ gallery2-2.2.1/debian/rules
@@ -0,0 +1,73 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=5
+
+DESTDIR=$(CURDIR)/debian/gallery2
+GDIR=$(DESTDIR)/usr/share/gallery2
+GCONFDIR=$(DESTDIR)/etc/gallery2
+GDATADIR=$(DESTDIR)/var/lib/gallery2/g2data
+DOCDIR=$(DESTDIR)/usr/share/doc/gallery2
+
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ dh_clean
+
+install:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+# commands to install the files into debian/gallery2.
+ install -m 755 -d $(GDIR)
+ install -m 755 -d $(GCONFDIR)
+# install -m 755 -d $(DESTDIR)/usr/share/lintian/overrides
+ install -m 755 -o www-data -g www-data -d $(GDATADIR)
+ install -m 644 MANIFEST $(GDIR)
+ install -m 644 *.php $(GDIR)
+ install -m 644 *.inc $(GDIR)
+ install -m 644 README.html $(GDIR)
+ for dir in * ; do \
+ if [ -d "$$dir" ]; then \
+ case "$$dir" in \
+ CVS|debian|docs|po|test) \
+ echo "skipping dir $$dir" \
+ ;; \
+ *) \
+ cp -ar $$dir $(GDIR)/$$dir ; \
+ find $(GDIR)/$$dir -type f -exec chmod 644 {} \; ;\
+ esac \
+ fi \
+ done
+ install -m 644 debian/apache.conf $(GCONFDIR)
+
+build:
+# Build architecture-dependent files here.
+binary-arch: install
+# We have nothing to do by default.
+
+# Build architecture-independent files here.
+binary-indep: install
+ dh_testdir
+ dh_testroot
+ dh_installdocs
+ dh_link
+ dh_fixperms -Xalbums -Xg2data
+ dh_installchangelogs
+ dh_compress
+ dh_installdebconf -pgallery2
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep
+.PHONY: clean binary-indep install
--- gallery2-2.2.1.orig/debian/apache.conf
+++ gallery2-2.2.1/debian/apache.conf
@@ -0,0 +1,13 @@
+#Alias /gallery2 /usr/share/gallery2
+
+
+ Options FollowSymLinks
+ AllowOverride Limit Options FileInfo
+
+
+# some people prefer a simple URL like http://gallery2.example.com
+#
+# DocumentRoot /usr/share/gallery2
+# ServerName gallery2.example.com
+#
+
--- gallery2-2.2.1.orig/debian/copyright
+++ gallery2-2.2.1/debian/copyright
@@ -0,0 +1,21 @@
+This package was debianized by Michael C. Schultheiss on
+Sun, 12 Jun 2005 01:39:52 +0000.
+
+It was downloaded from http://gallery.sourceforge.net
+
+Copyright: Copyright 2000-2005 Bharat Mediratta
+
+License:
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 2 of the License, or (at your option)
+any later version.
+
+This program is distributed in the hope that it will be useful, but WITHOUT
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+more details.
+
+On Debian systems, the complete text of the GNU General Public License can
+be found in /usr/share/common-licenses/GPL file.
--- gallery2-2.2.1.orig/debian/README.Debian
+++ gallery2-2.2.1/debian/README.Debian
@@ -0,0 +1,20 @@
+Gallery2 for Debian
+-------------------
+
+Gallery2 depends on a web server with php 4 or 5 enabled. For apache,
+apache-perl, apache-ssl, or apache2, Gallery2 can be configured correctly.
+In the case of web server other than apache, apache-perl, apache-ssl, or
+apache2, you are left to configure this urls/paths:
+
+/gallery2 -> /usr/share/gallery2
+
+Gallery2 also requires an SQL database. The Debian gallery2 package can
+automatically configure MySQL. If you are using Postgresql or Oracle, you
+will need to configure the database yourself.
+
+As of version 2.0.3-2 of the gallery2 package, the default gallery2 alias
+in /etc/gallery2/apache.conf has been disabled to prevent the alias from
+affecting every virtual host. Feel free to re-enable the alias if
+necessary.
+
+# vim:set ai et sts=2 sw=2 tw=75:
--- gallery2-2.2.1.orig/debian/gallery2.config
+++ gallery2-2.2.1/debian/gallery2.config
@@ -0,0 +1,28 @@
+#!/bin/bash
+
+set -e
+
+action=$1
+version=$2
+
+# Source debconf library.
+. /usr/share/debconf/confmodule
+db_version 2.0 || [ 0 -lt 30 ]
+
+ db_input medium gallery2/webserver_type || true
+ db_go || true
+
+
+db_set gallery2/mysql/configure true
+db_input medium gallery2/mysql/configure || true
+db_go || true
+
+db_get gallery2/mysql/configure || true
+if [ "$RET" = "true" ]; then
+ db_input critical gallery2/mysql/dbserver || true
+ db_input critical gallery2/mysql/dbadmin || true
+ db_input critical gallery2/mysql/dbadmpass || true
+ db_input medium gallery2/purge || true
+ db_input medium gallery2/mysql/dbname || true
+ db_go || true
+fi
--- gallery2-2.2.1.orig/debian/gallery2.templates
+++ gallery2-2.2.1/debian/gallery2.templates
@@ -0,0 +1,56 @@
+Template: gallery2/webserver_type
+Type: multiselect
+_Choices: apache, apache-ssl, apache-perl, apache2
+Default: apache, apache-ssl, apache-perl, apache2
+_Description: Web server to reconfigure automatically:
+ If you do not select a web server to reconfigure automatically, gallery2
+ will not be usable until you reconfigure your webserver to enable
+ Gallery2.
+
+Template: gallery2/restart-webserver
+Type: boolean
+Default: false
+_Description: Should ${webserver} be restarted?
+ Remember that in order to activate the new configuration, ${webserver} has
+ to be restarted. You can also restart ${webserver} by manually executing
+ 'invoke-rc.d ${webserver} restart'.
+
+Template: gallery2/mysql/configure
+Type: boolean
+Default: true
+_Description: Configure MySQL?
+ Please confirm whether Gallery2 should attempt to configure MySQL
+ automatically. If you do not choose this option, please see the
+ instructions in /usr/share/doc/gallery2/README.Debian. Do not choose
+ this option if mysql-server is being installed along with
+ gallery2. Read the file /usr/share/doc/mysql-serv/README.Debian to
+ enable networking. It may be wise to set a new MySQL root password
+ when installing mysql-server.
+
+Template: gallery2/mysql/dbserver
+Type: string
+Default: localhost
+_Description: MySQL Host:
+ Please mention the name or IP address of the host running MySQL that
+ will store the Gallery2 database.
+
+Template: gallery2/mysql/dbadmin
+Type: string
+Default: root
+_Description: Database admin user who can create a database:
+ Database admin user account capable of creating new databases.
+
+Template: gallery2/purge
+Type: boolean
+Default: true
+_Description: Delete database on purge?
+ Please choose whether the database should be removed when Gallery2 is purged.
+
+Template: gallery2/mysql/dbname
+Type: string
+Default: gallery2
+_Description: Gallery2 database name:
+
+Template: gallery2/mysql/dbadmpass
+Type: password
+_Description: Database admin password:
--- gallery2-2.2.1.orig/debian/docs
+++ gallery2-2.2.1/debian/docs
@@ -0,0 +1 @@
+README.html
--- gallery2-2.2.1.orig/debian/gallery2.postinst
+++ gallery2-2.2.1/debian/gallery2.postinst
@@ -0,0 +1,147 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+db_version 2.0 || [ $? -lt 30 ]
+
+
+if [ "$1" = "configure" ]; then
+
+ db_get gallery2/webserver_type
+ webservers="$RET"
+ restart=""
+
+ for webserver in $webservers; do
+ webserver=${webserver%,}
+ test -x /usr/sbin/$webserver || continue
+
+ case "$webserver" in
+ apache|apache-perl|apache-ssl)
+ if [ -x /usr/sbin/modules-config ]; then
+ if [ -f /usr/lib/apache/1.3/libphp5.so ]; then
+ if ! grep -qs "^LoadModule php5_module " /etc/$webserver/modules.conf; then
+ modules-config $webserver enable mod_php5
+ fi
+ elif [ -f /usr/lib/apache/1.3/libphp4.so ]; then
+ if ! grep -qs "^LoadModule php4_module " /etc/$webserver/modules.conf; then
+ modules-config $webserver enable mod_php4
+ fi
+ elif [ -f /usr/lib/apache/1.3/libphp3.so ]; then
+ if ! grep -qs "^LoadModule php3_module " /etc/$webserver/modules.conf; then
+ modules-config $webserver enable mod_php3
+ fi
+ else
+ if [ -f /usr/lib/apache/1.3/mod_actions.so ]; then
+ if ! grep -qs "^LoadModule action_module " /etc/$webserver/modules.conf; then
+ modules-config $webserver enable mod_actions
+ fi
+ fi
+ if [ -f /usr/lib/apache/1.3/mod_cgi.so ]; then
+ if ! grep -qs "^LoadModule cgi_module " /etc/$webserver/modules.conf; then
+ modules-config $webserver enable mod_cgi
+ fi
+ fi
+ fi
+ fi
+ if grep -qs "^Include /etc/gallery2/apache.conf" /etc/$webserver/httpd.conf; then
+ mv -f /etc/$webserver/httpd.conf /etc/$webserver/httpd.conf.old.gallery2
+ grep -v "^Include /etc/gallery2/apache.conf" /etc/$webserver/httpd.conf.old.gallery2 \
+ > /etc/$webserver/httpd.conf
+ fi
+ if ! grep -qs "^Include /etc/$webserver/conf.d" /etc/$webserver/httpd.conf; then
+ cp -f /etc/$webserver/httpd.conf /etc/$webserver/httpd.conf.old.gallery2
+ echo "Include /etc/$webserver/conf.d" >> /etc/$webserver/httpd.conf
+ fi
+ if [ -f /etc/$webserver/httpd.conf.old.gallery2 ]; then
+ mv -f /etc/$webserver/httpd.conf.old.gallery2 /etc/$webserver/httpd.conf.old
+ fi
+ mkdir -p /etc/$webserver/conf.d
+ ;;
+ apache2)
+ if [ -d /etc/$webserver/mods-enabled ]; then
+ if [ ! -f /etc/$webserver/mods-enabled/actions.load -a ! -h /etc/$webserver/mods-enabled/actions.load ]; then
+ ln -s /etc/$webserver/mods-available/actions.load /etc/$webserver/mods-enabled/actions.load
+ fi
+ if [ -f /etc/apache2/mods-available/php5.load ]; then
+ if [ ! -f /etc/$webserver/mods-enabled/php5.load -a ! -h /etc/$webserver/mods-enabled/php5.load ]; then
+ ln -s /etc/$webserver/mods-available/php5.load /etc/$webserver/mods-enabled/php5.load
+ fi
+ elif [ -f /etc/apache2/mods-available/php4.load ]; then
+ if [ ! -f /etc/$webserver/mods-enabled/php4.load -a ! -h /etc/$webserver/mods-enabled/php4.load ]; then
+ ln -s /etc/$webserver/mods-available/php4.load /etc/$webserver/mods-enabled/php4.load
+ fi
+ else
+ if [ ! -f /etc/$webserver/mods-enabled/cgi.load -a ! -h /etc/$webserver/mods-enabled/cgi.load ]; then
+ ln -s /etc/$webserver/mods-available/cgi.load /etc/$webserver/mods-enabled/cgi.load
+ fi
+ fi
+ fi
+ ;;
+ esac
+
+ case "$webserver" in
+ apache|apache-perl|apache-ssl|apache2)
+ test -d /etc/$webserver/conf.d || continue
+ if [ ! -f /etc/$webserver/conf.d/gallery2 -a ! -h /etc/$webserver/conf.d/gallery2 ]; then
+ ln -s /etc/gallery2/apache.conf /etc/$webserver/conf.d/gallery2
+ fi
+ db_reset gallery2/restart-webserver || true
+ db_subst gallery2/restart-webserver webserver "$webserver"
+ db_input high gallery2/restart-webserver || true
+ db_go
+ db_get gallery2/restart-webserver
+ if [ "$RET" = "true" ]; then
+ restart="$restart $webserver"
+ fi
+ ;;
+ esac
+ done
+
+ db_get gallery2/mysql/configure
+ if [ "$RET" = true ]; then
+
+ # get the answers to our questions
+ db_get gallery2/mysql/dbserver
+ dbserver=$RET
+ db_get gallery2/mysql/dbadmin
+ dbadmin=$RET
+ db_get gallery2/mysql/dbadmpass
+ dbadmpass=$RET
+ db_reset gallery2/mysql/dbadmpass
+ db_get gallery2/mysql/dbname
+ dbname=$RET
+
+ # create the database
+ . /usr/share/wwwconfig-common/mysql-createdb.sh
+ fi
+
+ db_stop
+
+ if [ ! -e /etc/gallery2/config.php ]; then
+ touch /etc/gallery2/config.php
+ chown www-data /etc/gallery2/config.php
+ chmod 640 /etc/gallery2/config.php
+ fi
+
+ if [ -e /usr/share/gallery2/g2data ]; then
+ mv /usr/share/gallery2/g2data/* /var/lib/gallery2/g2data/
+ rm -rf /usr/share/gallery2/g2data
+ fi
+
+ if [ -e /etc/gallery2/config.php ]; then
+ perl -pi -e 's/usr\/share\/gallery2\/g2data/var\/lib\/gallery2\/g2data/' /etc/gallery2/config.php
+ fi
+
+ for webserver in $restart; do
+ webserver=${webserver%,}
+ if [ -x /usr/sbin/invoke-rc.d ]; then
+ invoke-rc.d $webserver restart
+ else
+ /etc/init.d/$webserver restart
+ fi
+ done
+fi
+
+
+#DEBHELPER#
--- gallery2-2.2.1.orig/debian/links
+++ gallery2-2.2.1/debian/links
@@ -0,0 +1 @@
+/etc/gallery2/config.php /usr/share/gallery2/config.php