diff options
author | Peter Volkov <pva@gentoo.org> | 2011-10-19 10:44:58 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2011-10-19 10:44:58 +0000 |
commit | 3cfe7cb1709d54d63cea1e9becf5d4f21b6f1c0a (patch) | |
tree | 02e16194053d2923f2b136594ba74f096bf1c601 /www-apps | |
parent | dev-php/adodb, net-analyzer/cacti{,-spine}: are in the tree. (diff) | |
download | pva-3cfe7cb1709d54d63cea1e9becf5d4f21b6f1c0a.tar.gz pva-3cfe7cb1709d54d63cea1e9becf5d4f21b6f1c0a.tar.bz2 pva-3cfe7cb1709d54d63cea1e9becf5d4f21b6f1c0a.zip |
www-apps/postfixadmin, net-misc/lbcore: Version bump.
svn path=/; revision=509
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/postfixadmin/ChangeLog | 125 | ||||
-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 | 14 | ||||
-rw-r--r-- | www-apps/postfixadmin/postfixadmin-2.3.4.ebuild | 101 |
6 files changed, 340 insertions, 0 deletions
diff --git a/www-apps/postfixadmin/ChangeLog b/www-apps/postfixadmin/ChangeLog new file mode 100644 index 0000000..31ff6f9 --- /dev/null +++ b/www-apps/postfixadmin/ChangeLog @@ -0,0 +1,125 @@ +# ChangeLog for www-apps/postfixadmin +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/ChangeLog,v 1.22 2011/04/30 19:17:21 pva Exp $ + +*postfixadmin-2.3.3 (30 Apr 2011) + + 30 Apr 2011; Peter Volkov <pva@gentoo.org> +postfixadmin-2.3.3.ebuild: + Version bump, bug #363041, thank Per Pomsel for report. + + 02 Jan 2011; Markos Chandras <hwoarang@gentoo.org> postfixadmin-2.3.2.ebuild: + Stable on amd64 wrt bug #349266 + + 31 Dec 2010; Christian Faulhammer <fauli@gentoo.org> + postfixadmin-2.3.2.ebuild: + stable x86, bug 349266 + +*postfixadmin-2.3.2 (15 Nov 2010) + + 15 Nov 2010; Peter Volkov <pva@gentoo.org> +postfixadmin-2.3.2.ebuild, + metadata.xml: + Version bump, #336036, thank Andreis_Vinogradovs (slepnoga) for report. + Fixes dependencies for vacation, bug #332553 thank Kent Fredric for + report. + + 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..c12c1c1 --- /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.4.tar.gz 1609383 RMD160 f74639e15400fe188e73efd3434f170b2f96db9d SHA1 727ef73a45312b865ab7d97a31634a6216d5aac6 SHA256 6ac663e2f4bd8bfbe7daaf759b18071d915efd242fe13964561da94f18c82ec6 +EBUILD postfixadmin-2.3.4.ebuild 2983 RMD160 0e69cffec4222ab17c687cdb32a8fe34418af651 SHA1 214a36a9d85ad07eb978000917a8de27ed5119dd SHA256 31152edfa3e07ade16c85266fba6226d6b13151098b56bf0f447b429a6b2fc84 +MISC ChangeLog 4667 RMD160 817e5e16d4a792957c64970d8d97676183230ae7 SHA1 77b4bafe9d2f403cd7ac18abfb37ca9f3d8122b9 SHA256 46682aaa4d931e75f698d17babcf107c3c5a83fd67ccc4d300fee2b1c1d97b9d +MISC metadata.xml 463 RMD160 bf730bbfa751ced44bff11a28e4b7afe5cb5ae3a SHA1 c250c6882446678a084bac74822f17650c05d520 SHA256 3abeafbb5f4fa57ed9c5ee2a7262b7ff042ab46c1212258b744a942ccb67e999 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..1d01289 --- /dev/null +++ b/www-apps/postfixadmin/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>web-apps</herd> + <maintainer> + <email>pva@gentoo.org</email> + <name>Peter Volkov</name> + </maintainer> + <use> + <flag name='tests'>Install model unit tests</flag> + <flag name='extras'>Install contributed scripts and plugins</flag> + <flag name='vacation'>Install vacation.pl script and dependencies</flag> + </use> +</pkgmetadata> diff --git a/www-apps/postfixadmin/postfixadmin-2.3.4.ebuild b/www-apps/postfixadmin/postfixadmin-2.3.4.ebuild new file mode 100644 index 0000000..ffd8c93 --- /dev/null +++ b/www-apps/postfixadmin/postfixadmin-2.3.4.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/postfixadmin-2.3.3.ebuild,v 1.1 2011/04/30 19:17:21 pva Exp $ + +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}/${PN}/${P}/${PN}_${PV}.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-php/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 + if use vacation; then + # portage does not update owners of directories (feature :) + chown vacation:vacation "${ROOT}"/var/spool/vacation/ + 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 your own checks" + fi +} |