diff options
author | 2010-10-22 12:31:05 +0000 | |
---|---|---|
committer | 2010-10-22 12:31:05 +0000 | |
commit | a3d641521e1ee6ab7640b9dd9fbda6a0b8096c4f (patch) | |
tree | f383430df3438b9d061a032af6202999b6ea7c32 | |
parent | sys-kernel/gentoo-sources: merge in up to 2.6.27.54. (diff) | |
download | pva-a3d641521e1ee6ab7640b9dd9fbda6a0b8096c4f.tar.gz pva-a3d641521e1ee6ab7640b9dd9fbda6a0b8096c4f.tar.bz2 pva-a3d641521e1ee6ab7640b9dd9fbda6a0b8096c4f.zip |
Version bump, #336036 thank Andreis_Vinogradovs (slepnoga) for report. Fixes missed dependencies for vacation script, bug #332553 thank Kent Fredric for report.
svn path=/; revision=462
-rw-r--r-- | www-apps/postfixadmin/ChangeLog | 105 | ||||
-rw-r--r-- | www-apps/postfixadmin/Manifest | 6 | ||||
-rw-r--r-- | www-apps/postfixadmin/files/postinstall-en-2.2.0.txt | 47 | ||||
-rw-r--r-- | www-apps/postfixadmin/files/postinstall-en-2.3.txt | 47 | ||||
-rw-r--r-- | www-apps/postfixadmin/metadata.xml | 9 | ||||
-rw-r--r-- | www-apps/postfixadmin/postfixadmin-2.3.2.ebuild | 100 |
6 files changed, 314 insertions, 0 deletions
diff --git a/www-apps/postfixadmin/ChangeLog b/www-apps/postfixadmin/ChangeLog new file mode 100644 index 0000000..146b2b2 --- /dev/null +++ b/www-apps/postfixadmin/ChangeLog @@ -0,0 +1,105 @@ +# ChangeLog for www-apps/postfixadmin +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/ChangeLog,v 1.18 2010/05/24 14:21:31 tove Exp $ + + 24 May 2010; Torsten Veller <tove@gentoo.org> metadata.xml: + Remove wrobel from metadata.xml (#111816) + + 22 Mar 2010; Justin Lecher (jlec) <jlec@gentoo.org> + postfixadmin-2.2.1.1.ebuild, postfixadmin-2.3.ebuild: + HOMEPAGE corrected, #310303 + +*postfixadmin-2.3 (16 Mar 2010) + + 16 Mar 2010; Patrick Lauer <patrick@gentoo.org> +postfixadmin-2.3.ebuild, + +files/postinstall-en-2.3.txt, metadata.xml: + Bump, fixes #291248. Improvements by Allen Brooker and Andreis + Vinogradovs. + + 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, + postfixadmin-2.2.1.1.ebuild: + Remove dep on mail-mta/postfix as it works with other mta too, #257624 + +*postfixadmin-2.2.1.1 (10 Sep 2008) + + 10 Sep 2008; wrobel@gentoo.org +postfixadmin-2.2.1.1.ebuild: + Added postfixadmin-2.2.1.1 (#233388). + +*postfixadmin-2.2.0 (01 Jun 2008) + + 01 Jun 2008; wrobel@gentoo.org +files/postinstall-en-2.2.0.txt, + -postfixadmin-2.1.0.ebuild, postfixadmin-2.1.0-r1.ebuild, + +postfixadmin-2.2.0.ebuild: + Added postfixadmin-2.2.0 (#220141) and fixed #223387. + + 22 Feb 2008; Benedikt Böhm <hollow@gentoo.org> + postfixadmin-2.1.0-r1.ebuild: + add need_httpd_cgi wrt #208584 + +*postfixadmin-2.1.0-r1 (20 Feb 2008) + + 20 Feb 2008; Benedikt Böhm <hollow@gentoo.org> + +files/postinstall-en-mysql.txt, +files/postinstall-en-postgres.txt, + metadata.xml, +postfixadmin-2.1.0-r1.ebuild: + merge from webapp overlay wrt #172138; cleanup wrt #208584 + + 05 Feb 2008; Jakub Moc <jakub@gentoo.org> + postfixadmin-2.1.0-r1.ebuild: + Add postgres support. Nuke nonsensical RDEPEND on grep, sed and findutils, + fix enewuser/enewgroup usage. Quoting, clean up tons of redundant comments. + + 05 Feb 2008; Benedikt Böhm <hollow@gentoo.org> postfixadmin-2.1.0.ebuild: + fix depend.apache usage wrt #208584 + + 29 Jul 2007; Christian Heim <phreak@gentoo.org> postfixadmin-2.1.0.ebuild: + Fixing SRC_URI since the old one is redirecting to sourceforge. Fixing the + DEPEND/RDEPEND for the move of net-www/apache to www-servers/apache + (#78622). + + 02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org> + postfixadmin-2.1.0.ebuild: + (QA) RESTRICT clean up. + + 12 May 2007; Luca Longinotti <chtekk@gentoo.org> + postfixadmin-2.1.0.ebuild: + Apache 1.X masking (fix ebuilds to not require apache-1*). + + 04 Jan 2007; <wrobel@gentoo.org> postfixadmin-2.1.0.ebuild: + Fixed source URL and removed mysql dependency (bugs #157940 and #159781) + + 23 Nov 2006; <blubb@gentoo.org> postfixadmin-2.1.0.ebuild: + added ~amd64 + + 23 Nov 2006; Francesco Riosa <vivo@gentoo.org> postfixadmin-2.1.0.ebuild: + dev-db/mysql => virtual/mysql + + 12 Feb 2006; <wrobel@gentoo.org> postfixadmin-2.1.0.ebuild: + Removed postgres support from postfixadmin. See #122148. Ebuild with + postgres support can be found in our overlay: + http://svn.gnqs.org/projects/gentoo-webapps-overlay/browser/experimental/www + -apps/postfixadmin + +*postfixadmin-2.1.0 (02 Feb 2006) + + 02 Feb 2006; <wrobel@gentoo.org> +files/config-hook.sh, + +files/postinstall-en.txt, +metadata.xml, +postfixadmin-2.1.0.ebuild: + Fixed the use of enewuser. Moved ebuild to portage + + 03 Jan 2006; <wrobel@gentoo.org> ChangeLog: + Repoman fixes. + + 28 Dec 2005; Gunnar Wrobel <php@gunnarwrobel.de> ChangeLog: + Minor cleanup for postfixadmin. Seems to work with php5. + + 14 Dec 2005; <php@gunnarwrobel.de> ChangeLog: + Initial ebuild import into the overlay. Original ebuild from SteveB + <tp22a@softhome.net>. See bug #50035 + diff --git a/www-apps/postfixadmin/Manifest b/www-apps/postfixadmin/Manifest new file mode 100644 index 0000000..16ba117 --- /dev/null +++ b/www-apps/postfixadmin/Manifest @@ -0,0 +1,6 @@ +AUX postinstall-en-2.2.0.txt 1695 RMD160 2607111f4a6bf12439a5c175c6962a293c8dfbe6 SHA1 faee6ea464430ca5694f408d220e28dbcb59cad3 SHA256 42474dc5f921af2f6512c281a6ae3adbc7f58e00932e200f3aa81cc7b20b7063 +AUX postinstall-en-2.3.txt 1695 RMD160 4762f8e57c58e2765ee0477268f174d15c326fc9 SHA1 fedb5305c890ce63533d51bce6a7f82980ce5b30 SHA256 59f3d30c8c67f540620cd3e6fea0d11d5f0d5be2cc7b799b096575e43e41170c +DIST postfixadmin-2.3.2.tar.gz 1578191 RMD160 d09120b56f4a0a0a0389d979047241a440ce6fdd SHA1 d14908b975f42da428896ee56aa1cf1f23506b40 SHA256 1729712448b732ecf6a8cfce3df262089899b520338e4fc26e876cac1de4a0c6 +EBUILD postfixadmin-2.3.2.ebuild 2858 RMD160 f4e6d97448a72d3b671f22602a0d82df4fecf8a9 SHA1 6c67f48f47a64a1e5fd121b46090a6f6b8bdeb8d SHA256 a108b7771f17df6675f13245234d232584c8a8981f89c96aed5befaa72004ae8 +MISC ChangeLog 3997 RMD160 7094be858cddaf8e8b63be77c3ba0d91bb0af274 SHA1 fdf192700e1063700a76a454b98873968c116d3f SHA256 e759b8da67c11f80af57cc520a6a30dd8e8fd2fe90b5adfc931932db2fda3ccf +MISC metadata.xml 299 RMD160 0c89cbac2a57da9c2e4ece5935ef5829afbdaa6e SHA1 57850553b6e7d67a913f656913a666b45822a9d8 SHA256 809758fbfb65b28d186b33b6c835c8be4271c37381ea5c27ca3911343965ee77 diff --git a/www-apps/postfixadmin/files/postinstall-en-2.2.0.txt b/www-apps/postfixadmin/files/postinstall-en-2.2.0.txt new file mode 100644 index 0000000..6b9773a --- /dev/null +++ b/www-apps/postfixadmin/files/postinstall-en-2.2.0.txt @@ -0,0 +1,47 @@ +You will need to provide a database for your postfixadmin installation. + +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: + +http://www.gentoo.org/doc/en/mysql-howto.xml + +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 + +${MY_INSTALLDIR}/config.inc.php + +Make sure you also set + + $CONF['configured'] = true; + +in this file. + +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 1.5.x version 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. diff --git a/www-apps/postfixadmin/files/postinstall-en-2.3.txt b/www-apps/postfixadmin/files/postinstall-en-2.3.txt new file mode 100644 index 0000000..ef6bcf9 --- /dev/null +++ b/www-apps/postfixadmin/files/postinstall-en-2.3.txt @@ -0,0 +1,47 @@ +You will need to provide a database for your postfixadmin installation. + +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: + +http://www.gentoo.org/doc/en/mysql-howto.xml + +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 + +${MY_INSTALLDIR}/config.inc.php + +Make sure you also set + + $CONF['configured'] = true; + +in this file. + +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. diff --git a/www-apps/postfixadmin/metadata.xml b/www-apps/postfixadmin/metadata.xml new file mode 100644 index 0000000..be699b4 --- /dev/null +++ b/www-apps/postfixadmin/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>web-apps</herd> + <use> + <flag name='tests'>Install model unit tests</flag> + <flag name='extras'>Install contributed scripts and plugins</flag> + </use> +</pkgmetadata> diff --git a/www-apps/postfixadmin/postfixadmin-2.3.2.ebuild b/www-apps/postfixadmin/postfixadmin-2.3.2.ebuild new file mode 100644 index 0000000..50e3837 --- /dev/null +++ b/www-apps/postfixadmin/postfixadmin-2.3.2.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils webapp depend.php confutils + +DESCRIPTION="Web Based Management tool for Postfix style virtual domains and users." +HOMEPAGE="http://postfixadmin.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="mysql postgres +vacation xmlrpc" + +DEPEND="vacation? ( dev-perl/DBI + virtual/perl-MIME-Base64 + dev-perl/MIME-EncWords + dev-perl/Email-Valid + dev-perl/Mail-Sender + dev-perl/log-dispatch + dev-perl/Log-Log4perl + dev-perl/MIME-Charset + mysql? ( dev-perl/DBD-mysql ) + postgres? ( dev-perl/DBD-Pg ) ) + xmlrpc? ( dev-php5/ZendFramework[-minimal] ) + dev-lang/php[session,unicode,imap,postgres?,xmlrpc?]" + +RDEPEND="${DEPEND}" + +need_httpd_cgi +need_php_httpd + +pkg_setup() { + webapp_pkg_setup + + confutils_require_any mysql postgres + + if use mysql && ! PHPCHECKNODIE="yes" require_php_with_any_use mysql mysqli; then + die "Re-install ${PHP_PKG} with either mysql or mysqli" + fi + + if use vacation; then + enewgroup vacation + enewuser vacation -1 -1 -1 vacation + fi +} + +src_install() { + webapp_src_preinst + + if use vacation; then + insinto /var/spool/vacation + newins VIRTUAL_VACATION/vacation.pl vacation.pl-${SLOT} + fowners vacation:vacation /var/spool/vacation/vacation.pl-${SLOT} + fperms 770 /var/spool/vacation/vacation.pl-${SLOT} + dodoc VIRTUAL_VACATION/FILTER_README + newdoc VIRTUAL_VACATION/INSTALL.TXT VIRTUAL_VACATION_INSTALL.TXT + rm -r VIRTUAL_VACATION/{vacation.pl,INSTALL.TXT,tests,FILTER_README} + fi + + insinto /usr/share/doc/${PF}/ + doins -r ADDITIONS + + local docs="DOCUMENTS/*.txt INSTALL.TXT CHANGELOG.TXT" + dodoc ${docs} + + rm -rf ${docs} DOCUMENTS/ GPL-LICENSE.TXT LICENSE.TXT debian/ tests/ ADDITIONS/ + + insinto "${MY_HTDOCSDIR}" + doins -r . + + webapp_configfile "${MY_HTDOCSDIR}"/config.inc.php + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en-2.3.txt + webapp_src_install +} + +pkg_postinst() { + webapp_pkg_postinst + # portage does not update owners of directories (feature :) + chown vacation:vacation "${ROOT}"/var/spool/vacation/ + if use vacation; then + einfo "/var/spool/vacation/vacation.pl symlink was updated to:" + einfo "/var/spool/vacation/vacation.pl-${SLOT}" + ln -sf "${ROOT}"/var/spool/vacation/vacation.pl{-${SLOT},} + fi +} +pkg_postrm() { + # Make sure we don't leave broken vacation.pl symlink + find -L "${ROOT}"/var/spool/vacation/ -type l -delete + if [[ ! -e "${ROOT}"/var/spool/vacation/vacation.pl ]] && + path_exists "${ROOT}"/var/spool/vacation/vacation.pl-*; then + ln -s $(LC_ALL=C ls -1 /var/spool/vacation/vacation.pl-* | tail -n1) \ + "${ROOT}"/var/spool/vacation/vacation.pl + ewarn "/var/spool/vacation/vacation.pl was updated to point on most" + ewarn "recent verion, but please, do you own checks" + fi +} |