Created attachment 231054 [details] patch for modsecurity3-nginx 1.0.2 Patch for bringing modsecurity3-nginx into working order with nginx 1.20.2 (current/latest in ports); unfortunately version check fails in the current constellation. The patch fixes arguments to match with nginx and thus lets nginx load the module once again. Poudriere log will follow in a moment.
Created attachment 231055 [details] Poudriere Log Poudriere Log for 13.0x64
I just realized - I should probably also post the root cause that led to this patch: Installing stock modsecurity3-nginx with stock nginx - attempting to load modsecurity3-nginx module delivers error message: root@host:/usr/local/etc/nginx # nginx -t nginx: [emerg] module "/usr/local/libexec/nginx/ngx_http_modsecurity_module.so" version 1020000 instead of 1020002 in /usr/local/etc/nginx/nginx.conf:15 nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=37a457233085b387d3a60e3dd802aceb42be6834 commit 37a457233085b387d3a60e3dd802aceb42be6834 Author: Jochen Neumeister <joneum@FreeBSD.org> AuthorDate: 2022-02-17 22:02:00 +0000 Commit: Jochen Neumeister <joneum@FreeBSD.org> CommitDate: 2022-02-17 22:03:14 +0000 security/modsecurity3-nginx: Update NGINX version PR: 261254 Sponsored by: Netzkommune GmbH security/modsecurity3-nginx/Makefile | 4 ++-- security/modsecurity3-nginx/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)