Compare commits
19 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7803c76cc1 | ||
|
|
e7951280b3 | ||
|
|
c75084fda8 | ||
|
|
a4fcdd2291 | ||
|
|
b674064f6a | ||
|
|
9048df0583 | ||
|
|
f1aa9b8764 | ||
|
|
73255ac137 | ||
|
|
210c4e8434 | ||
|
|
ce5c805be9 | ||
|
|
8139ac241a | ||
|
|
1cad17d3f6 | ||
|
|
a83c20fe4f | ||
|
|
bb3dd99050 | ||
|
|
5c11b999d6 | ||
|
|
8e74bf88a2 | ||
|
|
13e8453e69 | ||
|
|
0b660182db | ||
|
|
cd5125ff27 |
10 changed files with 98 additions and 62 deletions
|
|
@ -1 +0,0 @@
|
||||||
bugzilla-2.22.tar.gz
|
|
||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
bugzilla-3.0.2.tar.gz
|
||||||
21
Makefile
21
Makefile
|
|
@ -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)
|
|
||||||
|
|
@ -14,3 +14,12 @@ database setting modifications.
|
||||||
|
|
||||||
Lastly, simply re-run checksetup.pl to populate the database tables, set up
|
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.
|
the templates, and add the administrator ID. You should be done at this point.
|
||||||
|
|
||||||
|
|
||||||
|
UPGRADES
|
||||||
|
--------
|
||||||
|
If you are upgrading from bugzilla-2.22.2-1, you will want to view the
|
||||||
|
sanity check page of your Bugzilla installation immediately after upgrading
|
||||||
|
and fix any errors found. For additional information on migrating to this
|
||||||
|
package from an unmanaged Bugzilla installation other than 2.22.2, please
|
||||||
|
see http://www.bugzilla.org/releases/3.0/release-notes.html#v30_upgrading.
|
||||||
|
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
diff -ruN bugzilla-neworig/Bugzilla/Config.pm bugzilla-2.22/Bugzilla/Config.pm
|
|
||||||
--- bugzilla-neworig/Bugzilla/Config.pm 2006-06-19 16:29:00.000000000 -0400
|
|
||||||
+++ bugzilla-2.22/Bugzilla/Config.pm 2006-06-25 10:20:02.000000000 -0400
|
|
||||||
@@ -61,10 +61,10 @@
|
|
||||||
our $datadir;
|
|
||||||
if ($ENV{'PROJECT'} && $ENV{'PROJECT'} =~ /^(\w+)$/) {
|
|
||||||
$project = $1;
|
|
||||||
- $localconfig = "$libpath/localconfig.$project";
|
|
||||||
+ $localconfig = "/etc/bugzilla/localconfig.$project";
|
|
||||||
$datadir = "/var/lib/bugzilla/data/$project";
|
|
||||||
} else {
|
|
||||||
- $localconfig = "$libpath/localconfig";
|
|
||||||
+ $localconfig = "/etc/bugzilla/localconfig";
|
|
||||||
$datadir = "/var/lib/bugzilla/data";
|
|
||||||
}
|
|
||||||
our $attachdir = "$datadir/attachments";
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
diff -ruN bugzilla-orig/Bugzilla/Config.pm bugzilla-2.22/Bugzilla/Config.pm
|
|
||||||
--- bugzilla-orig/Bugzilla/Config.pm 2006-04-22 22:45:09.000000000 -0400
|
|
||||||
+++ bugzilla-2.22/Bugzilla/Config.pm 2006-06-19 16:29:00.000000000 -0400
|
|
||||||
@@ -62,10 +62,10 @@
|
|
||||||
if ($ENV{'PROJECT'} && $ENV{'PROJECT'} =~ /^(\w+)$/) {
|
|
||||||
$project = $1;
|
|
||||||
$localconfig = "$libpath/localconfig.$project";
|
|
||||||
- $datadir = "$libpath/data/$project";
|
|
||||||
+ $datadir = "/var/lib/bugzilla/data/$project";
|
|
||||||
} else {
|
|
||||||
$localconfig = "$libpath/localconfig";
|
|
||||||
- $datadir = "$libpath/data";
|
|
||||||
+ $datadir = "/var/lib/bugzilla/data";
|
|
||||||
}
|
|
||||||
our $attachdir = "$datadir/attachments";
|
|
||||||
our $webdotdir = "$datadir/webdot";
|
|
||||||
|
|
@ -4,5 +4,5 @@ Alias /bugzilla /usr/share/bugzilla
|
||||||
AddHandler cgi-script .cgi
|
AddHandler cgi-script .cgi
|
||||||
Options +Indexes +ExecCGI +FollowSymLinks
|
Options +Indexes +ExecCGI +FollowSymLinks
|
||||||
DirectoryIndex index.cgi
|
DirectoryIndex index.cgi
|
||||||
AllowOverride Limit
|
AllowOverride Limit Options FileInfo
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
|
||||||
27
bugzilla-rw-paths.patch
Normal file
27
bugzilla-rw-paths.patch
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
diff -ru bugzilla-orig/Bugzilla/Constants.pm bugzilla-3.0.1/Bugzilla/Constants.pm
|
||||||
|
--- bugzilla-orig/Bugzilla/Constants.pm 2007-08-23 14:42:23.000000000 -0400
|
||||||
|
+++ bugzilla-3.0.1/Bugzilla/Constants.pm 2007-08-27 08:50:50.000000000 -0400
|
||||||
|
@@ -423,9 +423,9 @@
|
||||||
|
'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 webtree somewhere. Even if you use a
|
||||||
|
# local dot, we output images to there. Also, if $webdotdir is
|
||||||
|
@@ -433,8 +433,8 @@
|
||||||
|
# change showdependencygraph.cgi to set image_url to the correct
|
||||||
|
# location.
|
||||||
|
# The script should really generate these graphs directly...
|
||||||
|
- 'webdotdir' => "$libpath/$datadir/webdot",
|
||||||
|
- 'extensionsdir' => "$libpath/extensions",
|
||||||
|
+ 'webdotdir' => "/var/lib/bugzilla/$datadir/webdot",
|
||||||
|
+ 'extensionsdir' => "/var/lib/bugzilla/extensions",
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -4,18 +4,17 @@
|
||||||
Summary: Bug tracking system
|
Summary: Bug tracking system
|
||||||
URL: http://www.bugzilla.org/
|
URL: http://www.bugzilla.org/
|
||||||
Name: bugzilla
|
Name: bugzilla
|
||||||
Version: 2.22
|
Version: 3.0.2
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
Release: 6%{?dist}
|
Release: 2%{?dist}
|
||||||
License: MPL
|
License: MPL
|
||||||
Source0: http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz
|
Source0: http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz
|
||||||
Source1: bugzilla-httpd-conf
|
Source1: bugzilla-httpd-conf
|
||||||
Source2: README.fedora.bugzilla
|
Source2: README.fedora.bugzilla
|
||||||
Patch0: bugzilla-data-dir.patch
|
Patch0: bugzilla-rw-paths.patch
|
||||||
Patch1: bugzilla-config-path.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: smtpdaemon, webserver, graphviz, patchutils
|
Requires: smtpdaemon, webserver, patchutils, mod_perl, perl-SOAP-Lite, perl-Email-Simple, perl-Email-MIME-Modifier, perl-Template-Toolkit, perl-MIME-tools, perl-Email-MIME-Attachment-Stripper, perl-Email-Send, perl-Email-Reply, perl-Email-MIME, perl-Email-Address, which
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Bugzilla documentation
|
Summary: Bugzilla documentation
|
||||||
|
|
@ -39,7 +38,6 @@ Contributed scripts and functions for Bugzilla
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
# Filter unwanted Requires:
|
# Filter unwanted Requires:
|
||||||
cat << \EOF > %{name}-req
|
cat << \EOF > %{name}-req
|
||||||
|
|
@ -77,6 +75,15 @@ done
|
||||||
%install
|
%install
|
||||||
mkdir -p ${RPM_BUILD_ROOT}/%{bzinstallprefix}/bugzilla
|
mkdir -p ${RPM_BUILD_ROOT}/%{bzinstallprefix}/bugzilla
|
||||||
cp -pr * ${RPM_BUILD_ROOT}/%{bzinstallprefix}/bugzilla
|
cp -pr * ${RPM_BUILD_ROOT}/%{bzinstallprefix}/bugzilla
|
||||||
|
mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/cron.daily
|
||||||
|
cat << EOM > ${RPM_BUILD_ROOT}/%{_sysconfdir}/cron.daily/bugzilla
|
||||||
|
#!/bin/bash
|
||||||
|
# Daily Bugzilla collectstats cron job run
|
||||||
|
cd %{bzinstallprefix}/bugzilla
|
||||||
|
./collectstats.pl
|
||||||
|
EOM
|
||||||
|
mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/cron.d
|
||||||
|
echo "0-59/15 * * * * apache cd %{bzinstallprefix}/bugzilla && env LANG=C %{bzinstallprefix}/bugzilla/whine.pl" > ${RPM_BUILD_ROOT}/%{_sysconfdir}/cron.d/bugzilla
|
||||||
rm -f ${RPM_BUILD_ROOT}/%{bzinstallprefix}/bugzilla/{README,QUICKSTART,UPGRADING,UPGRADING-pre-2.8}
|
rm -f ${RPM_BUILD_ROOT}/%{bzinstallprefix}/bugzilla/{README,QUICKSTART,UPGRADING,UPGRADING-pre-2.8}
|
||||||
mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/doc/%{name}-%{version}
|
mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/doc/%{name}-%{version}
|
||||||
cp %{SOURCE2} ./README.fedora
|
cp %{SOURCE2} ./README.fedora
|
||||||
|
|
@ -110,6 +117,11 @@ popd > /dev/null
|
||||||
%{bzinstallprefix}/bugzilla/template
|
%{bzinstallprefix}/bugzilla/template
|
||||||
%ghost %{bzinstallprefix}/bugzilla/bugzilla-req
|
%ghost %{bzinstallprefix}/bugzilla/bugzilla-req
|
||||||
%config(noreplace) %{_sysconfdir}/httpd/conf.d/bugzilla.conf
|
%config(noreplace) %{_sysconfdir}/httpd/conf.d/bugzilla.conf
|
||||||
|
%defattr(0755,root,root,-)
|
||||||
|
%{_sysconfdir}/cron.daily/*
|
||||||
|
%defattr(0600,root,root,-)
|
||||||
|
%{_sysconfdir}/cron.d/*
|
||||||
|
%defattr(-,root,root,-)
|
||||||
%doc README
|
%doc README
|
||||||
%doc QUICKSTART
|
%doc QUICKSTART
|
||||||
%doc UPGRADING
|
%doc UPGRADING
|
||||||
|
|
@ -125,6 +137,47 @@ popd > /dev/null
|
||||||
%{bzinstallprefix}/bugzilla/contrib
|
%{bzinstallprefix}/bugzilla/contrib
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 26 2007 John Berninger <john at ncphotography dot com> - 3.0.2-2
|
||||||
|
- fix issue with AlowOverride Options
|
||||||
|
|
||||||
|
* Mon Oct 22 2007 John Berninger <john at ncphotography dot com> - 3.0.2-1
|
||||||
|
- updates to requires and httpd conf for BZ's 279961, 295861, 339531
|
||||||
|
|
||||||
|
* Mon Sep 24 2007 John Berninger <john at ncphotography dot com> - 3.0.2-0
|
||||||
|
- update to 3.0.2 - bz 299981
|
||||||
|
|
||||||
|
* Mon Aug 27 2007 John Berninger <john at ncphotography dot com> - 3.0.1-0
|
||||||
|
- update to 3.0.1 - bz 256021
|
||||||
|
|
||||||
|
* Fri May 18 2007 John Berninger <jwb at redhat dot com> - 3.0-2
|
||||||
|
- update Requires for bz's 241037, 241206
|
||||||
|
|
||||||
|
* Fri May 18 2007 John Berninger <jwb at redhat dot com> - 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 <jwb at redhat dot com> - 2.22.2-1
|
||||||
|
- update to 2.22.2 - bz 229163
|
||||||
|
|
||||||
|
* Wed Feb 14 2007 John Berninger <jwb at redhat dot com> - 2.22-12
|
||||||
|
- More cron job fixes
|
||||||
|
|
||||||
|
* Wed Jan 31 2007 John Berninger <jwb at redhat dot com> - 2.22-11
|
||||||
|
- Fix cron job perms
|
||||||
|
|
||||||
|
* Sat Jan 27 2007 John Berninger <jwb at redhat dot com> - 2.22-10
|
||||||
|
- Fix collectstats cron job, bx 224550
|
||||||
|
|
||||||
|
* Mon Jan 22 2007 John Berninger <jwb at redhat dot com> - 2.22-9
|
||||||
|
- Fix linebreak issues in specfile
|
||||||
|
|
||||||
|
* Mon Jan 22 2007 John Berninger <jwb at redhat dot com> - 2.22-8
|
||||||
|
- Put daily and hourly cronjobs in place per bz 223747
|
||||||
|
|
||||||
|
* Wed Nov 8 2006 John Berninger <johnw at berningeronline dot net> - 2.22-7
|
||||||
|
- Fixes for bz # 212355
|
||||||
|
|
||||||
* Tue Jun 26 2006 John Berninger <johnw at berningeronline dot net> - 2.22-6
|
* Tue Jun 26 2006 John Berninger <johnw at berningeronline dot net> - 2.22-6
|
||||||
- Clean up BugzillaEmail requires (filter it out)
|
- Clean up BugzillaEmail requires (filter it out)
|
||||||
|
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
bbf2f1ec5607978d39855df104231973 bugzilla-2.22.tar.gz
|
53afb2c5d4c105ed2f4b2ba4ccfcedc7 bugzilla-3.0.2.tar.gz
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue