diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-13 00:08:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-13 00:08:30 +0100 |
commit | 0ebcd2cbf178600b5eb36b2f24cdbb3d2f4a9000 (patch) | |
tree | 941e6ba8c256dd27e9f9ca634f08d4bf0278798e /dev-debug/gef | |
parent | f0ddcad13515f66d2f3bf827d33c277bdba7e1dd (diff) |
gentoo auto-resync : 13:06:2024 - 00:08:29
Diffstat (limited to 'dev-debug/gef')
-rw-r--r-- | dev-debug/gef/Manifest | 2 | ||||
-rw-r--r-- | dev-debug/gef/gef-2024.06.ebuild | 83 |
2 files changed, 85 insertions, 0 deletions
diff --git a/dev-debug/gef/Manifest b/dev-debug/gef/Manifest index 48edf1c40232..2c4af88616e6 100644 --- a/dev-debug/gef/Manifest +++ b/dev-debug/gef/Manifest @@ -1,6 +1,8 @@ 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 EBUILD gef-2023.08.ebuild 1602 BLAKE2B 6845fd1e36bf904b5d4dd82f3bada677d6189d013f851f9efb0ba5e6741c06ba8ebba32d6071fb18ca6004baecb0fb5248b5a14af045adbdf4975aa27b7464cd SHA512 8a0b35fa12cd7ef715ce149b777139d8e1ab25f49c4376c42c46b488e31e250100746039f424aabdfabe09bfea8e916840bf4de4102081b3890ba7438be1b141 EBUILD gef-2024.01.ebuild 1621 BLAKE2B ec56e43a24360fc702411bf466a3c7a1a8059ded684fdf1d8f4b6ba2d594cc90c5ddeecaafb3eb530e3f8dced2261b152e3b59aa276408edfa4fc4512fddeab6 SHA512 cafc63c7c0a427f2ccceae2b51f9c13559094d1a1eec7c8600b9853a53bb01575b0d8cb6429ca91d8b41471cd756284863728312b5d27b2e9dbb827704420005 +EBUILD gef-2024.06.ebuild 1623 BLAKE2B 56412e322545696c102c08cf838f5ee500f9154121e0dd133913ffd63c232b58c092942489987e527489d28a0d0137f398685371d104ebe4a9a5df5cbe3434de SHA512 2bfceea99e6db34575af3bddceb90d919d045adb3243a538ef4b771527740206234916690aad3258f5db04d288c6b765eeb37de32978dfbff608dcd441056ac0 EBUILD gef-9999.ebuild 1623 BLAKE2B 3cc6f7d75d58ac978c24a1ece80f2bc7512469ba002f26058ea6bd8458f9c405354169302b3a183dac114d578c560e03b0c5337441c3dc37d6f249754d9c257f SHA512 6b3b6f85600e6b274bf3401fd8faa0498b3f26d4cca7523afd0a57ddebf00bd670bf9730a9676f1e55902e653428601784403b895fce711fbea3c6a6474ba7e3 MISC metadata.xml 995 BLAKE2B f4c30ac2ea932c90b74800c44389169199cdc189e69584a3873c91b36086eb30b5d463a12a5b08cc45196aa57e939d00806e3d1e96fbb647c997ab891a312ea0 SHA512 b4e09578a7f5656688dced42d1f924ba928b59abcb8345fe143be11ae30b553cda26663c6771a99e44ffc9f72c187b871ee2d1c096bf49d37b1e0fd460653ad4 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 <program>\n" +} |