0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 11:12:15 +02:00

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
This commit is contained in:
Norman Messtorff 2012-04-26 19:57:20 +00:00
parent 87f33d95ae
commit f535a0f66f
20 changed files with 446 additions and 148 deletions

24
debian/README.Debian vendored
View File

@ -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.

1
debian/TODO vendored
View File

@ -1,4 +1,3 @@
* Do all necessary things automatically (maybe with dbconfig?) (database, setp password...)
* DebTags
* dbconfig: DOCUMENTS/SECURITY.txt
* include postfix configuration templates

21
debian/changelog vendored
View File

@ -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 <david.goodwin@palepurple.co.uk> Mon, 23 Aug 2010 11:24:00 +0100
-- Norman Messtorff <normes@normes.org> 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 <david.goodwin@palepurple.co.uk> Thu, 08 Jul 2010 22:20:14 +0100
postfixadmin (2.3) unstable; urgency=low
* Initial release (Closes: #247225)
-- Norman Messtorff <normes@normes.org> Sun, 21 Feb 2010 22:36:26 +0200
-- Norman Messtorff <normes@normes.org> Sun, 15 Jan 2012 12:27:28 +0100

86
debian/confd-link.sh vendored
View File

@ -1,86 +0,0 @@
#!/bin/sh
# File: confd-link.sh
# Changes:
# 20081109 Norman Messtorff <normes@normes.org>
# 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

22
debian/control vendored
View File

@ -2,22 +2,26 @@ Source: postfixadmin
Section: admin
Priority: optional
Maintainer: Norman Messtorff <normes@normes.org>
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.

32
debian/po/cs.po vendored Normal file
View File

@ -0,0 +1,32 @@
# Czech PO debconf template translation of postfixadmin.
# Copyright (C) 2012 Michal Simunek <michal.simunek@gmail.com>
# This file is distributed under the same license as the postfixadmin package.
# Michal Simunek <michal.simunek@gmail.com>, 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 <michal.simunek@gmail.com>\n"
"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\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."

34
debian/po/da.po vendored Normal file
View File

@ -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 <joedalton2@yahoo.dk>, 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 <joedalton2@yahoo.dk>\n"
"Language-Team: Danish <debian-l10n-danish@lists.debian.org>\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."

32
debian/po/de.po vendored Normal file
View File

@ -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 <linux@wansing-online.de>, 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 <linux@wansing-online.de>\n"
"Language-Team: German <debian-l10n-german@lists.debian.org>\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."

53
debian/po/es.po vendored Normal file
View File

@ -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 <matiasbellone+debian@gmail.com>, 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 <matiasbellone+debian@gmail.com>\n"
"Language-Team: Debian Spanish <debian-l10n-spanish@lists.debian.org>\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»."

35
debian/po/fr.po vendored Normal file
View File

@ -0,0 +1,35 @@
# Translation of postfixadmin debconf template to French.
# Copyright (C) 2012 Debian French l10n team <debian-l10n-french@lists.debian.org>
# This file is distributed under the same license as the postfixadmin package.
# Translators:
# Christian Perrier <bubulle@debian.org>, 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 <bubulle@debian.org>\n"
"Language-Team: French <debian-l10n-french@lists.debian.org>\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."

34
debian/po/it.po vendored Normal file
View File

@ -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 <beatricet@libero.it>, 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 <beatricet@libero.it>\n"
"Language-Team: Italian <debian-l10n-italian@lists.debian.org>\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."

32
debian/po/nl.po vendored Normal file
View File

@ -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 <schot@a-eskwadraat.nl>, 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 <schot@a-eskwadraat.nl>\n"
"Language-Team: Debian l10n Dutch <debian-l10n-dutch@lists.debian.org>\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?"

37
debian/po/pl.po vendored Normal file
View File

@ -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 <michal.kulach@gmail.com>, 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 <michal.kulach@gmail.com>\n"
"Language-Team: Polish <debian-l10n-polish@lists.debian.org>\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."

32
debian/po/pt.po vendored Normal file
View File

@ -0,0 +1,32 @@
# Portuguese translation for postfixadmin (debconf)
# This file is distributed under the same license as the postfixadmin package.
# Rui Branco <ruipb@debianpt.org>, 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 <ruipb@debianpt.org>\n"
"Language-Team: Portuguese <traduz@debianpt.org>\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."

36
debian/po/ru.po vendored Normal file
View File

@ -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 <yuray@komyakino.ru>, 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 <yuray@komyakino.ru>\n"
"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\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."

33
debian/po/sv.po vendored Normal file
View File

@ -0,0 +1,33 @@
# Translation of postfixadmin debconf template to Swedish
# Copyright (C) 2012 Martin Bagge <brother@bsnet.se>
# This file is distributed under the same license as the postfixadmin package.
#
# Martin Bagge <brother@bsnet.se>, 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 <brother@bsnet.se>\n"
"Language-Team: Swedish <debian-l10n-swedish@lists.debian.org>\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."

31
debian/po/zh_TW.po vendored Normal file
View File

@ -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 <vinmun@gmail.com>, 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 <vinmun@gmail.com>\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 的網頁伺服器"

View File

@ -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

16
debian/rules vendored
View File

@ -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
cd ..; tar --exclude-vcs --exclude=$(notdir ${CURDIR})/debian --exclude=$(notdir ${CURDIR})/.pc -cvzf postfixadmin_${DEBVERSION}.orig.tar.gz $(notdir ${CURDIR})
# Call this target to build a shiny new .dpkg file.
build-package: prep
dh_testdir
cd ${PFADIR}; dpkg-buildpackage -rfakeroot
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

2
debian/watch vendored
View File

@ -1,2 +1,2 @@
version=3
http://sf.net/postfixadmin/postfixadmin_(.+)\.tar\.gz
http://sf.net/postfixadmin/postfixadmin-([\d\.]+)\.tar\.gz