summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs/postgresql/files/0001-Add-missing-include-in-Cluster.pm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-dbs/postgresql/files/0001-Add-missing-include-in-Cluster.pm.patch')
-rw-r--r--meta-oe/recipes-dbs/postgresql/files/0001-Add-missing-include-in-Cluster.pm.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/files/0001-Add-missing-include-in-Cluster.pm.patch b/meta-oe/recipes-dbs/postgresql/files/0001-Add-missing-include-in-Cluster.pm.patch
new file mode 100644
index 0000000000..d4e6273e6d
--- /dev/null
+++ b/meta-oe/recipes-dbs/postgresql/files/0001-Add-missing-include-in-Cluster.pm.patch
@@ -0,0 +1,38 @@
1From eb5559b7df98581bd9a5142433122d1ba076d568 Mon Sep 17 00:00:00 2001
2From: Michael Paquier <michael@paquier.xyz>
3Date: Tue, 12 May 2026 16:44:28 +0900
4Subject: [PATCH] Add missing include in Cluster.pm
5
6The postmaster test 004_negotiate.pl could fail due to IO::Socket::INET
7gone missing, in environments that cannot use Unix sockets.
8
9Oversight in the backport done in 6dffaeb8e54c, so like the other commit
10this is applied across the v14~17 range. Per buildfarm member drongo.
11
12Security: CVE-2026-6479
13Backpatch-through: 14
14
15CVE: CVE-2026-6479
16
17Upstream-Status: Backport [https://github.com/postgres/postgres/commit/eb5559b7df]
18
19Signed-off-by: Guocai He <guocai.he.cn@windriver.com>
20---
21 src/test/perl/PostgreSQL/Test/Cluster.pm | 1 +
22 1 file changed, 1 insertion(+)
23
24diff --git a/src/test/perl/PostgreSQL/Test/Cluster.pm b/src/test/perl/PostgreSQL/Test/Cluster.pm
25index a8635f4e6ad..4c2428a9247 100644
26--- a/src/test/perl/PostgreSQL/Test/Cluster.pm
27+++ b/src/test/perl/PostgreSQL/Test/Cluster.pm
28@@ -104,6 +104,7 @@ use File::Path qw(rmtree mkpath);
29 use File::Spec;
30 use File::stat qw(stat);
31 use File::Temp ();
32+use IO::Socket::INET;
33 use IPC::Run;
34 use PostgreSQL::Version;
35 use PostgreSQL::Test::RecursiveCopy;
36--
372.34.1
38