diff --git a/postgresql-14.11.tar.bz2 b/postgresql-14.11.tar.bz2
deleted file mode 100644
index 1855a3c401099aca527ad0d4f6e9c207f8a62a58..0000000000000000000000000000000000000000
Binary files a/postgresql-14.11.tar.bz2 and /dev/null differ
diff --git a/postgresql-14.11.tar.bz2.sha256 b/postgresql-14.11.tar.bz2.sha256
deleted file mode 100644
index 34cfe9ad03c8e29161850717944060009d0d4214..0000000000000000000000000000000000000000
--- a/postgresql-14.11.tar.bz2.sha256
+++ /dev/null
@@ -1 +0,0 @@
-a670bd7dce22dcad4297b261136b3b1d4a09a6f541719562aa14ca63bf2968a8 postgresql-14.11.tar.bz2
diff --git a/postgresql-14.13.tar.bz2 b/postgresql-14.13.tar.bz2
new file mode 100644
index 0000000000000000000000000000000000000000..53ada59e9e44b8c1389b254786ee3c314a75afd2
--- /dev/null
+++ b/postgresql-14.13.tar.bz2
@@ -0,0 +1,7 @@
+
+
404 Not Found
+
+404 Not Found
+
nginx
+
+
diff --git a/postgresql-14.13.tar.bz2.sha256 b/postgresql-14.13.tar.bz2.sha256
new file mode 100644
index 0000000000000000000000000000000000000000..9983846b46cfda5d949c32188f8ec818b6ea9588
--- /dev/null
+++ b/postgresql-14.13.tar.bz2.sha256
@@ -0,0 +1 @@
+59aa3c4b495ab26a9ec69f3ad0a0228c51f0fe6facf3634dfad4d1197d613a56 postgresql-14.13.tar.bz2
diff --git a/postgresql-15.6.tar.bz2.sha256 b/postgresql-15.6.tar.bz2.sha256
deleted file mode 100644
index b9cc1cf8358070b92750873b42f7ca37fb9082f9..0000000000000000000000000000000000000000
--- a/postgresql-15.6.tar.bz2.sha256
+++ /dev/null
@@ -1 +0,0 @@
-8455146ed9c69c93a57de954aead0302cafad035c2b242175d6aa1e17ebcb2fb postgresql-15.6.tar.bz2
diff --git a/postgresql-15.6-US.pdf b/postgresql-15.8-US.pdf
similarity index 85%
rename from postgresql-15.6-US.pdf
rename to postgresql-15.8-US.pdf
index 386797a4ed6b6abb345588e6abb7fd2ae623557b..cbd00a9e47012be3cf02f3d060e1e1226606e926 100644
Binary files a/postgresql-15.6-US.pdf and b/postgresql-15.8-US.pdf differ
diff --git a/postgresql-15.6.tar.bz2 b/postgresql-15.8.tar.bz2
similarity index 70%
rename from postgresql-15.6.tar.bz2
rename to postgresql-15.8.tar.bz2
index 44c3d1564dab98a13dd291f7cafdea6533643087..827efac090c7334cb7d1dc8efa76b8cc1a635e41 100644
Binary files a/postgresql-15.6.tar.bz2 and b/postgresql-15.8.tar.bz2 differ
diff --git a/postgresql-15.8.tar.bz2.sha256 b/postgresql-15.8.tar.bz2.sha256
new file mode 100644
index 0000000000000000000000000000000000000000..21864c78ee4d5320877c9d47955b3dd98637aa1f
--- /dev/null
+++ b/postgresql-15.8.tar.bz2.sha256
@@ -0,0 +1 @@
+4403515f9a69eeb3efebc98f30b8c696122bfdf895e92b3b23f5b8e769edcb6a postgresql-15.8.tar.bz2
diff --git a/postgresql-man.patch b/postgresql-man.patch
index 6b0ed00b807a552d1c6358d21110491ea29a29b9..789fb79e7d4d9d7c45abd0f25cb9309cccb71c1b 100644
--- a/postgresql-man.patch
+++ b/postgresql-man.patch
@@ -6,8 +6,8 @@ RHBZ#948933).
diff -up postgresql-13.1/doc/src/sgml/man1/ecpg.1.patch6 postgresql-13.1/doc/src/sgml/man1/ecpg.1
--- postgresql-13.1/doc/src/sgml/man1/ecpg.1.patch6 2020-11-09 23:38:03.000000000 +0100
+++ postgresql-13.1/doc/src/sgml/man1/ecpg.1 2020-11-18 09:26:40.547324791 +0100
-@@ -81,6 +81,11 @@ ORACLE\&.
- Define a C preprocessor symbol\&.
+@@ -86,6 +86,11 @@
+ 1\&.
.RE
.PP
+\fB\-h \fR
@@ -18,7 +18,7 @@ diff -up postgresql-13.1/doc/src/sgml/man1/ecpg.1.patch6 postgresql-13.1/doc/src
\fB\-h\fR
.RS 4
Process header files\&. When this option is specified, the output file extension becomes
-@@ -144,6 +149,11 @@ Allow question mark as placeholder for c
+@@ -149,6 +154,11 @@
.RE
.RE
.PP
diff --git a/postgresql.spec b/postgresql.spec
index c571cf172e60f0db910d732e92bac7cc2a3dc0a6..a322fdbeceecf2375b30bd75195044302db94b80 100644
--- a/postgresql.spec
+++ b/postgresql.spec
@@ -31,7 +31,7 @@
Summary: PostgreSQL client programs
Name: postgresql
%global majorversion 15
-Version: %{majorversion}.6
+Version: %{majorversion}.8
Release: 1
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
@@ -40,7 +40,7 @@ License: PostgreSQL
Url: http://www.postgresql.org/
%global prevmajorversion 14
-%global prevversion %{prevmajorversion}.11
+%global prevversion %{prevmajorversion}.13
%global prev_prefix %{_libdir}/pgsql/postgresql-%{prevmajorversion}
%global precise_version %{?epoch:%epoch:}%version-%release
@@ -160,9 +160,6 @@ postgresql-server sub-package.
%package private-libs
Summary: The shared libraries required only for this build of PostgreSQL server
Group: Applications/Databases
-# for /sbin/ldconfig
-Requires(post): glibc
-Requires(postun): glibc
%description private-libs
The postgresql-private-libs package provides the shared libraries for this
@@ -1140,6 +1137,7 @@ make -C postgresql-setup-%{setup_version} check
%dir %{_datadir}/pgsql/contrib
%dir %{_datadir}/pgsql/extension
%{_datadir}/pgsql/extension/plpgsql*
+%{_datadir}/pgsql/fix-CVE-2024-4317.sql
%{_datadir}/pgsql/information_schema.sql
%{_datadir}/pgsql/postgres.bki
%{_datadir}/pgsql/snowball_create.sql
@@ -1297,6 +1295,9 @@ make -C postgresql-setup-%{setup_version} check
%changelog
+* Fri Aug 09 2024 Funda Wang - 15.8-1
+- update to 15.8 (CVE-2024-7348)
+
* Fri Mar 29 2024 xiejing - 15.6-1
- update to 15.6