From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A2189158004 for ; Wed, 12 Jun 2024 04:59:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A1B5E2A88; Wed, 12 Jun 2024 04:59:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 pigeon.gentoo.org (Postfix) with ESMTPS id 39E6CE2A87 for ; Wed, 12 Jun 2024 04:59:10 +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 6D04D335DCC for ; Wed, 12 Jun 2024 04:59:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 04D5D1C9A for ; Wed, 12 Jun 2024 04:59:08 +0000 (UTC) From: "Sam James" 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" Message-ID: <1718168298.1e88765b995741eaad37324432bce4b1f46a6ada.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-debug/gef/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-debug/gef/Manifest dev-debug/gef/gef-2024.06.ebuild X-VCS-Directories: dev-debug/gef/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1e88765b995741eaad37324432bce4b1f46a6ada X-VCS-Branch: master Date: Wed, 12 Jun 2024 04:59:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: efdda9d4-4243-449a-bfba-e5a34d078e24 X-Archives-Hash: 5a996815e4407f0f192872d1406914b5 commit: 1e88765b995741eaad37324432bce4b1f46a6ada Author: Mario Haustein hrz tu-chemnitz de> AuthorDate: Mon Jun 3 23:25:44 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Jun 12 04:58:18 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e88765b dev-debug/gef: add 2024.06 Signed-off-by: Mario Haustein hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/37015 Signed-off-by: Sam James gentoo.org> dev-debug/gef/Manifest | 1 + dev-debug/gef/gef-2024.06.ebuild | 83 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) diff --git a/dev-debug/gef/Manifest b/dev-debug/gef/Manifest index ba2a872e5a3b..74164339e68a 100644 --- a/dev-debug/gef/Manifest +++ b/dev-debug/gef/Manifest @@ -1,2 +1,3 @@ DIST gef-2023.08.tar.gz 230347 BLAKE2B b9b8fed1bdf81fa870583921c4bdd6df2d98112748c939da48acae7e636ec6e22dc751d8ed75e52e72ff0aa04835720293f0e82e99ff614c447f2a614c76e48a SHA512 d3a26826b991db7e8d475da945b16933ce046dd64381f5df60ea0fe310d0325f39b05142de5f75abbbd5693c93ad70ff25e982d0ff3526a6fe66fd7526a359c5 DIST gef-2024.01.tar.gz 235145 BLAKE2B f5409e592c50dbbe65761e7727f28aa7a96b130449f187e392cc0170707b7cfb2d1bf9e75581dce7dce8ff6d004ffc624d34a46b7ba35ab434a5671662860bdb SHA512 d8dbc308f864e434ea79eaf44e329e11f2cea9836a5dcdc019bd621bbec6792f70e58edd9fd8b3c434dc61a17fbac08394e281530423081beb1cc1192aece79c +DIST gef-2024.06.tar.gz 243709 BLAKE2B e01b07f12c147103c544713ca4139e75ab961a29b139278e0c3765a0f595bec5e27dcc1e783dbb8657e18c029c1a2b28a073d2784912c836d5d508d2fb62f6ff SHA512 5eaa3fc1a39146d241f58bf3f5f3e912ad00b098b414c27a2d3a6e5b5f74e415b2d141cd9e7ccf3fd4aaa1b711ab62cc32d666cbc51dedf8a14b315df182d861 diff --git a/dev-debug/gef/gef-2024.06.ebuild b/dev-debug/gef/gef-2024.06.ebuild new file mode 100644 index 000000000000..ab3ad1835c9a --- /dev/null +++ b/dev-debug/gef/gef-2024.06.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-material +" + +inherit python-single-r1 docs wrapper + +DESCRIPTION="GDB Enhanced Features for exploit devs & reversers" +HOMEPAGE="https://github.com/hugsy/gef" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hugsy/gef" +else + SRC_URI="https://github.com/hugsy/gef/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="test" +# Seem to hang right now? +RESTRICT="!test? ( test ) test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + dev-util/ropper[${PYTHON_SINGLE_USEDEP}] + dev-debug/gdb[python,${PYTHON_SINGLE_USEDEP}] + $(python_gen_cond_dep ' + dev-libs/capstone[python,${PYTHON_USEDEP}] + dev-libs/keystone[python,${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] + dev-python/rpyc[${PYTHON_USEDEP}] + dev-util/unicorn[python,${PYTHON_USEDEP}] + ')" + +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ') + )" + +DOCS=( README.md ) + +src_prepare() { + default + + sed -i -e '/pylint/d' tests/requirements.txt || die +} + +src_compile() { + # Tries to compile tests + : + + docs_compile +} + +src_install() { + insinto "/usr/share/${PN}" + doins -r *.py + + python_optimize "${ED}/usr/share/${PN}" + + make_wrapper "gdb-gef" \ + "gdb -x \"/usr/share/${PN}/gef.py\"" || die + + einstalldocs +} + +pkg_postinst() { + einfo "\nUsage:" + einfo " ~$ gdb-gef \n" +}