forked from pool/postgresql12
Accepting request 873822 from server:database:postgresql
- boo#1179945: Disable icu for PostgreSQL 10 (and older) on TW. Upgrade to version 12.6: * https://www.postgresql.org/docs/12/release-12-6.html * Reindexing might be needed after applying this update. * CVE-2021-3393, bsc#1182040: Fix information leakage in constraint-violation error messages. * Obsoletes postgresql-icu68.patch. OBS-URL: https://build.opensuse.org/request/show/873822 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql12?expand=0&rev=12
This commit is contained in:
commit
aa53753b29
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bd0d25341d9578b5473c9506300022de26370879581f5fddd243a886ce79ff95
|
||||
size 20729654
|
@ -1 +0,0 @@
|
||||
bd0d25341d9578b5473c9506300022de26370879581f5fddd243a886ce79ff95 postgresql-12.5.tar.bz2
|
3
postgresql-12.6.tar.bz2
Normal file
3
postgresql-12.6.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:df7dd98d5ccaf1f693c7e1d0d084e9fed7017ee248bba5be0167c42ad2d70a09
|
||||
size 20771172
|
1
postgresql-12.6.tar.bz2.sha256
Normal file
1
postgresql-12.6.tar.bz2.sha256
Normal file
@ -0,0 +1 @@
|
||||
df7dd98d5ccaf1f693c7e1d0d084e9fed7017ee248bba5be0167c42ad2d70a09 postgresql-12.6.tar.bz2
|
@ -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",
|
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
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:32:07 UTC 2021 - Reinhard Max <max@suse.com>
|
||||
|
||||
Upgrade to version 12.6:
|
||||
* https://www.postgresql.org/docs/12/release-12-6.html
|
||||
* Reindexing might be needed after applying this update.
|
||||
* CVE-2021-3393, bsc#1182040: Fix information leakage in
|
||||
constraint-violation error messages.
|
||||
* Obsoletes postgresql-icu68.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 14 16:19:33 UTC 2020 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package postgresql12
|
||||
#
|
||||
# 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 12.5
|
||||
%define pgversion 12.6
|
||||
%define pgmajor 12
|
||||
%define pgsuffix %pgmajor
|
||||
%define buildlibs 0
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user