frida / frida

Clone this repo to build Frida
https://frida.re
Other
15.21k stars 1.58k forks source link

How to package frida #2869

Open Kriskras99 opened 1 month ago

Kriskras99 commented 1 month ago

Hi,

I'm the maintainer of the AUR packages python-frida and python-frida-tools. In between 16.2.1 and 16.2.4 the FRIDA_CORE_DEVKIT variable for the build tool stopped working. See this PKGBUILD on how it used to be built.

I've now changed the build to download the source packages on Pip, and build from those. However when running the build, it downloads a SDK. As it's bad form to have downloads in the build step, I was wondering if there was a way to either disable the SDK download (and use build tools installed on the host machine) or to specify a location of the SDK (where there is a predownloaded SDK version).

This will also help when making a multi-package Frida PKGBUILD that builds all the components individually, with setting the SDK path or disabling the SDK it doesn't need to be downloaded for every build.

If there are other options I'd be happy to hear them.