objection-1.12.3.ebuild

This commit is contained in:
Anton Bolshakov 2026-02-01 14:04:04 +08:00
parent ce653def02
commit ed1dbeb2b8
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
11 changed files with 147 additions and 11 deletions

View file

@ -1 +1 @@
DIST litecli-1.17.0.tar.gz 898900 BLAKE2B 1a6b05ddffc16e902faa5fb83334fb39198d54cf269e7d281d6fa7c9a09ec6a155872361bd0ffc4928af322afdd1a016de73c87001a74ab617069c83ea667284 SHA512 2b164ff0e7615f127ac349694bd99bfb0c3d9cac58c9360158124625ed32f06a7390169d378cd3e1ccdf4a661b99ed57380e79f9ae86665ccc6ffb9db23bc43d
DIST litecli-1.17.1.tar.gz 900258 BLAKE2B c66da74e1b2fd2506bc603793751305be5b46b7e4023c4d65d450304a00f3197be2aa9f534726c291eb7a49e2f09c299a4c75ee16b67813bd033cbce08532cc5 SHA512 67945258564e650d395c5d86bde92cc1f92132763557d63937de7b53cd447018d80f606f9aa8f581a02f5f46da6fd3491f532c26418973acbe507ef8db6dd69f

View file

@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -16,13 +16,14 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
#FIXME: add "ai" flag, dev-python/llm
RDEPEND="
>=dev-python/click-4.1[${PYTHON_USEDEP}]
>=dev-python/cli-helpers-2.2.1[${PYTHON_USEDEP}]
>=dev-python/configobj-5.0.5[${PYTHON_USEDEP}]
>=dev-python/prompt-toolkit-3.0.3[${PYTHON_USEDEP}]
<dev-python/prompt-toolkit-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pygments-1.5[${PYTHON_USEDEP}]
>=dev-python/pygments-1.6[${PYTHON_USEDEP}]
>=dev-python/sqlparse-0.4.4[${PYTHON_USEDEP}]
"
BDEPEND="

View file

@ -2,3 +2,5 @@ DIST build-tools_r30.0.3-linux.zip 53134793 BLAKE2B e1456d5dec94c738f10021a372d5
DIST build-tools_r31-linux.zip 54931191 BLAKE2B 6012b1e61931e6ea9e7f37ac46254400a8b224456731e39e3755f113f68522a3945169f0b0be7a40b06f9628de5b8df35be84fa204ebf3ae62084eee555a9059 SHA512 fa18b60cd0993826bdbf09ca216aa82e127aa711807c0aa500ddb447162eb1eecdd74c07ed01b8bc00ae2229dff134f56877bacc16c2467971b0302d70082253
DIST build-tools_r33-linux.zip 56000182 BLAKE2B cc73608cc6d26945dcb39b3227232c80e40612bd2dc4dc96bbd840a1679085c54cc06902ad74caff3991ab3e9f1088bc9c174823c67707f1a3ea791ee66e6b93 SHA512 cc30ed55fdd17919b398d88e9e78b4326b17d5706ca464da3f4835010e7af2904afb51d3e18205c4154960e40a5a18e32489ab22afb8182c9e7d5c9bb999994d
DIST build-tools_r34-linux.zip 61224257 BLAKE2B c1faeb14f3abe4f35cba51bf1d23471e62778532b8d8993d947919ba9a1bc0e06820c02fa74b6cd9c0ca4f5008ba0810b33784646e91339803fa4768fde7e74f SHA512 c28dd52f8eca82996726905617f3cb4b0f0aee1334417b450d296991d7112cab1288f5fd42c48a079ba6788218079f81caa3e3e9108e4a6f27163a1eb7f32bd7
DIST build-tools_r35_linux.zip 61958799 BLAKE2B 1a63a5e000de6dc06c5549c0076c3d7c34a085e5c344678cd9b9d8c488fd70e72b7edcdeabb2bcbbe82e7bcf2851d13150fd1bae8f7c6a12c9013aed972ca241 SHA512 b45dc6b7298567f3b45428def0b85584b99b125a3719dfb74a82732bf2b86a0c66161682f3c3d7a50cefaf6e1a2d993975665272e16f00b231a15a9a4512cc1e
DIST build-tools_r36_linux.zip 63737259 BLAKE2B da5596170acd125424c3054105a9006e4dae7dc05caef50cd7c5dcd3426ae874147302b9b2bfc26a57a8dfa0dffc40d3fab7f953cb5da21e68df562d011067e1 SHA512 277c08c2dcced3c1cc46ce0349e18adc6d6d4b8739868eab5d469f9fb4e9c6b79aa9d2a6592cfc5db0ccb8690fcc75a44db4b18b03dcf349efd0eb54025ef5ca

View file

