import Oracle_OSS postgresql-15.17-1.module+el9.7.0+90829+0e33913e
This commit is contained in:
parent
396163b227
commit
1c3c7a1dad
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,4 +1,4 @@
|
||||
SOURCES/postgresql-13.22.tar.bz2
|
||||
SOURCES/postgresql-15.15-US.pdf
|
||||
SOURCES/postgresql-15.15.tar.bz2
|
||||
SOURCES/postgresql-15.17-US.pdf
|
||||
SOURCES/postgresql-15.17.tar.bz2
|
||||
SOURCES/postgresql-setup-8.8.tar.gz
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
3a5f8f2a4e889c395db905147be40dc1f8192fa4 SOURCES/postgresql-13.22.tar.bz2
|
||||
ea3df5e85f4b98bae473feb920d0a90682323f1a SOURCES/postgresql-15.15-US.pdf
|
||||
8833e4dd4ff75186451415bf61cd5f1d60078d50 SOURCES/postgresql-15.15.tar.bz2
|
||||
107aafb7c57a5db50d1aee92a211d648b427e4da SOURCES/postgresql-15.17-US.pdf
|
||||
09a3926425707ffcf1dd7a5bae8869f921659c13 SOURCES/postgresql-15.17.tar.bz2
|
||||
c5aa3e8b728c67b294815931c91c86aa61932bb5 SOURCES/postgresql-setup-8.8.tar.gz
|
||||
|
||||
0
SOURCES/Makefile.regress
Executable file → Normal file
0
SOURCES/Makefile.regress
Executable file → Normal file
@ -1 +0,0 @@
|
||||
5753aaeb8b09cbf61016f78aa69bf5cbdf01b43263f010cbf168c82896213aaa postgresql-15.15.tar.bz2
|
||||
1
SOURCES/postgresql-15.17.tar.bz2.sha256
Normal file
1
SOURCES/postgresql-15.17.tar.bz2.sha256
Normal file
@ -0,0 +1 @@
|
||||
ae14f24c14727e0b2ded1c5553031666099bd1054db3ef44bfa6e2bd6d554a56 postgresql-15.17.tar.bz2
|
||||
0
SOURCES/postgresql-bashprofile
Executable file → Normal file
0
SOURCES/postgresql-bashprofile
Executable file → Normal file
0
SOURCES/postgresql-external-libpq.patch
Executable file → Normal file
0
SOURCES/postgresql-external-libpq.patch
Executable file → Normal file
0
SOURCES/postgresql-logging.patch
Executable file → Normal file
0
SOURCES/postgresql-logging.patch
Executable file → Normal file
0
SOURCES/postgresql-no-libecpg.patch
Executable file → Normal file
0
SOURCES/postgresql-no-libecpg.patch
Executable file → Normal file
0
SOURCES/postgresql-server-pg_config.patch
Executable file → Normal file
0
SOURCES/postgresql-server-pg_config.patch
Executable file → Normal file
0
SOURCES/postgresql-var-run-socket.patch
Executable file → Normal file
0
SOURCES/postgresql-var-run-socket.patch
Executable file → Normal file
0
SOURCES/postgresql.pam
Executable file → Normal file
0
SOURCES/postgresql.pam
Executable file → Normal file
@ -1 +0,0 @@
|
||||
d /run/postgresql 0755 postgres postgres -
|
||||
0
SOURCES/rpm-pgsql.patch
Executable file → Normal file
0
SOURCES/rpm-pgsql.patch
Executable file → Normal file
100
SPECS/postgresql.spec
Executable file → Normal file
100
SPECS/postgresql.spec
Executable file → Normal file
@ -62,7 +62,7 @@
|
||||
Summary: PostgreSQL client programs
|
||||
Name: postgresql
|
||||
%global majorversion 15
|
||||
Version: %{majorversion}.15
|
||||
Version: %{majorversion}.17
|
||||
Release: 1%{?dist}
|
||||
|
||||
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
|
||||
@ -89,7 +89,6 @@ Source0: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}
|
||||
Source1: postgresql-%{version}-US.pdf
|
||||
Source3: https://ftp.postgresql.org/pub/source/v%{prevversion}/postgresql-%{prevversion}.tar.bz2
|
||||
Source4: Makefile.regress
|
||||
Source9: postgresql.tmpfiles.d
|
||||
Source10: postgresql.pam
|
||||
Source11: postgresql-bashprofile
|
||||
|
||||
@ -113,6 +112,7 @@ Patch12: postgresql-no-libecpg.patch
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: lz4-devel, libzstd-devel
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk
|
||||
BuildRequires: perl(ExtUtils::Embed), perl-devel
|
||||
BuildRequires: perl(Opcode)
|
||||
@ -415,15 +415,15 @@ goal of accelerating analytics queries.
|
||||
%endif
|
||||
)
|
||||
%setup -q -a 12 -n postgresql-%{version}
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch5 -p1
|
||||
%patch -P 1 -p1
|
||||
%patch -P 2 -p1
|
||||
%patch -P 5 -p1
|
||||
%if %external_libpq
|
||||
%patch8 -p1
|
||||
%patch -P 8 -p1
|
||||
%else
|
||||
%patch12 -p1
|
||||
%patch -P 12 -p1
|
||||
%endif
|
||||
%patch9 -p1
|
||||
%patch -P 9 -p1
|
||||
|
||||
# We used to run autoconf here, but there's no longer any real need to,
|
||||
# since Postgres ships with a reasonably modern configure script.
|
||||
@ -450,6 +450,15 @@ find . -type f -name Makefile -exec sed -i -e "s/SO_MAJOR_VERSION=\s\?\([0-9]\+\
|
||||
# remove .gitignore files to ensure none get into the RPMs (bug #642210)
|
||||
find . -type f -name .gitignore | xargs rm
|
||||
|
||||
cat > postgresql.sysusers.conf <<EOF
|
||||
u postgres 26 'PostgreSQL Server' /var/lib/pgsql /bin/bash
|
||||
EOF
|
||||
|
||||
cat > postgresql.tmpfiles.conf <<EOF
|
||||
d /run/postgresql 0755 postgres postgres -
|
||||
d /var/lib/pgsql 0700 postgres postgres -
|
||||
EOF
|
||||
|
||||
|
||||
%build
|
||||
# Avoid LTO on armv7hl as it runs out of memory
|
||||
@ -488,6 +497,8 @@ export CFLAGS
|
||||
|
||||
common_configure_options='
|
||||
--disable-rpath
|
||||
--with-lz4
|
||||
--with-zstd
|
||||
%if %beta
|
||||
--enable-debug
|
||||
--enable-cassert
|
||||
@ -616,6 +627,8 @@ upgrade_configure ()
|
||||
--host=%{_host} \
|
||||
--prefix=%prev_prefix \
|
||||
--disable-rpath \
|
||||
--with-lz4 \
|
||||
--with-zstd \
|
||||
%if %beta
|
||||
--enable-debug \
|
||||
--enable-cassert \
|
||||
@ -702,12 +715,10 @@ install -d $RPM_BUILD_ROOT/etc/pam.d
|
||||
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/pam.d/postgresql
|
||||
%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}
|
||||
install -m 0644 %{SOURCE9} $RPM_BUILD_ROOT%{_tmpfilesdir}/postgresql.conf
|
||||
install -m 0644 postgresql.tmpfiles.conf $RPM_BUILD_ROOT%{_tmpfilesdir}/postgresql.conf
|
||||
|
||||
install -m 0644 -D postgresql.sysusers.conf $RPM_BUILD_ROOT%{_sysusersdir}/postgresql.conf
|
||||
|
||||
# PGDATA needs removal of group and world permissions due to pg_pwd hole.
|
||||
install -d -m 700 $RPM_BUILD_ROOT%{?_localstatedir}/lib/pgsql/data
|
||||
@ -1120,12 +1131,13 @@ make -C postgresql-setup-%{setup_version} check
|
||||
%{_mandir}/man1/postmaster.*
|
||||
%{_sbindir}/postgresql-new-systemd-unit
|
||||
%{_tmpfilesdir}/postgresql.conf
|
||||
%{_sysusersdir}/postgresql.conf
|
||||
%{_unitdir}/*postgresql*.service
|
||||
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql
|
||||
%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/data
|
||||
%attr(755,postgres,postgres) %dir %{?_localstatedir}/run/postgresql
|
||||
%ghost %attr(755,postgres,postgres) %dir %{?_rundir}/postgresql
|
||||
%if %pam
|
||||
%config(noreplace) /etc/pam.d/postgresql
|
||||
%endif
|
||||
@ -1226,47 +1238,61 @@ make -C postgresql-setup-%{setup_version} check
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 26 2026 Lukas Javorsky <ljavorsk@redhat.com> - 15.17-1
|
||||
- Update to 15.17
|
||||
- Fixes: CVE-2026-2004 CVE-2026-2005 CVE-2026-2006
|
||||
|
||||
* Fri Dec 05 2025 Filip Janus <fjanus@redhat.com> - 15.15-2
|
||||
- Add sysusers configuration and generate tmpfiles.d dynamically
|
||||
- Resolves: RHEL-133896
|
||||
|
||||
* Mon Dec 01 2025 Filip Janus <fjanus@redhat.com> - 15.15-1
|
||||
- Update to 15.15
|
||||
- Resolves: RHEL-128819 (CVE-2025-12818)
|
||||
- Resolves: RHEL-128813 (CVE-2025-12818)
|
||||
|
||||
* Mon Aug 18 2025 Filip Janus <fjanus@redhat.com> - 15.14-1
|
||||
* Fri Aug 15 2025 Filip Janus <fjanus@redhat.com> - 15.14-1
|
||||
- Update to 15.14
|
||||
|
||||
* Tue Feb 18 2025 Filip Janus <fjanus@redhat.com> - 15.12-1
|
||||
* Thu Feb 20 2025 Ales Nezbeda <anezbeda@redhat.com> - 15.12-1
|
||||
- Update to 15.12
|
||||
- Fix CVE-2025-1094
|
||||
|
||||
* Thu Nov 21 2024 Lukas Javorsky <ljavorsk@redhat.com> - 15.10-1
|
||||
* Fri Nov 21 2024 Lukas Javorsky <ljavorsk@redhat.com> - 15.10-1
|
||||
- Update to 15.10
|
||||
- Fixes: CVE-2024-10976 CVE-2024-10978 CVE-2024-10979
|
||||
|
||||
* Mon Aug 12 2024 Ales Nezbeda <anezbeda@redhat.com> - 15.8-1
|
||||
* 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
|
||||
- Fix CVE-2024-7348
|
||||
|
||||
* 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 Jorge San Emeterio <jsanemet@redhat.com> - 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
|
||||
* 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
|
||||
|
||||
* Mon Aug 28 2023 Jorge San Emeterio <jsanemet@redhat.com> - 15.3-1
|
||||
- Update to upstream version 15.3
|
||||
- Fixes: CVE-2023-2454 CVE-2023-2455
|
||||
- Resolves: #2207934
|
||||
* 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
|
||||
|
||||
* Wed Feb 08 2023 Filip Januš <fjanus@redhat.com> - 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
|
||||
* Thu Feb 09 2023 Filip Janus <fjanus@redhat.com> - 15.2-1
|
||||
- update to 15.2
|
||||
- Resolves: #2128410
|
||||
|
||||
* Tue Jan 17 2023 Filip Janus <fjanus@redhat.com> - 15.0-2
|
||||
- update postgresql-setup to 8.8
|
||||
|
||||
* Fri Oct 14 2022 Filip Januš <fjanus@redhat.com> - 15.0-1
|
||||
- Initial import for postgresql 15
|
||||
- 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
|
||||
- Resolves: #2128410
|
||||
|
||||
Loading…
Reference in New Issue
Block a user