git: 1036c8dcca6e - main - security/py-fail2ban: Fix FAIL2BAN_DBDIR
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Jun 2023 22:06:50 UTC
The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=1036c8dcca6e51b2c3dac6b9ebabd42cfc334a90 commit 1036c8dcca6e51b2c3dac6b9ebabd42cfc334a90 Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2023-06-12 22:04:16 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2023-06-12 22:06:13 +0000 security/py-fail2ban: Fix FAIL2BAN_DBDIR FAIL2BAN_DBDIR is a user set option. Unfortunately plist is not updated resulting in plist errors. PR: 271972 MFH: 2023Q2 --- security/py-fail2ban/Makefile | 1 + security/py-fail2ban/pkg-plist | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/security/py-fail2ban/Makefile b/security/py-fail2ban/Makefile index dcc22566019f..1dacfecf45ed 100644 --- a/security/py-fail2ban/Makefile +++ b/security/py-fail2ban/Makefile @@ -47,6 +47,7 @@ MAN_FILES= ${WRKSRC}/man/fail2ban-client.1 \ ${WRKSRC}/man/fail2ban.1 FAIL2BAN_DBDIR= /var/db/${PORTNAME} +PLIST_SUB= FAIL2BAN_DBDIR=${FAIL2BAN_DBDIR} PY2TO3_CMD= ${LOCALBASE}/bin/2to3-${PYTHON_VER} PY2TO3_ARG= --no-diffs --write --nobackups --fix=all diff --git a/security/py-fail2ban/pkg-plist b/security/py-fail2ban/pkg-plist index 9836b30ee195..1709748512dc 100644 --- a/security/py-fail2ban/pkg-plist +++ b/security/py-fail2ban/pkg-plist @@ -6,7 +6,7 @@ man/man5/fail2ban-jail.conf.5.gz bin/fail2ban-python @dir %%ETCDIR%%/fail2ban.d @dir %%ETCDIR%%/jail.d -@dir /var/db/fail2ban +@dir %%FAIL2BAN_DBDIR%% @dir /var/lib/fail2ban @dir /var/lib @dir /var/run/fail2ban