diff --git a/postfix-3.8.5-rhel-remove-version-mismatch-warning.patch b/postfix-3.8.5-rhel-remove-version-mismatch-warning.patch new file mode 100644 index 0000000..7b472b8 --- /dev/null +++ b/postfix-3.8.5-rhel-remove-version-mismatch-warning.patch @@ -0,0 +1,16 @@ +diff --git a/src/tls/tls_misc.c b/src/tls/tls_misc.c +index b7acd1d..83f4d85 100644 +--- a/src/tls/tls_misc.c ++++ b/src/tls/tls_misc.c +@@ -1402,10 +1402,7 @@ void tls_check_version(void) + && (lib_info.micro < hdr_info.micro + || hdr_info.major == 0 + || (hdr_info.major == 1 && hdr_info.minor == 0)))) +- msg_warn("run-time library vs. compile-time header version mismatch: " +- "OpenSSL %d.%d.%d may not be compatible with OpenSSL %d.%d.%d", +- lib_info.major, lib_info.minor, lib_info.micro, +- hdr_info.major, hdr_info.minor, hdr_info.micro); ++ ; // Nothing. Warning output removed. + } + + /* tls_compile_version - compile-time OpenSSL version */ diff --git a/postfix.spec b/postfix.spec index 8960fce..a76ceeb 100644 --- a/postfix.spec +++ b/postfix.spec @@ -57,7 +57,7 @@ Name: postfix Summary: Postfix Mail Transport Agent Version: 3.8.5 -Release: 8%{?dist} +Release: 9%{?dist} Epoch: 2 URL: http://www.postfix.org License: (IPL-1.0 OR EPL-2.0) AND GPL-2.0-or-later AND BSD-4-Clause-UC @@ -108,6 +108,7 @@ Patch11: postfix-3.4.4-chroot-example-fix.patch # rhbz#1931403, sent upstream Patch13: pflogsumm-1.1.5-syslog-name-underscore-fix.patch Patch14: postfix-3.8.5-openssl-no-engine.patch +Patch15: postfix-3.8.5-rhel-remove-version-mismatch-warning.patch # Optional patches - set the appropriate environment variables to include # them when building the package/spec file @@ -272,6 +273,7 @@ popd %patch11 -p1 -b .chroot-example-fix %patch13 -p1 -b .pflogsumm-1.1.5-syslog-name-underscore-fix %patch14 -p1 -b .openssl-no-engine +%patch15 -p1 -b .warning # Backport 3.8-20221006 fix for uname -r detection sed -i makedefs -e '\@Linux\.@s|345|3456|' @@ -840,6 +842,10 @@ fi %endif %changelog +* Tue Jan 06 2026 Fedor Vorobev - 2:3.8.5-9 +- Added a RHEL-specific patch to remove an OpenSSL version mismatch warning. + Resolves: RHEL-138726 + * Tue Oct 29 2024 Troy Dawson - 2:3.8.5-8 - Bump release for October 2024 mass rebuild: Resolves: RHEL-64018