Skip to content

Commit

Permalink
security/py-fail2ban: Fix FAIL2BAN_DBDIR
Browse files Browse the repository at this point in the history
FAIL2BAN_DBDIR is a user set option. Unfortunately plist is not updated
resulting in plist errors.

PR:	271972
MFH:	2023Q2
  • Loading branch information
cschuber committed Jun 12, 2023
1 parent 12c3b68 commit 1036c8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions security/py-fail2ban/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion security/py-fail2ban/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1036c8d

Please sign in to comment.