Bug 1953504

Summary: sendmail: Port to OpenSSL 3.0
Product: Red Hat Enterprise Linux 9 Reporter: Sahana Prasad <sahana>
Component: sendmailAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Sklenar <psklenar>
Severity: unspecified Docs Contact:
Priority: high    
Version: CentOS StreamCC: bstinson, fweimer, jorton, jskarvad, jwboyer, psklenar, sahana
Target Milestone: betaKeywords: Patch, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sendmail-8.16.1-8.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-07 21:44:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1958021    
Attachments:
Description Flags
Proposed fix
none
Upstream fix none

Description Sahana Prasad 2021-04-26 09:16:12 UTC
This bug is used to track the readiness of sendmail with OpenSSL 3.0

currently the build fails with some porting issues:
https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=217819

Kindly fix them to ensure this package builds with OpenSSL 3.0, as we will introduce OpenSSL 3.0 in RHEL-9 very soon.

OpenSSL 3.0 package to test with:
http://download.eng.bos.redhat.com/rhel-9/nightly/RHEL-9-Beta/RHEL-9.0.0-20210414.0/compose/BaseOS/x86_64/os/Packages/openssl-3.0.0-0.alpha13.1.el9.x86_64.rpm

Note that the next OpenSSL 3.0 build with alpha15 will be available soon.

OpenSSL compat package:

http://download.eng.bos.redhat.com/rhel-9/nightly/RHEL-9-Beta/RHEL-9.0.0-20210414.0/compose/BaseOS/x86_64/os/Packages/compat-openssl11-1.1.1k-1.el9.x86_64.rpm

If you ave any further queries, kindly mail

rhel-crypto 

Thank you

Comment 1 Jaroslav Škarvada 2021-04-26 16:27:43 UTC
It's not supported upstream. It will take some time to get it upstream. I will probably built it with the compat package.

Comment 2 Jaroslav Škarvada 2021-04-26 16:46:29 UTC
(In reply to Sahana Prasad from comment #0)
> OpenSSL 3.0 package to test with:
> http://download.eng.bos.redhat.com/rhel-9/nightly/RHEL-9-Beta/RHEL-9.0.0-
> 20210414.0/compose/BaseOS/x86_64/os/Packages/openssl-3.0.0-0.alpha13.1.el9.
> x86_64.rpm

To be honest this is quite useless. The openssl-devel package is needed for testing the build.

I used the following build for testing:
https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1571383

I think you should provide side tag or copr repo. Just pushing it into the repo and opening bugzillas is really bad thing how to synchronize such non-trivial change.

Comment 3 Jaroslav Škarvada 2021-04-26 19:40:47 UTC
Created attachment 1775664 [details]
Proposed fix

Proposed fix sent upstream.

Comment 4 Jaroslav Škarvada 2021-04-27 07:48:00 UTC
Created attachment 1775860 [details]
Upstream fix

Comment 6 Jaroslav Škarvada 2021-05-07 20:03:56 UTC
I also built it for c9s-build-ssl3 (sendmail-8.16.1-8.el9).