Bug 264180 - databases/galera26: Fix build with LibreSSL 3.5
Summary: databases/galera26: Fix build with LibreSSL 3.5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Bernard Spil
URL: https://github.com/codership/galera/p...
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2022-05-23 17:53 UTC by Bernard Spil
Modified: 2023-04-17 10:45 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (devel)
koobs: merge-quarterly?


Attachments
git diff for databases/galera26 (803 bytes, text/plain)
2022-05-23 17:53 UTC, Bernard Spil
no flags Details
26.4.13 patch (3.03 KB, patch)
2023-02-24 12:43 UTC, Tassilo Philipp
no flags Details | Diff
git diff for databases/galera26 (6.79 KB, patch)
2023-04-17 09:21 UTC, Bernard Spil
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)