Migrated my .deb changes into SVN. Feedback welcome...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@653 a1433add-5e2c-0410-b055-b7f2511e0802postfixadmin-2.3
parent
a9d9e3d96a
commit
caccba0385
@ -0,0 +1,4 @@
|
|||||||
|
* Do all necessary things automatically (maybe with dbconfig?) (database, setp password...)
|
||||||
|
* DebTags
|
||||||
|
* dbconfig: DOCUMENTS/SECURITY.txt
|
||||||
|
* include postfix configuration templates
|
@ -1,121 +1,6 @@
|
|||||||
postfixadmin (2.3rc4) unstable; urgency=low
|
postfixadmin (2.3rc5) unstable; urgency=low
|
||||||
|
|
||||||
* Security fix for setup.php (issue occurs for those upgrading only; where
|
* Initial release (Closes: #247225)
|
||||||
it's possible for a new admin user to get created by nasty.person)
|
|
||||||
* SVN revision 632
|
|
||||||
|
|
||||||
-- David Goodwin <david.goodwin@palepurple.co.uk> Sat, 18 Apr 2009 21:00:00 +0000
|
-- Norman Messtorff <normes@normes.org> Sat, 09 May 2009 22:36:26 +0200
|
||||||
|
|
||||||
postfixadmin (2.3rc3) unstable; urgency=low
|
|
||||||
|
|
||||||
* Attempt at fixing Debian build issues (thanks to mez@sourceguru.net)
|
|
||||||
* SVN revision 611
|
|
||||||
|
|
||||||
-- David Goodwin <david.goodwin@palepurple.co.uk> Mon, 6 Apr 2009 20:56:00 +0000
|
|
||||||
|
|
||||||
postfixadmin (2.3rc2) unstable; urgency=low
|
|
||||||
|
|
||||||
* Subversion revision 593
|
|
||||||
* Add model directory to .deb etc.
|
|
||||||
* Updated ChangeLog
|
|
||||||
|
|
||||||
-- David Goodwin <david.goodwin@palepurple.co.uk> Thu, 19 Mar 2009 19:50:00 +0000
|
|
||||||
|
|
||||||
postfixadmin (2.3rc1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Subversion revision 587
|
|
||||||
* New XmlRpc API for integration with 3rd party web mail clients.
|
|
||||||
* Various bug fixes
|
|
||||||
* Translation patches
|
|
||||||
* Addition of dovecotpw support
|
|
||||||
|
|
||||||
-- David Goodwin <david.goodwin@palepurple.co.uk> Wed, 18 Mar 2009 19:52:00 +0000
|
|
||||||
|
|
||||||
postfixadmin (2.3beta) unstable; urgency=low
|
|
||||||
|
|
||||||
* Subversion revision 533
|
|
||||||
* Fixes for MySQL upgrade issues
|
|
||||||
* Improved vacation.pl (renotification options, use SMTP headers, better
|
|
||||||
logging, optional external config file)
|
|
||||||
* Improved fetchmail.pl
|
|
||||||
* Domain aliases - new implementation should reduce backscatter etc.
|
|
||||||
* translation updates
|
|
||||||
* Added domain-postcreation script support
|
|
||||||
* Enhanced mailbox table to make it easier for people to customise where mailboxes live
|
|
||||||
* and much more
|
|
||||||
|
|
||||||
-- David Goodwin <david.goodwin@palepurple.co.uk> Sat, 17 Jan 2009 20:06:00 +0000
|
|
||||||
|
|
||||||
postfixadmin (2.2.1.1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Subversion revision 412 (from branches/postfixadmin-2.2.1)
|
|
||||||
* THIS IS EFFECTIVELY THE SAME AS 2.2.1 (which should probably be ignored)
|
|
||||||
|
|
||||||
-- David Goodwin <david.goodwin@palepurple.co.uk> Wed, 23 Jul 2008 12:37:00 +0000
|
|
||||||
|
|
||||||
postfixadmin (2.2.1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Various bug fixes (MySQL charset issue(s))
|
|
||||||
* Updated translations (pl, bg, ru, nb, tw etc)
|
|
||||||
* added quota parameter to mailbox_postcreation hook
|
|
||||||
* new hook to update the quota after editing a mailbox
|
|
||||||
($CONF['mailbox_postedit_script'])
|
|
||||||
* fixed subfolder creation order and timing
|
|
||||||
* allow smtp server to be specified in vacation.pl
|
|
||||||
* fixed MySQL charset issues
|
|
||||||
* several small bugfixes
|
|
||||||
* Norwegian (bokmal) translation added
|
|
||||||
* Updated translations (pl, bg, ru, nb, tw etc)
|
|
||||||
* Subversion revision 408
|
|
||||||
|
|
||||||
-- David Goodwin <david.goodwin@palepurple.co.uk> Mon, 21 Jul 2008 22:44:00 +0000
|
|
||||||
postfixadmin (2.2.0) unstable; urgency=low
|
|
||||||
|
|
||||||
* 2.2.0 Released.
|
|
||||||
* Fix fetchmail script to work with PostgreSQL
|
|
||||||
* Fix fetchmail table creation in MySQL and PostgreSQL
|
|
||||||
* Documentation fixups
|
|
||||||
* Subversion revision 356
|
|
||||||
|
|
||||||
-- David Goodwin <david.goodwin@palepurple.co.uk> Thu, 29 Apr 2008 15:47:00 +0000
|
|
||||||
|
|
||||||
postfixadmin (2.2.0-rc5) unstable; urgency=low
|
|
||||||
|
|
||||||
* Fix MySQL installation issues (schema not being created!)
|
|
||||||
* Fix MySQL vacation_notification timestamp issue
|
|
||||||
* SVN revision: 340
|
|
||||||
|
|
||||||
-- David Goodwin <david.goodwin@palepurple.co.uk> Wed, 23 Apr 2008 16:27:00 +0000
|
|
||||||
|
|
||||||
postfixadmin (2.2.0-1rc4) unstable; urgency=low
|
|
||||||
|
|
||||||
* Removal of standalone database schema files (see upgrade.php)
|
|
||||||
* Various bug fixes
|
|
||||||
* Better/Move documentation on installation
|
|
||||||
* setup.php/upgrade.php works for PostgreSQL and MySQL
|
|
||||||
* MySQL Unicode problems fixed
|
|
||||||
* I think this is effectively v2.2.0
|
|
||||||
* SVN revision: 336
|
|
||||||
|
|
||||||
-- David Goodwin <david.goodwin@palepurple.co.uk> Sun, 20 Apr 2008 20:19:00 +0000
|
|
||||||
|
|
||||||
postfixadmin (2.2.0-1rc3) unstable; urgency=low
|
|
||||||
|
|
||||||
* Various bug fixes
|
|
||||||
|
|
||||||
-- David Goodwin <david.goodwin@palepurple.co.uk> Thu, 28 Feb 2008 12:00:00 +0000
|
|
||||||
|
|
||||||
postfixadmin (2.2.0-1rc2) unstable; urgency=low
|
|
||||||
|
|
||||||
* Improved CSS
|
|
||||||
* Improved upgrade procedure (should work for PGSQL) (see upgrade.php)
|
|
||||||
* Various bug fixes
|
|
||||||
|
|
||||||
-- David Goodwin <david.goodwin@palepurple.co.uk> Sat, 29 Dec 2007 21:14:00 +0000
|
|
||||||
|
|
||||||
postfixadmin (2.2.0-1rc1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Initial Release (via dpkg)
|
|
||||||
|
|
||||||
-- David Goodwin <david.goodwin@palepurple.co.uk> Sun, 04 Nov 2007 15:36:00 +0000
|
|
||||||
|
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
# Alias for Postfixadmin
|
||||||
|
alias.url += (
|
||||||
|
"/postfixadmin" => "/usr/share/postfixadmin",
|
||||||
|
)
|
@ -0,0 +1,21 @@
|
|||||||
|
Index: config.inc.php
|
||||||
|
===================================================================
|
||||||
|
--- config.inc.php.orig 2009-05-09 21:24:04.000000000 +0200
|
||||||
|
+++ config.inc.php 2009-05-09 21:26:40.000000000 +0200
|
||||||
|
@@ -52,11 +52,11 @@ $CONF['default_language'] = 'en';
|
||||||
|
// mysql = MySQL 3.23 and 4.0, 4.1 or 5
|
||||||
|
// mysqli = MySQL 4.1+
|
||||||
|
// pgsql = PostgreSQL
|
||||||
|
-$CONF['database_type'] = 'mysql';
|
||||||
|
-$CONF['database_host'] = 'localhost';
|
||||||
|
-$CONF['database_user'] = 'postfix';
|
||||||
|
-$CONF['database_password'] = 'postfixadmin';
|
||||||
|
-$CONF['database_name'] = 'postfix';
|
||||||
|
+$CONF['database_type'] = '_DBC_DBTYPE_';
|
||||||
|
+$CONF['database_host'] = '_DBC_DBSERVER_';
|
||||||
|
+$CONF['database_user'] = '_DBC_DBUSER_';
|
||||||
|
+$CONF['database_password'] = '_DBC_DBPASS_';
|
||||||
|
+$CONF['database_name'] = '_DBC_DBNAME_';
|
||||||
|
$CONF['database_prefix'] = '';
|
||||||
|
|
||||||
|
// Here, if you need, you can customize table names.
|
@ -0,0 +1 @@
|
|||||||
|
01-20090509_database-credentials -p0
|
@ -0,0 +1 @@
|
|||||||
|
[type: gettext/rfc822deb] templates
|
@ -0,0 +1,31 @@
|
|||||||
|
# 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 ""
|
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
. /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
|
||||||
|
# we support mysql and pgsql
|
||||||
|
dbc_dbtypes="mysql, pgsql"
|
||||||
|
|
||||||
|
. /usr/share/dbconfig-common/dpkg/config
|
||||||
|
dbc_go postfixadmin $@
|
||||||
|
fi
|
@ -1,6 +1,5 @@
|
|||||||
VIRTUAL_VACATION
|
|
||||||
DOCUMENTS
|
DOCUMENTS
|
||||||
ADDITIONS
|
CHANGELOG.TXT
|
||||||
LICENSE.TXT
|
|
||||||
INSTALL.TXT
|
|
||||||
GPL-LICENSE.TXT
|
GPL-LICENSE.TXT
|
||||||
|
INSTALL.TXT
|
||||||
|
LICENSE.TXT
|
@ -0,0 +1,2 @@
|
|||||||
|
ADDITIONS
|
||||||
|
VIRTUAL_VACATION
|
@ -0,0 +1,12 @@
|
|||||||
|
*.php usr/share/postfixadmin
|
||||||
|
admin usr/share/postfixadmin
|
||||||
|
css usr/share/postfixadmin
|
||||||
|
images usr/share/postfixadmin
|
||||||
|
languages usr/share/postfixadmin
|
||||||
|
model usr/share/postfixadmin
|
||||||
|
motd.txt usr/share/postfixadmin
|
||||||
|
motd-users.txt usr/share/postfixadmin
|
||||||
|
templates usr/share/postfixadmin
|
||||||
|
users usr/share/postfixadmin
|
||||||
|
debian/apache.conf etc/postfixadmin
|
||||||
|
debian/lighttpd.conf etc/postfixadmin
|
@ -0,0 +1 @@
|
|||||||
|
etc/postfixadmin/config.inc.php usr/share/postfixadmin/config.inc.php
|
@ -0,0 +1,25 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
if [ "$1" = "configure" ]; then
|
||||||
|
. /usr/share/debconf/confmodule
|
||||||
|
db_version 2.0
|
||||||
|
dbc_generate_include='template:/etc/postfixadmin/config.inc.php'
|
||||||
|
dbc_generate_include_owner='root:www-data'
|
||||||
|
dbc_generate_include_perms='640'
|
||||||
|
dbc_generate_include_args="-U -o template_infile=/usr/share/postfixadmin/config.inc.php"
|
||||||
|
. /usr/share/dbconfig-common/dpkg/postinst
|
||||||
|
dbc_go postfixadmin $@
|
||||||
|
db_get postfixadmin/reconfigure-webserver
|
||||||
|
servers="$RET"
|
||||||
|
restart="$servers"
|
||||||
|
linkdestination_apache="../../postfixadmin/apache.conf"
|
||||||
|
linkdestination_lighttpd="../../postfixadmin/lighttpd.conf"
|
||||||
|
linkname="postfixadmin"
|
||||||
|
. /usr/share/wwwconfig-common/confd-link.sh
|
||||||
|
. /usr/share/wwwconfig-common/restart.sh
|
||||||
|
fi
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
exit 0
|
@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
|
||||||
|
if [ -f /usr/share/debconf/confmodule ]; then
|
||||||
|
. /usr/share/debconf/confmodule
|
||||||
|
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"
|
||||||
|
. /usr/share/wwwconfig-common/restart.sh
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then
|
||||||
|
. /usr/share/dbconfig-common/dpkg/postrm
|
||||||
|
dbc_go postfixadmin $@
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
exit 0
|
@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
. /usr/share/debconf/confmodule
|
||||||
|
|
||||||
|
if [ -f /usr/share/dbconfig-common/dpkg/prerm ]; then
|
||||||
|
. /usr/share/dbconfig-common/dpkg/prerm
|
||||||
|
dbc_go postfixadmin $@
|
||||||
|
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"
|
||||||
|
. /usr/share/wwwconfig-common/confd-link.sh
|
||||||
|
fi
|
||||||
|
|
||||||
|
#DEBHELPER#
|
@ -0,0 +1,6 @@
|
|||||||
|
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.
|
@ -0,0 +1,2 @@
|
|||||||
|
version=3
|
||||||
|
http://sf.net/postfixadmin/postfixadmin-(.*)\.tar\.gz
|
Loading…
Reference in New Issue