Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 249653

Summary: Ebuild for www-apps/bugzilla-3.2
Product: Gentoo Linux Reporter: Chris Lieb <chris.lieb.hotmail+gentoo>
Component: New packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild for www-apps/bugzilla-3.2

Description Chris Lieb 2008-12-02 21:12:28 UTC
Bugzilla was released on 29 Nov, but I have not seen an ebuild for it in the tree or in the sunrise, Mozilla, Perl, or webapps overlays.  I have decided to give a go at modifying the ebuild for bugzilla-3.0.5 to make it work for 3.2.  The only things that I changed were some of the dependencies since 3.2 wants newer versions of some deps, and also adds a dep or two.  The only optional dependency that I could not find was RadiusPerl.

Here is a diff of the 3.0.5 ebuild to the 3.2 ebuild:

--- /usr/portage/www-apps/bugzilla/bugzilla-3.0.5.ebuild        2008-10-14 03:37:19.000000000 -0500
+++ /usr/local/portage/www-apps/bugzilla/bugzilla-3.2.ebuild    2008-12-02 14:57:27.000000000 -0600
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/bugzilla-3.0.5.ebuild,v 1.5 2008/10/14 08:20:41 corsair Exp $
+# $Header$

 inherit webapp depend.apache versionator eutils

@@ -12,7 +12,7 @@
 HOMEPAGE="http://www.bugzilla.org"

 LICENSE="MPL-1.1 NPL-1.1"
-KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"

 IUSE="modperl extras graphviz mysql postgres linguas_de"

@@ -21,27 +21,29 @@
        >=dev-lang/perl-5.8.0

        >=dev-perl/DBI-1.41
-       dev-perl/Email-MIME-Modifier
-       >=dev-perl/Email-Send-2.00
-       dev-perl/MIME-tools
-       >=dev-perl/Template-Toolkit-2.13
+       >=dev-perl/Email-MIME-1.861
+       >=dev-perl/Email-MIME-Modifier-1.442
+       >=dev-perl/Email-Send-2.16
+       >=dev-perl/MIME-tools-5.406
+       >=dev-perl/Template-Toolkit-2.15
        >=dev-perl/TimeDate-1.16
-       >=virtual/perl-CGI-2.93
+       >=virtual/perl-CGI-3.21
        >=virtual/perl-File-Spec-0.84
        >=virtual/perl-MIME-Base64-3.01

-       mysql? ( >=dev-perl/DBD-mysql-3.0007 )
+       mysql? ( >=dev-perl/DBD-mysql-4.00 )
        postgres? ( >=dev-perl/DBD-Pg-1.45 )
        graphviz? ( media-gfx/graphviz )

        modperl? (
                >=dev-perl/Apache-DBI-0.96
-               >=virtual/perl-CGI-3.11
+               >=virtual/perl-CGI-3.21
                =www-apache/mod_perl-2*
        )

        extras? (
-               >=dev-perl/Chart-2.3
+               dev-perl/Authen-SASL
+               >=dev-perl/Chart-1.0
                dev-perl/Email-MIME-Attachment-Stripper
                dev-perl/Email-Reply
                >=dev-perl/GD-1.20




Reproducible: Always

Steps to Reproduce:
Comment 1 Chris Lieb 2008-12-02 21:14:15 UTC
Created attachment 174103 [details]
ebuild for www-apps/bugzilla-3.2

This is the ebuild created from the diff in the bug description.  I have tested it and it appears to work.  The only caveat at the time is that I do not include the RadiusPerl module as a dependency.
Comment 2 Chris Lieb 2008-12-02 21:15:22 UTC
One more note: the files can be satisfied by copying files/3.0 to files/3.2.  I don't see any reason to update any of the extra files.
Comment 3 Chris Lieb 2008-12-03 17:04:08 UTC
One note: I had to restart Apache (using mod_perl) before Bugzilla would work after the upgrade, in addition to running checksetup.pl.

Other than that, Bugzilla seems to run just fine from this ebuild.

Does someone want to QA this so it can get into the Portage tree?
Comment 4 Gunnar Wrobel (RETIRED) gentoo-dev 2008-12-07 07:36:48 UTC
thanks for the patch/ebuild! in cvs.