From 5c210a528d392da07b2492cdc8758aeeb03fddd7 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Thu, 29 Aug 2024 10:25:11 +0000 Subject: [PATCH] Import from CS git --- .gitignore | 6 ++-- .postgresql.metadata | 6 ++-- SOURCES/Makefile.regress | 0 SOURCES/postgresql-13.16.tar.bz2.sha256 | 1 + SOURCES/postgresql-13.7.tar.bz2.sha256 | 1 - SOURCES/postgresql-15.5.tar.bz2.sha256 | 1 - SOURCES/postgresql-15.8.tar.bz2.sha256 | 1 + SOURCES/postgresql-bashprofile | 0 SOURCES/postgresql-external-libpq.patch | 0 SOURCES/postgresql-logging.patch | 0 SOURCES/postgresql-no-libecpg.patch | 0 SOURCES/postgresql-server-pg_config.patch | 0 SOURCES/postgresql-var-run-socket.patch | 0 SOURCES/postgresql.pam | 0 SOURCES/postgresql.tmpfiles.d | 0 SOURCES/rpm-pgsql.patch | 0 SPECS/postgresql.spec | 42 ++++++++++++++--------- 17 files changed, 34 insertions(+), 24 deletions(-) mode change 100644 => 100755 SOURCES/Makefile.regress create mode 100644 SOURCES/postgresql-13.16.tar.bz2.sha256 delete mode 100644 SOURCES/postgresql-13.7.tar.bz2.sha256 delete mode 100644 SOURCES/postgresql-15.5.tar.bz2.sha256 create mode 100644 SOURCES/postgresql-15.8.tar.bz2.sha256 mode change 100644 => 100755 SOURCES/postgresql-bashprofile mode change 100644 => 100755 SOURCES/postgresql-external-libpq.patch mode change 100644 => 100755 SOURCES/postgresql-logging.patch mode change 100644 => 100755 SOURCES/postgresql-no-libecpg.patch mode change 100644 => 100755 SOURCES/postgresql-server-pg_config.patch mode change 100644 => 100755 SOURCES/postgresql-var-run-socket.patch mode change 100644 => 100755 SOURCES/postgresql.pam mode change 100644 => 100755 SOURCES/postgresql.tmpfiles.d mode change 100644 => 100755 SOURCES/rpm-pgsql.patch mode change 100644 => 100755 SPECS/postgresql.spec diff --git a/.gitignore b/.gitignore index 5f8371c..e3d5a78 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -SOURCES/postgresql-13.7.tar.bz2 -SOURCES/postgresql-15.5-US.pdf -SOURCES/postgresql-15.5.tar.bz2 +SOURCES/postgresql-13.16.tar.bz2 +SOURCES/postgresql-15.8-US.pdf +SOURCES/postgresql-15.8.tar.bz2 SOURCES/postgresql-setup-8.8.tar.gz diff --git a/.postgresql.metadata b/.postgresql.metadata index 87765bf..a9b99d2 100644 --- a/.postgresql.metadata +++ b/.postgresql.metadata @@ -1,4 +1,4 @@ -cb4c0aed7cee21f3a1f4756fc61054d8ba756e2b SOURCES/postgresql-13.7.tar.bz2 -09a8705ab9589f63e1c661a2218ca58d916bbbc3 SOURCES/postgresql-15.5-US.pdf -1688b684c181a3173a3f2b76a12e83c8371facc8 SOURCES/postgresql-15.5.tar.bz2 +a2465d5086abb2b2ff9115541cae404f869dfa0f SOURCES/postgresql-13.16.tar.bz2 +54911c9280f6c96d142aee99f9493abfa49c21e3 SOURCES/postgresql-15.8-US.pdf +4decf90a7557c41fc61312e8696f59e0f7123d2a SOURCES/postgresql-15.8.tar.bz2 c5aa3e8b728c67b294815931c91c86aa61932bb5 SOURCES/postgresql-setup-8.8.tar.gz diff --git a/SOURCES/Makefile.regress b/SOURCES/Makefile.regress old mode 100644 new mode 100755 diff --git a/SOURCES/postgresql-13.16.tar.bz2.sha256 b/SOURCES/postgresql-13.16.tar.bz2.sha256 new file mode 100644 index 0000000..8b1d6f3 --- /dev/null +++ b/SOURCES/postgresql-13.16.tar.bz2.sha256 @@ -0,0 +1 @@ +c9cbbb6129f02328204828066bb3785c00a85c8ca8fd329c2a8a53c1f5cd8865 postgresql-13.16.tar.bz2 diff --git a/SOURCES/postgresql-13.7.tar.bz2.sha256 b/SOURCES/postgresql-13.7.tar.bz2.sha256 deleted file mode 100644 index c285633..0000000 --- a/SOURCES/postgresql-13.7.tar.bz2.sha256 +++ /dev/null @@ -1 +0,0 @@ -1b905bf4f3d83614a393b3c51fd345910fd261e4f5124a68d9a1fdd3a2a46399 postgresql-13.7.tar.bz2 diff --git a/SOURCES/postgresql-15.5.tar.bz2.sha256 b/SOURCES/postgresql-15.5.tar.bz2.sha256 deleted file mode 100644 index f5f8afa..0000000 --- a/SOURCES/postgresql-15.5.tar.bz2.sha256 +++ /dev/null @@ -1 +0,0 @@ -8f53aa95d78eb8e82536ea46b68187793b42bba3b4f65aa342f540b23c9b10a6 postgresql-15.5.tar.bz2 diff --git a/SOURCES/postgresql-15.8.tar.bz2.sha256 b/SOURCES/postgresql-15.8.tar.bz2.sha256 new file mode 100644 index 0000000..21864c7 --- /dev/null +++ b/SOURCES/postgresql-15.8.tar.bz2.sha256 @@ -0,0 +1 @@ +4403515f9a69eeb3efebc98f30b8c696122bfdf895e92b3b23f5b8e769edcb6a postgresql-15.8.tar.bz2 diff --git a/SOURCES/postgresql-bashprofile b/SOURCES/postgresql-bashprofile old mode 100644 new mode 100755 diff --git a/SOURCES/postgresql-external-libpq.patch b/SOURCES/postgresql-external-libpq.patch old mode 100644 new mode 100755 diff --git a/SOURCES/postgresql-logging.patch b/SOURCES/postgresql-logging.patch old mode 100644 new mode 100755 diff --git a/SOURCES/postgresql-no-libecpg.patch b/SOURCES/postgresql-no-libecpg.patch old mode 100644 new mode 100755 diff --git a/SOURCES/postgresql-server-pg_config.patch b/SOURCES/postgresql-server-pg_config.patch old mode 100644 new mode 100755 diff --git a/SOURCES/postgresql-var-run-socket.patch b/SOURCES/postgresql-var-run-socket.patch old mode 100644 new mode 100755 diff --git a/SOURCES/postgresql.pam b/SOURCES/postgresql.pam old mode 100644 new mode 100755 diff --git a/SOURCES/postgresql.tmpfiles.d b/SOURCES/postgresql.tmpfiles.d old mode 100644 new mode 100755 diff --git a/SOURCES/rpm-pgsql.patch b/SOURCES/rpm-pgsql.patch old mode 100644 new mode 100755 diff --git a/SPECS/postgresql.spec b/SPECS/postgresql.spec old mode 100644 new mode 100755 index 96a651d..f905089 --- a/SPECS/postgresql.spec +++ b/SPECS/postgresql.spec @@ -62,7 +62,7 @@ Summary: PostgreSQL client programs Name: postgresql %global majorversion 15 -Version: %{majorversion}.5 +Version: %{majorversion}.8 Release: 1%{?dist} # The PostgreSQL license is very similar to other MIT licenses, but the OSI @@ -75,7 +75,7 @@ Url: http://www.postgresql.org/ # that this be kept up with the latest minor release of the previous series; # but update when bugs affecting pg_dump output are fixed. %global prevmajorversion 13 -%global prevversion %{prevmajorversion}.7 +%global prevversion %{prevmajorversion}.16 %global prev_prefix %{_libdir}/pgsql/postgresql-%{prevmajorversion} %global precise_version %{?epoch:%epoch:}%version-%release @@ -1086,6 +1086,7 @@ make -C postgresql-setup-%{setup_version} check %{_datadir}/pgsql/system_constraints.sql %{_datadir}/pgsql/system_functions.sql %{_datadir}/pgsql/system_views.sql +%{_datadir}/pgsql/fix-CVE-2024-4317.sql %{_datadir}/pgsql/timezonesets/ %{_datadir}/pgsql/tsearch_data/ %dir %{_datadir}/postgresql-setup @@ -1226,23 +1227,32 @@ make -C postgresql-setup-%{setup_version} check %changelog -* Mon Nov 13 2023 Masahiro Matsuya - 15.5-1 -- update to 15.5 -- Fixes CVE-2023-5868, CVE-2023-5869, CVE-2023-5870, CVE-2023-39417, and CVE-2023-39418 - Resolves: RHEL-16100, RHEL-16124, RHEL-16139 +* Mon Aug 12 2024 Ales Nezbeda - 15.8-1 +- Update to 15.8 +- Fix CVE-2024-7348 -* Wed Jun 14 2023 Masahiro Matsuya - 15.3-1 -- update to 15.3 -- Fixes CVE-2023-2454 and CVE-2023-2455 - Resolves: #2214875 +* Fri Feb 9 2024 Filip Janus 15.6-1 +- Update to 15.6 and 13.14 +- Fix CVE-2024-0985 -* Thu Feb 09 2023 Filip Janus - 15.2-1 -- update to 15.2 -- Resolves: #2128410 +Mon Nov 13 2023 Jorge San Emeterio - 15.5-1 +- Update to upstream version 15.5 +- Fixes: CVE-2023-5868 CVE-2023-5869 CVE-2023-5870 CVE-2023-39417 CVE-2023-39418 -* Tue Jan 17 2023 Filip Janus - 15.0-2 -- update postgresql-setup to 8.8 +* Mon Aug 28 2023 Jorge San Emeterio - 15.3-1 +- Update to upstream version 15.3 +- Fixes: CVE-2023-2454 CVE-2023-2455 +- Resolves: #2207934 + +* Wed Feb 08 2023 Filip Januš - 15.2-1 +- Update to upstream version 15.2 +- Update postgresql-setup to 8.8 +- PostgreSQL systemd unit waits for the network to be up +- Resolves: #2128241 * Fri Oct 14 2022 Filip Januš - 15.0-1 - Initial import for postgresql 15 -- Resolves: #2128410 +- Specfile is based on version locate in centos stream + It reflects changes with libpq. This version of databse server + will use private libpq library. +- Resolves: #2128241