Created attachment 246625 [details] [PATCH] irc/anope: fix build error with SASL on anope 2.0.4 removed[0] the `m_sasl_dh-aes` and `m_sasl_dh-blowfish` extra modules. FreeBSD's port attempts to enable them by symbolically linking to non-existent files when the SASL option is enabled. The attached patch fixes the resulting build error. [0] https://github.com/anope/anope/blob/2.0/docs/Changes.conf#L50
Created attachment 246626 [details] [PATCH] irc/anope: fix build error with SASL on Fixed patch attachment
Comment on attachment 246626 [details] [PATCH] irc/anope: fix build error with SASL on Siva Mahadevan Thanks for the patch! Although it is not necessary to select the SASL option, since version 2.0.6 the SASL module is loaded by default. I'll make this and some adjustments in the next commit. Thanks!
MAINTAINER, Can you commit the patch without flags set?
Hi Rafael, Are you ok to commit this patch as is without the adjustments ? Regards, -- Rodrigo
Patch work as expected. Also did some Makefile format fixes to make linters happy. PR is ready to land.
Hi Rodrigo, Yes, the patch can be commited. I will make some adjustments in the another PR to isolate the bug from an improvement. The patch provided was tested on FreeBSD 13.2 and FreeBSD 14.0 in a poudriere jail. Thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=43293f045cc51f73af6262e1603f420425dd9644 commit 43293f045cc51f73af6262e1603f420425dd9644 Author: Rodrigo Osorio <rodrigo@FreeBSD.org> AuthorDate: 2023-11-30 10:56:39 +0000 Commit: Rodrigo Osorio <rodrigo@FreeBSD.org> CommitDate: 2023-11-30 12:11:25 +0000 irc/anope: fix build error with SASL option enabled Also did some Makefile cleanup and reordering to make linters happy PR: 275399 Reported by: Siva Mahadevan <me@svmhdvn.name> Approved by: Rafael Grether <devnull@apt322.org> (maintainer) irc/anope/Makefile | 25 +++++++++++-------------- irc/anope/files/patch-CMakeLists.txt | 4 ++-- irc/anope/pkg-plist | 2 -- 3 files changed, 13 insertions(+), 18 deletions(-)
Committed, thanks.