summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2006-04-23 18:05:45 +0000
committerRenat Lumpau <rl03@gentoo.org>2006-04-23 18:05:45 +0000
commit7fc7a153e2f90cf3c8e969294813cc18dc1bace5 (patch)
treecfc1a3738f2fafa13c93cd14d7e81b86a76ad332 /www-apps/bugzilla/bugzilla-2.22.ebuild
parentppc stable, bug #130960 (diff)
downloadgentoo-2-7fc7a153e2f90cf3c8e969294813cc18dc1bace5.tar.gz
gentoo-2-7fc7a153e2f90cf3c8e969294813cc18dc1bace5.tar.bz2
gentoo-2-7fc7a153e2f90cf3c8e969294813cc18dc1bace5.zip
Version bump
(Portage version: 2.1_pre9-r1)
Diffstat (limited to 'www-apps/bugzilla/bugzilla-2.22.ebuild')
-rw-r--r--www-apps/bugzilla/bugzilla-2.22.ebuild70
1 files changed, 70 insertions, 0 deletions
diff --git a/www-apps/bugzilla/bugzilla-2.22.ebuild b/www-apps/bugzilla/bugzilla-2.22.ebuild
new file mode 100644
index 000000000000..5cbc0d8e8d4a
--- /dev/null
+++ b/www-apps/bugzilla/bugzilla-2.22.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/bugzilla-2.22.ebuild,v 1.1 2006/04/23 18:05:44 rl03 Exp $
+
+inherit webapp
+
+DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project"
+SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/webtools/${P}.tar.gz"
+HOMEPAGE="http://www.bugzilla.org"
+
+LICENSE="MPL-1.1 NPL-1.1"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+IUSE="apache2 extras graphviz mysql postgres"
+
+RDEPEND="
+ >=dev-lang/perl-5.6.1
+ postgres? ( >=dev-db/postgresql-7.3 >=dev-perl/DBD-Pg-1.45 )
+ mysql? ( >=dev-db/mysql-4.0.14 <=dev-perl/DBD-mysql-3.0002 )
+ apache2? ( >=net-www/apache-2.0 )
+ !apache2? ( =net-www/apache-1* )
+ graphviz? ( media-gfx/graphviz )
+ >=dev-perl/AppConfig-1.52
+ >=virtual/perl-CGI-2.93
+ >=dev-perl/TimeDate-1.16
+ >=dev-perl/DBI-1.38
+ >=virtual/perl-File-Spec-0.84
+ virtual/perl-File-Temp
+ >=dev-perl/Template-Toolkit-2.08
+ >=dev-perl/Text-Tabs+Wrap-2001.0131
+ >=dev-perl/MailTools-1.67
+ >=virtual/perl-MIME-Base64-3.01
+ dev-perl/MIME-tools
+ virtual/perl-Storable
+
+ !ppc64? ( extras? (
+ >=dev-perl/Chart-2.3
+ >=dev-perl/GD-1.20
+ dev-perl/GDGraph
+ dev-perl/GDTextUtil
+ dev-perl/perl-ldap
+ >=dev-perl/PatchReader-0.9.4
+ dev-perl/XML-Twig ) )
+"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # remove CVS directories
+ find . -type d -name 'CVS' -print | xargs rm -rf
+}
+
+src_install () {
+ webapp_src_preinst
+
+ cp -r ${S}/* ${D}/${MY_HTDOCSDIR} || die
+ for file in `find -type d -printf "%p/* "`; do
+ webapp_serverowned "${MY_HTDOCSDIR}/${file}"
+ done
+
+ cp ${FILESDIR}/2.22/apache.htaccess ${D}/${MY_HTDOCSDIR}/.htaccess
+
+ local FILE="bugzilla.cron.daily bugzilla.cron.tab"
+ cd ${FILESDIR}/2.22
+ cp ${FILE} ${D}/${MY_HTDOCSDIR}
+
+ webapp_hook_script ${FILESDIR}/2.22/reconfig
+ webapp_postinst_txt en ${FILESDIR}/2.22/postinstall-en.txt
+ webapp_src_install
+}