From b2e351f6768e08af70b1e04ebe97fc0cb25ca420 Mon Sep 17 00:00:00 2001 From: Lilac Date: Tue, 9 Jan 2024 13:01:58 +0000 Subject: [PATCH] python-frida: auto updated to 16.1.10-1 --- repo/python-frida/COPYING | 50 +++++++++++++++++++++++++++++++++++++ repo/python-frida/PKGBUILD | 51 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+) create mode 100644 repo/python-frida/COPYING create mode 100644 repo/python-frida/PKGBUILD diff --git a/repo/python-frida/COPYING b/repo/python-frida/COPYING new file mode 100644 index 0000000..b01d49c --- /dev/null +++ b/repo/python-frida/COPYING @@ -0,0 +1,50 @@ + wxWindows Library Licence, Version 3.1 + ====================================== + +Copyright (c) 1998-2005 Julian Smart, Robert Roebling et al + +Everyone is permitted to copy and distribute verbatim copies +of this licence document, but changing it is not allowed. + + WXWINDOWS LIBRARY LICENCE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +This library is free software; you can redistribute it and/or modify it +under the terms of the GNU Library General Public Licence as published by +the Free Software Foundation; either version 2 of the Licence, or (at your +option) any later version. + +This library is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public +Licence for more details. + +You should have received a copy of the GNU Library General Public Licence +along with this software, usually in a file named COPYING.LIB. If not, +write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth +Floor, Boston, MA 02110-1301 USA. + +EXCEPTION NOTICE + +1. As a special exception, the copyright holders of this library give +permission for additional uses of the text contained in this release of the +library as licenced under the wxWindows Library Licence, applying either +version 3.1 of the Licence, or (at your option) any later version of the +Licence as published by the copyright holders of version 3.1 of the Licence +document. + +2. The exception is that you may use, copy, link, modify and distribute +under your own terms, binary object code versions of works based on the +Library. + +3. If you copy code from files distributed under the terms of the GNU +General Public Licence or the GNU Library General Public Licence into a +copy of this library, as this licence permits, the exception does not apply +to the code that you add in this way. To avoid misleading anyone as to the +status of such modified files, you must delete this exception notice from +such code and/or adjust the licensing conditions notice accordingly. + +4. If you write modifications of your own for this library, it is your +choice whether to permit this exception to apply to your modifications. If +you do not wish that, you must delete the exception notice from such code +and/or adjust the licensing conditions notice accordingly. diff --git a/repo/python-frida/PKGBUILD b/repo/python-frida/PKGBUILD new file mode 100644 index 0000000..78e1faa --- /dev/null +++ b/repo/python-frida/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: kriskras99 +# Contributor: Ali Molaei +# Contributor: algebro + +_pkgname=frida +pkgname=python-$_pkgname +pkgver=16.1.10 +pkgrel=1 +pkgdesc="Inject JavaScript to explore native apps on Windows, Mac, Linux, iOS and Android. Python 3 version from PyPi" +arch=('i686' 'x86_64' 'armv7h' 'aarch64') +url="https://www.frida.re" +license=('custom:wxWindows Library License, Version 3.1') +depends=('python' + 'python-setuptools') +optdepends=('python-typing_extensions: for Python <3.8' + 'rustup: for injecting Rust code into targets') +# Sourced from https://pypi.org/project/frida/#files +source=("https://files.pythonhosted.org/packages/source/f/${_pkgname}/${_pkgname}-${pkgver}.tar.gz" + "COPYING") +# Sourced from https://github.com/frida/frida/releases +source_i686=("frida-core-devkit-${pkgver}-linux.tar.xz::https://github.com/frida/frida/releases/download/${pkgver}/frida-core-devkit-${pkgver}-linux-x86.tar.xz") +source_x86_64=("frida-core-devkit-${pkgver}-linux.tar.xz::https://github.com/frida/frida/releases/download/${pkgver}/frida-core-devkit-${pkgver}-linux-x86_64.tar.xz") +source_armv7h=("frida-core-devkit-${pkgver}-linux.tar.xz::https://github.com/frida/frida/releases/download/${pkgver}/frida-core-devkit-${pkgver}-linux-armhf.tar.xz") +source_aarch64=("frida-core-devkit-${pkgver}-linux.tar.xz::https://github.com/frida/frida/releases/download/${pkgver}/frida-core-devkit-${pkgver}-linux-arm64.tar.xz") +sha256sums=('d9715d262791803df4091838b661e0a7c8b63466462eb055ce4f3b2b04df5807' + '5ea1544b51a28bc823b03159190d4108f9fb4f4ef912389f5137c6d295e175b2') +sha256sums_i686=('6152cfabfff2ae1afdeb741f39bca2a308914492501822653fd2d29e080d7111') +sha256sums_x86_64=('086f28d85b250df8cdc6c4b876ca0e6c0588b57bc6ba8222dbcfdb3c65295c66') +sha256sums_armv7h=('f80aaf25038b2b37cc33563415b131c6b40dee479040eea051249330f587792f') +sha256sums_aarch64=('717e774a43c1e62de275787a34e0d6d76ab9736816c1bd9008483534a1c57565') +noextract=("frida-core-devkit-${pkgver}-linux.tar.xz") +conflicts=("python2-${_pkgname}") + +prepare() { + mkdir "$srcdir/frida-core-devkit-${pkgver}-linux" + bsdtar -x --cd "$srcdir/frida-core-devkit-${pkgver}-linux" -f "frida-core-devkit-${pkgver}-linux.tar.xz" +} + +build() { + cd "$srcdir/$_pkgname-$pkgver" + FRIDA_CORE_DEVKIT="../frida-core-devkit-${pkgver}-linux" python setup.py build +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + FRIDA_CORE_DEVKIT="../frida-core-devkit-${pkgver}-linux" python setup.py install --root=$pkgdir --optimize=1 --skip-build + + cd "$srcdir" + install -d "$pkgdir/usr/share/licenses/$pkgname" + install -m 644 "COPYING" "$pkgdir/usr/share/licenses/$pkgname/" +}