Merge pull request #2605 from blshkv/master

objection
This commit is contained in:
github-actions[bot] 2025-11-22 11:27:30 +00:00 committed by GitHub
commit a70655ed65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 59 additions and 0 deletions

View file

@ -1,2 +1,4 @@
DIST objection-1.11.0.tar.gz 1702819 BLAKE2B 8abbb0af21e2fc4cbae73753f6b15353f93918f0d03abd5e0670772596db00890731489614e224e2bf9e389cda7fb92c9460314affb8074f66fc983c1c314797 SHA512 a69237c963bef05d87dd142b52a2d34f1839ba9e95d4e409d6ec954f0cc5c9fc808cdbaea87a2622128b1a9a068a7acad5ee8bb3e1175515572b0d3fdbe580d7 DIST objection-1.11.0.tar.gz 1702819 BLAKE2B 8abbb0af21e2fc4cbae73753f6b15353f93918f0d03abd5e0670772596db00890731489614e224e2bf9e389cda7fb92c9460314affb8074f66fc983c1c314797 SHA512 a69237c963bef05d87dd142b52a2d34f1839ba9e95d4e409d6ec954f0cc5c9fc808cdbaea87a2622128b1a9a068a7acad5ee8bb3e1175515572b0d3fdbe580d7
DIST objection-1.12.2-node_modules.tar.gz 39677200 BLAKE2B 980fcb6e4212014efdc49b17ebc78f944b86c34cf7c103e06cafac9ecd7fe2f9e0ace995afe196fede7540d3b64bc62b39e838815f7e909e63ec3a3352e69f17 SHA512 88e3d0d8e46039ce40a76385024566a55f05dc70be768297e870759227aa762dc27991f1f32452839db741a6819f1a18788aba08c25b09c0d1b17d06208d1904
DIST objection-1.12.2.tar.gz 1740302 BLAKE2B 8b9efe6a8bd346881b48d73432a5c0156495008f7484cfe5c33cee1921705f48d91166084b398f20a581043211e8325c6f4ea9abe05345a076a038f1d5b484f9 SHA512 f316df1823c3d3c504f62786a7dd4182fd72cf888a810ec3b547d820655d9ab6b7406c45e64c919275bc8787174218349c13613723a29f2dfae83b7d97c5474c
DIST objection-1.9.5-node_modules.tar.gz 17429880 BLAKE2B 33496aefdfb8583fb8310bb97fd19fcf454ba49a13b5c3abd09c367c777331ff3efa45e208c9c9320e800ef943c557f77f000bc302b15feceeef61b0e15fe3ec SHA512 1a220de76e158bd33a97c148735d92be4e60878e8fec0990656c3176c00a5097dbeb0782893bb8484e3372f58074b230324bd82494f8ce2a314dcc255e625348 DIST objection-1.9.5-node_modules.tar.gz 17429880 BLAKE2B 33496aefdfb8583fb8310bb97fd19fcf454ba49a13b5c3abd09c367c777331ff3efa45e208c9c9320e800ef943c557f77f000bc302b15feceeef61b0e15fe3ec SHA512 1a220de76e158bd33a97c148735d92be4e60878e8fec0990656c3176c00a5097dbeb0782893bb8484e3372f58074b230324bd82494f8ce2a314dcc255e625348

View file

@ -0,0 +1,57 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
DESCRIPTION="Runtime mobile exploration"
HOMEPAGE="https://github.com/sensepost/objection"
#to re-generate node_modules run "npm build agent/" in WORKDIR
SRC_URI="https://github.com/sensepost/objection/archive/${PV}.tar.gz -> ${P}.tar.gz
https://dev.pentoo.ch/~blshkv/distfiles/objection-1.12.2-node_modules.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="patchapk"
RDEPEND=">=dev-util/frida-tools-7.0.0[${PYTHON_USEDEP}]
virtual/frida[${PYTHON_USEDEP}]
>=dev-python/prompt-toolkit-3.0.3[${PYTHON_USEDEP}] <dev-python/prompt-toolkit-4.0.0[${PYTHON_USEDEP}]
dev-python/click[${PYTHON_USEDEP}]
dev-python/tabulate[${PYTHON_USEDEP}]
>=dev-python/semver-2[${PYTHON_USEDEP}]
dev-python/delegator[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
>=dev-db/litecli-1.3.0[${PYTHON_USEDEP}]
net-libs/nodejs[npm]
patchapk? (
dev-util/android-sdk-build-tools
dev-util/android-tools
virtual/jdk:*
dev-util/apktool
)"
#patchapk
#https://github.com/sensepost/objection/wiki/Patching-Android-Applications#patching---dependencies
#patchipa
#https://github.com/sensepost/objection/wiki/Patching-iOS-Applications#patching---dependencies
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
src_prepare() {
rm -r tests
# mv "${WORKDIR}/node_modules" "${S}/agent/" || die "unable to move node_modules"
eapply_user
}
python_compile() {
addpredict /etc/npm
emake frida-agent
distutils-r1_python_compile
}