mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 12:30:44 +02:00
frida: 17.1.2, restructure
This commit is contained in:
parent
0aaece223f
commit
0179474346
29 changed files with 190 additions and 119 deletions
|
|
@ -18,7 +18,7 @@ KEYWORDS="amd64 ~arm64 x86"
|
|||
RDEPEND="${PYTHON_DEPS}
|
||||
>=dev-libs/capstone-4.0.1[python,${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/frida-python-12.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/frida-12.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyqt5-5.11.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyperclip-1.7.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
DIST frida-core-devkit-16.0.19-linux-arm64.tar.xz 36153480 BLAKE2B 57422a34ab549271f87ac54c055fe27463a6773de20b711fe9a45382c41e507011c9154108367f4fc6a79649f62b17b7db402dca4354d40fb29b7297cc756635 SHA512 493c9a45e44cf69f026aabba46975c190fd99d98d0c779b26de685359b6b66d81a25875a5144b8b3ee47ad412248f4b9aeb0cbfa3fa2d2dbaa61f918c2b81a21
|
||||
DIST frida-core-devkit-16.0.19-linux-x86.tar.xz 33205268 BLAKE2B 8e5cfb7a63d46976aa97077ae6691a4f42e24aec1e06206099788fe28da4b5fab5a10be3816daad3b943f344acf0cb03861b2856843792a41640a7697df1b40b SHA512 f4c91b4ca1c4a5441beaab8659627c5cdb6ee4c5acb2ccda6fb92c26a222a94a13448b919942efa16ac6b66ec197460fcd65ce762eddd8eb4e5efffbf52a9877
|
||||
DIST frida-core-devkit-16.0.19-linux-x86_64.tar.xz 37186960 BLAKE2B 04d0cc2ee37f6ca88451ca55cf99028d0c3653c48907dffcfcf2426c460fea2e1cbc6047b4474841eef5163391bdb75843ab94f96092a58b21f220751a782dbb SHA512 6b35961c61782fd0a1566a2ce50552820365f8a132daaa54d1e2b2629588b72750e1af5232164145d907eace371b3d8a168f5d9c828fbf94a644774b7f41de18
|
||||
DIST frida-core-devkit-16.1.8-linux-arm64.tar.xz 40749916 BLAKE2B 294395aa61a3156362bc4c431162fe336f325fa0ecb02b8de2fab8941be5a23fadc4b5c500e7d57ed84b4898c36d619c3edd14ec66a7c94c49d64ae65ea9f305 SHA512 9c522038942bcb6a9278d356038be00fca4a93e69af5d90a501f97e0619e33513417f9c782a2cb6994a568d81c430b6c04ccecde78436cd32b56fccece84a484
|
||||
DIST frida-core-devkit-16.1.8-linux-x86.tar.xz 37039504 BLAKE2B d4e183d188244a473cd624f3cf456b4f4339247be4268740a5ea1a15013ea4f8ccb33eaf65e9118dc16e5c3244aee54b664228c562a33d09e66293f4e22525cc SHA512 a7b222b3e0b69470f8d2fdccfbca8ed4b17083c3bfb08cdc5f243b75706ba7db682bba07149424afb57947f5754df2f2c1e2c55ec40fb77d1540ab37593cab7c
|
||||
DIST frida-core-devkit-16.1.8-linux-x86_64.tar.xz 41485344 BLAKE2B df82a87e2d743f2015d1738e1621b69691ad391628f7dd382f9f8eba627f6d8191edf8653d7fc7ade2ea46e450774524e7acf255a92dd50bd010a318941c2d96 SHA512 d556881d48aa11f032d3d28cfd8c1308ef87e97afff835baadf4a7adc856274365550639854c7fa3821a8f7013c0d16c25a8fb05069fc8fe0fc0d84fc20a60a0
|
||||
DIST frida-core-devkit-17.1.2-linux-arm64.tar.xz 48409748 BLAKE2B a211c10cb99b88e4cb95c0ca0385b35db69ca0369f154750ebd463806686954a3bbae760a92e571a3ae72d251a8f18c87840253f2580dc111379941e72bd78ef SHA512 344403dcdf05ac6030103491df1088634bbfb3117c6d4b6e6cc1043dd30d792f78a7d591609c42addff7d99ef677a5437fd5783762d71683667382428a6620fc
|
||||
DIST frida-core-devkit-17.1.2-linux-x86.tar.xz 40879776 BLAKE2B 12be72b64a1d36bf5b03069e85111caeb4f1e46eec1714572846568dcd7ffdf4d6733f7c4b5d8b24ea73a7e96a6134ac2d6b6bff2fe230986268f5b5b990a1e1 SHA512 04d850c0c17c6d919e13d0091df234bc5fc0d0fc8c05853a3bcea680a117e2233658b666644c412ac7cc3371d6c5b116132ec41dd468894eeef7bd045ee69f9d
|
||||
DIST frida-core-devkit-17.1.2-linux-x86_64.tar.xz 56916140 BLAKE2B 17cd66af1487b4fdfa6f17ca4499fc7a637af4e635f89be06ebd043b67d9bbfa9ab818f784aac8b4e5b7536668b94eefd5fa3a1c736067b502f431d00aebd837 SHA512 ac0c24d7841b2936015ca77cd906a4257f692c4ad401654a72538a62a58eeb05323fdfe7dad29df07b4c63979dc1b45e371bfa16212fffb5c981ca1cd55df75d
|
||||
|
|
|
|||
|
|
@ -15,17 +15,12 @@ SRC_URI="
|
|||
arm64? (
|
||||
https://github.com/frida/frida/releases/download/${PV}/${PN}-devkit-${PV}-linux-arm64.tar.xz
|
||||
)"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="wxWinLL-3.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PREBUILT="usr/lib*/libfrida-core*"
|
||||
|
||||
src_install() {
|
||||
|
|
|
|||
|
|
@ -15,17 +15,12 @@ SRC_URI="
|
|||
arm64? (
|
||||
https://github.com/frida/frida/releases/download/${PV}/${PN}-devkit-${PV}-linux-arm64.tar.xz
|
||||
)"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="wxWinLL-3.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PREBUILT="usr/lib*/libfrida-core*"
|
||||
|
||||
src_install() {
|
||||
11
dev-libs/frida-core/metadata.xml
Normal file
11
dev-libs/frida-core/metadata.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>unknown@pentoo.ch</email>
|
||||
<name>Author Unknown</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">frida/frida</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
3
dev-python/frida-bin/Manifest
Normal file
3
dev-python/frida-bin/Manifest
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
DIST frida-17.1.2-cp37-abi3-manylinux1_i686.whl 20150345 BLAKE2B d5bb5693f2ee7dda7fb536ef55c404da9412aa08219a1750ffa246948c3cc4f32fb84fc18c5ab5416f3a4164b3c0fad989ef500abaee90dee1b28398019ee5ee SHA512 d731087f9d5c57e3309885f3223a002ce52b9ecdf5ce5e19e0888dfd47a47f26fef810cd88efe8e30efa630cf030563fed7bcedfc3d03e192c078b7a0bcbc95a
|
||||
DIST frida-17.1.2-cp37-abi3-manylinux1_x86_64.whl 32118722 BLAKE2B df3c9157628eb0fc5b502e7cfb654f582ea2ec956071ec2e51e5ea4b62b393cbf837d3ee5150a65d11237fa2911d35dee563bf4a17580641cb60a765929627c8 SHA512 22296df8b091ceb4ecf00e65dfbaa9044aeb3021f04129d0932b86c4ead7701114b6324870a553411f4ba471d817ad8f5172b80241f8d4987012552cb35be1e9
|
||||
DIST frida-17.1.2-cp37-abi3-manylinux_2_17_aarch64.whl 21037682 BLAKE2B d5734e2df436cfc170d37311c1c4648e6dcf6a526529a377cf981bf0f7374019c9e96bb52801b8307d9d5d78cf86d1eaaaa2add20eaca7d6b6223016f8ca52b3 SHA512 5ab20b3d2d59880d7e89d27d3574daee594173ed8c6d7cad7760e8602a484d73f6ef3e55673e0bbfa3f78dde92c4492c4a9650c63873e1242a59a7de5a85e604
|
||||
60
dev-python/frida-bin/frida-bin-17.1.2.ebuild
Normal file
60
dev-python/frida-bin/frida-bin-17.1.2.ebuild
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
PYPI_PN=${PN/-bin/}
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Dynamic instrumentation toolkit for reverse-engineers and security researchers"
|
||||
HOMEPAGE="https://github.com/frida/frida"
|
||||
|
||||
ABI_AMD64="abi3-manylinux1_x86_64"
|
||||
ABI_X86="abi3-manylinux1_i686"
|
||||
ABI_ARM64="abi3-manylinux_2_17_aarch64"
|
||||
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
$(pypi_wheel_url frida "${PV}" cp37 ${ABI_AMD64})
|
||||
)
|
||||
x86? (
|
||||
$(pypi_wheel_url frida "${PV}" cp37 ${ABI_X86})
|
||||
)
|
||||
arm64? (
|
||||
$(pypi_wheel_url frida "${PV}" cp37 ${ABI_ARM64})
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/"
|
||||
|
||||
LICENSE="wxWinLL-3.1"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 x86"
|
||||
|
||||
RDEPEND="~dev-libs/frida-core-${PV}
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]"
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
# The QA_WX error is due to frida-core pre-build lib
|
||||
QA_PREBUILT="usr/lib/python*/site-packages/_frida.abi3.so"
|
||||
|
||||
python_compile() {
|
||||
if use amd64; then
|
||||
MY_WHEEL=$(pypi_wheel_name frida "${PV}" cp37 ${ABI_AMD64})
|
||||
fi
|
||||
if use x86; then
|
||||
MY_WHEEL=$(pypi_wheel_name frida "${PV}" cp37 ${ABI_X86})
|
||||
fi
|
||||
if use arm64; then
|
||||
MY_WHEEL=$(pypi_wheel_name frida "${PV}" cp37 ${ABI_ARM64})
|
||||
fi
|
||||
|
||||
distutils_wheel_install "${BUILD_DIR}/install" \
|
||||
"${DISTDIR}/${MY_WHEEL}"
|
||||
}
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
DIST frida-16.0.19.tar.gz 41061 BLAKE2B df9d7b3843dac01a0564eaba48cf1ad2267724d58e42f770e7daa6d78f3bb974d8c023864fa04ca85fcaffd5d0e2dbda942d9aa1880e8e3231e9868971a64844 SHA512 b0970eca0be5b14d5ae4f4097be566c4641343aea49f835116fa662b2d7a7bddde717ce4f159aa77d6803567da2ffa562868cab417d8172ce6cbbd301139fec1
|
||||
DIST frida-16.1.8.tar.gz 41098 BLAKE2B 33e02632bdfde3d1a7e9af605e0ac7cdd0ff8c5c112afeca4d3f3e1bf3686b92b6538004981f6bf382e29489f46b00fe8b95a9bc2dbd835013e00f239a3d3357 SHA512 fdfd6069d4c5bf82f502dc7f8329d6430c7afe0c1c552ca38c2abf7f6ac7af28a809954d51196aa89cf408bbcbc7af32703ec1d5d06d8c0bb9755de8fb5e2f20
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
--- a/setup.py.orig 2018-08-25 20:18:30.000000000 +0800
|
||||
+++ b/setup.py 2018-09-15 10:45:39.666991896 +0800
|
||||
@@ -79,38 +79,7 @@
|
||||
|
||||
network_error = None
|
||||
|
||||
- try:
|
||||
- print("querying pypi for available prebuilds")
|
||||
- client = xmlrpclib.ServerProxy("https://pypi.python.org/pypi", transport=UrllibTransport())
|
||||
- urls = client.release_urls("frida", frida_version)
|
||||
-
|
||||
- urls = [url for url in urls if url['python_version'] != 'source']
|
||||
-
|
||||
- def parse_version(version):
|
||||
- return tuple(map(int, version.split(".")))
|
||||
-
|
||||
- if python_major_version >= 3:
|
||||
- urls = [url for url in urls if parse_version(url['python_version'])[0] == python_major_version]
|
||||
- else:
|
||||
- urls = [url for url in urls if parse_version(url['python_version']) == python_version]
|
||||
-
|
||||
- os_suffix = "-{}.egg".format(os_version)
|
||||
- urls = [url for url in urls if url['filename'].endswith(os_suffix)]
|
||||
-
|
||||
- if len(urls) == 0:
|
||||
- raise Exception("Could not find prebuilt Frida extension. "
|
||||
- "Prebuilds only provided for Python 2.7 and 3.4+.")
|
||||
-
|
||||
- url = urls[0]
|
||||
- egg_filename = url['filename']
|
||||
- egg_url = url['url']
|
||||
-
|
||||
- print("downloading prebuilt extension from", egg_url)
|
||||
- egg_data = urlopen(egg_url).read()
|
||||
- except Exception as e:
|
||||
- network_error = e
|
||||
-
|
||||
- if network_error is not None:
|
||||
+ if network_error is None:
|
||||
print("network query failed")
|
||||
|
||||
egg_path = os.path.expanduser("~/frida-{}-py{}.{}-{}.egg".format(frida_version, python_version[0], python_version[1], os_version))
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="frida"
|
||||
|
||||
DESCRIPTION="Dynamic instrumentation toolkit for reverse-engineers and security researchers"
|
||||
HOMEPAGE="https://github.com/frida/frida"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="wxWinLL-3.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
|
||||
RDEPEND="~dev-libs/frida-core-${PV}"
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
|
||||
# The QA_WX error is due to frida-core pre-build lib
|
||||
QA_PREBUILT="usr/lib/python*/site-packages/_frida.abi3.so"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
python_compile() {
|
||||
export FRIDA_CORE_DEVKIT="/usr/lib64/"
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
8
dev-python/frida/Manifest
Normal file
8
dev-python/frida/Manifest
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
DIST frida-16.1.8.tar.gz 41098 BLAKE2B 33e02632bdfde3d1a7e9af605e0ac7cdd0ff8c5c112afeca4d3f3e1bf3686b92b6538004981f6bf382e29489f46b00fe8b95a9bc2dbd835013e00f239a3d3357 SHA512 fdfd6069d4c5bf82f502dc7f8329d6430c7afe0c1c552ca38c2abf7f6ac7af28a809954d51196aa89cf408bbcbc7af32703ec1d5d06d8c0bb9755de8fb5e2f20
|
||||
DIST frida-17.1.2.tar.gz 921528 BLAKE2B 146bf717cac292c6c3f1ecdfb390aec66f1943e2d1fd387b946561209bdf60f0f1e9a2134d3acf5d9eee00f7d251cad3667b446e86cf76a8991eec75191e1b05 SHA512 6523ee121da94b8d811203e08f170b1ada158260439da78c40ca9ae52db5457d6cbf9b3e6074afb9c18486aee146a760fd718f0020e32cd14b826c9f4d07af3c
|
||||
DIST sdk-linux-arm64.tar.xz 37278244 BLAKE2B c0d4f501c65c2d7ed932e3ac3d882a6ef70aa3a5508c6d2bb6da59c7beac52e8a4e68d20d847a196e9c3938618bc69edc268bc80580eaada861306005bdbee10 SHA512 024699803c7e4ca6ed707e4fe11c64f6d7f14007b1746cf304f0d9a27570536c3a22a93b7e812e9e43ac4ccdbd344977be7af44b3ae5ebc789e9fe11abec50b6
|
||||
DIST sdk-linux-x86.tar.xz 35094680 BLAKE2B a788cfce12af7f879112fb3a2417466b37eccd9e82dbd126157722e5849fc55f040b814946d6e3154171ff1f8ef2cb5a61640461c254f346dabff83dbdb6549a SHA512 eb7887e8d715978cd21044a68731fd8bc2481e8b576711f30f571be4278db95a166ef7bbbb72416247c860b908350575d2b5bf5be56259cf759e178c73ad2206
|
||||
DIST sdk-linux-x86_64.tar.xz 38675100 BLAKE2B a0f72c95dd645f7fe90e14af633e688df3541bdfef6ef780937ec58e42e02a05e1ec0cfd6d2bb147f0c601e534116abe74072f33160104c746a03786baa9f00a SHA512 7f4c2b088bf9da61c34513298a7f5fc139b2cc597c1bb07f9bbaeea6319d0569630f234e929ec61c46336e8122a044b8acc7b4ba774d1877ad365609ecb68d41
|
||||
DIST toolchain-linux-arm64.tar.xz 2550408 BLAKE2B 4ca7bfe61b7b9aff758589f0a81f8ef2c78b9b015dd5359f0ecec73b9424bfd7abf8035d06b3a365721e4c747f5593cecfb79cf2c71c99930bec0db0d66f75f8 SHA512 25438b9c9e65ff3628e5a373dccf6b2dd694dff78ee94631b198f7e9f2d28235fee35287b7ada5d9f43a7d669804a6b12d7f40a1dd6b4d4d3cb4a53b442fdf6c
|
||||
DIST toolchain-linux-x86.tar.xz 3153688 BLAKE2B e947fa94185012d323798d028d9561f4acd8bb6ceb919d8c0a7c5ac5c68eddeff83d6fc422fd353c8d43e2d218708697a96c1c6a23a402fc846d967610b54ac2 SHA512 74477885323cd9f13c4c2c4050bae1c0da33c551e84fca59e18b4a22c8768dc2b8c78e91c032177d089b579970bda62f0438e46ae5f6a0131b9283fc57b170e9
|
||||
DIST toolchain-linux-x86_64.tar.xz 3068436 BLAKE2B 212ac08b5d92f68f885545fc059b19d1cf6798ca83831474b574c5f51c768ef64b92e7eb3ae4a99d9427c1a3f984f73849d328ae80186b581a4f363b063ae365 SHA512 29feb38c6bf169d047c870c7d15219e4d58f8b84577cf8586ac8a9212c879c1d31fa6b3c96532b9450f4728a3468e07972296bac704aa0674497e39802a35e54
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
|
@ -7,13 +7,12 @@ DISTUTILS_EXT=1
|
|||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
MY_PN="frida"
|
||||
#MY_PN="frida"
|
||||
|
||||
DESCRIPTION="Dynamic instrumentation toolkit for reverse-engineers and security researchers"
|
||||
HOMEPAGE="https://github.com/frida/frida"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="wxWinLL-3.1"
|
||||
SLOT="0"
|
||||
|
|
@ -26,7 +25,7 @@ DEPEND="${PYTHON_DEPS}"
|
|||
# The QA_WX error is due to frida-core pre-build lib
|
||||
QA_PREBUILT="usr/lib/python*/site-packages/_frida.abi3.so"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
#S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
python_compile() {
|
||||
export FRIDA_CORE_DEVKIT="/usr/lib64/"
|
||||
62
dev-python/frida/frida-17.1.2.ebuild
Normal file
62
dev-python/frida/frida-17.1.2.ebuild
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
#MY_PN="frida"
|
||||
|
||||
FRIDA_VER="20250512"
|
||||
|
||||
DESCRIPTION="Dynamic instrumentation toolkit for reverse-engineers and security researchers"
|
||||
HOMEPAGE="https://github.com/frida/frida"
|
||||
|
||||
SRC_URI+="
|
||||
amd64? (
|
||||
https://build.frida.re/deps/${FRIDA_VER}/toolchain-linux-x86_64.tar.xz
|
||||
https://build.frida.re/deps/${FRIDA_VER}/sdk-linux-x86_64.tar.xz
|
||||
)
|
||||
x86? (
|
||||
https://build.frida.re/deps/${FRIDA_VER}/toolchain-linux-x86.tar.xz
|
||||
https://build.frida.re/deps/${FRIDA_VER}/sdk-linux-x86.tar.xz
|
||||
)
|
||||
arm64? (
|
||||
https://build.frida.re/deps/${FRIDA_VER}/toolchain-linux-arm64.tar.xz
|
||||
https://build.frida.re/deps/${FRIDA_VER}/sdk-linux-arm64.tar.xz
|
||||
)
|
||||
"
|
||||
|
||||
#ARM64E_URL = "https://build.frida.re/deps/{version}/sdk-ios-arm64e.tar.xz"
|
||||
|
||||
LICENSE="wxWinLL-3.1"
|
||||
SLOT="0"
|
||||
|
||||
#WiP
|
||||
#KEYWORDS="amd64 ~arm64 x86"
|
||||
|
||||
RDEPEND="~dev-libs/frida-core-${PV}
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]"
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
|
||||
# The QA_WX error is due to frida-core pre-build lib
|
||||
QA_PREBUILT="usr/lib/python*/site-packages/_frida.abi3.so"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${P}.tar.gz"
|
||||
|
||||
cd "${S}"
|
||||
mkdir -p ./deps || die "failed to create Debugger dir"
|
||||
cp -P "${DISTDIR}"/sdk-linux-x86_64.tar.xz ./deps/ || die
|
||||
# if use amd64 &&
|
||||
cp -P "${DISTDIR}"/toolchain-linux-x86_64.tar.xz ./deps/ || die
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
export FRIDA_CORE_DEVKIT="/usr/lib64/"
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
11
dev-python/frida/metadata.xml
Normal file
11
dev-python/frida/metadata.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>blshkv@pentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">frida/frida</remote-id>
|
||||
<remote-id type="pypi">frida</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
@ -26,7 +26,7 @@ RDEPEND="
|
|||
>=dev-python/ipython-5.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/mutf8[${PYTHON_USEDEP}]
|
||||
dev-python/dataset[${PYTHON_USEDEP}]
|
||||
dev-python/frida-python[${PYTHON_USEDEP}]
|
||||
dev-python/frida[${PYTHON_USEDEP}]
|
||||
dev-python/loguru[${PYTHON_USEDEP}]
|
||||
>=dev-util/apkInspector-1.1.7[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ RDEPEND="
|
|||
>=dev-python/ipython-5.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/mutf8[${PYTHON_USEDEP}]
|
||||
dev-python/dataset[${PYTHON_USEDEP}]
|
||||
dev-python/frida-python[${PYTHON_USEDEP}]
|
||||
dev-python/frida[${PYTHON_USEDEP}]
|
||||
dev-python/loguru[${PYTHON_USEDEP}]
|
||||
>=dev-util/apkInspector-1.1.7[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
DIST frida-tools-12.1.2.tar.gz 177647 BLAKE2B 124d78e27222bb09993c1fdce4b594c7238335f12dcf357902db5bfca1190d3855454f7c7ffd0646bb652baab3c0932d2d104a90f35cfea0d1fb6b430941bf8e SHA512 1f11637bded17101a6636bc00c80fb09844a447f23f95b440596e14a9313d67ff4fd8983d7b2143db7d0736d3bd0a2e35e8104421914fd8e18f5f6012c856396
|
||||
DIST frida-tools-12.3.0.tar.gz 200509 BLAKE2B 590254c42e78e72d27be0a673049f0e01c7066b2787005dbf63f73eec6d9427494d087007ef70f48361e626fe742ec4f75664f0be86758cc6a103cd80a5156b0 SHA512 8df15996450f2a406053b369e4350bba22b328bffdac3088170286c54f997dce57c3bda7d4be031da4fb1085f10b5d38ccb4291fceca8f7351b2c442bec45933
|
||||
DIST frida_tools-14.1.1.tar.gz 4676495 BLAKE2B 810ba08d700d9e3dc361cad43712ac9e6c1e9b351619e855a38dedf8ed3e7e76afb33721f7395da34e4c8a41dcba9c87ae16f0bb25741e1225a1e72502b3ba87 SHA512 c0e8b7a75b00478ce8920abee89696804b8250011030a55acbd9a0ffe42cb3ab870c78f23ec799b02686a01f0bf9a16098c0cce7e0328699c5d929270db4bcb2
|
||||
|
|
|
|||
|
|
@ -3,16 +3,15 @@
|
|||
|
||||
EAPI=8
|
||||
|
||||
PYPI_NO_NORMALIZE=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Frida CLI tools"
|
||||
HOMEPAGE="https://github.com/frida/frida-tools"
|
||||
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="wxWinLL-3.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
|
|
@ -20,6 +19,6 @@ KEYWORDS="amd64 ~arm64 x86"
|
|||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-python/colorama-0.2.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/frida-python-16.0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/frida-16.0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/prompt-toolkit-3.0.3[${PYTHON_USEDEP}] <dev-python/prompt-toolkit-4.0.0
|
||||
>=dev-python/pygments-2.0.2[${PYTHON_USEDEP}]"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
|
@ -6,20 +6,23 @@ EAPI=8
|
|||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Frida CLI tools"
|
||||
HOMEPAGE="https://github.com/frida/frida-tools"
|
||||
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="wxWinLL-3.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
|
||||
#WIP: fix frida 17 first
|
||||
#KEYWORDS="amd64 ~arm64 x86"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-python/colorama-0.2.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/frida-python-16.0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/frida-17.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/prompt-toolkit-3.0.3[${PYTHON_USEDEP}] <dev-python/prompt-toolkit-4.0.0
|
||||
>=dev-python/pygments-2.0.2[${PYTHON_USEDEP}]"
|
||||
>=dev-python/pygments-2.0.2[${PYTHON_USEDEP}]
|
||||
dev-python/websockets[${PYTHON_USEDEP}]"
|
||||
|
||||
RESTRICT="test"
|
||||
|
|
@ -6,5 +6,6 @@
|
|||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">frida/frida-tools</remote-id>
|
||||
<remote-id type="pypi">frida-tools</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ SLOT="0"
|
|||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/frida-python-14.0.5[${PYTHON_USEDEP}]
|
||||
RDEPEND=">=dev-python/frida-14.0.5[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/hexdump[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ SLOT="0"
|
|||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/frida-python-14.0.5[${PYTHON_USEDEP}]
|
||||
RDEPEND=">=dev-python/frida-14.0.5[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/hexdump[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ RDEPEND="
|
|||
>=dev-python/http_tools-4.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/google-play-scraper-0.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/apkid-2.1.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/frida-python-16.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/frida-16.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/tldextract-3.4.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/openstep_parser-1.5.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/svgutils-0.3.4[${PYTHON_USEDEP}]
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ RDEPEND="
|
|||
>=dev-python/http_tools-4.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/google-play-scraper-0.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/apkid-2.1.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/frida-python-16.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/frida-16.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/tldextract-3.4.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/openstep_parser-1.5.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/svgutils-0.3.4[${PYTHON_USEDEP}]
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ RDEPEND="
|
|||
>=dev-python/IP2Location-8.10.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/google-play-scraper-0.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/apkid-2.1.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/frida-python-16.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/frida-16.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/tldextract-5.1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/openstep_parser-2.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/svgutils-0.3.4[${PYTHON_USEDEP}]
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ KEYWORDS="~amd64 ~x86"
|
|||
IUSE="patchapk"
|
||||
|
||||
RDEPEND=">=dev-util/frida-tools-7.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/frida-python[${PYTHON_USEDEP}]
|
||||
dev-python/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}]
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ KEYWORDS="~amd64 ~x86"
|
|||
IUSE="patchapk"
|
||||
|
||||
RDEPEND=">=dev-util/frida-tools-7.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/frida-python[${PYTHON_USEDEP}]
|
||||
dev-python/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}]
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
move dev-python/http-tools dev-python/http_tools
|
||||
move dev-util/soapui dev-util/soapui-bin
|
||||
move dev-python/frida-python dev-python/frida
|
||||
|
|
|
|||
Loading…
Reference in a new issue