From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1719416-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 385C01582EF
	for <garchives@archives.gentoo.org>; Wed, 19 Feb 2025 11:14:17 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 21E7534322A
	for <garchives@archives.gentoo.org>; Wed, 19 Feb 2025 11:14:17 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id 84F79110479;
	Wed, 19 Feb 2025 11:14:03 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id 7CDB8110476
	for <gentoo-commits@lists.gentoo.org>; Wed, 19 Feb 2025 11:14:03 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 33B6C3431CD
	for <gentoo-commits@lists.gentoo.org>; Wed, 19 Feb 2025 11:14:03 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 73F342742
	for <gentoo-commits@lists.gentoo.org>; Wed, 19 Feb 2025 11:14:00 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1739963482.e5e6d08152650582d27c1972061962e2d25ddf47.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ROPgadget/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-util/ROPgadget/Manifest dev-util/ROPgadget/ROPgadget-7.6.ebuild
X-VCS-Directories: dev-util/ROPgadget/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: e5e6d08152650582d27c1972061962e2d25ddf47
X-VCS-Branch: master
Date: Wed, 19 Feb 2025 11:14:00 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: f6f136ea-d78f-4817-b3d6-ca35608824a2
X-Archives-Hash: 62a70500f2829a7c873f272316d0bf5f

commit:     e5e6d08152650582d27c1972061962e2d25ddf47
Author:     Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Wed Jan 29 19:40:10 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 19 11:11:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5e6d081

dev-util/ROPgadget: add 7.6

Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/40370
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/ROPgadget/Manifest             |  1 +
 dev-util/ROPgadget/ROPgadget-7.6.ebuild | 35 +++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/dev-util/ROPgadget/Manifest b/dev-util/ROPgadget/Manifest
index 033d3f20e0ce..3b1aea92bb2e 100644
--- a/dev-util/ROPgadget/Manifest
+++ b/dev-util/ROPgadget/Manifest
@@ -1,2 +1,3 @@
 DIST ROPgadget-7.4.gh.tar.gz 10110520 BLAKE2B 1c5dc52d377b4b580aa72351ce7863c9f819b39cbf0732b33eb8330d0229166250978fde123f8bf1e3a45d5fe791b17da1a93a49c8c45755d5dc1b7f8e05bf52 SHA512 0906cf7e916967ac5f446778ddc4ffdca78b8cf23c584968c116fdd43bc8488624104fbb78380516a54356dc4c4d50c5d10cc462bdd507435d5f70f8b9d51fa7
 DIST ROPgadget-7.5.gh.tar.gz 11015501 BLAKE2B 03bb469bdc0ee6d885f5caf6742dfb8ad29323eead9f3e2bc5bdc2729902b111c405443860249fb3d2e86e9e150ea8135217a761b6071d522eeab0db4171300b SHA512 441e55bae44eec67ac1080ed5be40c861e9ed1fe8296ea5dba8b62dba1e9294e7ffedb016357f52618459e190c70ca526632cd9794d47654812fb0fd68e3ffdb
+DIST ROPgadget-7.6.gh.tar.gz 11024630 BLAKE2B 237b0cee0b2496959648862543611078a75fae65f6e2b163f213299745b11688cae72d5390960d41a390a060533969c987e10976c4a896e10e8c792e85175138 SHA512 1eae4021e40e805c3a8e41a5dbca54a8cf0712d72ba189fc18f8f02ddc855c0828d0efe86e07d1c2faafc639dc10a78d5d2fadd3fb8510d50f8ea06c0d89c1d2

diff --git a/dev-util/ROPgadget/ROPgadget-7.6.ebuild b/dev-util/ROPgadget/ROPgadget-7.6.ebuild
new file mode 100644
index 000000000000..b2fb99e26189
--- /dev/null
+++ b/dev-util/ROPgadget/ROPgadget-7.6.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1
+
+DESCRIPTION="Search for gadgets in binaries to facilitate your ROP exploitation"
+HOMEPAGE="https://shell-storm.org/project/ROPgadget/"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/JonathanSalwan/ROPgadget"
+else
+	SRC_URI="https://github.com/JonathanSalwan/ROPgadget/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+	KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+RDEPEND="
+	${PYTHON_DEPS}
+	>=dev-libs/capstone-5.0.1[python,${PYTHON_USEDEP}]
+"
+
+src_test() {
+	pushd test-suite-binaries || die
+	./test.sh || die
+	popd || die
+}