import CS postgresql-15.8-2.module_el9+1108+b05fe5f3

This commit is contained in:
eabdullin 2024-10-01 06:38:17 +00:00
parent a20bc75977
commit ef34e63b38
7 changed files with 44 additions and 16 deletions

6
.gitignore vendored
View File

@ -1,4 +1,4 @@
SOURCES/postgresql-13.7.tar.bz2 SOURCES/postgresql-13.16.tar.bz2
SOURCES/postgresql-15.2-US.pdf SOURCES/postgresql-15.8-US.pdf
SOURCES/postgresql-15.2.tar.bz2 SOURCES/postgresql-15.8.tar.bz2
SOURCES/postgresql-setup-8.8.tar.gz SOURCES/postgresql-setup-8.8.tar.gz

View File

@ -1,4 +1,4 @@
cb4c0aed7cee21f3a1f4756fc61054d8ba756e2b SOURCES/postgresql-13.7.tar.bz2 a2465d5086abb2b2ff9115541cae404f869dfa0f SOURCES/postgresql-13.16.tar.bz2
782baa9b34c7fc8cd487ef426fc4321c3f9e34a9 SOURCES/postgresql-15.2-US.pdf 25386701fcffa65a733f0225a58ea6231dc1808b SOURCES/postgresql-15.8-US.pdf
8c7706a7ef267e49026434378836b76e4d4ad532 SOURCES/postgresql-15.2.tar.bz2 4decf90a7557c41fc61312e8696f59e0f7123d2a SOURCES/postgresql-15.8.tar.bz2
c5aa3e8b728c67b294815931c91c86aa61932bb5 SOURCES/postgresql-setup-8.8.tar.gz c5aa3e8b728c67b294815931c91c86aa61932bb5 SOURCES/postgresql-setup-8.8.tar.gz

View File

@ -0,0 +1 @@
c9cbbb6129f02328204828066bb3785c00a85c8ca8fd329c2a8a53c1f5cd8865 postgresql-13.16.tar.bz2

View File

@ -1 +0,0 @@
1b905bf4f3d83614a393b3c51fd345910fd261e4f5124a68d9a1fdd3a2a46399 postgresql-13.7.tar.bz2

View File

@ -1 +0,0 @@
99a2171fc3d6b5b5f56b757a7a3cb85d509a38e4273805def23941ed2b8468c7 postgresql-15.2.tar.bz2

View File

@ -0,0 +1 @@
4403515f9a69eeb3efebc98f30b8c696122bfdf895e92b3b23f5b8e769edcb6a postgresql-15.8.tar.bz2

View File

