Accepting request 873842 from server:database:postgresql

- boo#1179945: Disable icu for PostgreSQL 10 (and older) on TW.

- Upgrade to version 13.2:
  * https://www.postgresql.org/docs/13/release-13-2.html
  * Updating stored views and reindexing might be needed after
    applying this update.
  * CVE-2021-3393, bsc#1182040: Fix information leakage in
    constraint-violation error messages.
  * CVE-2021-20229, bsc#1182039: Fix failure to check per-column
    SELECT privileges in some join queries.
  * Obsoletes postgresql-icu68.patch.

OBS-URL: https://build.opensuse.org/request/show/873842
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql13?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2021-02-23 19:17:54 +00:00 committed by Git OBS Bridge
commit bca8c34750
7 changed files with 28 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:12345c83b89aa29808568977f5200d6da00f88a035517f925293355432ffe61f
size 21034192

View File

@ -1 +0,0 @@
12345c83b89aa29808568977f5200d6da00f88a035517f925293355432ffe61f postgresql-13.1.tar.bz2

3
postgresql-13.2.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5fd7fcd08db86f5b2aed28fcfaf9ae0aca8e9428561ac547764c2a2b0f41adfc
size 21057276

View File

@ -0,0 +1 @@
5fd7fcd08db86f5b2aed28fcfaf9ae0aca8e9428561ac547764c2a2b0f41adfc postgresql-13.2.tar.bz2

View File

@ -1,12 +0,0 @@
diff -rupN a/src/backend/commands/collationcmds.c b/src/backend/commands/collationcmds.c
--- a/src/backend/commands/collationcmds.c 2020-11-07 08:03:24.122756440 +0300
+++ b/src/backend/commands/collationcmds.c 2020-11-07 08:04:18.168901199 +0300
@@ -464,7 +464,7 @@ get_icu_language_tag(const char *localen
UErrorCode status;
status = U_ZERO_ERROR;
- uloc_toLanguageTag(localename, buf, sizeof(buf), TRUE, &status);
+ uloc_toLanguageTag(localename, buf, sizeof(buf), true, &status);
if (U_FAILURE(status))
ereport(ERROR,
(errmsg("could not convert locale name \"%s\" to language tag: %s",

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Feb 19 15:30:08 UTC 2021 - Reinhard Max <max@suse.com>
- boo#1179945: Disable icu for PostgreSQL 10 (and older) on TW.
-------------------------------------------------------------------
Wed Feb 10 13:16:32 UTC 2021 - Reinhard Max <max@suse.com>
- Upgrade to version 13.2:
* https://www.postgresql.org/docs/13/release-13-2.html
* Updating stored views and reindexing might be needed after
applying this update.
* CVE-2021-3393, bsc#1182040: Fix information leakage in
constraint-violation error messages.
* CVE-2021-20229, bsc#1182039: Fix failure to check per-column
SELECT privileges in some join queries.
* Obsoletes postgresql-icu68.patch.
-------------------------------------------------------------------
Mon Dec 14 16:19:05 UTC 2020 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package postgresql13
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,7 +16,7 @@
#
%define pgversion 13.1
%define pgversion 13.2
%define pgmajor 13
%define pgsuffix %pgmajor
%define buildlibs 1
@ -72,7 +72,11 @@ BuildRequires: tcl-devel
BuildRequires: timezone
BuildRequires: zlib-devel
%bcond_without selinux
%if %pgmajor > 10 || 0%{?suse_version} <= 1500
%bcond_without icu
%else
%bcond_with icu
%endif
%if !%buildlibs
BuildRequires: %libecpg
BuildRequires: %libpq
@ -145,7 +149,6 @@ Patch4: postgresql-plperl-keep-rpath.patch
Patch6: postgresql-testsuite-int8.sql.patch
Patch8: postgresql-testsuite-keep-results-file.patch
Patch9: postgresql-var-run-socket.patch
Patch10: postgresql-icu68.patch
URL: https://www.postgresql.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: postgresql = %version-%release
@ -453,7 +456,6 @@ touch -r configure tmp
%patch6
%patch8 -p1
%patch9
%patch10 -p1
touch -r tmp configure
rm tmp
find src/test/ -name '*.orig' -delete