J5Xsw2L0rFSNIChN2dzbnQIpHE0BcPjX A4SavB/eevGG/Vj26mS5OcIGmpe7l1TfmU1lKkQEFFixMGB6Y3DjUSQ2uTtIWVm71qrCpe fM0ImRcUA4LeIJ7e8vRI3vFw8EGulbitfO9qXQAPqmR/4KwcKpl6NT4wzsWUg+C6VlhRl8 qvoI+iYrTDwN51x3EUO1RFkKyRvIdY1DEuaLuH6xCoevemf4CSu2JKDYY0vRxQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4drBr54l3Kz1Jg for ; Tue, 13 Jan 2026 14:45:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id cfbe by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 13 Jan 2026 14:45:41 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Cy Schubert Subject: git: 4fde322e29b7 - main - security/py-fail2ban: Remove redundant 2to3 invocation List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4fde322e29b7c70526c4a720939bee7ffb245c8b Auto-Submitted: auto-generated Date: Tue, 13 Jan 2026 14:45:41 +0000 Message-Id: <69665a95.cfbe.13a3eed1@gitrepo.freebsd.org> The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=4fde322e29b7c70526c4a720939bee7ffb245c8b commit 4fde322e29b7c70526c4a720939bee7ffb245c8b Author: Cy Schubert AuthorDate: 2026-01-13 14:43:43 +0000 Commit: Cy Schubert CommitDate: 2026-01-13 14:45:23 +0000 security/py-fail2ban: Remove redundant 2to3 invocation As of upstream 9c5f6eea fail2ban is Python 3.x based. We no longer need 2to3 anymore. PR: 9c5f6eea MFH: 2026Q1 --- security/py-fail2ban/Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/security/py-fail2ban/Makefile b/security/py-fail2ban/Makefile index 2d4f78da12c4..53d3749f7f53 100644 --- a/security/py-fail2ban/Makefile +++ b/security/py-fail2ban/Makefile @@ -1,6 +1,6 @@ PORTNAME= fail2ban DISTVERSION= 1.1.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -50,9 +50,6 @@ MAN_FILES= ${WRKSRC}/man/fail2ban-client.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 - post-patch: @${REINPLACE_CMD} -e 's,/etc/fail2ban,${ETCDIR},g' ${FILES} @${REINPLACE_CMD} -e 's,paths-debian.conf,paths-freebsd.conf,g' \ @@ -64,10 +61,6 @@ post-patch: @${REINPLACE_CMD} -e 's, sed , ${SED} ,g' \ ${WRKSRC}/config/action.d/hostsdeny.conf - # XXX Ideally this should be in do-build but it only works in - # XXX post-patch - (cd ${WRKSRC}/ && ${PY2TO3_CMD} ${PY2TO3_ARG} bin/* fail2ban) - post-install: @${MKDIR} ${STAGEDIR}${FAIL2BAN_DBDIR} ${STAGEDIR}/var/run/fail2ban .for file in fail2ban-client fail2ban-regex fail2ban-server fail2ban