diff options
author | Aaron Swenson <titanofold@gentoo.org> | 2015-02-25 15:04:14 +0000 |
---|---|---|
committer | Aaron Swenson <titanofold@gentoo.org> | 2015-02-25 15:04:14 +0000 |
commit | 88fe0c70c746aacf7b6c0f0be48a8a05d4acac6d (patch) | |
tree | ea147f4457ed8b81833ddb370140e984049d27c7 /www-apps | |
parent | Raise minimum xorg-server dependency, bug #540820. (diff) | |
download | historical-88fe0c70c746aacf7b6c0f0be48a8a05d4acac6d.tar.gz historical-88fe0c70c746aacf7b6c0f0be48a8a05d4acac6d.tar.bz2 historical-88fe0c70c746aacf7b6c0f0be48a8a05d4acac6d.zip |
Abstracted post-install instructions so that they are database agnostic. Fixes bug 387773.
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0xD1BBFDA0
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/postfixadmin/ChangeLog | 9 | ||||
-rw-r--r-- | www-apps/postfixadmin/Manifest | 10 | ||||
-rw-r--r-- | www-apps/postfixadmin/files/postinstall-en-2.3.txt | 58 |
3 files changed, 41 insertions, 36 deletions
diff --git a/www-apps/postfixadmin/ChangeLog b/www-apps/postfixadmin/ChangeLog index 554ddd50671b..4fb04e37ac88 100644 --- a/www-apps/postfixadmin/ChangeLog +++ b/www-apps/postfixadmin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-apps/postfixadmin -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/ChangeLog,v 1.36 2014/08/10 20:14:45 slyfox Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/ChangeLog,v 1.37 2015/02/25 15:04:10 titanofold Exp $ + + 25 Feb 2015; Aaron W. Swenson <titanofold@gentoo.org> + files/postinstall-en-2.3.txt: + Abstracted post-install instructions so that they are database agnostic. + Fixes bug 387773. 10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> postfixadmin-2.3.7.ebuild: QA: drop trailing '.' from DESCRIPTION diff --git a/www-apps/postfixadmin/Manifest b/www-apps/postfixadmin/Manifest index 367d1df7b6d9..ceb2e177f067 100644 --- a/www-apps/postfixadmin/Manifest +++ b/www-apps/postfixadmin/Manifest @@ -2,15 +2,15 @@ Hash: SHA256 AUX postinstall-en-2.2.0.txt 1695 SHA256 42474dc5f921af2f6512c281a6ae3adbc7f58e00932e200f3aa81cc7b20b7063 SHA512 5eac78b06adacb79a0dcd12561cfb61bd27f94234af1bc4c6236229b52460959c14bad8c2cadb651f82ca7a4698a393dbaa28ab50db90e28230443be180af97d WHIRLPOOL 8226478e9bdd1e24e2bdf8c2e6bc79f32eb485a34deee25714eca5039e378ab3e2947fab17263b6b68709847c3aaeea11efffa892cab69f15c9ba3e070a0059c -AUX postinstall-en-2.3.txt 1695 SHA256 59f3d30c8c67f540620cd3e6fea0d11d5f0d5be2cc7b799b096575e43e41170c SHA512 b86647ec5d28177e76d6d8e3205b0881d6b33c175408ebc65e820b2d1b6febcfa1be443f26499a5d1793ebd0cbfdc1c10557de12f111a3588d03f9c1929079eb WHIRLPOOL 62a55afcde24e83d8814c9ac543634a34684614cbab9fc035e75cbf39f7f0f75ef96159dcc43cd4aab196cc7a08981c8bbcf65eb82429d8f37104edff9d1de52 +AUX postinstall-en-2.3.txt 1827 SHA256 ffaaa33b2a3b67d82fe8914c1c1e9b58328d6ef119b8e32326ce10ff8b478357 SHA512 59e304d63830227b1619ed1299e9b61f5b6e534cb03da4d3a0e35a0fe727ccf2d994a034bd12d515bba4f8a6a8ca513cf2131c031fa63f85906639aca159993a WHIRLPOOL 8604fa62ae9534537accede40c77d3c7910d5a24c0ad2bccbf5669e87d8c6af3016f7628629a9dca8aa1abd7601ccb34ae6eaac4eb0101ffaa2147d0a8f8f1cf DIST postfixadmin-2.3.7.tar.gz 1600662 SHA256 761074e711ab618deda425dc013133b9d5968e0859bb883f10164061fd87006e SHA512 2d217874832bb3e70b200d7ddadcfdc81f0e9d3119bb54070fd645e055e4fd69b8fd9470b88af630a38c4053f4dd132425448b0dbe6525966aa5a4a2d8a1e7d0 WHIRLPOOL 7726aa7157834efcde5ac81f62c92db53b8931e868824cd48e43c541921d18908484291a6c5711a40609ad5e8dded954e8edffbdf0b5673d7cd49d647644bf50 EBUILD postfixadmin-2.3.7.ebuild 2875 SHA256 f35f48b1c2fcb7bae4da82a03d9df9d5707a5c5546353071ce45fff4be382ee3 SHA512 00d2a5d5cab51653f783be85f506f23ffaf57601fab77521be9276acc4a38637e1c45e700bf9de7d37a9e2763a383adaba5430e1b2036175e55d9771d36ac351 WHIRLPOOL 3afd5dc930e5f8675589c6bd4bd27c0d001fa03b61efb7d5dfeefbd8281376d6a16875c45e497dd49aa266dfcdafefddfbb7bc08f5ae185ba290540073517518 -MISC ChangeLog 6778 SHA256 45bb4d1c78b4d87f951f246de9d2cc71c102ec78c371e0886a1763c7436da861 SHA512 4dfbd52aaf959c8ad4a77935dbdc95a2b9a56098f874d927aa7945dfdf8acd97828bf2a8413019ecf717826fb0e12ad6b377c8e3647e1110073f1239041f79a0 WHIRLPOOL 8abad7abdf63f67f49baba78b53023617b726f28145bb81c081d00574181063a554c2ddf6a22f6b7ad68b143d58b08fa55f19980615e80e4abc5c49f86d4fa77 +MISC ChangeLog 6966 SHA256 a8e80a6fac01179b24bb808ebcdf957cf28d02e3cff4cd63b8effce0af5ae1d4 SHA512 a55b9e048f7c2771a8dcb0041b247fa1ba3a5cfca79a015b14b3da89da7598fb74b7f482d70361e0f8e41008f78037023ba3360cf781c5fd10e587c01ea21358 WHIRLPOOL 1b29e369b5900118d49cecec0567bd26c8e7ec8cec388d289e193e8ab5d12bc2d1a50b233f38324cd5dd72d4dcf85c03536975c5a8018bc3f68fc543ca2806d7 MISC metadata.xml 252 SHA256 25a15d16c35c9219cd8958d776cbf508f77b08cd2bf0c4baa4d9444ddd203724 SHA512 99a5acd30481124a31a1b0e73fe9a08649221b4b4483bc3e094fafbdc4939bfe7ba309ecbec8af4f8d87a5dd6419d8e8418806585eabe4bdece3965b12ded6e5 WHIRLPOOL 5f3e6764391b7d4ea359d08d3518ae4e05282adf225ce281cef7ed2273aae3cd83b8811f7a8a2e22c86ae69b941b40b9b8b52dea22d2b7e8f4a36883165e95e5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREIAAYFAlPn0rYACgkQcaHudmEf86qFowCeICTRLgoiMAo+z/yBPjbQfA+L -XnIAniLHr+4YUl7gyKRZzjCmSn/RMBcG -=gUzD +iF4EAREIAAYFAlTt5GsACgkQVxOqA9G7/aDhjgD+JoAEFvJQWrzIbBPywvM/5Wn7 +HaSN4XbiCnN0IEsScpYA/AhzGA2bXro69c2aJ9+WzmDxBpl1n65lTnlPUoQjEhsZ +=/TjI -----END PGP SIGNATURE----- diff --git a/www-apps/postfixadmin/files/postinstall-en-2.3.txt b/www-apps/postfixadmin/files/postinstall-en-2.3.txt index ef6bcf9cf7ea..d6411acbe06c 100644 --- a/www-apps/postfixadmin/files/postinstall-en-2.3.txt +++ b/www-apps/postfixadmin/files/postinstall-en-2.3.txt @@ -1,47 +1,47 @@ -You will need to provide a database for your postfixadmin installation. +First Time Installation +======================= +PostfixAdmin can use either MySQL or PostgreSQL. It is up to you, or your +database administrator, to provide a database and a user with full access to +the database for use by PostfixAdmin. -This assumes you have some knowledge of MySQL, and already have it -installed and configured. If not, please refer to the Gentoo MySQL -guide at the following URL: +If you are unfamiliar with MySQL or PostgreSQL, we have some good starting +guides: -http://www.gentoo.org/doc/en/mysql-howto.xml + * http://www.gentoo.org/doc/en/mysql-howto.xml + * https://wiki.gentoo.org/wiki/PostgreSQL -Log in to MySQL, and create a new database as well as a user with full -access to this database. After that you will need to provide the details -of this database and the associated user within the file +Once the database and user have been allocated, you will need to provide the +details of this database and the associated user within the configuration file: -${MY_INSTALLDIR}/config.inc.php + ${MY_INSTALLDIR}/config.inc.php -Make sure you also set +In the same configuration file, check for other settings that are relevant to +your setup. Once you're finished with your changes, make sure you set: $CONF['configured'] = true; -in this file. +To use Virtual Vacation, please read VIRTUAL_VACATION_INSTALL. -Finally you should be able to complete the installation of postfixadmin -by pointing your browser at +Finally you should be able to complete the installation of postfixadmin by +pointing your browser at: http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/setup.php - -Updating from older version of Postfix Admin: - * When you are upgrading from an older Postfix Admin version, make sure you - * backup your database before you run the update script on your database. - * mysqldump -a -u root -p > /tmp/postfixadmin-backup.sql - - For update from version 1.5.x of Postfix Admin: - 1. Please read the DOCUMENTS/UPGRADE.TXT - 2. Run: http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/setup.php - - -To use Virtual Vacation, please read VIRTUAL_VACATION_INSTALL. - -Check the config.inc.php file. There you can specify settings that are -relevant to your setup. - Postfix Admin contains 3 views of administration: 1. Site Admin view, located at http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/admin/. 2. Domain Admin view, located at http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/. 3. User Admin View, located at http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/users/. In order to do the initial configuration you have to go to the Site Admin view. + +Upgrading +========= +When updating from older version of PostfixAdmin, make sure you backup your +database before you run the update script on your database. + + * mysqldump -a -u root -p > /tmp/postfixadmin-backup.sql + * pg_dump -U postgres -d postgres -C -f pa-db-backup.sql postfixadmin_db + +For update from version 1.5.x of PostfixAdmin: + 1. Please read the DOCUMENTS/UPGRADE.TXT + 2. Run: http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/setup.php |