mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
Merge in Debian's /debian so we also support Apache 2.4 and PHP7 in our debs.... see: http://http.debian.net/debian/pool/main/p/postfixadmin/postfixadmin_2.3.7-2.debian.tar.xz and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=821643
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1848 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
parent
386f37dfdb
commit
cf47c8c5de
11
debian/README.Debian
vendored
11
debian/README.Debian
vendored
@ -6,17 +6,6 @@ http://youserver/postfixadmin/setup.php works. This should
|
|||||||
guide you through the appropriate process.
|
guide you through the appropriate process.
|
||||||
|
|
||||||
|
|
||||||
Integration with Postfix, Dovecot etc.
|
|
||||||
======================================
|
|
||||||
|
|
||||||
Now that PostfixAdmin is working, you need to do some configuration
|
|
||||||
in Postfix, Dovecot etc. so that they use the domains, mailboxes and
|
|
||||||
aliases you setup in PostfixAdmin.
|
|
||||||
|
|
||||||
The files in /usr/share/doc/postfixadmin/ directory explain which
|
|
||||||
settings you need to do/change.
|
|
||||||
|
|
||||||
|
|
||||||
Recommended and Suggested Packages
|
Recommended and Suggested Packages
|
||||||
==================================
|
==================================
|
||||||
- Postfix
|
- Postfix
|
||||||
|
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
postfixadmin (2.93-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Replace debian/ using Debian v2.3.7-2. See Debian's #821643
|
||||||
|
* This adds : PHP7 and Apache 2.4 support.
|
||||||
|
|
||||||
|
-- David Goodwin <david@palepurple.co.uk> Sun, 22 May 2016 19:41:01 +0100
|
||||||
|
|
||||||
postfixadmin (2.93-1) unstable; urgency=low
|
postfixadmin (2.93-1) unstable; urgency=low
|
||||||
|
|
||||||
* New upstream release (effectively beta3 for v3.0)
|
* New upstream release (effectively beta3 for v3.0)
|
||||||
|
14
debian/control
vendored
14
debian/control
vendored
@ -2,17 +2,17 @@ Source: postfixadmin
|
|||||||
Section: admin
|
Section: admin
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Norman Messtorff <normes@normes.org>
|
Maintainer: Norman Messtorff <normes@normes.org>
|
||||||
Build-Depends: debhelper (>= 7), po-debconf
|
Uploaders: Gaudenz Steinlin <gaudenz@debian.org>, Christoph Martin <martin@uni-mainz.de>
|
||||||
Standards-Version: 3.9.3
|
Build-Depends: debhelper (>= 7), po-debconf, dh-apache2
|
||||||
XS-Vcs-Svn: https://postfixadmin.svn.sourceforge.net/svnroot/postfixadmin/trunk
|
Standards-Version: 3.9.5
|
||||||
XS-Vcs-Browser: https://postfixadmin.svn.sourceforge.net/svnroot/postfixadmin/trunk
|
Vcs-Git: git://anonscm.debian.org/collab-maint/postfixadmin.git
|
||||||
|
Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/postfixadmin.git
|
||||||
Homepage: http://postfixadmin.sourceforge.net
|
Homepage: http://postfixadmin.sourceforge.net
|
||||||
|
|
||||||
Package: postfixadmin
|
Package: postfixadmin
|
||||||
Architecture: all
|
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-mysqlnd | php5-pgsql, mysql-client | postgresql-client | mariadb-client, ${misc:Depends}
|
Depends: debconf (>= 0.5), dbconfig-common, wwwconfig-common, apache2 | lighttpd | httpd, libapache2-mod-php | php-cgi | php, php-imap, php-mysql | php-pgsql, mysql-client | postgresql-client, ${misc:Depends}
|
||||||
Recommends: postfix-mysql | postfix-pgsql, mysql-server | postgresql-server | mariadb-server
|
Recommends: postfix-mysql | postfix-pgsql, mysql-server | postgresql, zendframework, dovecot-core | courier-authlib-mysql | courier-authlib-postgresql
|
||||||
Suggests: dovecot-common | courier-authlib-mysql | courier-authlib-postgresql
|
|
||||||
Description: Virtual mail hosting interface for Postfix
|
Description: Virtual mail hosting interface for Postfix
|
||||||
Postfixadmin is a web interface to manage virtual users and domains
|
Postfixadmin is a web interface to manage virtual users and domains
|
||||||
for a Postfix mail transport agent. It supports Virtual mailboxes,
|
for a Postfix mail transport agent. It supports Virtual mailboxes,
|
||||||
|
@ -1,25 +1,28 @@
|
|||||||
Description: This patch sets the dbconfig placeholders in config.inc.php.
|
From: Norman Messtorff <normes@normes.org>
|
||||||
Forwarded: not-needed
|
Date: Sun, 23 Mar 2014 17:40:30 +0100
|
||||||
Author: Norman Messtorff <normes@normes.org>
|
Subject: db_credentials
|
||||||
Last-Update: 2012-05-28
|
|
||||||
|
|
||||||
Index: postfixadmin/config.inc.php
|
---
|
||||||
===================================================================
|
config.inc.php | 19 ++++++++++++-------
|
||||||
--- postfixadmin.orig/config.inc.php 2015-09-26 15:03:05.000000000 +0100
|
1 file changed, 12 insertions(+), 7 deletions(-)
|
||||||
+++ postfixadmin/config.inc.php 2015-09-26 15:03:16.000000000 +0100
|
|
||||||
@@ -15,6 +15,11 @@
|
diff --git a/config.inc.php b/config.inc.php
|
||||||
|
index e41e7c3..538446d 100644
|
||||||
|
--- a/config.inc.php
|
||||||
|
+++ b/config.inc.php
|
||||||
|
@@ -16,6 +16,11 @@
|
||||||
* Contains configuration options.
|
* Contains configuration options.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
+// This loads the automatic generated DB credentials from /etc/postfixadmin/dbconfig.inc.php
|
+// This loads the automatic generated DB credentials from /etc/postfixadmin/dbconfig.inc.php
|
||||||
+require_once('/etc/postfixadmin/dbconfig.inc.php');
|
+require_once('dbconfig.inc.php');
|
||||||
+if (!isset($dbserver) || empty($dbserver))
|
+if (!isset($dbserver) || empty($dbserver))
|
||||||
+ $dbserver='localhost';
|
+ $dbserver='localhost';
|
||||||
+
|
+
|
||||||
/*****************************************************************
|
/*****************************************************************
|
||||||
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
* You have to set $CONF['configured'] = true; before the
|
* You have to set $CONF['configured'] = true; before the
|
||||||
@@ -22,7 +27,7 @@
|
@@ -23,7 +28,7 @@
|
||||||
* Doing this implies you have changed this file as required.
|
* Doing this implies you have changed this file as required.
|
||||||
* i.e. configuring database etc; specifying setup.php password etc.
|
* i.e. configuring database etc; specifying setup.php password etc.
|
||||||
*/
|
*/
|
||||||
@ -28,11 +31,20 @@ Index: postfixadmin/config.inc.php
|
|||||||
|
|
||||||
// In order to setup Postfixadmin, you MUST specify a hashed password here.
|
// In order to setup Postfixadmin, you MUST specify a hashed password here.
|
||||||
// To create the hash, visit setup.php in a browser and type a password into the field,
|
// To create the hash, visit setup.php in a browser and type a password into the field,
|
||||||
@@ -80,11 +85,11 @@
|
@@ -33,7 +38,7 @@ $CONF['setup_password'] = 'changeme';
|
||||||
|
// Postfix Admin Path
|
||||||
|
// Set the location of your Postfix Admin installation here.
|
||||||
|
// YOU MUST ENTER THE COMPLETE URL e.g. http://domain.tld/postfixadmin
|
||||||
|
-$CONF['postfix_admin_url'] = '';
|
||||||
|
+$CONF['postfix_admin_url'] = '/postfixadmin';
|
||||||
|
|
||||||
|
// shouldn't need changing.
|
||||||
|
$CONF['postfix_admin_path'] = dirname(__FILE__);
|
||||||
|
@@ -46,11 +51,11 @@ $CONF['default_language'] = 'en';
|
||||||
// mysql = MySQL 3.23 and 4.0, 4.1 or 5
|
// mysql = MySQL 3.23 and 4.0, 4.1 or 5
|
||||||
// mysqli = MySQL 4.1+ or MariaDB
|
// mysqli = MySQL 4.1+
|
||||||
// pgsql = PostgreSQL
|
// pgsql = PostgreSQL
|
||||||
-$CONF['database_type'] = 'mysqli';
|
-$CONF['database_type'] = 'mysql';
|
||||||
-$CONF['database_host'] = 'localhost';
|
-$CONF['database_host'] = 'localhost';
|
||||||
-$CONF['database_user'] = 'postfix';
|
-$CONF['database_user'] = 'postfix';
|
||||||
-$CONF['database_password'] = 'postfixadmin';
|
-$CONF['database_password'] = 'postfixadmin';
|
21
debian/patches/0002-dovecotpw.patch
vendored
Normal file
21
debian/patches/0002-dovecotpw.patch
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
Description: Use doveadm pw instead of dovecotpw by default
|
||||||
|
Newer versions of dovecot no longer have the dovecotpw command.
|
||||||
|
Author: Gaudenz Steinlin <gaudenz@debian.org>
|
||||||
|
Forwarded: not-needed
|
||||||
|
Applied-Upstream: fixed upstream in version 2.91
|
||||||
|
Last-Update: 2014-10-03
|
||||||
|
---
|
||||||
|
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
||||||
|
Index: postfixadmin/config.inc.php
|
||||||
|
===================================================================
|
||||||
|
--- postfixadmin.orig/config.inc.php 2014-10-02 17:21:08.000000000 +0200
|
||||||
|
+++ postfixadmin/config.inc.php 2014-10-03 10:40:32.836919086 +0200
|
||||||
|
@@ -111,7 +111,7 @@
|
||||||
|
$CONF['authlib_default_flavor'] = 'md5raw';
|
||||||
|
|
||||||
|
// If you use the dovecot encryption method: where is the dovecotpw binary located?
|
||||||
|
-$CONF['dovecotpw'] = "/usr/sbin/dovecotpw";
|
||||||
|
+$CONF['dovecotpw'] = "/usr/bin/doveadm pw";
|
||||||
|
|
||||||
|
// Minimum length required for passwords. Postfixadmin will not
|
||||||
|
// allow users to set passwords which are shorter than this value.
|
3
debian/patches/series
vendored
3
debian/patches/series
vendored
@ -1 +1,2 @@
|
|||||||
db_credentials
|
0001-db_credentials.patch
|
||||||
|
0002-dovecotpw.patch
|
||||||
|
1
debian/po/POTFILES.in
vendored
1
debian/po/POTFILES.in
vendored
@ -1 +0,0 @@
|
|||||||
[type: gettext/rfc822deb] templates
|
|
32
debian/po/cs.po
vendored
32
debian/po/cs.po
vendored
@ -1,32 +0,0 @@
|
|||||||
# 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
34
debian/po/da.po
vendored
@ -1,34 +0,0 @@
|
|||||||
# 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
32
debian/po/de.po
vendored
@ -1,32 +0,0 @@
|
|||||||
# 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
53
debian/po/es.po
vendored
@ -1,53 +0,0 @@
|
|||||||
# 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
35
debian/po/fr.po
vendored
@ -1,35 +0,0 @@
|
|||||||
# 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
34
debian/po/it.po
vendored
@ -1,34 +0,0 @@
|
|||||||
# 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
32
debian/po/nl.po
vendored
@ -1,32 +0,0 @@
|
|||||||
# 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
37
debian/po/pl.po
vendored
@ -1,37 +0,0 @@
|
|||||||
# 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
32
debian/po/pt.po
vendored
@ -1,32 +0,0 @@
|
|||||||
# 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
36
debian/po/ru.po
vendored
@ -1,36 +0,0 @@
|
|||||||
# 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
33
debian/po/sv.po
vendored
@ -1,33 +0,0 @@
|
|||||||
# 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/templates.pot
vendored
31
debian/po/templates.pot
vendored
@ -1,31 +0,0 @@
|
|||||||
# 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 <EMAIL@ADDRESS>, YEAR.
|
|
||||||
#
|
|
||||||
#, fuzzy
|
|
||||||
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: YEAR-MO-DA HO:MI+ZONE\n"
|
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
||||||
"MIME-Version: 1.0\n"
|
|
||||||
"Content-Type: text/plain; charset=CHARSET\n"
|
|
||||||
"Content-Transfer-Encoding: 8bit\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 ""
|
|
31
debian/po/zh_TW.po
vendored
31
debian/po/zh_TW.po
vendored
@ -1,31 +0,0 @@
|
|||||||
# 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 的網頁伺服器"
|
|
1
debian/postfixadmin.apache2
vendored
Normal file
1
debian/postfixadmin.apache2
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
conf debian/apache/postfixadmin.conf
|
3
debian/postfixadmin.config
vendored
3
debian/postfixadmin.config
vendored
@ -2,9 +2,6 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
. /usr/share/debconf/confmodule
|
. /usr/share/debconf/confmodule
|
||||||
db_version 2.0
|
|
||||||
db_input high postfixadmin/reconfigure-webserver || true
|
|
||||||
db_go || true
|
|
||||||
|
|
||||||
if [ -f /usr/share/dbconfig-common/dpkg/config ]; then
|
if [ -f /usr/share/dbconfig-common/dpkg/config ]; then
|
||||||
# we support mysql and pgsql
|
# we support mysql and pgsql
|
||||||
|
1
debian/postfixadmin.dirs
vendored
1
debian/postfixadmin.dirs
vendored
@ -2,4 +2,3 @@ usr/share/postfixadmin
|
|||||||
usr/share/postfixadmin/css
|
usr/share/postfixadmin/css
|
||||||
usr/share/doc/postfixadmin
|
usr/share/doc/postfixadmin
|
||||||
etc/postfixadmin
|
etc/postfixadmin
|
||||||
etc/apache2/conf.d
|
|
||||||
|
9
debian/postfixadmin.install
vendored
9
debian/postfixadmin.install
vendored
@ -1,14 +1,9 @@
|
|||||||
*.php usr/share/postfixadmin
|
*.php usr/share/postfixadmin
|
||||||
*.js usr/share/postfixadmin
|
admin usr/share/postfixadmin
|
||||||
configs usr/share/postfixadmin
|
|
||||||
css usr/share/postfixadmin
|
css usr/share/postfixadmin
|
||||||
images usr/share/postfixadmin
|
images usr/share/postfixadmin
|
||||||
languages usr/share/postfixadmin
|
languages usr/share/postfixadmin
|
||||||
model usr/share/postfixadmin
|
model usr/share/postfixadmin
|
||||||
scripts usr/share/postfixadmin
|
|
||||||
smarty usr/share/postfixadmin
|
|
||||||
templates usr/share/postfixadmin
|
templates usr/share/postfixadmin
|
||||||
templates_c usr/share/postfixadmin
|
|
||||||
users usr/share/postfixadmin
|
users usr/share/postfixadmin
|
||||||
debian/apache.conf etc/postfixadmin
|
debian/lighttpd/90-postfixadmin.conf etc/lighttpd/conf-available
|
||||||
debian/lighttpd.conf etc/postfixadmin
|
|
||||||
|
3
debian/postfixadmin.maintscript
vendored
Normal file
3
debian/postfixadmin.maintscript
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# move webserver configuration files
|
||||||
|
mv_conffile /etc/postfixadmin/apache.conf /etc/apache2/conf-available/postfixadmin.conf 2.3.7-1~
|
||||||
|
mv_conffile /etc/postfixadmin/lighttpd.conf /etc/lighttpd/conf-available/postfixadmin.conf 2.3.7-1~
|
23
debian/postfixadmin.postinst
vendored
23
debian/postfixadmin.postinst
vendored
@ -8,24 +8,17 @@ if [ "$1" = "configure" ]; then
|
|||||||
. /usr/share/debconf/confmodule
|
. /usr/share/debconf/confmodule
|
||||||
. /usr/share/dbconfig-common/dpkg/postinst
|
. /usr/share/dbconfig-common/dpkg/postinst
|
||||||
dbc_go postfixadmin $@
|
dbc_go postfixadmin $@
|
||||||
|
fi
|
||||||
|
|
||||||
# configure webserver stuff
|
# remove legacy apache and lighthttpd configuration symlink,
|
||||||
db_get postfixadmin/reconfigure-webserver
|
# conf.d is no longer supported with Apache 2.4
|
||||||
servers="$RET"
|
if [ "$(readlink /etc/apache2/conf.d/postfixadmin)" = "../../postfixadmin/apache.conf" ]; then
|
||||||
restart="$servers"
|
rm -f /etc/apache2/conf.d/postfixadmin
|
||||||
linkdestination_apache="../../postfixadmin/apache.conf"
|
fi
|
||||||
linkdestination_lighttpd="../../postfixadmin/lighttpd.conf"
|
if [ "$(readlink /etc/lighttpd/conf-available/postfixadmin)" = "../../postfixadmin/lighttpd.conf" ]; then
|
||||||
linkname="postfixadmin"
|
rm -f /etc/lighttpd/conf-available/postfixadmin
|
||||||
if [ -e /usr/share/wwwconfig-common/confd-link.sh ]; then
|
|
||||||
. /usr/share/wwwconfig-common/confd-link.sh
|
|
||||||
else
|
|
||||||
. /usr/share/postfixadmin/confd-link.sh
|
|
||||||
fi
|
|
||||||
. /usr/share/wwwconfig-common/restart.sh
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#DEBHELPER#
|
#DEBHELPER#
|
||||||
|
|
||||||
chown www-data /usr/share/postfixadmin/templates_c
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
10
debian/postfixadmin.postrm
vendored
10
debian/postfixadmin.postrm
vendored
@ -6,16 +6,6 @@ if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
|
|||||||
. /usr/share/debconf/confmodule
|
. /usr/share/debconf/confmodule
|
||||||
db_version 2.0
|
db_version 2.0
|
||||||
|
|
||||||
# restart the webserver only if we know which one was configured.
|
|
||||||
if db_get postfixadmin/reconfigure-webserver; then
|
|
||||||
servers="$RET"
|
|
||||||
restart=$servers
|
|
||||||
linkname="postfixadmin"
|
|
||||||
if [ -e /usr/share/wwwconfig-common/restart.sh ]; then
|
|
||||||
. /usr/share/wwwconfig-common/restart.sh
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then
|
if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then
|
||||||
. /usr/share/dbconfig-common/dpkg/postrm
|
. /usr/share/dbconfig-common/dpkg/postrm
|
||||||
dbc_go postfixadmin $@
|
dbc_go postfixadmin $@
|
||||||
|
13
debian/postfixadmin.prerm
vendored
13
debian/postfixadmin.prerm
vendored
@ -8,17 +8,4 @@ if [ -f /usr/share/dbconfig-common/dpkg/prerm ]; then
|
|||||||
dbc_go postfixadmin $@
|
dbc_go postfixadmin $@
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f /usr/share/debconf/confmodule ]; then
|
|
||||||
. /usr/share/debconf/confmodule
|
|
||||||
db_version 2.0
|
|
||||||
db_get postfixadmin/reconfigure-webserver
|
|
||||||
servers="$RET"
|
|
||||||
linkname="postfixadmin"
|
|
||||||
if [ -e /usr/share/wwwconfig-common/confd-link.sh ]; then
|
|
||||||
. /usr/share/wwwconfig-common/confd-link.sh
|
|
||||||
else
|
|
||||||
. /usr/share/postfixadmin/confd-link.sh
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
#DEBHELPER#
|
#DEBHELPER#
|
||||||
|
12
debian/rules
vendored
12
debian/rules
vendored
@ -7,6 +7,7 @@
|
|||||||
export VERSION = $(shell grep -E "version = '.*';" functions.inc.php |sed -e "s/.version = '//" |sed -e "s/';.*//" |sed -e "s/ /-/g")
|
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/-.*//")
|
export DEBVERSION = $(shell grep -E "postfixadmin .([0-9]+|\.)+" debian/changelog |head -1 |sed -e "s/postfixadmin .//" |sed -e "s/-.*//")
|
||||||
|
|
||||||
|
|
||||||
build: build-arch build-indep
|
build: build-arch build-indep
|
||||||
build-arch: build-stamp
|
build-arch: build-stamp
|
||||||
build-indep: build-stamp
|
build-indep: build-stamp
|
||||||
@ -14,16 +15,10 @@ build-stamp:
|
|||||||
dh_testdir
|
dh_testdir
|
||||||
touch build-stamp
|
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=$(notdir ${CURDIR})/debian --exclude=$(notdir ${CURDIR})/.pc -cvzf postfixadmin_${DEBVERSION}.orig.tar.gz $(notdir ${CURDIR})
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
dh_clean
|
dh_clean
|
||||||
debconf-updatepo
|
|
||||||
|
|
||||||
install: build
|
install: build
|
||||||
dh_testdir
|
dh_testdir
|
||||||
@ -31,12 +26,9 @@ install: build
|
|||||||
dh_prep
|
dh_prep
|
||||||
dh_installdirs
|
dh_installdirs
|
||||||
dh_install
|
dh_install
|
||||||
|
dh_apache2
|
||||||
mv debian/postfixadmin/usr/share/postfixadmin/config.inc.php debian/postfixadmin/etc/postfixadmin/config.inc.php
|
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
|
find debian/postfixadmin -name .svn | xargs -r rm -r
|
||||||
chmod +x debian/postfixadmin/usr/share/postfixadmin/scripts/postfixadmin-cli
|
|
||||||
chmod +x debian/postfixadmin/usr/share/postfixadmin/scripts/postfixadmin-cli.php
|
|
||||||
chown www-data debian/postfixadmin/usr/share/postfixadmin/templates_c
|
|
||||||
|
|
||||||
|
|
||||||
# Build architecture-independent files here.
|
# Build architecture-independent files here.
|
||||||
binary-indep: build install
|
binary-indep: build install
|
||||||
|
0
debian/stamp-patched
vendored
Normal file
0
debian/stamp-patched
vendored
Normal file
6
debian/templates
vendored
6
debian/templates
vendored
@ -1,6 +0,0 @@
|
|||||||
Template: postfixadmin/reconfigure-webserver
|
|
||||||
Type: multiselect
|
|
||||||
Choices: apache2, apache, apache-ssl, apache-perl, lighttpd
|
|
||||||
_Description: Web server to reconfigure automatically:
|
|
||||||
Please choose the web server that should be automatically configured
|
|
||||||
to run postfixadmin.
|
|
Loading…
Reference in New Issue
Block a user