Bug 264180

Summary: databases/galera26: Fix build with LibreSSL 3.5
Product: Ports & Packages Reporter: Bernard Spil <brnrd>
Component: Individual Port(s)Assignee: Bernard Spil <brnrd>
Status: Closed FIXED    
Severity: Affects Some People CC: devel, tphilipp
Priority: --- Keywords: needs-qa
Version: LatestFlags: bugzilla: maintainer-feedback? (devel)
koobs: merge-quarterly?
Hardware: Any   
OS: Any   
URL: https://github.com/codership/galera/pull/640
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264000
Attachments:
Description Flags
git diff for databases/galera26
none
26.4.13 patch
none
git diff for databases/galera26 none

Description Bernard Spil freebsd_committer freebsd_triage 2022-05-23 17:53:15 UTC
Created attachment 234154 [details]
git diff for databases/galera26

```
databases/galera26: Fix build with LibreSSL 3.5

PR: ?
```
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2022-05-24 00:44:48 UTC
^Triage: Reporter is committer, assign accordingly

@Bernard If there's a LibreSSL tracking issue, please add it to Blocks here
Comment 2 Tassilo Philipp 2023-02-24 12:43:42 UTC
Created attachment 240371 [details]
26.4.13 patch

The original patch attached to this PR doesn't apply cleanly against 26.4.13 (and also doesn't patch enough) to make databases/galera26 build with libressl 3.5+.

Find attached an updated version.

Note: I have not run-time tested this, in detail, if it hits every one of those #ifdef'ed code sections.
Comment 3 Bernard Spil freebsd_committer freebsd_triage 2023-04-17 09:21:20 UTC
Created attachment 241538 [details]
git diff for databases/galera26

No LibreSSL version currently in ports needs the LibreSSL fixes in asio 1.14.1

SSL_read_ex, SSL_write_ex, TLSv1.3, OpenSSL 1.1.1 ABI are available
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-04-17 10:45:25 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6c9469b584ae0b4d96fd0a7700d6d3451168b8d1

commit 6c9469b584ae0b4d96fd0a7700d6d3451168b8d1
Author:     Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2023-04-17 10:42:49 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2023-04-17 10:42:49 +0000

    databases/galera26: Fix build with LibreSSL

     * None of the LibreSSL versions (35+) in ports require patching

    https://github.com/codership/galera/pull/640

    PR:             264180

 .../patch-asio_asio_ssl_impl_context.ipp (new)     | 143 +++++++++++++++++++++
 ...rautils_src_gu__asio__stream__engine.cpp (gone) |  11 --
 2 files changed, 143 insertions(+), 11 deletions(-)