diff options
author | Peter Volkov <pva@gentoo.org> | 2010-11-15 07:46:47 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2010-11-15 07:46:47 +0000 |
commit | 2bcfcf22f4d69bc9af9540adcabc083f086813c8 (patch) | |
tree | edf776b5247d4cf4a325f0f6699865dfb45226d7 /www-apps/postfixadmin | |
parent | Version bump (fixes bug #329809 by Dennis Nezic). Add dependency on dev-perl/... (diff) | |
download | historical-2bcfcf22f4d69bc9af9540adcabc083f086813c8.tar.gz historical-2bcfcf22f4d69bc9af9540adcabc083f086813c8.tar.bz2 historical-2bcfcf22f4d69bc9af9540adcabc083f086813c8.zip |
Version bump, #336036, thank Andreis_Vinogradovs (slepnoga) for report. Fixes dependencies for vacation, bug #332553 thank Kent Fredric for report.
Package-Manager: portage-2.1.9.24/cvs/Linux x86_64
Diffstat (limited to 'www-apps/postfixadmin')
-rw-r--r-- | www-apps/postfixadmin/ChangeLog | 10 | ||||
-rw-r--r-- | www-apps/postfixadmin/Manifest | 16 | ||||
-rw-r--r-- | www-apps/postfixadmin/metadata.xml | 5 | ||||
-rw-r--r-- | www-apps/postfixadmin/postfixadmin-2.3.2.ebuild | 101 |
4 files changed, 119 insertions, 13 deletions
diff --git a/www-apps/postfixadmin/ChangeLog b/www-apps/postfixadmin/ChangeLog index 146b2b2088d2..2de482938669 100644 --- a/www-apps/postfixadmin/ChangeLog +++ b/www-apps/postfixadmin/ChangeLog @@ -1,6 +1,14 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/ChangeLog,v 1.19 2010/11/15 07:46:47 pva Exp $ + +*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) diff --git a/www-apps/postfixadmin/Manifest b/www-apps/postfixadmin/Manifest index 70bd4e6c8bcb..a553be81836e 100644 --- a/www-apps/postfixadmin/Manifest +++ b/www-apps/postfixadmin/Manifest @@ -1,18 +1,10 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - 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.2.1.1.tar.gz 966600 RMD160 8d4d71bb02610812194afacd5b96e826090e2cdd SHA1 f6d3ef393cd16df82ced0589aad8efcf945ab877 SHA256 fbcebaf7dd607a8d7716f8ba14e352c515b30351cf52148298cd36a84ba803d7 +DIST postfixadmin-2.3.2.tar.gz 1578191 RMD160 d09120b56f4a0a0a0389d979047241a440ce6fdd SHA1 d14908b975f42da428896ee56aa1cf1f23506b40 SHA256 1729712448b732ecf6a8cfce3df262089899b520338e4fc26e876cac1de4a0c6 DIST postfixadmin_2.3.tar.gz 1558791 RMD160 c697b757a3730fdf8a8f107a0a474056edf6f2fc SHA1 c778a9dc115cba41933737fe8ee180dd5c7299e2 SHA256 e9fbb1dbb5567f01d87080427d42017c4afca85cfde5442219cb6b12023d1407 EBUILD postfixadmin-2.2.1.1.ebuild 1783 RMD160 b5989bd3ab32fb5b117724ddb7693495f7041c79 SHA1 31b187c7c6315ae62421e52f588706b11fb18886 SHA256 82d199d249151540fe733d0c5df0637f34d2de09163f4fd551f7e52ea091a41c +EBUILD postfixadmin-2.3.2.ebuild 2966 RMD160 bcde5504ebdf5d8b4e0a418d4b04f8e56b2fcd34 SHA1 53af81f371d03bb2fa8b9bde746166651e2e93ae SHA256 6e17b996c912d920ca609fc6b90d92ce1959dfdebc250527dbdb2f79d798e76b EBUILD postfixadmin-2.3.ebuild 1975 RMD160 e5b2a39feab859b8f49d95086d9efc4ead59e8a5 SHA1 918c000b9c66011fa96d1295fda1c7c1d97c05ba SHA256 5068886ed08cafc2bbca1e9d06aa341d44f8c4ad87e0a3254e11a1d27b160016 -MISC ChangeLog 3997 RMD160 7094be858cddaf8e8b63be77c3ba0d91bb0af274 SHA1 fdf192700e1063700a76a454b98873968c116d3f SHA256 e759b8da67c11f80af57cc520a6a30dd8e8fd2fe90b5adfc931932db2fda3ccf -MISC metadata.xml 299 RMD160 0c89cbac2a57da9c2e4ece5935ef5829afbdaa6e SHA1 57850553b6e7d67a913f656913a666b45822a9d8 SHA256 809758fbfb65b28d186b33b6c835c8be4271c37381ea5c27ca3911343965ee77 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.15 (GNU/Linux) - -iEYEARECAAYFAkv6i3AACgkQV3J2n04Eauy54wCfTxAJCYVfjohZYcjtCEMffDvg -qvMAoJ66O8UU6XyixeEWRe1sv5Bbp0ux -=B9+F ------END PGP SIGNATURE----- +MISC ChangeLog 4275 RMD160 9925430e652d9b7ef78d6c8cc48ee853c442e42a SHA1 a16d5316319b7c517040a986510768e3b48f0c12 SHA256 ec19fe5c0f51edf66ae725dcb7aab2846035daeae57898b2dbc8397ad8eba8d7 +MISC metadata.xml 463 RMD160 bf730bbfa751ced44bff11a28e4b7afe5cb5ae3a SHA1 c250c6882446678a084bac74822f17650c05d520 SHA256 3abeafbb5f4fa57ed9c5ee2a7262b7ff042ab46c1212258b744a942ccb67e999 diff --git a/www-apps/postfixadmin/metadata.xml b/www-apps/postfixadmin/metadata.xml index be699b4abc76..1d01289ac0ef 100644 --- a/www-apps/postfixadmin/metadata.xml +++ b/www-apps/postfixadmin/metadata.xml @@ -2,8 +2,13 @@ <!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.2.ebuild b/www-apps/postfixadmin/postfixadmin-2.3.2.ebuild new file mode 100644 index 000000000000..beeb71acf536 --- /dev/null +++ b/www-apps/postfixadmin/postfixadmin-2.3.2.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/postfixadmin-2.3.2.ebuild,v 1.1 2010/11/15 07:46:47 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}/${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 + 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 +} |