From 821eeed50e2a80c0959b8199e364e838d285206c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Apr 2023 06:11:53 +0100 Subject: gentoo auto-resync : 25:04:2023 - 06:11:52 --- dev-util/gef/Manifest | 4 +- dev-util/gef/gef-2023.06.ebuild | 82 +++++++++++++++++++++++++++++++++++++++++ dev-util/gef/gef-9999.ebuild | 2 +- 3 files changed, 86 insertions(+), 2 deletions(-) create mode 100644 dev-util/gef/gef-2023.06.ebuild (limited to 'dev-util/gef') diff --git a/dev-util/gef/Manifest b/dev-util/gef/Manifest index 88cbdd3587ac..bb4fb0e27926 100644 --- a/dev-util/gef/Manifest +++ b/dev-util/gef/Manifest @@ -1,4 +1,6 @@ DIST gef-2022.06.tar.gz 217503 BLAKE2B b7038e0519f216669c38bdda7e12375fb1c9e5278c8b617df73932a750ee6552531929eebcac22321607f51592834ece70c850ce0ba4629bc383731bc8803bb3 SHA512 585bad8655a5208d060b1ccf455ab87527e47949fce1df188a5ac970ccd1bbfbdd87151f7a940edcfb879dd0ea846b5c4a8650fed856cd5dcaec0ddd3581f100 +DIST gef-2023.06.tar.gz 187126 BLAKE2B e44606249d42760caf4e47f1b2f5e4592255fd8b81b28cab313352d10dcbc47a79a0130e102cc2618fe88dc47a5589ed6bee3e7d80878cc66f5e9abd775c103e SHA512 5362234ae6b753abe719280640148978cd25f535249a1ad9311ebd66f99138d59d5b9f07e9e93ebe00aab4702c73229c2f3d92e2d70fb5daf3f30a49e4d3b8ff EBUILD gef-2022.06-r1.ebuild 1603 BLAKE2B caea975d2a7e9d40aaa5dc7f4bedd33bdf36fb41706ffb1ed3a67065577e332b10b63bb194d124a0f3446b5902ff332b243425359605b87d45e4b0663080536d SHA512 bf968affb09420dbc5d5ec6fb17a8a3d6c7c217673c3c43e2a061faac3e0e561ff3966cae9f6524064a8d0401530747cd0b794e5e7089574f39cbab054f7595f -EBUILD gef-9999.ebuild 1581 BLAKE2B 4ac30faab6ee9278bd922666e7588c78dfc7279a5937e5b9b70a7ed90fc63a0d1b9e53812333bda67466fe7b485c277876b0667d1bd82a2feb8931b5791f2fe0 SHA512 02d1b0b9fb7dedbef6f2f7ca00f569952b1274f5ff08333bf784e6bc962c516c73e6d059aa8dc8aaf77b2b385dd4f2678996b492fdd5ababcf1fa4d7445b024d +EBUILD gef-2023.06.ebuild 1605 BLAKE2B ccc0b89381ffd49e6f6e55c6c3569bff510f1748e0ef0c49201721f2f3e4acc8b125dfeca78b8966861d84a318bc4f4203d3f8a7b0577ee84f1163e6d1ccb0ad SHA512 5d1d6e1cbb81469814fcb12276c8c95fc0e1379f1f32075318e26220ed477d30bb42b39321d2fa96139c23ab8c382070d66758d215944024d1b42ad8ed3e770e +EBUILD gef-9999.ebuild 1605 BLAKE2B ccc0b89381ffd49e6f6e55c6c3569bff510f1748e0ef0c49201721f2f3e4acc8b125dfeca78b8966861d84a318bc4f4203d3f8a7b0577ee84f1163e6d1ccb0ad SHA512 5d1d6e1cbb81469814fcb12276c8c95fc0e1379f1f32075318e26220ed477d30bb42b39321d2fa96139c23ab8c382070d66758d215944024d1b42ad8ed3e770e MISC metadata.xml 995 BLAKE2B f4c30ac2ea932c90b74800c44389169199cdc189e69584a3873c91b36086eb30b5d463a12a5b08cc45196aa57e939d00806e3d1e96fbb647c997ab891a312ea0 SHA512 b4e09578a7f5656688dced42d1f924ba928b59abcb8345fe143be11ae30b553cda26663c6771a99e44ffc9f72c187b871ee2d1c096bf49d37b1e0fd460653ad4 diff --git a/dev-util/gef/gef-2023.06.ebuild b/dev-util/gef/gef-2023.06.ebuild new file mode 100644 index 000000000000..d6b6691121d0 --- /dev/null +++ b/dev-util/gef/gef-2023.06.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-material +" + +inherit python-single-r1 docs wrapper + +DESCRIPTION="A 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 ~arm ~arm64 ~ppc ~ppc64 ~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}] + sys-devel/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-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" +} diff --git a/dev-util/gef/gef-9999.ebuild b/dev-util/gef/gef-9999.ebuild index cd097e27cf2d..d6b6691121d0 100644 --- a/dev-util/gef/gef-9999.ebuild +++ b/dev-util/gef/gef-9999.ebuild @@ -20,7 +20,7 @@ if [[ ${PV} == 9999 ]]; then 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 ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" fi LICENSE="MIT" -- cgit v1.2.3