From nobody Wed Jul 17 20:09:53 2024 X-Original-To: dev-commits-ports-all@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 4WPRqj34qvz5QJC9; Wed, 17 Jul 2024 20:09:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WPRqj2ZNYz4dtD; Wed, 17 Jul 2024 20:09:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721246993; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4mGtifDHuq6DfrJd/rW3gQi1YZYqqXd1/q1LSi2berE=; b=ViDR5NikU/+9fcucqn+OLcQPWjvLm/3RYYThGYbGiuEh0kU/9QtiO7NRLeYHTitBlzdMrX PbGJA0ddLwT4IHpXni2uZvWKgHR1FnEOLnqs8fEmG5b7TjkkhEGhRudFVZv7mqMEtcaioU 06V4AO0rKMN++Iaorw1Dxk3szdqwo1j7Uybj+fcqC/d2pkfJXUr6nj98AcMRs7T9ordZjC ahO/4k7Mcwz20hIv6VIfPk0sdgl6txyZRamBmtzCTAWcGovvsjF3Rxnvpu5canJG7wnUuU 6XsAPeP/U/9IkQXMKxyGcinPTmHuuFC4bvnOtITzMJ3ppXt0L51cvB2WZmV5/Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721246993; a=rsa-sha256; cv=none; b=gkixCvg8aDExW6CKNGfogebSqCjcpHS/xw1QVKBH88lO6F4Hk6LIf9xV92s20KhfEEZuxs VqHbMw+m58pc1XpRG921o5u6r/N7YTb7iJxHnj6CgjmPDH82xBDhI3397AQk1EsPCnauNR s0fwDaBp4Wz43FYf4nWR2wydPseVBa1taoGNrerauHYqCopcim7PAnAqWgUeYLC3cpaw8u cPvzhiDv3zO+ME4+sua6oROGTY5xGeO9z75uDHEEl04MVxfex0JmFVrcOMJTSAunIPlntR JrHrTuEWdTobbpnP7BfLH+EVNnL5vAmZL1ZgATTsKbd5/KuWh5ii93fvvWIMag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721246993; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4mGtifDHuq6DfrJd/rW3gQi1YZYqqXd1/q1LSi2berE=; b=JKdQpNcX2G5DXlS6ytpFJrzFBb7RNTav3xxuyf5MB1KuwJRmUaC0AOx4tqHKoc9agO9PQi blfqmaQtyg6Q1oiQGCkCz2aLWE4kLFZS8eBcDrvH2TbV5tHv+cN9TPGSM5Q6oRu+gKWb+V KHU5WuGDFB4IRZzlaaX9wFMOU1J5swxjGM5vN61RHI8IWOMDCPtHKhw4af2EVsYoZsT3aJ pZ6KAuXtZH3/eS8mB9wx5P3U41esR1miAAfV/y1EcJSd5rB4PCpRQffiGa7pNyiOfCW+Z0 ZePMNUy5ljiBscXS6RXHXty85oDA6jeTaHmwYPUHVHR1l8XxCPHloGpnTcyWDg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WPRqj29sPzJBc; Wed, 17 Jul 2024 20:09:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46HK9rid010041; Wed, 17 Jul 2024 20:09:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46HK9rVb010038; Wed, 17 Jul 2024 20:09:53 GMT (envelope-from git) Date: Wed, 17 Jul 2024 20:09:53 GMT Message-Id: <202407172009.46HK9rVb010038@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Bryan Drewery Subject: git: eb858c3a32c9 - 2024Q3 - ports-mgmt/portupgrade-devel: Fix with Ruby 3.2+ 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: bdrewery X-Git-Repository: ports X-Git-Refname: refs/heads/2024Q3 X-Git-Reftype: branch X-Git-Commit: eb858c3a32c9522d75a94f8ab8194af889a2ac05 Auto-Submitted: auto-generated The branch 2024Q3 has been updated by bdrewery: URL: https://cgit.FreeBSD.org/ports/commit/?id=eb858c3a32c9522d75a94f8ab8194af889a2ac05 commit eb858c3a32c9522d75a94f8ab8194af889a2ac05 Author: Bryan Drewery AuthorDate: 2024-07-17 20:07:15 +0000 Commit: Bryan Drewery CommitDate: 2024-07-17 20:09:41 +0000 ports-mgmt/portupgrade-devel: Fix with Ruby 3.2+ Copies the change to ports-mgmt/portupgrade made in commit 32a6b38c233cbe0c401c835ec8b5755e62b51d68 (cherry picked from commit 65e7ca580dfb5e9467727b09ceca69ed7faed619) --- ports-mgmt/portupgrade-devel/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile index ba8592cabdda..1ae4cf697486 100644 --- a/ports-mgmt/portupgrade-devel/Makefile +++ b/ports-mgmt/portupgrade-devel/Makefile @@ -1,6 +1,6 @@ PORTNAME= portupgrade PORTVERSION= 20180309 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 3 CATEGORIES= ports-mgmt MASTER_SITES= GH \ @@ -48,6 +48,11 @@ regression-test: patch post-patch: .SILENT REVISION=`readlink "${_DISTDIR}/portupgrade/latest" | ${SED} -E -e 's,.*pkgtools-(.*).tar.gz,\1,g'` && ${SED} -E -e "s,%%DATE%%,${PORTVERSION},g;s,%%REVISION%%,$${REVISION},g" \ ${WRKSRC}/lib/pkgtools/revision.rb.in > ${WRKSRC}/lib/pkgtools/revision.rb +.if ${RUBY_VERSION_CODE:U} >= 320 + cd ${WRKSRC} && ${FIND} bin etc lib -type f |\ + ${XARGS} ${REINPLACE_CMD} 's/File\.exists\?/File.exist?/' +.endif + post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/compat/pkg