Bug 254864 - sysutils/rsyslog8: patch so one can compile with libressl
Summary: sysutils/rsyslog8: patch so one can compile with libressl
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
Depends on:
Reported: 2021-04-07 20:19 UTC by dave
Modified: 2021-04-08 18:45 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (matthew)

patch-runtime-nsd__ossl.c (580 bytes, text/plain)
2021-04-07 20:19 UTC, dave
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description dave 2021-04-07 20:19:24 UTC
Created attachment 223907 [details]

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


and have verified that it allows rsyslog8 to compile.
Comment 1 Matthew Seaman freebsd_committer 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 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 2021-04-08 17:57:32 UTC
Committed, thanks!
Comment 4 dave 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.