@ -7,6 +7,7 @@ DESCRIPTION="Android SDK Build Tools"
HOMEPAGE="https://developer.android.com/studio/releases/build-tools"
#https://androidsdkoffline.blogspot.com/p/android-sdk-build-tools.html
SRC_URI="https://dl.google.com/android/repository/build-tools_r${PV}-linux.zip"
S="${WORKDIR}/android-11"
LICENSE="android"
SLOT="0"
@ -20,8 +21,6 @@ DEPEND="${RDEPEND}"
RESTRICT="strip"
QA_PREBUILT="*"
S="${WORKDIR}/android-11"
ANDROID_SDK_BUILD_TOOLS_DIR="/opt/android-sdk-update-manager/build-tools/${PV}"
src_install() {

View file

@ -7,6 +7,7 @@ DESCRIPTION="Android SDK Build Tools"
HOMEPAGE="https://developer.android.com/studio/releases/build-tools"
#https://androidsdkoffline.blogspot.com/p/android-sdk-build-tools.html
SRC_URI="https://dl.google.com/android/repository/build-tools_r${PV}-linux.zip"
S="${WORKDIR}/android-12"
LICENSE="android"
SLOT="0"
@ -20,8 +21,6 @@ DEPEND="${RDEPEND}"
RESTRICT="strip"
QA_PREBUILT="*"
S="${WORKDIR}/android-12"
ANDROID_SDK_BUILD_TOOLS_DIR="/opt/android-sdk-update-manager/build-tools/${PV}"
#FIXME: may need:

View file

@ -7,6 +7,7 @@ DESCRIPTION="Android SDK Build Tools"
HOMEPAGE="https://developer.android.com/studio/releases/build-tools"
# https://androidsdkoffline.blogspot.com/p/android-sdk-build-tools.html
SRC_URI="https://dl.google.com/android/repository/build-tools_r${PV}-linux.zip"
S="${WORKDIR}/android-13"
LICENSE="android"
SLOT="0"
@ -20,8 +21,6 @@ DEPEND="${RDEPEND}"
RESTRICT="strip"
QA_PREBUILT="*"
S="${WORKDIR}/android-13"
ANDROID_SDK_BUILD_TOOLS_DIR="/opt/android-sdk-update-manager/build-tools/${PV}"
#FIXME: may need:

View file

@ -7,6 +7,7 @@ DESCRIPTION="Android SDK Build Tools"
HOMEPAGE="https://developer.android.com/studio/releases/build-tools"
# https://androidsdkoffline.blogspot.com/p/android-sdk-build-tools.html
SRC_URI="https://dl.google.com/android/repository/build-tools_r${PV}-linux.zip"
S="${WORKDIR}/android-14"
LICENSE="android"
SLOT="0"
@ -20,8 +21,6 @@ DEPEND="${RDEPEND}"
RESTRICT="strip"
QA_PREBUILT="*"
S="${WORKDIR}/android-14"
ANDROID_SDK_BUILD_TOOLS_DIR="/opt/android-sdk-update-manager/build-tools/${PV}"
#FIXME: may need:

View file

@ -0,0 +1,39 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Android SDK Build Tools"
HOMEPAGE="https://developer.android.com/studio/releases/build-tools"
# https://androidsdkoffline.blogspot.com/p/android-sdk-build-tools.html
SRC_URI="https://dl.google.com/android/repository/build-tools_r${PV}_linux.zip"
S="${WORKDIR}/android-15"
LICENSE="android"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="ncurses"
RDEPEND="ncurses? ( sys-libs/ncurses-compat )
sys-libs/zlib"
DEPEND="${RDEPEND}"
RESTRICT="strip"
QA_PREBUILT="*"
ANDROID_SDK_BUILD_TOOLS_DIR="/opt/android-sdk-update-manager/build-tools/${PV}"
#FIXME: may need:
#dodir /etc/revdep-rebuild
#/opt/android-sdk-update-manager/build-tools/33/lib64/libLLVM_android.so
#/opt/android-sdk-update-manager/build-tools/33/lib64/libclang_android.so
src_install() {
dodir "${ANDROID_SDK_BUILD_TOOLS_DIR}/"
cp -R "${S}"/* "${ED}/${ANDROID_SDK_BUILD_TOOLS_DIR}/" || die "Copy files failed"
for linkfile in aapt aapt2 apksigner dexdump zipalign
do
dosym "${EPREFIX}${ANDROID_SDK_BUILD_TOOLS_DIR}/$linkfile" /usr/bin/$linkfile
done
}

View file

@ -0,0 +1,40 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Android SDK Build Tools"
HOMEPAGE="https://developer.android.com/studio/releases/build-tools"
# https://androidsdkoffline.blogspot.com/p/android-sdk-build-tools.html
SRC_URI="https://dl.google.com/android/repository/build-tools_r${PV}_linux.zip"
S="${WORKDIR}/android-16"
LICENSE="android"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="ncurses"
RDEPEND="ncurses? ( sys-libs/ncurses-compat )
sys-libs/zlib"
DEPEND="${RDEPEND}"
BDEPEND="app-arch/unzip"
RESTRICT="strip bindist mirror"
QA_PREBUILT="*"
ANDROID_SDK_BUILD_TOOLS_DIR="/opt/android-sdk-update-manager/build-tools/${PV}"
#FIXME: may need:
#dodir /etc/revdep-rebuild
# /opt/android-sdk-update-manager/build-tools/36/lib64/libLLVM_android.so: libncurses.so.5 libtinfo.so.5
# /opt/android-sdk-update-manager/build-tools/36/lib64/libclang_android.so: libncurses.so.5 libtinfo.so.5
src_install() {
dodir "${ANDROID_SDK_BUILD_TOOLS_DIR}/"
cp -R "${S}"/* "${ED}/${ANDROID_SDK_BUILD_TOOLS_DIR}/" || die "Copy files failed"
for linkfile in aapt aapt2 apksigner dexdump zipalign
do
dosym "${EPREFIX}${ANDROID_SDK_BUILD_TOOLS_DIR}/$linkfile" /usr/bin/$linkfile
done
}

View file

@ -1,4 +1,5 @@
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.12.3.tar.gz 1740380 BLAKE2B 8695b87941649312fe5f281693857aa4a8c738529a9098e424e52d766a24d65e69208563ff6ce025e24275a196860530de2d99a200495f1792cbf0146e2ec92b SHA512 7372c4108e6b3abe35056b14ea5472611585b3e8031a2b66b5d2d05d61d95db8c5988747455ecf097629e0336f8d033fa9205581eb6b17bbf66dd7788dec3482
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
}