@ -62,8 +62,8 @@
Summary: PostgreSQL client programs Summary: PostgreSQL client programs
Name: postgresql Name: postgresql
%global majorversion 15 %global majorversion 15
Version: %{majorversion}.2 Version: %{majorversion}.8
Release: 1%{?dist} Release: 2%{?dist}
# The PostgreSQL license is very similar to other MIT licenses, but the OSI # The PostgreSQL license is very similar to other MIT licenses, but the OSI
# recognizes it as an independent license, so we do as well. # recognizes it as an independent license, so we do as well.
@ -75,7 +75,7 @@ Url: http://www.postgresql.org/
# that this be kept up with the latest minor release of the previous series; # that this be kept up with the latest minor release of the previous series;
# but update when bugs affecting pg_dump output are fixed. # but update when bugs affecting pg_dump output are fixed.
%global prevmajorversion 13 %global prevmajorversion 13
%global prevversion %{prevmajorversion}.7 %global prevversion %{prevmajorversion}.16
%global prev_prefix %{_libdir}/pgsql/postgresql-%{prevmajorversion} %global prev_prefix %{_libdir}/pgsql/postgresql-%{prevmajorversion}
%global precise_version %{?epoch:%epoch:}%version-%release %global precise_version %{?epoch:%epoch:}%version-%release
@ -114,6 +114,7 @@ Patch12: postgresql-no-libecpg.patch
BuildRequires: make BuildRequires: make
BuildRequires: gcc BuildRequires: gcc
BuildRequires: lz4-devel, libzstd-devel
BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk
BuildRequires: perl(ExtUtils::Embed), perl-devel BuildRequires: perl(ExtUtils::Embed), perl-devel
BuildRequires: perl(Opcode) BuildRequires: perl(Opcode)
@ -489,6 +490,8 @@ export CFLAGS
common_configure_options=' common_configure_options='
--disable-rpath --disable-rpath
--with-lz4
--with-zstd
%if %beta %if %beta
--enable-debug --enable-debug
--enable-cassert --enable-cassert
@ -617,6 +620,8 @@ upgrade_configure ()
--host=%{_host} \ --host=%{_host} \
--prefix=%prev_prefix \ --prefix=%prev_prefix \
--disable-rpath \ --disable-rpath \
--with-lz4 \
--with-zstd \
%if %beta %if %beta
--enable-debug \ --enable-debug \
--enable-cassert \ --enable-cassert \
@ -703,10 +708,6 @@ install -d $RPM_BUILD_ROOT/etc/pam.d
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/pam.d/postgresql install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/pam.d/postgresql
%endif %endif
# Create the directory for sockets.
install -d -m 755 $RPM_BUILD_ROOT%{?_localstatedir}/run/postgresql
# ... and make a tmpfiles script to recreate it at reboot.
mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir} mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
install -m 0644 %{SOURCE9} $RPM_BUILD_ROOT%{_tmpfilesdir}/postgresql.conf install -m 0644 %{SOURCE9} $RPM_BUILD_ROOT%{_tmpfilesdir}/postgresql.conf
@ -1086,6 +1087,7 @@ make -C postgresql-setup-%{setup_version} check
%{_datadir}/pgsql/system_constraints.sql %{_datadir}/pgsql/system_constraints.sql
%{_datadir}/pgsql/system_functions.sql %{_datadir}/pgsql/system_functions.sql
%{_datadir}/pgsql/system_views.sql %{_datadir}/pgsql/system_views.sql
%{_datadir}/pgsql/fix-CVE-2024-4317.sql
%{_datadir}/pgsql/timezonesets/ %{_datadir}/pgsql/timezonesets/
%{_datadir}/pgsql/tsearch_data/ %{_datadir}/pgsql/tsearch_data/
%dir %{_datadir}/postgresql-setup %dir %{_datadir}/postgresql-setup
@ -1125,7 +1127,7 @@ make -C postgresql-setup-%{setup_version} check
%attr(644,postgres,postgres) %config(noreplace) %{?_localstatedir}/lib/pgsql/.bash_profile %attr(644,postgres,postgres) %config(noreplace) %{?_localstatedir}/lib/pgsql/.bash_profile
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql/backups %attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql/backups
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql/data %attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql/data
%attr(755,postgres,postgres) %dir %{?_localstatedir}/run/postgresql %ghost %attr(755,postgres,postgres) %dir %{?_rundir}/postgresql
%if %pam %if %pam
%config(noreplace) /etc/pam.d/postgresql %config(noreplace) /etc/pam.d/postgresql
%endif %endif
@ -1226,6 +1228,32 @@ make -C postgresql-setup-%{setup_version} check
%changelog %changelog
* Fri Aug 16 2024 Ales Nezbeda <anezbeda@redhat.com> - 15.8-2
- Fix build on 15.8
* Tue Aug 6 2024 Filip Janus <fjanus@redhat.com> - 15.8-1
- Update to 15.8
* Tue Jul 30 2024 Filip Janus <fjanus@redhat.com> - 15.6-3
- Remove /var/run/postgresql
- Related: RHEL-51271
* Mon Jul 15 2024 Filip Janus <fjanus@redhat.com> - 15.6-2
- Enable lz4 and zstd support
* Fri Feb 9 2024 Filip Janus <fjanus@redhat.com> 15.6-1
- Update to 15.6 and 13.14
- Fix CVE-2024-0985
* Mon Nov 13 2023 Masahiro Matsuya <mmatsuya@redhat.com> - 15.5-1
- update to 15.5
- Fixes CVE-2023-5868, CVE-2023-5869, CVE-2023-5870, CVE-2023-39417, and CVE-2023-39418
* Wed Jun 14 2023 Masahiro Matsuya <mmatsuya@redhat.com> - 15.3-1
- update to 15.3
- Fixes CVE-2023-2454 and CVE-2023-2455
Resolves: #2214875
* Thu Feb 09 2023 Filip Janus <fjanus@redhat.com> - 15.2-1 * Thu Feb 09 2023 Filip Janus <fjanus@redhat.com> - 15.2-1
- update to 15.2 - update to 15.2
- Resolves: #2128410 - Resolves: #2128410