Bug 271192

Summary: net/jose: does not compile/link against OpenSSL 3
Product: Ports & Packages Reporter: Enji Cooper <ngie>
Component: Individual Port(s)Assignee: Matthew Seaman <matthew>
Status: Closed FIXED    
Severity: Affects Some People CC: emaste, hdholm, matthew
Priority: --- Flags: hdholm: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271615
Bug Depends on:    
Bug Blocks: 258413    
Attachments:
Description Flags
Patch against current net/jose
hdholm: maintainer-approval-
Patch against current net/jose hdholm: maintainer-approval+

Description Enji Cooper freebsd_committer freebsd_triage 2023-05-02 02:27:39 UTC
Fails with linker errors related to libcrypto-provided symbols.
https://github.com/latchset/jose/issues/128
Comment 1 Howard Holm 2023-05-08 01:01:51 UTC
Created attachment 242044 [details]
Patch against current net/jose

It seems like the meson issues that originally prevented the linking from working properly with the default library dependencies have now been fixed and simply removing the workaround in the patch works in all my tests. So this patches the patch to remove the workaround and the Makefile to remove the build restriction.
Comment 2 Howard Holm 2023-06-02 19:58:14 UTC
Created attachment 242562 [details]
Patch against current net/jose

An improved patch for OpenSSL 3.0/3.1 compatibility that also addresses some pkg_config issues.
Comment 3 Howard Holm 2023-06-30 22:30:03 UTC
I know this isn't an urgent issue, but am I missing something I need to do to get this patch applied?  Just trying to make sure things aren't hung up waiting on something from me.
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-09-03 12:10:32 UTC
A commit in branch main references this bug:

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

commit 1653e4258711bd9b9c7b4a1ff17f16ba8cdf711e
Author:     Howard Holm <hdholm@alumni.iastate.edu>
AuthorDate: 2023-09-03 12:07:22 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2023-09-03 12:07:22 +0000

    net/jose: unbreak with openssl3

    PR:             271192
    Reported by:    ngie
    Author:         Howard Holm <hdholm@alumni.iastate.edu> (maintainer)

 net/jose/Makefile                |  5 ++---
 net/jose/files/patch-meson.build | 14 +++-----------
 2 files changed, 5 insertions(+), 14 deletions(-)
Comment 5 Matthew Seaman freebsd_committer freebsd_triage 2023-09-03 12:11:23 UTC
Committed, thanks!

Sorry that took so long to be dealt with.