public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-apps/postfixadmin: metadata.xml ChangeLog postfixadmin-2.3.ebuild
@ 2010-03-16 19:15 Patrick Lauer (patrick)
  0 siblings, 0 replies; only message in thread
From: Patrick Lauer (patrick) @ 2010-03-16 19:15 UTC (permalink / raw
  To: gentoo-commits

patrick     10/03/16 19:15:32

  Modified:             metadata.xml ChangeLog
  Added:                postfixadmin-2.3.ebuild
  Log:
  Bump, fixes #291248. Improvements by Allen Brooker and Andreis Vinogradovs.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  www-apps/postfixadmin/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/postfixadmin/metadata.xml?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/postfixadmin/metadata.xml?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/postfixadmin/metadata.xml?r1=1.2&r2=1.3

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/metadata.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- metadata.xml	20 Feb 2008 16:12:33 -0000	1.2
+++ metadata.xml	16 Mar 2010 19:15:31 -0000	1.3
@@ -7,4 +7,8 @@
 		<name>Gunnar Wrobel</name>
 		<description>Primary maintainer</description>
 	</maintainer>
+	<use>
+		<flag name='tests'>Install model unit tests</flag>
+		<flag name='extras'>Install contributed scripts and plugins</flag>
+	</use>
 </pkgmetadata>



1.16                 www-apps/postfixadmin/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/postfixadmin/ChangeLog?rev=1.16&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/postfixadmin/ChangeLog?rev=1.16&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/postfixadmin/ChangeLog?r1=1.15&r2=1.16

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/ChangeLog,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ChangeLog	11 Oct 2009 08:39:31 -0000	1.15
+++ ChangeLog	16 Mar 2010 19:15:31 -0000	1.16
@@ -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.15 2009/10/11 08:39:31 hollow Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/postfixadmin/ChangeLog,v 1.16 2010/03/16 19:15:31 patrick Exp $
+
+*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,



1.1                  www-apps/postfixadmin/postfixadmin-2.3.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/postfixadmin/postfixadmin-2.3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/postfixadmin/postfixadmin-2.3.ebuild?rev=1.1&content-type=text/plain

Index: postfixadmin-2.3.ebuild
===================================================================
# 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.ebuild,v 1.1 2010/03/16 19:15:31 patrick Exp $

inherit eutils webapp depend.php confutils

DESCRIPTION="Web Based Management tool for Postfix style virtual domains and users."
HOMEPAGE="http://high5.net/postfixadmin/"
MY_P="${PN}_${PV}"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
RESTRICT="mirror"

LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="extras mysql postgres tests"

DEPEND="dev-perl/DBI
	virtual/perl-MIME-Base64
	dev-perl/Email-Valid
	dev-perl/Mail-Sender
	dev-perl/log-dispatch
	dev-perl/Log-Log4perl
	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

	if use mysql; then
		enewgroup vacation
		enewuser vacation -1 -1 -1 vacation
	fi
}

src_unpack() {
	unpack ${A}
	cd "${S}"
	ecvs_clean
}

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

		mv VIRTUAL_VACATION/INSTALL.TXT VIRTUAL_VACATION_INSTALL.TXT
		dodoc VIRTUAL_VACATION_INSTALL.TXT
		rm VIRTUAL_VACATION_INSTALL.TXT
	fi

	local docs="DOCUMENTS/*.txt CHANGELOG.TXT INSTALL.TXT"
	dodoc ${docs}

	if ! use extras; then
		rm -rf ADDITIONS/
	fi

	if ! use tests; then
		rm -rf tests
	fi

	for FILE in DOCUMENTS/ GPL-LICENSE.TXT LICENSE.TXT debian/
	do
	  rm -rf ${FILE}
	done

	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
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-16 19:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-16 19:15 [gentoo-commits] gentoo-x86 commit in www-apps/postfixadmin: metadata.xml ChangeLog postfixadmin-2.3.ebuild Patrick Lauer (patrick)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox