FreeBSD Bugzilla – Attachment 190033 Details for
Bug 223359
security/py-fail2ban: after upgrade to 0.10.x, fail2ban no longer works with python 3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch
py-fail2ban.diff.txt (text/plain), 731 bytes, created by
theis
on 2018-01-24 15:35:57 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
theis
Created:
2018-01-24 15:35:57 UTC
Size:
731 bytes
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 459835) >+++ Makefile (working copy) >@@ -49,6 +49,11 @@ > > PY2TO3_CMD= ${LOCALBASE}/bin/2to3-${PYTHON_VER} > PY2TO3_ARG= --no-diffs --write --nobackups --fix=all >+PY2TO3_FILES= bin/fail2ban-client \ >+ bin/fail2ban-server \ >+ bin/fail2ban-regex \ >+ bin/fail2ban-testcases \ >+ fail2ban > > .include <bsd.port.pre.mk> > >@@ -61,8 +66,9 @@ > @${REINPLACE_CMD} -e 's,jail.conf(5),fail2ban-jail.conf(5),g' \ > ${MAN_FILES} > >+post-build: > . if ${PYTHON_MAJOR_VER} >= 3 >- (cd ${WRKSRC}/ && ${PY2TO3_CMD} ${PY2TO3_ARG} bin/* fail2ban) >+ (cd ${WRKSRC}/ && ${PY2TO3_CMD} ${PY2TO3_ARG} ${PY2TO3_FILES}) > . endif > > post-install:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
theis:
maintainer-approval+
Actions:
View
Attachments on
bug 223359
: 190033