diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index 851a37e..0000000 --- a/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -bugzilla-3.4.4.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index c2b3080..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: bugzilla -# $Id$ -NAME := bugzilla -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/README.fedora.bugzilla b/README.fedora.bugzilla deleted file mode 100644 index 2611a75..0000000 --- a/README.fedora.bugzilla +++ /dev/null @@ -1,25 +0,0 @@ -Bugzilla is a powerful bug tracking system used by a large number of open -source projects. - -In order to use Bugzilla, you will first need to configure it for your -environment. The first step to doing this is to run the checksetup.pl -script, which will perform module version checks and create an initial -config file in /etc/bugzilla called localconfig. You then need to ensure -the values in this file are accurate for your environment. - -Once this is done, you may need to modify default settings for your database -to ensure it accepts Bugzilla data properly. Please see -http://www.bugzilla.org/docs/2.22/html/configuration.html for specifics of -database setting modifications. - -Lastly, simply re-run checksetup.pl to populate the database tables, set up -the templates, and add the administrator ID. You should be done at this point. - -There are two useful cron jobs which are included with Bugzilla which should be -put in place after configuration is done. The first is a daily cron job for -statistics collection. This is in the file "cron.daily" and can be enabled by -simply copying this file to /etc/cron.daily/bugzilla (or any other file name -in the /etc/cron.daily/ directory). The second is the "whine" cron job, -designed to run every 15 minutes. To enable this job, simply coopy the -cron.whine file to /etc/cron.d/bugzilla (or any othe filename within the -/etc/cron.d/ directory). diff --git a/bugzilla-EL5-perl-versions.patch b/bugzilla-EL5-perl-versions.patch deleted file mode 100644 index 4ca70e3..0000000 --- a/bugzilla-EL5-perl-versions.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff -ruNp a/bugzilla-3.4.1/Bugzilla/Constants.pm b/bugzilla-3.4.1/Bugzilla/Constants.pm ---- a/bugzilla-3.4.1/Bugzilla/Constants.pm 2009-08-01 11:28:41.000000000 -0300 -+++ b/bugzilla-3.4.1/Bugzilla/Constants.pm 2009-08-04 01:26:18.761892048 -0300 -@@ -400,7 +400,7 @@ use constant DB_MODULE => { - # Disallow development versions - blacklist => ['_'], - # For UTF-8 support -- version => '4.00', -+ version => '3.00', - }, - name => 'MySQL'}, - 'pg' => {db => 'Bugzilla::DB::Pg', db_version => '8.00.0000', -diff -ruNp a/bugzilla-3.4.1/Bugzilla/Install/Requirements.pm b/bugzilla-3.4.1/Bugzilla/Install/Requirements.pm ---- a/bugzilla-3.4.1/Bugzilla/Install/Requirements.pm 2009-07-24 15:58:46.000000000 -0300 -+++ b/bugzilla-3.4.1/Bugzilla/Install/Requirements.pm 2009-08-04 01:27:02.852909164 -0300 -@@ -118,7 +118,7 @@ sub REQUIRED_MODULES { - { - package => 'Email-MIME', - module => 'Email::MIME', -- version => '1.861' -+ version => '1.859' - }, - { - package => 'Email-MIME-Encodings', -@@ -129,7 +129,7 @@ sub REQUIRED_MODULES { - { - package => 'Email-MIME-Modifier', - module => 'Email::MIME::Modifier', -- version => '1.442' -+ version => '1.441' - }, - { - package => 'URI', diff --git a/bugzilla-httpd-conf b/bugzilla-httpd-conf deleted file mode 100644 index bf195de..0000000 --- a/bugzilla-httpd-conf +++ /dev/null @@ -1,9 +0,0 @@ -Alias /bugzilla/var/lib/bugzilla/data/webdot /var/lib/bugzilla/data/webdot -Alias /bugzilla /usr/share/bugzilla - - - AddHandler cgi-script .cgi - Options +Indexes +ExecCGI +FollowSymLinks - DirectoryIndex index.cgi - AllowOverride Limit Options FileInfo - diff --git a/bugzilla-rw-paths.patch b/bugzilla-rw-paths.patch deleted file mode 100644 index a6a9c59..0000000 --- a/bugzilla-rw-paths.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- bugzilla-3.4/Bugzilla/Constants.pm 2009-02-03 10:02:53.000000000 +0000 -+++ bugzilla-3.4-rw/Bugzilla/Constants.pm 2009-02-18 17:59:52.000000000 +0000 -@@ -499,9 +499,9 @@ sub bz_locations { - 'cgi_path' => $libpath, - 'templatedir' => "$libpath/template", - 'project' => $project, -- 'localconfig' => "$libpath/$localconfig", -- 'datadir' => "$libpath/$datadir", -- 'attachdir' => "$libpath/$datadir/attachments", -+ 'localconfig' => "/etc/bugzilla/$localconfig", -+ 'datadir' => "/var/lib/bugzilla/$datadir", -+ 'attachdir' => "/var/lib/bugzilla/$datadir/attachments", - 'skinsdir' => "$libpath/skins", - # $webdotdir must be in the web server's tree somewhere. Even if you use a - # local dot, we output images to there. Also, if $webdotdir is -@@ -509,7 +509,7 @@ sub bz_locations { - # change showdependencygraph.cgi to set image_url to the correct - # location. - # The script should really generate these graphs directly... -- 'webdotdir' => "$libpath/$datadir/webdot", -+ 'webdotdir' => "/var/lib/bugzilla/$datadir/webdot", - 'extensionsdir' => "$libpath/extensions", - }; - } diff --git a/bugzilla.spec b/bugzilla.spec deleted file mode 100644 index 7e9c441..0000000 --- a/bugzilla.spec +++ /dev/null @@ -1,327 +0,0 @@ -%define bzinstallprefix %{_datadir} -%define bzdatadir %{_localstatedir}/lib/bugzilla - -Summary: Bug tracking system -URL: http://www.bugzilla.org/ -Name: bugzilla -Version: 3.4.4 -Group: Applications/Publishing -Release: 1%{?dist} -License: MPLv1.1 -Source0: http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz -Source1: bugzilla-httpd-conf -Source2: README.fedora.bugzilla -Patch0: bugzilla-rw-paths.patch -Patch1: bugzilla-EL5-perl-versions.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch -Requires: webserver, patchutils, mod_perl, perl(SOAP::Lite), perl(Digest::SHA), which -Requires: perl(CGI) >= 3.33 -Requires: perl(Date::Format) >= 2.21 -Requires: perl(DateTime) >= 0.28 -Requires: perl(DateTime::TimeZone) >= 0.71 -Requires: perl(DBI) >= 1.41 -Requires: perl(Template) >= 2.22 -Requires: perl(Email::Send) >= 2.00 -Requires: perl(Email::MIME) >= 1.861 -Requires: perl(Email::MIME::Encodings) >= 1.313 -Requires: perl(Email::MIME::Modifier) >= 1.442 - -%package doc -Summary: Bugzilla documentation -Group: Documentation - -%package doc-build -Summary: Tools to generate the Bugzilla documentation -Group: Applications/Publishing - -%package contrib -Summary: Bugzilla contributed scripts -Group: Applications/Publishing -BuildRequires: python - -%description -Bugzilla is a popular bug tracking system used by multiple open source projects -It requires a database engine installed - either MySQL, PostgreSQL or Oracle. -Without one of these database engines (local or remote), Bugzilla will not work -- see the Release Notes for details. - -%description doc -Documentation distributed with the Bugzilla bug tracking system - -%description doc-build -Tools to generate the documentation distributed with Bugzilla - -%description contrib -Contributed scripts and functions for Bugzilla - -%prep -%setup -q -n %{name}-%{version} -%patch0 -p1 -%patch1 -p2 - -# Filter unwanted Requires found by /usr/lib/rpm/perldeps.pl: -# create a wrapper script which runs the original perl_requires -# command and strips some of the output -cat << \EOF > %{name}-req -#!/bin/sh -%{__perl_requires} $* |\ -sed -e '/perl(Authen::Radius)/d;/perl(DBD::Pg)/d;/perl(DBD::Oracle)/d;/perl(sanitycheck.cgi)/d' -EOF - -# use that wrapper script instead of the original perl_requires script -%define __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req -chmod +x %{__perl_requires} - -# Deal with changing /usr/local paths here instead of via patches -%{__perl} -pi -e 's|/usr/local/bin/python\b|%{__python}|' contrib/*.py -%{__perl} -pi -e 's|/usr/local/bin/ruby\b|%{_bindir}/ruby|' contrib/*.rb -grep -rl '/usr/lib/sendmail\b' contrib docs \ -| xargs %{__perl} -pi -e 's|/usr/lib/sendmail\b|%{_sbindir}/sendmail|' - -%build -find . -depth -name CVS -type d -exec rm -rf {} \; -find . -depth -name .cvsignore -type f -exec rm -rf {} \; -# Remove the execute bit from files that don't start with #! -for file in `find -type f -perm /111`; do - if head -1 $file | egrep -v '^\#!' &>/dev/null; then - chmod a-x $file - fi -done -# Ensure shebang shell scripts have executable bit set -for file in `find -type f -perm /664`; do - if head -1 $file | egrep '^\#!' &>/dev/null; then - chmod a+x $file - fi -done - - -%install -mkdir -p ${RPM_BUILD_ROOT}/%{bzinstallprefix}/bugzilla -cp -pr * ${RPM_BUILD_ROOT}/%{bzinstallprefix}/bugzilla -cat << EOM > ${RPM_BUILD_ROOT}/%{bzinstallprefix}/bugzilla/cron.daily -#!/bin/bash -# Daily Bugzilla collectstats cron job run -cd %{bzinstallprefix}/bugzilla -./collectstats.pl -EOM -echo "0-59/15 * * * * apache cd %{bzinstallprefix}/bugzilla && env LANG=C %{bzinstallprefix}/bugzilla/whine.pl" > ${RPM_BUILD_ROOT}/%{bzinstallprefix}/bugzilla/cron.whine -rm -f ${RPM_BUILD_ROOT}/%{bzinstallprefix}/bugzilla/{README,UPGRADING,UPGRADING-pre-2.8} -mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/doc/%{name}-%{version} -cp %{SOURCE2} ./README.fedora -mkdir -p ${RPM_BUILD_ROOT}/%{bzdatadir} -mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/bugzilla -install -m 0644 -D -p %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/httpd/conf.d/bugzilla.conf - -%clean -rm -rf ${RPM_BUILD_ROOT} - -%post -(pushd %{bzinstallprefix}/bugzilla > /dev/null -./checksetup.pl > /dev/null -popd > /dev/null) - -%files -%defattr(-,root,root,-) -%dir %{bzinstallprefix}/bugzilla -%{bzinstallprefix}/bugzilla/*.cgi -%{bzinstallprefix}/bugzilla/*.pl -%{bzinstallprefix}/bugzilla/Bugzilla.pm -%{bzinstallprefix}/bugzilla/bugzilla.dtd -%{bzinstallprefix}/bugzilla/robots.txt -%{bzinstallprefix}/bugzilla/Bugzilla -%{bzinstallprefix}/bugzilla/images -%{bzinstallprefix}/bugzilla/js -%{bzinstallprefix}/bugzilla/skins -%{bzinstallprefix}/bugzilla/t -%{bzinstallprefix}/bugzilla/template -%{bzinstallprefix}/bugzilla/extensions/example -%{bzinstallprefix}/bugzilla/lib/README -%{bzinstallprefix}/bugzilla/cron.daily -%{bzinstallprefix}/bugzilla/cron.whine -%ghost %{bzinstallprefix}/bugzilla/bugzilla-req -%config(noreplace) %{_sysconfdir}/httpd/conf.d/bugzilla.conf -%defattr(-,root,root,-) -%doc README -%doc README.fedora -%dir %{bzdatadir} -%defattr(0750,root,apache,-) -%dir %{_sysconfdir}/bugzilla - -%files doc -%defattr(-,root,root,-) -%{bzinstallprefix}/bugzilla/docs/en -%{bzinstallprefix}/bugzilla/docs/bugzilla.ent -%{bzinstallprefix}/bugzilla/docs/style.css - -%files doc-build -%defattr(-,root,root,-) -%{bzinstallprefix}/bugzilla/docs/makedocs.pl -%{bzinstallprefix}/bugzilla/docs/lib - -%files contrib -%defattr(-,root,root,-) -%{bzinstallprefix}/bugzilla/contrib - -%changelog -* Thu Nov 19 2009 Emmanuel Seyman - 3.4.4-1 -- Update to 3.4.4 (CVE-2009-3386) - -* Wed Nov 11 2009 Emmanuel Seyman - 3.4.3-1 -- Update to 3.4.3 (fixes memory leak issues) -- Add perl(Digest::SHA) in the Requires -- Specify Perl module versions in the Requires (fixes #524309) -- Add an alias to make $webdotdir a working path (fixes #458848) - -* Fri Sep 11 2009 Emmanuel Seyman - 3.4.2-1 -- Update to 3.4.2 (CVE-2009-3125, CVE-2009-3165 and CVE-2009-3166) - -* Tue Aug 04 2009 Itamar Reis Peixoto - 3.4.1-2 -- fix EL-5 perl dependencies bz#515158 - -* Sun Aug 02 2009 Emmanuel Seyman - 3.4.1-1 -- Update to 3.4.1, fixing a security leak - -* Wed Jul 29 2009 Emmanuel Seyman - 3.4-1 -- Update to 3.4 (fixes #514315) -- move makedocs.pl to its own package (fixes #509041) -- move the extensions dir to /usr/share/ (fixes #450636) - -* Fri Jul 24 2009 Fedora Release Engineering - 3.2.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed Jul 08 2009 Itamar Reis Peixoto - 3.2.4-1 -- fix https://bugzilla.mozilla.org/show_bug.cgi?id=495257 - -* Mon Apr 06 2009 Itamar Reis Peixoto 3.2.3-1 -- fix CVE-2009-1213 - -* Thu Mar 05 2009 Itamar Reis Peixoto 3.2.2-2 -- fix from BZ #474250 Comment #16, from Chris Eveleigh --> -- add python BR for contrib subpackage -- fix description -- change Requires perl-SOAP-Lite to perl(SOAP::Lite) according guidelines - -* Sun Mar 01 2009 Itamar Reis Peixoto 3.2.2-1 -- thanks to Chris Eveleigh -- for contributing with patches :-) -- Upgrade to upstream 3.2.2 to fix multiple security vulns -- Removed old perl_requires exclusions, added new ones for RADIUS, Oracle and sanitycheck.cgi -- Added Oracle to supported DBs in description (and moved line breaks) -- Include a patch to fix max_allowed_packet warnin when using with mysql - -* Sat Feb 28 2009 Itamar Reis Peixoto 3.0.8-1 -- Upgrade to 3.0.8, fix #466077 #438080 -- fix macro in changelog rpmlint warning -- fix files-attr-not-set rpmlint warning for doc and contrib sub-packages - -* Mon Feb 23 2009 Fedora Release Engineering - 3.0.4-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Mon Feb 2 2009 Stepan Kasal - 3.0.4-3 -- do not require perl-Email-Simple, it is (no longer) in use -- remove several explicit perl-* requires; the automatic dependencies - do handle them - -* Mon Jul 14 2008 Tom "spot" Callaway - 3.0.4-2 -- fix license tag - -* Fri May 9 2008 John Berninger - 3.0.4-1 -- Update to upstream 3.0.4 to fix multiple security vulns -- Change perms on /etc/bugzilla for bz 427981 - -* Sun May 4 2008 John Berninger - 3.0.3-0 -- Update to upstream 3.0.3 - bz 444669 - -* Fri Dec 28 2007 John Berninger - 3.0.2-6 -- Add cron.daily, cron.whine to payload list - -* Fri Dec 28 2007 John Berninger - 3.0.2-5 -- Typo in spec file, rebuild - -* Fri Dec 28 2007 John Berninger - 3.0.2-3 -- bz 426465 - don't enable cron jobs so cron doesn't complain about - an unconfigured installation - -* Fri Oct 26 2007 John Berninger - 3.0.2-2 -- fix issue with AlowOverride Options - -* Mon Oct 22 2007 John Berninger - 3.0.2-1 -- updates to requires and httpd conf for BZ's 279961, 295861, 339531 - -* Mon Sep 24 2007 John Berninger - 3.0.2-0 -- update to 3.0.2 - bz 299981 - -* Mon Aug 27 2007 John Berninger - 3.0.1-0 -- update to 3.0.1 - bz 256021 - -* Fri May 18 2007 John Berninger - 3.0-2 -- update Requires for bz's 241037, 241206 - -* Fri May 18 2007 John Berninger - 3.0-1 -- update to upstream version 3.0 -- add new dependencies on mod_perl, perl-SOAP-Lite -- refactor patch(es) to change paths for read-only /usr - -* Tue Feb 20 2007 John Berninger - 2.22.2-1 -- update to 2.22.2 - bz 229163 - -* Wed Feb 14 2007 John Berninger - 2.22-12 -- More cron job fixes - -* Wed Jan 31 2007 John Berninger - 2.22-11 -- Fix cron job perms - -* Sat Jan 27 2007 John Berninger - 2.22-10 -- Fix collectstats cron job, bx 224550 - -* Mon Jan 22 2007 John Berninger - 2.22-9 -- Fix linebreak issues in specfile - -* Mon Jan 22 2007 John Berninger - 2.22-8 -- Put daily and hourly cronjobs in place per bz 223747 - -* Wed Nov 8 2006 John Berninger - 2.22-7 -- Fixes for bz # 212355 - -* Tue Jun 26 2006 John Berninger - 2.22-6 -- Clean up BugzillaEmail requires (filter it out) - -* Mon Jun 26 2006 John Berninger - 2.22-5 -- License is MPL, not GPL -- Clean up %%doc specs - -* Sun Jun 25 2006 John Benringer - 2.22-4 -- Remove localconfig file per upstream -- Patch to have localconfig appear in /etc/bugzilla when checksetup.pl is run - -* Tue Jun 20 2006 John Berninger - 2.22-3 -- Add README.fedora file -- Add additional requires per comments from upstream - -* Mon Jun 19 2006 John Berninger - 2.22-2 -- Code to /usr/share, data to /var/lib/bugzilla per FE packaging req's - -* Tue Jun 13 2006 John Berninger - 2.22-1 -- Shift to /var/lib/bugzilla install dir per discussion in review request -- Minor change in filtering requires - -* Tue May 23 2006 John Berninger - 2.22-0 -- Update to upstream 2.22 release -- Split off -contrib package, but keep it where it usually gets installed - -* Wed Apr 26 2006 John Berninger - 2.20.1-4 -- rpmlint cleanups - -* Mon Apr 24 2006 John Berninger - 2.20.1-3 -- Cleanup of prov/req filters -- Split docs into -doc package - -* Thu Apr 20 2006 John Berninger - 2.20.1-2 -- No need for CVS tarball - I was thinking things too far through. Change - to 2.20.1 release. - -* Fri Apr 7 2006 John Berninger - 2.20-0.1cvs20060407 -- Initial spec creation/build for Fedora Extras packaging. - diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..db4fe59 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +can't upgrade bugzilla on el6 without upgrading el6 base packages diff --git a/import.log b/import.log deleted file mode 100644 index 691275c..0000000 --- a/import.log +++ /dev/null @@ -1,5 +0,0 @@ -bugzilla-3_0_8-1_fc11:HEAD:bugzilla-3.0.8-1.fc11.src.rpm:1235878106 -bugzilla-3_2_2-2_fc10:HEAD:bugzilla-3.2.2-2.fc10.src.rpm:1236265998 -bugzilla-3_2_3-1_fc11:HEAD:bugzilla-3.2.3-1.fc11.src.rpm:1239059931 -bugzilla-3_2_4-1_fc11:HEAD:bugzilla-3.2.4-1.fc11.src.rpm:1247080670 -bugzilla-3_4_1-2_fc12:HEAD:bugzilla-3.4.1-2.fc12.src.rpm:1249360212 diff --git a/sources b/sources deleted file mode 100644 index 40c7b89..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -a59031c15fb79e9096c0a350c2382cfe bugzilla-3.4.4.tar.gz