From 9f31f6d80f7944bd6b8d7d0f4efc726701c6012b39115235a5d1e8b8865198e2 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Mon, 11 Mar 2024 09:21:20 +0000 Subject: [PATCH 1/4] - Remove constraints file because improved memory usage for s390x OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=84 --- _constraints | 13 ------------- postgresql13.changes | 5 +++++ 2 files changed, 5 insertions(+), 13 deletions(-) delete mode 100644 _constraints diff --git a/_constraints b/_constraints deleted file mode 100644 index f2c2682..0000000 --- a/_constraints +++ /dev/null @@ -1,13 +0,0 @@ - - - - - s390x - - - - 12 - - - - diff --git a/postgresql13.changes b/postgresql13.changes index a46f9b2..a83e650 100644 --- a/postgresql13.changes +++ b/postgresql13.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 7 15:04:40 UTC 2024 - Sarah Kriesch + +- Remove constraints file because improved memory usage for s390x + ------------------------------------------------------------------- Thu Feb 29 14:37:18 UTC 2024 - Dominique Leuenberger From 5711f8ba9d7278e3d97081f83fab4ee49725ae2ce7583c2e5de317e120e6f282 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Thu, 2 May 2024 07:15:37 +0000 Subject: [PATCH 2/4] Accepting request 1171158 from home:aaronpuchert:branches:server:database:postgresql - Require LLVM <= 17 for now, because LLVM 18 doesn't seem to work. OBS-URL: https://build.opensuse.org/request/show/1171158 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=85 --- postgresql13.changes | 5 +++++ postgresql13.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/postgresql13.changes b/postgresql13.changes index a83e650..dcff32b 100644 --- a/postgresql13.changes +++ b/postgresql13.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 1 15:24:39 UTC 2024 - Aaron Puchert + +- Require LLVM <= 17 for now, because LLVM 18 doesn't seem to work. + ------------------------------------------------------------------- Thu Mar 7 15:04:40 UTC 2024 - Sarah Kriesch diff --git a/postgresql13.spec b/postgresql13.spec index a57f148..72e7caa 100644 --- a/postgresql13.spec +++ b/postgresql13.spec @@ -20,7 +20,7 @@ %define pgmajor 13 %define buildlibs 0 %define tarversion %{pgversion} -%define latest_supported_llvm_ver 18 +%define latest_supported_llvm_ver 17 ### CUT HERE ### %define pgname postgresql%pgmajor From 6c6602560a5d1b613d31588a1e29d7565aba9be7aaa2b431d80440af74a45745 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Thu, 9 May 2024 14:13:25 +0000 Subject: [PATCH 3/4] CVE-2024-4317 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=86 --- postgresql-13.14.tar.bz2 | 3 --- postgresql-13.14.tar.bz2.sha256 | 1 - postgresql-13.15.tar.bz2 | 3 +++ postgresql-13.15.tar.bz2.sha256 | 1 + postgresql13.changes | 25 +++++++++++++++++++++++++ postgresql13.spec | 2 +- 6 files changed, 30 insertions(+), 5 deletions(-) delete mode 100644 postgresql-13.14.tar.bz2 delete mode 100644 postgresql-13.14.tar.bz2.sha256 create mode 100644 postgresql-13.15.tar.bz2 create mode 100644 postgresql-13.15.tar.bz2.sha256 diff --git a/postgresql-13.14.tar.bz2 b/postgresql-13.14.tar.bz2 deleted file mode 100644 index 492e789..0000000 --- a/postgresql-13.14.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b8df078551898960bd500dc5d38a177e9905376df81fe7f2b660a1407fa6a5ed -size 21584146 diff --git a/postgresql-13.14.tar.bz2.sha256 b/postgresql-13.14.tar.bz2.sha256 deleted file mode 100644 index fc4c58b..0000000 --- a/postgresql-13.14.tar.bz2.sha256 +++ /dev/null @@ -1 +0,0 @@ -b8df078551898960bd500dc5d38a177e9905376df81fe7f2b660a1407fa6a5ed postgresql-13.14.tar.bz2 diff --git a/postgresql-13.15.tar.bz2 b/postgresql-13.15.tar.bz2 new file mode 100644 index 0000000..4b9d6a3 --- /dev/null +++ b/postgresql-13.15.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:42edd415446d33b8c242be76d1ad057531b2264b2e86939339b7075c6e4ec925 +size 21597871 diff --git a/postgresql-13.15.tar.bz2.sha256 b/postgresql-13.15.tar.bz2.sha256 new file mode 100644 index 0000000..6d6b105 --- /dev/null +++ b/postgresql-13.15.tar.bz2.sha256 @@ -0,0 +1 @@ +42edd415446d33b8c242be76d1ad057531b2264b2e86939339b7075c6e4ec925 postgresql-13.15.tar.bz2 diff --git a/postgresql13.changes b/postgresql13.changes index dcff32b..c0dcb8f 100644 --- a/postgresql13.changes +++ b/postgresql13.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Thu May 9 14:08:06 UTC 2024 - Marcus Rueckert + +- Upgrade to 13.15: + CVE-2024-4317: Restrict visibility of pg_stats_ext and + pg_stats_ext_exprs entries to the table owner + + Missing authorization in PostgreSQL built-in views pg_stats_ext + and pg_stats_ext_exprs allows an unprivileged database user to + read most common values and other statistics from CREATE + STATISTICS commands of other users. The most common values may + reveal column values the eavesdropper could not otherwise read or + results of functions they cannot execute. + + This fix only fixes fresh PostgreSQL installations, namely those + that are created with the initdb utility after this fix is + applied. If you have a current PostgreSQL installation and are + concerned about this issue, please follow the instructions in the + "Updating" section on this link: + https://www.postgresql.org/about/news/postgresql-163-157-1412-1315-and-1219-released-2858/ + + The SQL file is in /usr/share/postgresql13/fix-CVE-2024-4317.sql + + https://www.postgresql.org/docs/release/13.15/ + ------------------------------------------------------------------- Wed May 1 15:24:39 UTC 2024 - Aaron Puchert diff --git a/postgresql13.spec b/postgresql13.spec index 72e7caa..156fab5 100644 --- a/postgresql13.spec +++ b/postgresql13.spec @@ -16,7 +16,7 @@ # -%define pgversion 13.14 +%define pgversion 13.15 %define pgmajor 13 %define buildlibs 0 %define tarversion %{pgversion} From 2f702d8c6afe75a7941929066d7ea84aacc066f3bf1372b521294fbb3704bc05 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Thu, 9 May 2024 15:31:24 +0000 Subject: [PATCH 4/4] - Upgrade to 13.15 (bsc#1224051): * Fix incompatibility with LLVM 18. * https://www.postgresql.org/docs/release/13.15/ - Prepare for PostgreSQL 17. - Make sure all compilation and doc generation happens in %build. * https://www.postgresql.org/docs/release/13.14/ OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=87 --- postgresql13.changes | 30 +++++++----------------------- postgresql13.spec | 22 ++++++++++++++++++---- 2 files changed, 25 insertions(+), 27 deletions(-) diff --git a/postgresql13.changes b/postgresql13.changes index c0dcb8f..5344635 100644 --- a/postgresql13.changes +++ b/postgresql13.changes @@ -1,27 +1,11 @@ ------------------------------------------------------------------- -Thu May 9 14:08:06 UTC 2024 - Marcus Rueckert +Wed May 8 14:10:27 UTC 2024 - Reinhard Max -- Upgrade to 13.15: - CVE-2024-4317: Restrict visibility of pg_stats_ext and - pg_stats_ext_exprs entries to the table owner - - Missing authorization in PostgreSQL built-in views pg_stats_ext - and pg_stats_ext_exprs allows an unprivileged database user to - read most common values and other statistics from CREATE - STATISTICS commands of other users. The most common values may - reveal column values the eavesdropper could not otherwise read or - results of functions they cannot execute. - - This fix only fixes fresh PostgreSQL installations, namely those - that are created with the initdb utility after this fix is - applied. If you have a current PostgreSQL installation and are - concerned about this issue, please follow the instructions in the - "Updating" section on this link: - https://www.postgresql.org/about/news/postgresql-163-157-1412-1315-and-1219-released-2858/ - - The SQL file is in /usr/share/postgresql13/fix-CVE-2024-4317.sql - - https://www.postgresql.org/docs/release/13.15/ +- Upgrade to 13.15 (bsc#1224051): + * Fix incompatibility with LLVM 18. + * https://www.postgresql.org/docs/release/13.15/ +- Prepare for PostgreSQL 17. +- Make sure all compilation and doc generation happens in %build. ------------------------------------------------------------------- Wed May 1 15:24:39 UTC 2024 - Aaron Puchert @@ -54,7 +38,7 @@ Thu Feb 8 14:10:04 UTC 2024 - Reinhard Max * If you use GIN indexes, you may need to reindex after updating to this release. * LLVM 18 is now supported. - * https://www.postgresql.org/docs/release/13.4/ + * https://www.postgresql.org/docs/release/13.14/ ------------------------------------------------------------------- Wed Nov 8 14:35:06 UTC 2023 - Reinhard Max diff --git a/postgresql13.spec b/postgresql13.spec index 156fab5..babd0c0 100644 --- a/postgresql13.spec +++ b/postgresql13.spec @@ -59,6 +59,12 @@ Name: %pgname %define python python %endif +%if %pgmajor >= 17 +%bcond_with dreived +%else +%bcond_without derived +%endif + %if 0%{?suse_version} >= 1500 %bcond_without liblz4 %endif @@ -88,6 +94,12 @@ BuildRequires: zlib-devel %if %{with liblz4} BuildRequires: pkgconfig(liblz4) %endif +%if %{without derived} +BuildRequires: bison +BuildRequires: docbook-xsl-stylesheets +BuildRequires: flex +BuildRequires: perl +%endif %if %{with libzstd} BuildRequires: pkgconfig(libzstd) @@ -573,7 +585,7 @@ PACKAGE_TARNAME=%pgname %configure \ %if %mini make -C src/interfaces %{?_smp_mflags} PACKAGE_TARNAME=%pgname %else -make %{?_smp_mflags} PACKAGE_TARNAME=%pgname +make %{?_smp_mflags} PACKAGE_TARNAME=%pgname world %if %{with check} @@ -641,9 +653,9 @@ find %buildroot -type f -cnewer flag -printf "/%%P\n" | > contrib.files rm flag install -d -m 750 %buildroot/var/lib/pgsql -install -d -m755 %buildroot%pgdocdir +install -d -m 755 %buildroot%pgdocdir cp doc/KNOWN_BUGS doc/MISSING_FEATURES COPYRIGHT \ - README HISTORY %buildroot%pgdocdir + README* HISTORY %buildroot%pgdocdir # Use versioned names for the man pages: for f in %buildroot%pgmandir/man*/*; do mv $f ${f}pg%pgmajor @@ -701,6 +713,7 @@ genlists main \ pg_receivewal \ pg_verify_checksums \ pg_checksums \ + pg_combinebackup \ pg_verifybackup %find_lang plpgsql-$VLANG main.files @@ -711,6 +724,8 @@ genlists server \ pg_ctl \ pg_controldata \ pg_resetwal \ + pg_createsubscriber \ + pg_walsummary \ pg_waldump \ pg_resetxlog \ %if %pgmajor >= 15 @@ -924,7 +939,6 @@ fi %files llvmjit-devel %defattr(-,root,root) -%doc README %files pltcl -f pltcl.lang %defattr(-,root,root)