Bug 286726 - security/wolfssl: Add haproxy support
Summary: security/wolfssl: Add haproxy support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Santhosh Raju
URL:
Keywords:
Depends on:
Blocks: 286727
  Show dependency treegraph
 
Reported: 2025-05-11 19:21 UTC by Mark Felder
Modified: 2025-05-17 09:51 UTC (History)
0 users

See Also:
fox: maintainer-feedback+


Attachments
wolfssl haproxy support (506 bytes, patch)
2025-05-11 19:21 UTC, Mark Felder
no flags Details | Diff
updated wolfssl patch (591 bytes, patch)
2025-05-11 20:10 UTC, Mark Felder
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Felder freebsd_committer freebsd_triage 2025-05-11 19:21:58 UTC
Created attachment 260333 [details]
wolfssl haproxy support

Simply adding the flags --enable-haproxy and --enable-quic will make it possible to link Haproxy against WolfSSL
Comment 1 Mark Felder freebsd_committer freebsd_triage 2025-05-11 20:10:13 UTC
Created attachment 260339 [details]
updated wolfssl patch

Needed the addition of -DWOLFSSL_GETRANDOM=1 so a WolfSSL HAProxy does not need /dev/urandom be mounted into the chroot
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2025-05-11 21:33:26 UTC
^Triage: now that we have the patch flag on attachments, the [patch]
prefix is no longer needed.
Comment 3 Santhosh Raju freebsd_committer freebsd_triage 2025-05-12 16:02:57 UTC
Thank you, the patch looks good, let me give it a round of testing in my build server and if no issues found will commit it to ports HEAD.
Comment 4 commit-hook freebsd_committer freebsd_triage 2025-05-17 09:48:33 UTC
A commit in branch main references this bug:

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

commit e0b8ce7ea099547baf3fd16f06639c24571a6522
Author:     Santhosh Raju <fox@FreeBSD.org>
AuthorDate: 2025-05-17 09:45:27 +0000
Commit:     Santhosh Raju <fox@FreeBSD.org>
CommitDate: 2025-05-17 09:45:27 +0000

    security/wolfssl: Add haproxy support

    PR:             286726
    Reported by:    Mark Felder <feld@FreeBSD.org>

 security/wolfssl/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Comment 5 Santhosh Raju freebsd_committer freebsd_triage 2025-05-17 09:51:50 UTC
I have committed the changes to ports HEAD. Feel free to get back to me in case of any issues.