Revert OL changes

This commit is contained in:
eabdullin 2024-09-20 14:45:54 +03:00
parent f6177471db
commit e9cf2c92cf
3 changed files with 1 additions and 46 deletions

View File

@ -1,39 +0,0 @@
From 9acc05f757ff7518104c8f232b49230f0503ffa1 Mon Sep 17 00:00:00 2001
From: Alex Burmashev <alexander.burmashev@oracle.com>
Date: Thu, 19 Sep 2024 09:16:31 +0000
Subject: [PATCH] Update doc template for tls-verify-peer
Without this change, docs on i686 are not generated correctly.
Signed-off-by: Alex Burmashev <alexander.burmashev@oracle.com>
---
docs/nbd_connect_uri.pod | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/docs/nbd_connect_uri.pod b/docs/nbd_connect_uri.pod
index 5d7ecdb..9e49e24 100644
--- a/docs/nbd_connect_uri.pod
+++ b/docs/nbd_connect_uri.pod
@@ -119,6 +119,11 @@ Note this is not allowed by default - see next section.
Set the PSK file. See L<nbd_set_tls_psk_file(3)>. Note
this is not allowed by default - see next section.
+=item B<tls-verify-peer=false>
+
+Do not verify the server certificate. See L<nbd_set_tls_verify_peer(3)>.
+The default is C<true>.
+
=back
=head2 Disable URI features
@@ -227,6 +232,7 @@ L<nbd_set_opt_mode(3)>,
L<nbd_set_tls(3)>,
L<nbd_set_tls_certificates(3)>,
L<nbd_set_tls_psk_file(3)>,
+L<nbd_set_tls_verify_peer(3)>,
L<nbd_set_uri_allow_local_file(3)>,
L<nbd_set_uri_allow_tls(3)>,
L<nbd_set_uri_allow_transports(3)>,
--
2.43.5

0
SOURCES/copy-patches.sh Normal file → Executable file
View File

View File

@ -9,7 +9,7 @@
Name: libnbd Name: libnbd
Version: 1.18.1 Version: 1.18.1
Release: 4.0.1%{?dist} Release: 4%{?dist}
Summary: NBD client library in userspace Summary: NBD client library in userspace
License: LGPL-2.0-or-later AND BSD-3-Clause License: LGPL-2.0-or-later AND BSD-3-Clause
@ -42,9 +42,6 @@ Patch0010: 0010-lib-uri.c-Allow-tls-verify-peer-to-be-overridden-in-.patch
Patch0011: 0011-docs-security-Add-link-to-TLS-server-certificate-che.patch Patch0011: 0011-docs-security-Add-link-to-TLS-server-certificate-che.patch
Patch0012: 0012-docs-libnbd-security.pod-Assign-CVE-2024-7383.patch Patch0012: 0012-docs-libnbd-security.pod-Assign-CVE-2024-7383.patch
# Oracle patches
Patch1000: 1000-Update-doc-template-for-tls-verify-peer.patch
%if 0%{patches_touch_autotools} %if 0%{patches_touch_autotools}
BuildRequires: autoconf, automake, libtool BuildRequires: autoconf, automake, libtool
%endif %endif
@ -395,9 +392,6 @@ make %{?_smp_mflags} check || {
%changelog %changelog
* Thu Sep 19 2024 Alex Burmashev <alexander.burmashev@oracle.com> - 1.18.1-4.0.1
- Add new content to nbd_connect_uri.pod
* Tue Aug 27 2024 Richard W.M. Jones <rjones@redhat.com> - 1.18.1-4 * Tue Aug 27 2024 Richard W.M. Jones <rjones@redhat.com> - 1.18.1-4
- Fix CVE-2024-7383 NBD server improper certificate validation - Fix CVE-2024-7383 NBD server improper certificate validation
resolves: RHEL-52730 resolves: RHEL-52730