From nobody Tue Jan 13 14:51:50 2026 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4drBzF4lhjz6P1BW; Tue, 13 Jan 2026 14:51:53 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta003.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4drBzF2Lnmz45R9; Tue, 13 Jan 2026 14:51:53 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4004b.ext.cloudfilter.net ([10.228.9.230]) by cmsmtp with ESMTPS id ff5HvNbViAPFJffkOv1vxj; Tue, 13 Jan 2026 14:51:52 +0000 Received: from spqr.komquats.com ([70.66.136.217]) by cmsmtp with ESMTPSA id ffkNvsZTp532fffkOvmQxR; Tue, 13 Jan 2026 14:51:52 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=Z/Dh3XRA c=1 sm=1 tr=0 ts=69665c08 a=h7br+8Ma+Xn9xscxy5znUg==:117 a=h7br+8Ma+Xn9xscxy5znUg==:17 a=kj9zAlcOel0A:10 a=vUbySO9Y5rIA:10 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=YxBL1-UpAAAA:8 a=P4jMjcqamdMKPjIvglcA:9 a=CjuIK1q_8ugA:10 a=LK5xJRSDVpKd5WXXoEvA:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy.cwsent.com [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 0A232CE2; Tue, 13 Jan 2026 06:51:51 -0800 (PST) Received: by slippy.cwsent.com (Postfix, from userid 1000) id F2304540; Tue, 13 Jan 2026 06:51:50 -0800 (PST) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Cy Schubert cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: 4fde322e29b7 - main - security/py-fail2ban: Remove redundant 2to3 invocation In-reply-to: <69665a95.cfbe.13a3eed1@gitrepo.freebsd.org> References: <69665a95.cfbe.13a3eed1@gitrepo.freebsd.org> Comments: In-reply-to Cy Schubert message dated "Tue, 13 Jan 2026 14:45:41 +0000." List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 13 Jan 2026 06:51:50 -0800 Message-Id: <20260113145150.F2304540@slippy.cwsent.com> X-CMAE-Envelope: MS4xfH6lRgcqM4MaXyQ1DJ77CB2+xcxMmCOcezaUxi/thf/6K+Hs/qVm6T+eGsbjM1O0WIYCfZ+HXw5Kf8T3yDHRyIRETcaUR01PQqmmqaK9cslVxaTAZA/H 9Vx4zib6BfqtbTH2nhn3d2z7FnZWs4ngTaxn11+UPIeqm5rJmzlo4R09QOYwo+OJA2I5NLnj15riwxc5recrH7wSkPaDrmAabgzZRmYtT8uW5OownT5fNdjQ xQXraayXymkP/AJhur80em1B+kBWwI9AinakDg2tC+QosyA87GqlKcjYi01KVydOpT+0hxyxAHmLWNeCI/z3Vy7WZFJqT6ZjBKYvX/EDmHw= X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4drBzF2Lnmz45R9 In message <69665a95.cfbe.13a3eed1@gitrepo.freebsd.org>, Cy Schubert writes: > The branch main has been updated by cy: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=4fde322e29b7c70526c4a720939bee > 7ffb245c8b > > 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 292424 Oops. > 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 -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e**(i*pi)+1=0