gef: new recipe

This commit is contained in:
Jérôme Duval
2026-04-14 20:46:10 +02:00
parent b2131fca2b
commit b8a88ced30

View File

@@ -0,0 +1,44 @@
SUMMARY="GDB enhanced features for exploiters and reverse-engineers"
DESCRIPTION="It provides additional features to GDB using the Python API to
assist during the process of dynamic analysis and exploit development.
Application developers will also benefit from it, as GEF lifts a great
part of regular GDB obscurity, avoiding repeating traditional commands,
or bringing out the relevant information from the debugging runtime."
HOMEPAGE="https://github.com/hugsy/gef"
COPYRIGHT="2013-2025 crazy rabbidz"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/hugsy/gef/archive/$portVersion/$portName-$portVersion.tar.gz.tar.gz"
CHECKSUM_SHA256="6e58afbda13ef976aa46a2f138b5422829a0d3c4b71246f4546cbd7383ce2e76"
ARCHITECTURES="any"
PROVIDES="
$portName = $portVersion
"
REQUIRES="
haiku
cmd:gdb
cmd:python3.10
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:python3.10
"
BUILD()
{
python3.10 -m compileall .
python3.10 -O -m compileall .
}
INSTALL()
{
mkdir -p $dataDir/gef $docDir
cp *.py $dataDir/gef/
cp -R __pycache__ $dataDir/gef/
cp -R docs/* $docDir
}