Bug 271192 - net/jose: does not compile/link against OpenSSL 3
Summary: net/jose: does not compile/link against OpenSSL 3
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: Matthew Seaman
URL:
Keywords:
Depends on:
Blocks: 258413
  Show dependency treegraph
 
Reported: 2023-05-02 02:27 UTC by Enji Cooper
Modified: 2023-09-03 12:11 UTC (History)
3 users (show)

See Also:
hdholm: maintainer-feedback+


Attachments
Patch against current net/jose (1.17 KB, patch)
2023-05-08 01:01 UTC, Howard Holm
hdholm: maintainer-approval-
Details | Diff
Patch against current net/jose (1.55 KB, patch)
2023-06-02 19:58 UTC, Howard Holm
hdholm: maintainer-approval+
Details | Diff

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