From f535a0f66ff80c766cf2655b7e3d92a0247335a6 Mon Sep 17 00:00:00 2001 From: Norman Messtorff Date: Thu, 26 Apr 2012 19:57:20 +0000 Subject: [PATCH] Updating trunk also to current Debian packaging... git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1376 a1433add-5e2c-0410-b055-b7f2511e0802 --- debian/README.Debian | 24 ----------- debian/TODO | 1 - debian/changelog | 21 ++++----- debian/confd-link.sh | 86 ------------------------------------- debian/control | 22 ++++++---- debian/po/cs.po | 32 ++++++++++++++ debian/po/da.po | 34 +++++++++++++++ debian/po/de.po | 32 ++++++++++++++ debian/po/es.po | 53 +++++++++++++++++++++++ debian/po/fr.po | 35 +++++++++++++++ debian/po/it.po | 34 +++++++++++++++ debian/po/nl.po | 32 ++++++++++++++ debian/po/pl.po | 37 ++++++++++++++++ debian/po/pt.po | 32 ++++++++++++++ debian/po/ru.po | 36 ++++++++++++++++ debian/po/sv.po | 33 ++++++++++++++ debian/po/zh_TW.po | 31 +++++++++++++ debian/postfixadmin.install | 1 - debian/rules | 16 ++----- debian/watch | 2 +- 20 files changed, 446 insertions(+), 148 deletions(-) delete mode 100755 debian/confd-link.sh create mode 100644 debian/po/cs.po create mode 100644 debian/po/da.po create mode 100644 debian/po/de.po create mode 100644 debian/po/es.po create mode 100644 debian/po/fr.po create mode 100644 debian/po/it.po create mode 100644 debian/po/nl.po create mode 100644 debian/po/pl.po create mode 100644 debian/po/pt.po create mode 100644 debian/po/ru.po create mode 100644 debian/po/sv.po create mode 100644 debian/po/zh_TW.po diff --git a/debian/README.Debian b/debian/README.Debian index c3e1e8ad..10ba713f 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -1,20 +1,13 @@ PostfixAdmin for Debian ======================= - After installing the package, you should find that : http://youserver/postfixadmin/setup.php works. This should guide you through the appropriate process. -You will need to create a database (either MySQL or PostgreSQL) -and know the username and password for it. The Database does not need -to be on the same server as the Postfixadmin install. - - Recommended and Suggested Packages ================================== - - Postfix - MySQL or PostgreSQL - Courier or Dovecot @@ -22,25 +15,8 @@ Recommended and Suggested Packages Where to get help ================= - The first stop would be the Postfixadmin Website, Forum or IRC channel. See : - http://postfixadmin.sf.net - #postfixadmin on irc.freenode.net - - -How to build this package for Debian/lenny -========================================== - -If you want to build this package for Debian/lenny, you have to execute - - DIST="lenny" dpkg-buildpackage -rfakeroot - -This will include the confd-link.sh script into the package. That script -is included in wwwconfig-common >0.2, but we have an older version in -lenny at the moment. - -We (upstream and myself) want to provide also an lenny ready package, -which will be available via sf.net. Just as an easy way for interested -people which are running lenny. diff --git a/debian/TODO b/debian/TODO index 69e7bd26..9656bcda 100644 --- a/debian/TODO +++ b/debian/TODO @@ -1,4 +1,3 @@ - * Do all necessary things automatically (maybe with dbconfig?) (database, setp password...) * DebTags * dbconfig: DOCUMENTS/SECURITY.txt * include postfix configuration templates diff --git a/debian/changelog b/debian/changelog index a48420d6..4780e459 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,19 +1,14 @@ -postfixadmin (2.3.2) unstable; urgency=low +postfixadmin (2.3.5-2) unstable; urgency=low - * New upstream release + * Added .po translation files (Closes: 667951, #667962, #668202, #668288) + * Closes: #668298, #668301, #668405, #668635 + * Updated standards version to 3.9.3 without changes. - -- David Goodwin Mon, 23 Aug 2010 11:24:00 +0100 + -- Norman Messtorff Thu, 26 Apr 2012 20:55:57 +0200 -postfixadmin (2.3.1) unstable; urgency=low +postfixadmin (2.3.5-1) unstable; urgency=low - * New upstream release - * Updated .deb standards (thanks normes) + * Initial Debian release (Closes: #247225) - -- David Goodwin Thu, 08 Jul 2010 22:20:14 +0100 - -postfixadmin (2.3) unstable; urgency=low - - * Initial release (Closes: #247225) - - -- Norman Messtorff Sun, 21 Feb 2010 22:36:26 +0200 + -- Norman Messtorff Sun, 15 Jan 2012 12:27:28 +0100 diff --git a/debian/confd-link.sh b/debian/confd-link.sh deleted file mode 100755 index da7ccec8..00000000 --- a/debian/confd-link.sh +++ /dev/null @@ -1,86 +0,0 @@ -#!/bin/sh -# File: confd-link.sh -# Changes: -# 20081109 Norman Messtorff -# Initial version. -# -# Needs: $servers - the servers to link configurations in. -# $linkname - specify the link name -# $linkdestination_apache - specify the link destination (Apache config) -# $linkdestination_lighttpd - specify the link destination (lighttpd config) -# Description: Linking configurations into Webservers conf.d -# Sets: $status = {error, nothing, linked, removed} -# $error = error message (if $status = error) - -status="nothing" -error="" - -# -# Checking needed settings... -# -if [ -z "$servers" ]; then - status="error" - error="No servers specified in confd-link.sh" -elif [ -z "$linkname" ]; then - status="error" - error="No linkname specified in confd-link.sh" -else - - # - # The link removal part... - # - if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then - for A in $servers ; do - A=${A%,} - # - # lighttpd has no conf.d - # - if [ "$A" = "lighttpd" ]; then - linkpath="/etc/lighttpd/conf-available" - else - linkpath="/etc/$A/conf.d" - fi - - # - # Is it existing and a symbolic link or are we going to do some unwished things? - # - if [ -L $linkpath/$linkname ]; then - if rm -f $linkpath/$linkname 2>&1 ; then - status="removed" - else - status="error" - error="ERROR! Couln't remove $linkpath/$linkname " - fi - else - status="error" - error="ERROR! $linkpath/$linkname is no symbolic link or doesn't exists." - fi - done - else - for A in $servers ; do - A=${A%,} - # - # lighttpd has no conf.d - # - if [ "$A" = "lighttpd" ]; then - linkpath="/etc/lighttpd/conf-available" - linkdestination=$linkdestination_lighttpd - else - linkpath="/etc/$A/conf.d" - linkdestination=$linkdestination_apache - fi - - if [ -d $linkpath ]; then - if ln -s $linkdestination $linkpath/$linkname >/dev/null 2>&1 ; then - status="linked" - else - status="error" - error="ERROR! 'ln -s' returned an error. Could not create link in $linkpath" - fi - else - status="error" - error="ERROR! $linkpath doesn't exists. Could not create link in $linkpath" - fi - done - fi -fi diff --git a/debian/control b/debian/control index 42f14665..18547db3 100644 --- a/debian/control +++ b/debian/control @@ -2,22 +2,26 @@ Source: postfixadmin Section: admin Priority: optional Maintainer: Norman Messtorff -Build-Depends: debhelper (>= 7), po-debconf, quilt (>= 0.46) -Standards-Version: 3.9.2 +Build-Depends: debhelper (>= 7), po-debconf +Standards-Version: 3.9.3 +XS-Vcs-Svn: https://postfixadmin.svn.sourceforge.net/svnroot/postfixadmin/trunk +XS-Vcs-Browser: https://postfixadmin.svn.sourceforge.net/svnroot/postfixadmin/trunk Homepage: http://postfixadmin.sourceforge.net Package: postfixadmin Architecture: all Depends: debconf (>= 0.5), dbconfig-common, wwwconfig-common, apache2 | lighttpd | httpd, libapache2-mod-php5 | php5-cgi | php5, php5-cli, php5-imap, php5-mysql | php5-pgsql, mysql-client | postgresql-client, ${misc:Depends} Recommends: postfix-mysql | postfix-pgsql, mysql-server | postgresql-server -Suggests: squirrelmail-postfixadmin, dovecot-common | courier-authlib-mysql | courier-authlib-postgresql +Suggests: dovecot-common | courier-authlib-mysql | courier-authlib-postgresql Description: Virtual mail hosting interface for Postfix - Postfixadmin is a web interface to managing virtual users and domains - for a Postfix mail transport agent. The web interface is written in PHP. - It supports Virtual mailboxes, aliases, forwarders and vacation. + Postfixadmin is a web interface to manage virtual users and domains + for a Postfix mail transport agent. It supports Virtual mailboxes, + aliases, forwarders and vacation. . - Allows administrators to delegate the handling of domains to the - domain administrators. Allows users to login and change their own + Postfixadmin allows administrators to delegate account handling + to domain administrators and allows users to login and change their own settings (e.g. forwarders, vacation, passwords etc). . - Provides easy integration into dovecot, courier or cyrus. + It provides easy integration into dovecot, courier or cyrus. + . + Postfixadmin is written in PHP. diff --git a/debian/po/cs.po b/debian/po/cs.po new file mode 100644 index 00000000..a8ac8a45 --- /dev/null +++ b/debian/po/cs.po @@ -0,0 +1,32 @@ +# Czech PO debconf template translation of postfixadmin. +# Copyright (C) 2012 Michal Simunek +# This file is distributed under the same license as the postfixadmin package. +# Michal Simunek , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: postfixadmin 2.3.5-1\n" +"Report-Msgid-Bugs-To: postfixadmin@packages.debian.org\n" +"POT-Creation-Date: 2008-10-27 22:14+0100\n" +"PO-Revision-Date: 2012-04-13 18:31+0200\n" +"Last-Translator: Michal Simunek \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 +#. Description +#: ../templates:1001 +msgid "Web server to reconfigure automatically:" +msgstr "Automaticky přenastavit webový server:" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "" +"Please choose the web server that should be automatically configured to run " +"postfixadmin." +msgstr "" +"Zvolte si prosím webový server, který se má automaticky nastavit ke " +"spuštění postfixadmin." diff --git a/debian/po/da.po b/debian/po/da.po new file mode 100644 index 00000000..7bc115f0 --- /dev/null +++ b/debian/po/da.po @@ -0,0 +1,34 @@ +# Danish translation postfixadmin. +# Copyright (C) 2012 postfixadmin & nedenstående oversættere. +# This file is distributed under the same license as the postfixadmin package. +# Joe Hansen , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: postfixadmin\n" +"Report-Msgid-Bugs-To: postfixadmin@packages.debian.org\n" +"POT-Creation-Date: 2008-10-27 22:14+0100\n" +"PO-Revision-Date: 2012-04-11 19:21+0100\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "Web server to reconfigure automatically:" +msgstr "Internetserver at rekonfigurere automatisk:" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "" +"Please choose the web server that should be automatically configured to run " +"postfixadmin." +msgstr "" +"Vælg venligst internetserveren som automatisk skal konfigureres til at " +"køre postfixadmin." + diff --git a/debian/po/de.po b/debian/po/de.po new file mode 100644 index 00000000..d5ac0a2f --- /dev/null +++ b/debian/po/de.po @@ -0,0 +1,32 @@ +# German translation of debconf templates for postfixadmin. +# Copyright (C) 2012 Holger Wansing +# This file is distributed under the same license as the postfixadmin package. +# Holger Wansing , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: postfixadmin 2.3.5-1\n" +"Report-Msgid-Bugs-To: postfixadmin@packages.debian.org\n" +"POT-Creation-Date: 2008-10-27 22:14+0100\n" +"PO-Revision-Date: 2012-04-10 21:19+0200\n" +"Last-Translator: Holger Wansing \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "Web server to reconfigure automatically:" +msgstr "Webserver, der automatisch neu konfiguriert werden soll:" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "" +"Please choose the web server that should be automatically configured to run " +"postfixadmin." +msgstr "" +"Bitte wählen Sie den Webserver, der automatisch konfiguriert werden soll, um " +"Postfixadmin auszuführen." diff --git a/debian/po/es.po b/debian/po/es.po new file mode 100644 index 00000000..9c1bbe93 --- /dev/null +++ b/debian/po/es.po @@ -0,0 +1,53 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Changes: +# - Initial translation +# Matías Bellone , 2012 +# +# Traductores, si no conocen el formato PO, merece la pena leer la +# documentación de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Equipo de traducción al español, por favor, lean antes de traducir +# los siguientes documentos: +# +# - El proyecto de traducción de Debian al español +# http://www.debian.org/intl/spanish/ +# especialmente las notas 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: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: postfixadmin@packages.debian.org\n" +"POT-Creation-Date: 2008-10-27 22:14+0100\n" +"PO-Revision-Date: 2012-04-15 04:27:00+00:00\n" +"Last-Translator: Matías Bellone \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:1001 +msgid "Web server to reconfigure automatically:" +msgstr "Servidor web a reconfigurar automáticamente:" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "" +"Please choose the web server that should be automatically configured to run " +"postfixadmin." +msgstr "" +"Seleccione el servidor web que deberá ser configurado automáticamente " +"para ejecutar «postfixadmin»." diff --git a/debian/po/fr.po b/debian/po/fr.po new file mode 100644 index 00000000..11223fb6 --- /dev/null +++ b/debian/po/fr.po @@ -0,0 +1,35 @@ +# Translation of postfixadmin debconf template to French. +# Copyright (C) 2012 Debian French l10n team +# This file is distributed under the same license as the postfixadmin package. +# Translators: +# Christian Perrier , 2012. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: postfixadmin@packages.debian.org\n" +"POT-Creation-Date: 2008-10-27 22:14+0100\n" +"PO-Revision-Date: 2012-04-07 19:46+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" +"Language: fr\n" +"X-Generator: Lokalize 1.2\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "Web server to reconfigure automatically:" +msgstr "Serveur web à reconfigurer automatiquement :" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "" +"Please choose the web server that should be automatically configured to run " +"postfixadmin." +msgstr "" +"Veuillez choisir le serveur web qui doit être configuré automatiquement pour " +"exécuter postfixadmin." diff --git a/debian/po/it.po b/debian/po/it.po new file mode 100644 index 00000000..4c37ecf8 --- /dev/null +++ b/debian/po/it.po @@ -0,0 +1,34 @@ +# Italian translation of postfixadmin debconf messages. +# Copyright (C) 2012 postfixadmin package copyright holder +# This file is distributed under the same license as the postfixadmin package. +# Beatrice Torracca , 2012. +msgid "" +msgstr "" +"Project-Id-Version: postfixadmin\n" +"Report-Msgid-Bugs-To: postfixadmin@packages.debian.org\n" +"POT-Creation-Date: 2008-10-27 22:14+0100\n" +"PO-Revision-Date: 2012-04-07 16:15+0200\n" +"Last-Translator: Beatrice Torracca \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Virtaal 0.7.1\n" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "Web server to reconfigure automatically:" +msgstr "Server web da riconfigurare automaticamente:" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "" +"Please choose the web server that should be automatically configured to run " +"postfixadmin." +msgstr "" +"Scegliere il server web che deve essere configurato automaticamente per " +"eseguire postfixadmin." diff --git a/debian/po/nl.po b/debian/po/nl.po new file mode 100644 index 00000000..9b9f32cd --- /dev/null +++ b/debian/po/nl.po @@ -0,0 +1,32 @@ +# Dutch translation of postfixadmin debconf templates. +# Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the postfixadmin package. +# Jeroen Schot , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: postfixadmin 2.3.5-1\n" +"Report-Msgid-Bugs-To: postfixadmin@packages.debian.org\n" +"POT-Creation-Date: 2008-10-27 22:14+0100\n" +"PO-Revision-Date: 2012-04-12 15:26+0200\n" +"Last-Translator: Jeroen Schot \n" +"Language-Team: Debian l10n Dutch \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "Web server to reconfigure automatically:" +msgstr "Automatisch te configureren webserver:" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "" +"Please choose the web server that should be automatically configured to run " +"postfixadmin." +msgstr "" +"Welke webserver moet automatisch worden geconfigureerd voor postfixadmin?" diff --git a/debian/po/pl.po b/debian/po/pl.po new file mode 100644 index 00000000..31842398 --- /dev/null +++ b/debian/po/pl.po @@ -0,0 +1,37 @@ +# Translation of ostfixadmi debconf templates to Polish. +# Copyright (C) 2008 +# This file is distributed under the same license as the ostfixadmi package. +# +# Michał Kułach , 2012. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: postfixadmin@packages.debian.org\n" +"POT-Creation-Date: 2008-10-27 22:14+0100\n" +"PO-Revision-Date: 2012-04-07 18:47+0200\n" +"Last-Translator: Michał Kułach \n" +"Language-Team: Polish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: pl\n" +"X-Generator: Lokalize 1.2\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "Web server to reconfigure automatically:" +msgstr "Serwer WWW do automatycznej konfiguracji:" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "" +"Please choose the web server that should be automatically configured to run " +"postfixadmin." +msgstr "" +"Proszę wybrać serwer WWW, który powinien być automatycznie skonfigurowany w " +"celu uruchomienia postfixadmin." + diff --git a/debian/po/pt.po b/debian/po/pt.po new file mode 100644 index 00000000..89c17c4d --- /dev/null +++ b/debian/po/pt.po @@ -0,0 +1,32 @@ +# Portuguese translation for postfixadmin (debconf) +# This file is distributed under the same license as the postfixadmin package. +# Rui Branco , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: postfixadmin 2.3.5-1\n" +"Report-Msgid-Bugs-To: postfixadmin@packages.debian.org\n" +"POT-Creation-Date: 2008-10-27 22:14+0100\n" +"PO-Revision-Date: 2012-04-09 21:26+0100\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" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "Web server to reconfigure automatically:" +msgstr "Servidor Web a reconfigurar automaticamente:" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "" +"Please choose the web server that should be automatically configured to run " +"postfixadmin." +msgstr "" +"Por favor escolha o servidor web a ser reconfigurado para correr o " +"postfixadmin." diff --git a/debian/po/ru.po b/debian/po/ru.po new file mode 100644 index 00000000..31c1b920 --- /dev/null +++ b/debian/po/ru.po @@ -0,0 +1,36 @@ +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the postfixadmin package. +# +# Yuri Kozlov , 2012. +msgid "" +msgstr "" +"Project-Id-Version: 2.3.5-1\n" +"Report-Msgid-Bugs-To: postfixadmin@packages.debian.org\n" +"POT-Creation-Date: 2008-10-27 22:14+0100\n" +"PO-Revision-Date: 2012-04-09 20:40+0400\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ru\n" +"X-Generator: Lokalize 1.2\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 +#. Description +#: ../templates:1001 +msgid "Web server to reconfigure automatically:" +msgstr "Веб-сервер для автоматической перенастройки:" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "" +"Please choose the web server that should be automatically configured to run " +"postfixadmin." +msgstr "" +"Выберите веб-сервер, который нужно автоматически настроить для запуска " +"dpostfixadmin." + diff --git a/debian/po/sv.po b/debian/po/sv.po new file mode 100644 index 00000000..7df9247f --- /dev/null +++ b/debian/po/sv.po @@ -0,0 +1,33 @@ +# Translation of postfixadmin debconf template to Swedish +# Copyright (C) 2012 Martin Bagge +# This file is distributed under the same license as the postfixadmin package. +# +# Martin Bagge , 2012 +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: postfixadmin@packages.debian.org\n" +"POT-Creation-Date: 2008-10-27 22:14+0100\n" +"PO-Revision-Date: 2012-04-10 18:40+0100\n" +"Last-Translator: Martin Bagge / brother \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Swedish\n" +"X-Poedit-Country: Sweden\n" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "Web server to reconfigure automatically:" +msgstr "Webbservrar som ska ställas in automatiskt:" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "" +"Please choose the web server that should be automatically configured to run " +"postfixadmin." +msgstr "" +"Välj webbservrar som automatiskt ska ställas in för att köra postfixadmin." diff --git a/debian/po/zh_TW.po b/debian/po/zh_TW.po new file mode 100644 index 00000000..39f79e09 --- /dev/null +++ b/debian/po/zh_TW.po @@ -0,0 +1,31 @@ +# Chinese translations for PACKAGE package. +# Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Vincent Chen , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: postfixadmin@packages.debian.org\n" +"POT-Creation-Date: 2008-10-27 22:14+0100\n" +"PO-Revision-Date: 2012-04-09 18:25-0700\n" +"Last-Translator: Vincent Chen \n" +"Language-Team: Chinese (traditional)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: zh_TW\n" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "Web server to reconfigure automatically:" +msgstr "網頁伺服器將自動重新設定:" + +#. Type: multiselect +#. Description +#: ../templates:1001 +msgid "" +"Please choose the web server that should be automatically configured to run " +"postfixadmin." +msgstr "請選擇要自動執行 postfixadmin 的網頁伺服器" diff --git a/debian/postfixadmin.install b/debian/postfixadmin.install index 19ee43a9..21537eba 100644 --- a/debian/postfixadmin.install +++ b/debian/postfixadmin.install @@ -10,7 +10,6 @@ scripts usr/share/postfixadmin smarty usr/share/postfixadmin templates usr/share/postfixadmin templates_c usr/share/postfixadmin -tests usr/share/postfixadmin users usr/share/postfixadmin debian/apache.conf etc/postfixadmin debian/lighttpd.conf etc/postfixadmin diff --git a/debian/rules b/debian/rules index 0a7b37ed..078ee36e 100755 --- a/debian/rules +++ b/debian/rules @@ -4,31 +4,22 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -export PFADIR = $(shell pwd) export VERSION = $(shell grep -E "version = '.*';" functions.inc.php |sed -e "s/.version = '//" |sed -e "s/';.*//" |sed -e "s/ /-/g") export DEBVERSION = $(shell grep -E "postfixadmin .([0-9]+|\.)+" debian/changelog |head -1 |sed -e "s/postfixadmin .//" |sed -e "s/-.*//") -include /usr/share/quilt/quilt.make - build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp -build-stamp: $(QUILT_STAMPFN) +build-stamp: dh_testdir - #dh_testroot touch build-stamp # Create a needed tar.gz file to build a non-nativ .dpkg prep: rm -f ../postfixadmin_*orig.tar.gz - cd ..; tar --exclude-vcs --exclude=postfixadmin/debian --exclude=postfixadmin/.pc -czf postfixadmin_${DEBVERSION}.orig.tar.gz postfixadmin - -# Call this target to build a shiny new .dpkg file. -build-package: prep - dh_testdir - cd ${PFADIR}; dpkg-buildpackage -rfakeroot + cd ..; tar --exclude-vcs --exclude=$(notdir ${CURDIR})/debian --exclude=$(notdir ${CURDIR})/.pc -cvzf postfixadmin_${DEBVERSION}.orig.tar.gz $(notdir ${CURDIR}) -clean: unpatch +clean: dh_testdir dh_testroot dh_clean @@ -42,7 +33,6 @@ install: build dh_install mv debian/postfixadmin/usr/share/postfixadmin/config.inc.php debian/postfixadmin/etc/postfixadmin/config.inc.php find debian/postfixadmin -name .svn | xargs -r rm -r - cp debian/confd-link.sh debian/postfixadmin/usr/share/postfixadmin/ chmod +x debian/postfixadmin/usr/share/postfixadmin/scripts/postfixadmin-cli chmod +x debian/postfixadmin/usr/share/postfixadmin/scripts/postfixadmin-cli.php diff --git a/debian/watch b/debian/watch index 94f42471..26cff355 100644 --- a/debian/watch +++ b/debian/watch @@ -1,2 +1,2 @@ version=3 -http://sf.net/postfixadmin/postfixadmin_(.+)\.tar\.gz +http://sf.net/postfixadmin/postfixadmin-([\d\.]+)\.tar\.gz