summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apps/postfixadmin/ChangeLog9
-rw-r--r--www-apps/postfixadmin/Manifest12
-rw-r--r--www-apps/postfixadmin/files/config-hook.sh10
-rw-r--r--www-apps/postfixadmin/files/postinstall-en-mysql.txt45
-rw-r--r--www-apps/postfixadmin/files/postinstall-en-postgres.txt25
-rw-r--r--www-apps/postfixadmin/files/postinstall-en.txt45
-rw-r--r--www-apps/postfixadmin/postfixadmin-2.1.0-r1.ebuild92
-rw-r--r--www-apps/postfixadmin/postfixadmin-2.2.0.ebuild79
-rw-r--r--www-apps/postfixadmin/postfixadmin-2.2.1.1.ebuild6
9 files changed, 12 insertions, 311 deletions
diff --git a/www-apps/postfixadmin/ChangeLog b/www-apps/postfixadmin/ChangeLog
index a72dd08da669..f9207dc2f86a 100644
--- a/www-apps/postfixadmin/ChangeLog
+++ b/www-apps/postfixadmin/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for www-apps/postfixadmin
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/ChangeLog,v 1.14 2009/06/08 17:21:48 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/ChangeLog,v 1.15 2009/10/11 08:39:31 hollow Exp $
+
+ 11 Oct 2009; Benedikt Böhm <hollow@gentoo.org>
+ -postfixadmin-2.1.0-r1.ebuild, -postfixadmin-2.2.0.ebuild,
+ postfixadmin-2.2.1.1.ebuild, -files/config-hook.sh,
+ -files/postinstall-en.txt, -files/postinstall-en-mysql.txt,
+ -files/postinstall-en-postgres.txt:
+ fix #278410; remove old ebuilds
08 Jun 2009; Tobias Scherbaum <dertobi123@gentoo.org>
postfixadmin-2.1.0-r1.ebuild, postfixadmin-2.2.0.ebuild,
diff --git a/www-apps/postfixadmin/Manifest b/www-apps/postfixadmin/Manifest
index b99cb47b6e2b..600c0070af86 100644
--- a/www-apps/postfixadmin/Manifest
+++ b/www-apps/postfixadmin/Manifest
@@ -1,13 +1,5 @@
-AUX config-hook.sh 202 RMD160 5330c8319a0b4b1d89ceee9eb3d7adac0a046034 SHA1 84efe994c7c82b4ed16f9b1b6b51e09c26fd95d4 SHA256 a80dc6ea1f7144391e76029d857c2cf5f0554c4feb49613af6ed09ba2c84c565
AUX postinstall-en-2.2.0.txt 1695 RMD160 2607111f4a6bf12439a5c175c6962a293c8dfbe6 SHA1 faee6ea464430ca5694f408d220e28dbcb59cad3 SHA256 42474dc5f921af2f6512c281a6ae3adbc7f58e00932e200f3aa81cc7b20b7063
-AUX postinstall-en-mysql.txt 1860 RMD160 d101b8d7e2738214d9fa8f2ddef56121e0c55436 SHA1 e90f7f2c1ef03c0df2d0e70633363b82d776178b SHA256 2238c4c180a9ef4781e43d29b14dfc41ef36cc58aba0aa4c3246c89fd7563cc0
-AUX postinstall-en-postgres.txt 1106 RMD160 ccb4f43bff30226aae04ad64fa342cc33c5d09f0 SHA1 78cbf29d8195de93fc6ac4c4c84f1e7eef429f4c SHA256 fde63c8cf8510cf66593c7e0cf8e75afc73f010333baa79d8ebcb27abcf85442
-AUX postinstall-en.txt 1859 RMD160 8ba29b5fae66503e38b822fe0f483a688935b6a3 SHA1 214df1f8404bcdfc97712798d4d8e60569512861 SHA256 a8d58a82e734ce28acf3cc5730805c7db7ebb54cbb6eeff67dd379cb8a6f234e
-DIST postfixadmin-2.1.0.tgz 160525 RMD160 a90773bcfd9caa0a197fb11a39ac1350a053ebc2 SHA1 9c87962a543df7639a547a021d192998e5c96ca2 SHA256 8c34f17b91c1f82923b8fc3f0fb73716e853f874b2015998a975bd9909029a44
DIST postfixadmin-2.2.1.1.tar.gz 966600 RMD160 8d4d71bb02610812194afacd5b96e826090e2cdd SHA1 f6d3ef393cd16df82ced0589aad8efcf945ab877 SHA256 fbcebaf7dd607a8d7716f8ba14e352c515b30351cf52148298cd36a84ba803d7
-DIST postfixadmin_2.2.0.tar.gz 951421 RMD160 f4677eb3d3fac9f7be766d16d2f28b6fe0ef4581 SHA1 f31eb81b2787efbaa2493b73f0f37733f6d2421a SHA256 abb6bcfe9a0475cc2f67b84b217490c0edf6d1e8fe5deae119f731e54d59a644
-EBUILD postfixadmin-2.1.0-r1.ebuild 2457 RMD160 570ebb50ddcef2f0c9be62fa0caaed9b269a2c01 SHA1 122edfc018f447bf44ababcc1592a45e50a33575 SHA256 776608ae2c99218aae7df811c9aa969085b2116ba594df53edb986bd302d9dbd
-EBUILD postfixadmin-2.2.0.ebuild 1927 RMD160 91bae1fba0db2c1de197bc99a8f358e9beb8e322 SHA1 a4f5f885adeb04a2512e2a99c41d04bdde1d8403 SHA256 f6241f2b8a5da9b0e3b797b8129af13e032b9e66f7ba6de4ba432fcf86f7a081
-EBUILD postfixadmin-2.2.1.1.ebuild 1929 RMD160 45dbc1bdb2acc19e4a5e50aa83bdbaf6ee5208dd SHA1 63b758317ebf83c35a3d7ea6bd5e1085cf6bbf22 SHA256 16ebcbdba872cd6f8f2be18fa942218368921ff95f4503d71a9532d8d02bc2c4
-MISC ChangeLog 3218 RMD160 2f2fa1b123dc271edcd230fef357ef331e2db25d SHA1 c091a6d8cfff08d7bffe5fac1f42e8b409567970 SHA256 09da28601b6d6cce2901318603cca2ea7de15cd95c875f1cb7480234d7f63e6b
+EBUILD postfixadmin-2.2.1.1.ebuild 1780 RMD160 0db8d32d0f3099c71b0fb18454b6f62c0c49eef6 SHA1 7e5b4278f1bb79be31bd6e52c8b9811516ef9c2f SHA256 f76c92f976e0ce57f424ed2bf2dab8064756955e8115307e34abf258502af2ca
+MISC ChangeLog 3514 RMD160 a2664a81b203ff40e933ce57d09b8dbc2952e62f SHA1 0c8e88ae0106b732465c0f9283f3a2088d96f07f SHA256 b32d174e72d539b3d0e3410a7cd37c88d15dc154398770cc76f6ae84885254cb
MISC metadata.xml 303 RMD160 ebd1637c44fbe83303cedc051b2da86937774776 SHA1 d440c537ebdb8cca8e35c904a5c990ec9a7685b2 SHA256 fb139c069b1a129f7588810b16df3f9047af8629443220b19ed664c1d939b1cb
diff --git a/www-apps/postfixadmin/files/config-hook.sh b/www-apps/postfixadmin/files/config-hook.sh
deleted file mode 100644
index bc2222716509..000000000000
--- a/www-apps/postfixadmin/files/config-hook.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-case "$1" in
- install)
- sed -i "s:^\(AuthUserFile \).*$:\1${MY_INSTALLDIR}/admin/.htpasswd:gI" ${MY_INSTALLDIR}/admin/.htaccess || exit
- ;;
- *)
- # Nothing to do for clean up
- ;;
-esac
diff --git a/www-apps/postfixadmin/files/postinstall-en-mysql.txt b/www-apps/postfixadmin/files/postinstall-en-mysql.txt
deleted file mode 100644
index c2a85aa696b9..000000000000
--- a/www-apps/postfixadmin/files/postinstall-en-mysql.txt
+++ /dev/null
@@ -1,45 +0,0 @@
-To complete installation, you must:
- 1. Create the needed MySQL database and tables and user:
- mysql -u root -p < ${MY_SQLSCRIPTSDIR}/mysql/${PVR}_create.sql
- 2. Reload MySQL:
- /etc/init.d/mysql restart
- 3. Change the password for the admin user! Inital password is
- "admin" (without the quotes).
-
-
-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 2.0.x version of Postfix Admin:
- 1. Please read the BACKUP_MX.TXT
- 2. Update the needed MySQL database and tables:
- mysql -u root -p < ${MY_SQLSCRIPTSDIR}/mysql/2.0.x_to_${PVR}.sql
- 3. Reload MySQL:
- /etc/init.d/mysql restart
-
- For update from 1.5x (or older) version of Postfix Admin:
- 1. Please read the UPGRADE.TXT
- 2. Update the needed MySQL database and tables:
- mysql -u root -p < ${MY_SQLSCRIPTSDIR}/mysql/1.5x_to_${PVR}.sql
- 3. Reload MySQL:
- /etc/init.d/mysql restart
-
-
-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.
-
-The default password for the Site Admin view of Postfix Admin is admin/admin.
-
-This is specified in the .htpasswd file in the /admin directory. Make sure
-that the location of the .htpasswd file matches your path.
diff --git a/www-apps/postfixadmin/files/postinstall-en-postgres.txt b/www-apps/postfixadmin/files/postinstall-en-postgres.txt
deleted file mode 100644
index 66f303eff672..000000000000
--- a/www-apps/postfixadmin/files/postinstall-en-postgres.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-To complete installation, you must:
- 1. Create the needed PostgreSQL database and tables and user:
- creatuser -P postfix
- creatuser -P postfixadmin
- createdb -U postgres postfix
- psql -U postgres -p < ${MY_SQLSCRIPTSDIR}/postgresql/${PVR}_create.sql
- 2. Reload PostgreSQL:
- /etc/init.d/postgresql restart
- 3. Change the password for the admin user! Inital password is
- "admin" (without the qotes).
-
-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.
-
-The default password for the Site Admin view of Postfix Admin is admin/admin.
-
-This is specified in the .htpasswd file in the /admin directory. Make sure
-that the location of the .htpasswd file matches your path.
diff --git a/www-apps/postfixadmin/files/postinstall-en.txt b/www-apps/postfixadmin/files/postinstall-en.txt
deleted file mode 100644
index c28ec3092ea3..000000000000
--- a/www-apps/postfixadmin/files/postinstall-en.txt
+++ /dev/null
@@ -1,45 +0,0 @@
-To complete installation, you must:
- 1. Create the needed MySQL database and tables and user:
- mysql -u root -p < ${MY_SQLSCRIPTSDIR}/mysql/${PVR}_create.sql
- 2. Reload MySQL:
- /etc/init.d/mysql restart
- 3. Change the password for the admin user! Inital password is
- "admin" (without the qotes).
-
-
-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 2.0.x version of Postfix Admin:
- 1. Please read the BACKUP_MX.TXT
- 2. Update the needed MySQL database and tables:
- mysql -u root -p < ${MY_SQLSCRIPTSDIR}/mysql/2.0.x_to_${PVR}.sql
- 3. Reload MySQL:
- /etc/init.d/mysql restart
-
- For update from 1.5x (or older) version of Postfix Admin:
- 1. Please read the UPGRADE.TXT
- 2. Update the needed MySQL database and tables:
- mysql -u root -p < ${MY_SQLSCRIPTSDIR}/mysql/1.5x_to_${PVR}.sql
- 3. Reload MySQL:
- /etc/init.d/mysql restart
-
-
-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.
-
-The default password for the Site Admin view of Postfix Admin is admin/admin.
-
-This is specified in the .htpasswd file in the /admin directory. Make sure
-that the location of the .htpasswd file matches your path.
diff --git a/www-apps/postfixadmin/postfixadmin-2.1.0-r1.ebuild b/www-apps/postfixadmin/postfixadmin-2.1.0-r1.ebuild
deleted file mode 100644
index 3686df7f4e17..000000000000
--- a/www-apps/postfixadmin/postfixadmin-2.1.0-r1.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/postfixadmin-2.1.0-r1.ebuild,v 1.4 2009/06/08 17:21:48 dertobi123 Exp $
-
-inherit eutils webapp depend.php confutils
-
-DESCRIPTION="Web Based Management tool for Postfix style virtual domains and users."
-HOMEPAGE="http://high5.net/postfixadmin/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
-
-LICENSE="MPL-1.1"
-KEYWORDS="~amd64 ~x86"
-IUSE="mysql postgres"
-
-DEPEND=">=dev-lang/perl-5.0
- dev-perl/DBI
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )"
-RDEPEND="${DEPEND}"
-
-need_httpd_cgi
-need_php_httpd
-
-pkg_setup() {
- webapp_pkg_setup
-
- confutils_require_any mysql postgres
- confutils_use_depend_built_with_all mysql mail-mta/postfix mysql
- confutils_use_depend_built_with_all postgres mail-mta/postfix postgres
-
- if use mysql; then
- enewgroup vacation
- enewuser vacation -1 -1 -1 vacation
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- ecvs_clean
-
- mv VIRTUAL_VACATION/INSTALL.TXT VIRTUAL_VACATION_INSTALL.TXT
-
- mv DATABASE_MYSQL.TXT "${T}"/mysql-setup.sql
- mv TABLE_CHANGES.TXT "${T}"/mysql-update.sql
- mv DATABASE_PGSQL.TXT "${T}"/postgres-setup.sql
-
- mv config.inc.php{.sample,}
-}
-
-src_install() {
- webapp_src_preinst
-
- # virtual vacation only works with MySQL
- if use mysql; then
- diropts -m0770 -o vacation -g vacation
- dodir /var/spool/vacation
- keepdir /var/spool/vacation
- insinto /var/spool/vacation
- insopts -m770 -o vacation -g vacation
- doins "${S}"/VIRTUAL_VACATION/vacation.pl
-
- diropts -m775 -o root -g root
- insopts -m644 -o root -g root
- fi
-
- local docs="BACKUP_MX.TXT CHANGELOG.TXT INSTALL.TXT LANGUAGE.TXT
- TABLE_BACKUP_MX.TXT UPGRADE.TXT VIRTUAL_VACATION_INSTALL.TXT"
- dodoc ${docs}
- rm -rf ${docs} LICENSE.TXT ADDITIONS/
-
- insinto "${MY_HTDOCSDIR}"
- doins -r .
-
- if use mysql; then
- webapp_sqlscript mysql "${T}"/mysql-setup.sql
- webapp_sqlscript mysql "${T}"/mysql-update.sql 2.0.x
- webapp_sqlscript mysql "${T}"/mysql-update.sql 1.5x
- webapp_postinst_txt en "${FILESDIR}"/postinstall-en-mysql.txt
- fi
- if use postgres; then
- webapp_sqlscript postgresql "${T}"/postgres-setup.sql
- webapp_postinst_txt en "${FILESDIR}"/postinstall-en-postgres.txt
- fi
-
- webapp_configfile "${MY_HTDOCSDIR}"/config.inc.php
- webapp_configfile "${MY_HTDOCSDIR}"/admin/.htpasswd
-
- webapp_hook_script "${FILESDIR}"/config-hook.sh
-
- webapp_src_install
-}
diff --git a/www-apps/postfixadmin/postfixadmin-2.2.0.ebuild b/www-apps/postfixadmin/postfixadmin-2.2.0.ebuild
deleted file mode 100644
index 259c0714b9d0..000000000000
--- a/www-apps/postfixadmin/postfixadmin-2.2.0.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/postfixadmin-2.2.0.ebuild,v 1.2 2009/06/08 17:21:48 dertobi123 Exp $
-
-inherit eutils webapp depend.php confutils
-
-DESCRIPTION="Web Based Management tool for Postfix style virtual domains and users."
-HOMEPAGE="http://high5.net/postfixadmin/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz"
-RESTRICT="mirror"
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-IUSE="mysql postgres"
-
-DEPEND=">=dev-lang/perl-5.0
- dev-perl/DBI
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )"
-RDEPEND="${DEPEND}"
-
-need_httpd_cgi
-need_php_httpd
-
-pkg_setup() {
- webapp_pkg_setup
-
- confutils_require_any mysql postgres
- confutils_use_depend_built_with_all mysql mail-mta/postfix mysql
- confutils_use_depend_built_with_all postgres mail-mta/postfix postgres
-
- if use mysql; then
- enewgroup vacation
- enewuser vacation -1 -1 -1 vacation
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- ecvs_clean
-
- mv VIRTUAL_VACATION/INSTALL.TXT VIRTUAL_VACATION_INSTALL.TXT
-}
-
-src_install() {
- webapp_src_preinst
-
- # virtual vacation only works with MySQL
- if use mysql; then
- diropts -m0770 -o vacation -g vacation
- dodir /var/spool/vacation
- keepdir /var/spool/vacation
- insinto /var/spool/vacation
- insopts -m770 -o vacation -g vacation
- doins "${S}"/VIRTUAL_VACATION/vacation.pl
-
- diropts -m775 -o root -g root
- insopts -m644 -o root -g root
- fi
-
- local docs="DOCUMENTS/BACKUP_MX.txt CHANGELOG.TXT INSTALL.TXT
- DOCUMENTS/LANGUAGE.txt DOCUMENTS/UPGRADE.txt
- VIRTUAL_VACATION_INSTALL.TXT"
- dodoc ${docs}
-
- insinto "${MY_HTDOCSDIR}"
- doins -r .
-
- for FILE in ${docs} GPL-LICENSE.TXT LICENSE.TXT ADDITIONS/ debian/
- do
- rm -rf ${FILE}
- done
-
- webapp_configfile "${MY_HTDOCSDIR}"/config.inc.php
-
- webapp_postinst_txt en "${FILESDIR}"/postinstall-en-2.2.0.txt
- webapp_src_install
-}
diff --git a/www-apps/postfixadmin/postfixadmin-2.2.1.1.ebuild b/www-apps/postfixadmin/postfixadmin-2.2.1.1.ebuild
index 6cb572e5d06c..a94d52aec8ed 100644
--- a/www-apps/postfixadmin/postfixadmin-2.2.1.1.ebuild
+++ b/www-apps/postfixadmin/postfixadmin-2.2.1.1.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/postfixadmin-2.2.1.1.ebuild,v 1.2 2009/06/08 17:21:48 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/postfixadmin-2.2.1.1.ebuild,v 1.3 2009/10/11 08:39:31 hollow Exp $
inherit eutils webapp depend.php confutils
DESCRIPTION="Web Based Management tool for Postfix style virtual domains and users."
HOMEPAGE="http://high5.net/postfixadmin/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}-${PV}.tar.gz"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
RESTRICT="mirror"
LICENSE="GPL-2"
@@ -26,8 +26,6 @@ pkg_setup() {
webapp_pkg_setup
confutils_require_any mysql postgres
- confutils_use_depend_built_with_all mysql mail-mta/postfix mysql
- confutils_use_depend_built_with_all postgres mail-mta/postfix postgres
if use mysql; then
enewgroup vacation