From 160833f625d827e34d61bbbaa57865c5eecc1318fed49317313bc5be228db3a9 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Thu, 21 Oct 2021 15:49:58 +0000 Subject: [PATCH 1/2] - boo#1190740: Add constraints file with 8GB memory for s390x as a workaround for a memory issue with LLVM OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=57 --- _constraints | 19 +++++++++++++++++++ postgresql12.changes | 6 ++++++ postgresql12.spec | 12 ++++++------ 3 files changed, 31 insertions(+), 6 deletions(-) create mode 100644 _constraints diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..982eb95 --- /dev/null +++ b/_constraints @@ -0,0 +1,19 @@ + + + + + 4 + + + + + s390x + + + + 8 + + + + + diff --git a/postgresql12.changes b/postgresql12.changes index 23e1d8b..d9d512d 100644 --- a/postgresql12.changes +++ b/postgresql12.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Oct 21 13:24:26 UTC 2021 - Sarah Kriesch + +- boo#1190740: Add constraints file with 8GB memory for s390x as + a workaround for a memory issue with LLVM + ------------------------------------------------------------------- Mon Sep 27 14:15:20 UTC 2021 - Reinhard Max diff --git a/postgresql12.spec b/postgresql12.spec index 4a44b1d..874cad4 100644 --- a/postgresql12.spec +++ b/postgresql12.spec @@ -1,5 +1,5 @@ # -# spec file for package postgresql12 +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -154,7 +154,7 @@ Provides: postgresql = %version-%release Provides: postgresql-implementation = %version-%release Requires: %libpq >= %version Requires(post): postgresql-noarch >= %pgmajor -Requires(postun): postgresql-noarch >= %pgmajor +Requires(postun):postgresql-noarch >= %pgmajor # At this point we changed the package layout on SLE and conflict with # older releases to get a clean cut. Conflicts: postgresql-noarch < 12.0.1 @@ -243,7 +243,7 @@ Provides: %pgname-server-devel = %version-%release Provides: postgresql-server-devel = %version-%release Provides: postgresql-server-devel-implementation = %version-%release Requires(post): postgresql-server-noarch >= %pgmajor -Requires(postun): postgresql-server-noarch >= %pgmajor +Requires(postun):postgresql-server-noarch >= %pgmajor Requires: %pgname-devel = %version Requires: %pgname-server = %version-%release # Installation of postgresql??-devel is exclusive @@ -302,10 +302,10 @@ Recommends: %{name}-llvmjit Provides: postgresql-server-implementation = %version-%release Requires: %libpq >= %version Requires(pre): postgresql-server-noarch >= %pgmajor -Requires(preun): postgresql-server-noarch >= %pgmajor -Requires(postun): postgresql-server-noarch >= %pgmajor +Requires(preun):postgresql-server-noarch >= %pgmajor +Requires(postun):postgresql-server-noarch >= %pgmajor Requires(post): postgresql-noarch >= %pgmajor -Requires(postun): postgresql-noarch >= %pgmajor +Requires(postun):postgresql-noarch >= %pgmajor %description server PostgreSQL is an advanced object-relational database management system From 34f0cffed2bbdb6fb0ea297b308b0a7c38f519563c0ad0fe05d75124b81cfaab Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Thu, 11 Nov 2021 14:44:37 +0000 Subject: [PATCH 2/2] - bsc#1192516: Upgrade to version 12.9: * Make the server reject extraneous data after an SSL or GSS encryption handshake (CVE-2021-23214). * Make libpq reject extraneous data after an SSL or GSS encryption handshake (CVE-2021-23222). * https://www.postgresql.org/docs/12/release-12-0.html OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=58 --- _constraints | 19 ------------------- postgresql-12.8.tar.bz2 | 3 --- postgresql-12.8.tar.bz2.sha256 | 1 - postgresql-12.9.tar.bz2 | 3 +++ postgresql-12.9.tar.bz2.sha256 | 1 + postgresql12.changes | 10 +++++++--- postgresql12.spec | 2 +- 7 files changed, 12 insertions(+), 27 deletions(-) delete mode 100644 _constraints delete mode 100644 postgresql-12.8.tar.bz2 delete mode 100644 postgresql-12.8.tar.bz2.sha256 create mode 100644 postgresql-12.9.tar.bz2 create mode 100644 postgresql-12.9.tar.bz2.sha256 diff --git a/_constraints b/_constraints deleted file mode 100644 index 982eb95..0000000 --- a/_constraints +++ /dev/null @@ -1,19 +0,0 @@ - - - - - 4 - - - - - s390x - - - - 8 - - - - - diff --git a/postgresql-12.8.tar.bz2 b/postgresql-12.8.tar.bz2 deleted file mode 100644 index 734b4a4..0000000 --- a/postgresql-12.8.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e26401e090c34ccb15ffb33a111f340833833535a7b7c5cd11cd88ab57d9c62a -size 20849478 diff --git a/postgresql-12.8.tar.bz2.sha256 b/postgresql-12.8.tar.bz2.sha256 deleted file mode 100644 index e1a3c8f..0000000 --- a/postgresql-12.8.tar.bz2.sha256 +++ /dev/null @@ -1 +0,0 @@ -e26401e090c34ccb15ffb33a111f340833833535a7b7c5cd11cd88ab57d9c62a postgresql-12.8.tar.bz2 diff --git a/postgresql-12.9.tar.bz2 b/postgresql-12.9.tar.bz2 new file mode 100644 index 0000000..9ac4b45 --- /dev/null +++ b/postgresql-12.9.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89fda2de33ed04a98548e43f3ee5f15b882be17505d631fe0dd1a540a2b56dce +size 20904260 diff --git a/postgresql-12.9.tar.bz2.sha256 b/postgresql-12.9.tar.bz2.sha256 new file mode 100644 index 0000000..d92fdb3 --- /dev/null +++ b/postgresql-12.9.tar.bz2.sha256 @@ -0,0 +1 @@ +89fda2de33ed04a98548e43f3ee5f15b882be17505d631fe0dd1a540a2b56dce postgresql-12.9.tar.bz2 diff --git a/postgresql12.changes b/postgresql12.changes index d9d512d..1d3b4b6 100644 --- a/postgresql12.changes +++ b/postgresql12.changes @@ -1,8 +1,12 @@ ------------------------------------------------------------------- -Thu Oct 21 13:24:26 UTC 2021 - Sarah Kriesch +Wed Nov 10 18:07:22 UTC 2021 - Reinhard Max -- boo#1190740: Add constraints file with 8GB memory for s390x as - a workaround for a memory issue with LLVM +- bsc#1192516: Upgrade to version 12.9: + * Make the server reject extraneous data after an SSL or GSS + encryption handshake (CVE-2021-23214). + * Make libpq reject extraneous data after an SSL or GSS + encryption handshake (CVE-2021-23222). + * https://www.postgresql.org/docs/12/release-12-0.html ------------------------------------------------------------------- Mon Sep 27 14:15:20 UTC 2021 - Reinhard Max diff --git a/postgresql12.spec b/postgresql12.spec index 874cad4..a74561c 100644 --- a/postgresql12.spec +++ b/postgresql12.spec @@ -16,7 +16,7 @@ # -%define pgversion 12.8 +%define pgversion 12.9 %define pgmajor 12 %define pgsuffix %pgmajor %define buildlibs 0