From nobody Thu May 19 13:51:36 2022 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 52C0E1AE257B; Thu, 19 May 2022 13:51:36 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L3rqr1rD1z3vrt; Thu, 19 May 2022 13:51:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652968296; 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=RTb3N/z9w36func6SVgKF9/av9o5vk6leYZaBajJKqI=; b=AfWQfX7XDdSK8iLmw6VDhfel/s7aN4wlIrkpZnYYAAovsKlt0JKuUyesIrH1Lo0jH9bSEL yEyPYmfv5ZLa/1WcR2XB8nmizsgTdDjLhYwlx3osiVS8ZplBJNZdC0iwyLZ3iVY/dw7Fhc ViIp1Vnk6+AVaM2X5Q9AWWAUsCKvR1xW0JZDiwlGhDJ6xb+KrTa+A2y7WHka9DNP3FZygx MR6VP5qI1rP7jvT3B9XRvW4Bbb6iB9CaFev9O8b8yfMJp0sd/x3dzuZ73hCjSXKAoe8r2g rHMGO7jGFdQ04brrwM7EZKLA8YzuuvTb3tx/8XdmX/2J5hvD8IGjvihcxxdQOA== 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 202AC1F080; Thu, 19 May 2022 13:51:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24JDpaRC013261; Thu, 19 May 2022 13:51:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24JDpaRf013260; Thu, 19 May 2022 13:51:36 GMT (envelope-from git) Date: Thu, 19 May 2022 13:51:36 GMT Message-Id: <202205191351.24JDpaRf013260@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 8bc0ccb51f75 - main - security/gef: Do not depend on "python3" executable 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8bc0ccb51f755fec4f8007abf558680f461a44a7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652968296; 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=RTb3N/z9w36func6SVgKF9/av9o5vk6leYZaBajJKqI=; b=qb1SuiLhG2Dh7PONKODqPEJAgfVqzcpp6iyF9uoBVME5Xgg+Ih4/aQqhx3k8UAGDQz1weZ 0x2Fgh3C0c/u9JpFXjVrYZLbIzdbsMQ4tYfBWOi2oLoRd+Sth+ULK1n+58VyXKKkiC/CtK SL/taut/Z7mI5qjE6tFdwkZboRLc8MG/rSCyUkUu1mH1Ii96Lg8ZQCBCOKlKN6PqTc0dTD sg/3fOqnQpNQpyvImhn9CnAOzE44JOGl3zqjL1znqn0H9UJxNI/LyC5wLHS5sMRPAL8BT6 mqKCc0zEM6cmz1OA/lWx2xGBF17DiCsek8tfuGkmd5BUUyIp1Hcn5NAl6JsCTA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652968296; a=rsa-sha256; cv=none; b=F/7Q6GDGpayopHuSWdJoIdA2xOUqGjFvmB2Hq7HeVoKqHNh4i6TRoxdKo+bKalidLsZwuM kLBYZpJHe1XQvme+9M3b8UivIu1I0CH4MUXY/YQtDhHlUhF5pKrt71rspngKdqVSljnwok lD0tz/jhzautAnMvZkU1MKk+NzCCrWe8n3ixpSCEdCqwIchvBh8wyyTn6PaYP0Xxf0HNcL w9PBDSPFIbJ3oRxHSQ59rIiUtAtjgAEYsXmICt72NCvTIg99O+osMx7vsp3oUV6axuvPJ5 knOyDeR5U2NX5bmN5CQ0P6nJqoa+S9FrKtOKTmtS2Iu2Vd5gbT3cn46FgTxSMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/ports/commit/?id=8bc0ccb51f755fec4f8007abf558680f461a44a7 commit 8bc0ccb51f755fec4f8007abf558680f461a44a7 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-04-30 16:34:20 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-05-19 13:50:36 +0000 security/gef: Do not depend on "python3" executable Instead, use "pythonX.Y", as recommended by the ports framework. MFH: 2022Q2 --- security/gef/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/security/gef/Makefile b/security/gef/Makefile index 989d04273d6b..f922656ce851 100644 --- a/security/gef/Makefile +++ b/security/gef/Makefile @@ -1,5 +1,6 @@ PORTNAME= gef DISTVERSION= 2022.01 +PORTREVISION= 1 CATEGORIES= security python MAINTAINER= 0mp@FreeBSD.org @@ -34,6 +35,9 @@ OPTIONALDEPS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}capstone>0:devel/py-capstone@${ _UTILITY_NAME= gef.py +post-patch: + ${REINPLACE_CMD} 's|%%PYTHON%%|${PYTHON_CMD:T}|g' ${WRKSRC}/${_UTILITY_NAME} + do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/${_UTILITY_NAME} ${STAGEDIR}${DATADIR}