From fcf845030f90bb2f973c89911e9bfa9c1b71ba2270042bf4dbaf363e77f97211 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Wed, 20 Oct 2021 15:47:28 +0000 Subject: [PATCH 1/9] - boo#1191782: Let rpmlint ignore shlib-policy-name-error. OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql14?expand=0&rev=9 --- postgresql-rpmlintrc | 1 + postgresql14.changes | 5 +++++ postgresql14.spec | 12 ++++++------ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/postgresql-rpmlintrc b/postgresql-rpmlintrc index 0d1b8be..a2ef4fd 100644 --- a/postgresql-rpmlintrc +++ b/postgresql-rpmlintrc @@ -6,3 +6,4 @@ addFilter("file-not-in-%lang") addFilter("no-dependency-on") addFilter("no-soname") addFilter("devel-file-in-non-devel-package") +addFilter("shlib-policy-name-error") diff --git a/postgresql14.changes b/postgresql14.changes index 82eab38..6d1cf1d 100644 --- a/postgresql14.changes +++ b/postgresql14.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 20 15:21:53 UTC 2021 - Reinhard Max + +- boo#1191782: Let rpmlint ignore shlib-policy-name-error. + ------------------------------------------------------------------- Tue Oct 5 11:34:50 UTC 2021 - Reinhard Max diff --git a/postgresql14.spec b/postgresql14.spec index 7331dc9..760d6a2 100644 --- a/postgresql14.spec +++ b/postgresql14.spec @@ -1,5 +1,5 @@ # -# spec file for package postgresql14 +# 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 f47ef4b5e7ed05adb70699660c97e809d1ff665d3bfd372a5dde90fad699061c Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Thu, 21 Oct 2021 15:49:17 +0000 Subject: [PATCH 2/9] - 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/postgresql14?expand=0&rev=10 --- postgresql14.changes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/postgresql14.changes b/postgresql14.changes index 6d1cf1d..d50bc8f 100644 --- a/postgresql14.changes +++ b/postgresql14.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 + ------------------------------------------------------------------- Wed Oct 20 15:21:53 UTC 2021 - Reinhard Max From 5ec9b3558258d7ab90d94785a0eafec8324d08db21a49e969d2570c4e37e0d5c Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Thu, 21 Oct 2021 15:50:18 +0000 Subject: [PATCH 3/9] OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql14?expand=0&rev=11 --- _constraints | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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 + + + + + From 231a558e93e20594f95ab4e8d2b46974e15523d86355a144130649af0d9762f2 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Tue, 26 Oct 2021 06:45:51 +0000 Subject: [PATCH 4/9] OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql14?expand=0&rev=12 --- postgresql14.changes | 6 ------ postgresql14.spec | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/postgresql14.changes b/postgresql14.changes index d50bc8f..6d1cf1d 100644 --- a/postgresql14.changes +++ b/postgresql14.changes @@ -1,9 +1,3 @@ -------------------------------------------------------------------- -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 - ------------------------------------------------------------------- Wed Oct 20 15:21:53 UTC 2021 - Reinhard Max diff --git a/postgresql14.spec b/postgresql14.spec index 760d6a2..314f23c 100644 --- a/postgresql14.spec +++ b/postgresql14.spec @@ -445,6 +445,7 @@ PostgreSQL also offers the built-in procedural language PL/SQL which is included in the postgresql-server package. %prep +/usr/bin/free %setup -q -n postgresql-%tarversion # Keep the timestamp of configure, because patching it would otherwise # confuse PostgreSQL's build system From b7798145f95201a6097bd884a18cd49335c1abd8ac9d8e7dbdcd01e99fc275cf Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Tue, 26 Oct 2021 06:46:10 +0000 Subject: [PATCH 5/9] OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql14?expand=0&rev=13 --- _constraints | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 _constraints diff --git a/_constraints b/_constraints deleted file mode 100644 index 982eb95..0000000 --- a/_constraints +++ /dev/null @@ -1,19 +0,0 @@ - - - - - 4 - - - - - s390x - - - - 8 - - - - - From 3c0c18f38489d3644f2fb4cb79384e2d5303baac6dd232267036334c4c72a1ce Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Tue, 26 Oct 2021 06:50:43 +0000 Subject: [PATCH 6/9] OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql14?expand=0&rev=14 --- postgresql14.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/postgresql14.spec b/postgresql14.spec index 314f23c..c587504 100644 --- a/postgresql14.spec +++ b/postgresql14.spec @@ -104,6 +104,7 @@ BuildRequires: %libpq %bcond_with server_devel %endif +BuildRequires: /usr/bin/free BuildRequires: fdupes %if %{with icu} BuildRequires: libicu-devel From 97fe6319011afbab597ec8b95ffd1fd84d5cb65cb20e3b846a000ba2fbe87823 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Tue, 26 Oct 2021 06:52:39 +0000 Subject: [PATCH 7/9] OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql14?expand=0&rev=15 --- postgresql14.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgresql14.spec b/postgresql14.spec index c587504..13cfdb6 100644 --- a/postgresql14.spec +++ b/postgresql14.spec @@ -104,8 +104,8 @@ BuildRequires: %libpq %bcond_with server_devel %endif -BuildRequires: /usr/bin/free BuildRequires: fdupes +BuildRequires: procps %if %{with icu} BuildRequires: libicu-devel %endif From 8601944414d71ab4bf3cbd0ccad3bea8dde3a3a671cfdb644daa3b03a8f9ef78 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Thu, 28 Oct 2021 20:31:58 +0000 Subject: [PATCH 8/9] OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql14?expand=0&rev=16 --- postgresql14.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/postgresql14.spec b/postgresql14.spec index 13cfdb6..760d6a2 100644 --- a/postgresql14.spec +++ b/postgresql14.spec @@ -105,7 +105,6 @@ BuildRequires: %libpq %endif BuildRequires: fdupes -BuildRequires: procps %if %{with icu} BuildRequires: libicu-devel %endif @@ -446,7 +445,6 @@ PostgreSQL also offers the built-in procedural language PL/SQL which is included in the postgresql-server package. %prep -/usr/bin/free %setup -q -n postgresql-%tarversion # Keep the timestamp of configure, because patching it would otherwise # confuse PostgreSQL's build system From d7acfaaff76cfe1459540ebc567eb2f0c7be1b810922b403b73ab88fe43cd68d Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Thu, 11 Nov 2021 14:57:48 +0000 Subject: [PATCH 9/9] - bsc#1192516: Upgrade to 14.1 * 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/14/release-14-1.html OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql14?expand=0&rev=17 --- postgresql-14.0.tar.bz2 | 3 --- postgresql-14.0.tar.bz2.sha256 | 1 - postgresql-14.1.tar.bz2 | 3 +++ postgresql-14.1.tar.bz2.sha256 | 1 + postgresql14.changes | 12 ++++++++++-- postgresql14.spec | 2 +- 6 files changed, 15 insertions(+), 7 deletions(-) delete mode 100644 postgresql-14.0.tar.bz2 delete mode 100644 postgresql-14.0.tar.bz2.sha256 create mode 100644 postgresql-14.1.tar.bz2 create mode 100644 postgresql-14.1.tar.bz2.sha256 diff --git a/postgresql-14.0.tar.bz2 b/postgresql-14.0.tar.bz2 deleted file mode 100644 index 6c8cf9d..0000000 --- a/postgresql-14.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ee2ad79126a7375e9102c4db77c4acae6ae6ffe3e082403b88826d96d927a122 -size 21836842 diff --git a/postgresql-14.0.tar.bz2.sha256 b/postgresql-14.0.tar.bz2.sha256 deleted file mode 100644 index fc41f2c..0000000 --- a/postgresql-14.0.tar.bz2.sha256 +++ /dev/null @@ -1 +0,0 @@ -ee2ad79126a7375e9102c4db77c4acae6ae6ffe3e082403b88826d96d927a122 postgresql-14.0.tar.bz2 diff --git a/postgresql-14.1.tar.bz2 b/postgresql-14.1.tar.bz2 new file mode 100644 index 0000000..488711d --- /dev/null +++ b/postgresql-14.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d3c101ea7ae38982f06bdc73758b53727fb6402ecd9382006fa5ecc7c2ca41f +size 21887101 diff --git a/postgresql-14.1.tar.bz2.sha256 b/postgresql-14.1.tar.bz2.sha256 new file mode 100644 index 0000000..d985be5 --- /dev/null +++ b/postgresql-14.1.tar.bz2.sha256 @@ -0,0 +1 @@ +4d3c101ea7ae38982f06bdc73758b53727fb6402ecd9382006fa5ecc7c2ca41f postgresql-14.1.tar.bz2 diff --git a/postgresql14.changes b/postgresql14.changes index 6d1cf1d..c80d38f 100644 --- a/postgresql14.changes +++ b/postgresql14.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Nov 10 16:56:57 UTC 2021 - Reinhard Max + +- bsc#1192516: Upgrade to 14.1 + * 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/14/release-14-1.html + ------------------------------------------------------------------- Wed Oct 20 15:21:53 UTC 2021 - Reinhard Max @@ -6,8 +16,6 @@ Wed Oct 20 15:21:53 UTC 2021 - Reinhard Max ------------------------------------------------------------------- Tue Oct 5 11:34:50 UTC 2021 - Reinhard Max -- Let genlists skip non-existing binaries to avoid lots of version - conditionals in the file lists. - Remove postgresql-testsuite-int8.sql.patch, because its purpose is unclear. This affects only the test subpackage. diff --git a/postgresql14.spec b/postgresql14.spec index 760d6a2..7d733d4 100644 --- a/postgresql14.spec +++ b/postgresql14.spec @@ -16,7 +16,7 @@ # -%define pgversion 14.0 +%define pgversion 14.1 %define pgmajor 14 %define pgsuffix %pgmajor %define buildlibs 1