Bug 254864

Summary: sysutils/rsyslog8: patch so one can compile with libressl
Product: Ports & Packages Reporter: Dave Hayes <dave>
Component: Individual Port(s)Assignee: Matthew Seaman <matthew>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (matthew)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch-runtime-nsd__ossl.c none

Description Dave Hayes 2021-04-07 20:19:24 UTC
Created attachment 223907 [details]
patch-runtime-nsd__ossl.c

The attached patch is necessary to compile rsyslog8 (from ports HEAD). Upstream has not added this patch yet. I got this patch from:

https://bugs.gentoo.org/750842

and have verified that it allows rsyslog8 to compile.
Comment 1 Matthew Seaman freebsd_committer freebsd_triage 2021-04-08 06:04:16 UTC
Thank you very much for your submission. I shall update the port as soon as possible.

This should be submitted upstream -- as far as I can see, it hasn't appeared in rsyslog's github account yet.  Do you have any contacts with the Gentoo people that originally authored it?
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-04-08 15:14:51 UTC
A commit in branch main references this bug:

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

commit b7cc04143049938d72355c5c2ad77815d360207f
Author:     Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2021-04-08 06:59:38 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2021-04-08 15:13:42 +0000

    sysutils/rsyslog8 -- improve libressl compatibility

    PR:             254864
    Reported by:    dave@jetcafe.org
    Obtained from:  Gentoo (https://bugs.gentoo.org/750842)

 sysutils/rsyslog8/Makefile                              |  1 +
 sysutils/rsyslog8/files/patch-runtime_nsd__ossl.c (new) | 11 +++++++++++
 2 files changed, 12 insertions(+)
Comment 3 Matthew Seaman freebsd_committer freebsd_triage 2021-04-08 17:57:32 UTC
Committed, thanks!
Comment 4 Dave Hayes 2021-04-08 18:45:06 UTC
(In reply to Matthew Seaman from comment #1)

I have no contacts with the gentoo people at all. I simply googled this idea and a solution appeared that was reasonable (as far as I can see, which might not be that far) and quick. 

I agree that it should be submitted upstream.