Created attachment 219919 [details] patch Upgrade security/py-fail2ban to version 0.11.2
Created attachment 219922 [details] Poudriere build log Hi, I am testing this in poudriere and it reports a problem with the plist. The software installs a bunch of files in "%%PYTHON_SITELIBDIR%%/fail2ban/tests". These are not included in the plist. If they are part of the standard installation they should be added there. They should be included in the plist if required. If not is there a flag in fail2ban which prevents these from being generated/installed? As a last resort, if these files are not needed in user installations you could remove them from STAGEDIR with a command in the post-install target, but this is not the best solution. I'm attaching the build log so you can see the problem.
Oh, I noticed, looks like the option to disable test file installation has changed to "--without-tests" (note the extra "s"). I'm now changing that and testing again.
(In reply to Guido Falsi from comment #2) Ok not so easy, looks like that option is honored only if passed with the build option.
I'll have a look. It's strange, I haven't change the build itself, and tests were always part of the source but not of the FreeBSD port.
Created attachment 219924 [details] New patch I've created a patch which installs without errors/warnings. Does this look correct to you?
Yes! Thank you very much
A commit references this bug: Author: madpilot Date: Tue Nov 24 21:21:00 UTC 2020 New revision: 556221 URL: https://svnweb.freebsd.org/changeset/ports/556221 Log: - Update fail2ban to 0.11.2 - Remove patches now included in the upstream code - Adapt option to not install test files PR: 251341 Submitted by: theis@gmx.at (maintainer) Changes: head/security/py-fail2ban/Makefile head/security/py-fail2ban/distinfo
Committed. Thanks!