diff options
author | Peter Volkov <pva@gentoo.org> | 2011-10-19 10:53:57 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2011-10-19 10:53:57 +0000 |
commit | 3289d3f11a660457d01762681aca078fb6c9d17f (patch) | |
tree | f90e4b362c8892c1467106df46a0e71a8723579d /www-apps/postfixadmin | |
parent | added new license (diff) | |
download | historical-3289d3f11a660457d01762681aca078fb6c9d17f.tar.gz historical-3289d3f11a660457d01762681aca078fb6c9d17f.tar.bz2 historical-3289d3f11a660457d01762681aca078fb6c9d17f.zip |
Version bump, bug #387037 wrt Per Pomsel
Package-Manager: portage-2.1.10.27/cvs/Linux x86_64
Diffstat (limited to 'www-apps/postfixadmin')
-rw-r--r-- | www-apps/postfixadmin/ChangeLog | 7 | ||||
-rw-r--r-- | www-apps/postfixadmin/Manifest | 14 | ||||
-rw-r--r-- | www-apps/postfixadmin/postfixadmin-2.3.4.ebuild | 101 |
3 files changed, 120 insertions, 2 deletions
diff --git a/www-apps/postfixadmin/ChangeLog b/www-apps/postfixadmin/ChangeLog index 31ff6f98a22c..752a650875cc 100644 --- a/www-apps/postfixadmin/ChangeLog +++ b/www-apps/postfixadmin/ChangeLog @@ -1,6 +1,11 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/ChangeLog,v 1.23 2011/10/19 10:53:57 pva Exp $ + +*postfixadmin-2.3.4 (19 Oct 2011) + + 19 Oct 2011; Peter Volkov <pva@gentoo.org> +postfixadmin-2.3.4.ebuild: + Version bump, bug #387037 wrt Per Pomsel *postfixadmin-2.3.3 (30 Apr 2011) diff --git a/www-apps/postfixadmin/Manifest b/www-apps/postfixadmin/Manifest index c754ac92a6e3..160522db1534 100644 --- a/www-apps/postfixadmin/Manifest +++ b/www-apps/postfixadmin/Manifest @@ -1,12 +1,24 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + 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.3.tar.gz 1608432 RMD160 3ac67e58f35669b859c25e479e3457bfa2b8f0d3 SHA1 4417c73d7c4d0423fbcec8491bf7ca72184ce2cf SHA256 0548a5c0a5ae5cb3de00fae5f04bb1537947ac0d815699e8063ad45cef0db5ee +DIST postfixadmin_2.3.4.tar.gz 1609383 RMD160 f74639e15400fe188e73efd3434f170b2f96db9d SHA1 727ef73a45312b865ab7d97a31634a6216d5aac6 SHA256 6ac663e2f4bd8bfbe7daaf759b18071d915efd242fe13964561da94f18c82ec6 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 2969 RMD160 1a6c62a44d8bdb0a9d67c86cfb2aa0af44a16bb8 SHA1 eb41cb45632c72ce586149ade2a371125cb1155b SHA256 543a2d11f91e6feb77b17bada6aa03b8083e21d7b929dedfa1cff856457ab396 EBUILD postfixadmin-2.3.3.ebuild 2965 RMD160 65a193e2caaa7cb4783d53e052e7268a22e97983 SHA1 b2bca1a11d394fedc9ec5ffe831b682b3b3b27bf SHA256 23271803c60ea7d9f6212ff4135420d4be0874a7fa6295a6d6b7db8d9a913ef6 +EBUILD postfixadmin-2.3.4.ebuild 2983 RMD160 5323488287a158ba8f2764c9d40b8cc1c9801298 SHA1 54d4aa206fa8c96846a7b7168ad255d89efd1538 SHA256 db475592a60ae3d1697a9891e13d45de83e4594ab564fab20d3d0c24a6445f81 EBUILD postfixadmin-2.3.ebuild 1975 RMD160 e5b2a39feab859b8f49d95086d9efc4ead59e8a5 SHA1 918c000b9c66011fa96d1295fda1c7c1d97c05ba SHA256 5068886ed08cafc2bbca1e9d06aa341d44f8c4ad87e0a3254e11a1d27b160016 -MISC ChangeLog 4667 RMD160 817e5e16d4a792957c64970d8d97676183230ae7 SHA1 77b4bafe9d2f403cd7ac18abfb37ca9f3d8122b9 SHA256 46682aaa4d931e75f698d17babcf107c3c5a83fd67ccc4d300fee2b1c1d97b9d +MISC ChangeLog 4819 RMD160 e134d4295f35365ac402904fc2bf1060867721e7 SHA1 5abb7ddcbb609933b1c85e62cb67a4d38b961e58 SHA256 bd0e39a2e95756bb1b78f971ba7dd359621a16344e60f6b8dec60115e8ea0919 MISC metadata.xml 463 RMD160 bf730bbfa751ced44bff11a28e4b7afe5cb5ae3a SHA1 c250c6882446678a084bac74822f17650c05d520 SHA256 3abeafbb5f4fa57ed9c5ee2a7262b7ff042ab46c1212258b744a942ccb67e999 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iF4EAREIAAYFAk6eq9oACgkQGrk+8vGYmwfpVAD9HPKfvZCDDyJ35Et+waXI0POO +nAMwYIa/wz4PuWjuTtkBAJoqRf0O2i+Gjp5PGLtl4HkUdScXfX0oRI+gUFElAPWF +=oDOo +-----END PGP SIGNATURE----- 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 000000000000..127fd1b4cc34 --- /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.4.ebuild,v 1.1 2011/10/19 10:53:57 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 +} |