Accepting request 582866 from home:ecsos:server

- update to 5.0.4
  This release fixes one security issue.
  See the Security Advisory for details.
  - checksetup.pl would fail to update Chart storage during 
    pre-3.6 to 5.0 upgrade. (Bug 1273846)
  - editflagtypes.cgi would crash when classifications are enabled 
    and the user did not have global editcomponents privileges. 
    (Bug 1310728)
  - The File::Slurp would trigger warnings on perl 5.24. 
    (Bug 1301887)
  - All the time entries in the 'when' column had the correct date
    but the time was fixed to 00:00 when using Sqlite. 
    (Bug 1303702)

OBS-URL: https://build.opensuse.org/request/show/582866
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/bugzilla?expand=0&rev=13
This commit is contained in:
Johannes Weberhofer 2018-03-05 14:50:54 +00:00 committed by Git OBS Bridge
parent 34529a475e
commit 0a4dc45f07
4 changed files with 30 additions and 26 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:594d1d6813f4731b71fbbf3809d4d7e3511f1cd73e12fcad9f498319ff2fcadc
size 4069689

3
bugzilla-5.0.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b4200f873acefe184c56e096f5988e01ccdfd933764a55dc4243f225b953058
size 5736607

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Mar 5 13:10:06 UTC 2018 - ecsos@opensuse.org
- update to 5.0.4
This release fixes one security issue.
See the Security Advisory for details.
- checksetup.pl would fail to update Chart storage during
pre-3.6 to 5.0 upgrade. (Bug 1273846)
- editflagtypes.cgi would crash when classifications are enabled
and the user did not have global editcomponents privileges.
(Bug 1310728)
- The File::Slurp would trigger warnings on perl 5.24.
(Bug 1301887)
- All the time entries in the 'when' column had the correct date
but the time was fixed to 00:00 when using Sqlite.
(Bug 1303702)
-------------------------------------------------------------------
Wed Oct 4 14:45:31 UTC 2017 - matwey.kornilov@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package bugzilla
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,7 +20,7 @@
%define has_systemd 1
%endif
Name: bugzilla
Version: 5.0.3
Version: 5.0.4
Release: 0
Summary: Bug tracker for software development
License: MPL-2.0
@ -38,14 +38,15 @@ Requires: apache
Requires: apache2-mod_perl >= 1.999022
#Recommonds: Apache-SizeLimit
Requires: patchutils
Requires: perl(CGI) >= 5.8.1
Requires: perl-Authen-SASL
Requires: perl-Chart >= 2.4.1
Requires: perl-DBD-Pg >= 2.7.0
Requires: perl-DBD-SQLite >= 1.29
Requires: perl-DBD-mysql >= 4.001
Requires: perl-DBI >= 1.614
Requires: perl(CGI) >= 5.8.1
#Recommends: RadiusPerl
Requires: perl-Cache-Memcached
Requires: perl-Daemon-Generic
Requires: perl-DateTime >= 0.75
Requires: perl-DateTime-TimeZone >= 1.64
@ -56,8 +57,10 @@ Requires: perl-Email-Send >= 2.02
Requires: perl-Email-Sender >= v1.300011
Requires: perl-Encode >= 2.21
Requires: perl-Encode-Detect
Requires: perl-File-Copy-Recursive
Requires: perl-File-MimeInfo
Requires: perl-File-Slurp >= 9999.13
Requires: perl-File-Which
Requires: perl-GD >= 1.20
Requires: perl-GDGraph
Requires: perl-GDTextUtil
@ -70,7 +73,9 @@ Requires: perl-JSON-XS >= 2.01
Requires: perl-List-MoreUtils >= 0.32
Requires: perl-MIME-tools >= 5.406
Requires: perl-Math-Random-ISAAC >= 1.0.1
Requires: perl-Module-Pluggable
Requires: perl-Net-SMTP-SSL >= 1.01
Requires: perl-Object-Pluggable
Requires: perl-PatchReader >= 0.9.6
Requires: perl-SOAP-Lite >= 0.712
Requires: perl-Template-GD
@ -84,21 +89,11 @@ Requires: perl-XMLRPC-Lite >= 0.712
Requires: perl-base >= 5.8.1
Requires: perl-ldap
Requires: perl-libwww-perl
Requires: perl-Module-Pluggable
Requires: perl-Object-Pluggable
Requires: perl-Cache-Memcached
Requires: perl-File-Copy-Recursive
Requires: perl-File-Which
Recommends: perl-DBD-Oracle >= 1.19
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%if 0%{?has_systemd}
BuildRequires: systemd
%{?systemd_requires}
%else
# FIXME: use proper Requires(pre/post/preun/...)
PreReq: %insserv_prereq
%endif
%description
Bugzilla is server software designed to help you manage software
@ -143,7 +138,7 @@ done
# Hello bugzilla devs...
find . -type d "(" -name .bzr -o -name .git ")" \
-exec rm -Rf "{}" "+"
find . -type f "(" -name ".git*" -o -name ".bzr*" -o -name ".travis*" ")" \
find . -type f "(" -name ".git*" -o -name ".bzr*" -o -name ".travis*" -o -name ".buildinfo*" ")" \
-exec rm -Rf "{}" "+"
find . -type f -print0 | xargs -0r grep -l '^#!' | xargs -r chmod a+x
find . -type f -print0 | xargs -0r grep -l '^#!' | \
@ -161,18 +156,10 @@ install -D -m0640 %{SOURCE4} %{buildroot}%{_sysconfdir}/apache2/conf.d/bugzilla.
rm %{buildroot}/srv/www/bugzilla/.htaccess
%post
%if 0%{?has_systemd}
%service_add_post apache2.service
%else
%restart_on_update apache2
%endif
%postun
%if 0%{?has_systemd}
%service_del_postun apache2.service
%else
%restart_on_update apache2
%endif
%files
%defattr(-,root,root)