summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcyrozap2017-01-16 22:15:08 -0600
committercyrozap2017-01-16 22:15:47 -0600
commit462f94d2b7029dff2d2ff143718cde9657d53293 (patch)
tree8883e11beb14e999000bde9f9d1bd1bea0784b2a
parent23f6fc25acf1daefd7e68818f07c0f2898017d93 (diff)
downloadaur-462f94d2b7029dff2d2ff143718cde9657d53293.tar.gz
Added license file
-rw-r--r--.SRCINFO5
-rw-r--r--COPYING50
-rw-r--r--PKGBUILD15
3 files changed, 65 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 812bfbd731b6..4ae9a7d1813a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-frida
pkgdesc = Inject JavaScript to explore native apps on Windows, Mac, Linux, iOS and Android. Python 3 version from PyPi
pkgver = 9.0.6
- pkgrel = 1
+ pkgrel = 2
url = http://www.frida.re
arch = i686
arch = x86_64
@@ -12,8 +12,11 @@ pkgbase = python-frida
depends = python-colorama>=0.2.7
conflicts = python2-frida
source = https://pypi.python.org/packages/89/eb/8daa1296eb79b16cc8aa2047eed22db4465a9067663fab536451c639b0ee/frida-9.0.6.zip
+ source = COPYING
md5sums = bae4dbe0a279f4423b7a95ce0203972b
+ md5sums = SKIP
sha512sums = 8aa80f4aad21d9a9feec0db0ca676daba24701beab05d5e1087d950874a59471cd9c590b36c9cbdc72d040a44341f9daa5ba1e1bf6f1a07104c22d7d11f79eff
+ sha512sums = e36c8d5a0538fa4bb3575a60322057f7a687aab04c13deed25399462ba0be74ce6071cc41d967e23b9a96e552462d210280427a945c6cc956919b062878efc9a
pkgname = python-frida
diff --git a/COPYING b/COPYING
new file mode 100644
index 000000000000..b01d49c670e5
--- /dev/null
+++ b/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/PKGBUILD b/PKGBUILD
index 4aae04a426bb..5eeebdf8e463 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,18 @@
_pkgname=frida
pkgname=python-$_pkgname
pkgver=9.0.6
-pkgrel=1
+pkgrel=2
pkgdesc="Inject JavaScript to explore native apps on Windows, Mac, Linux, iOS and Android. Python 3 version from PyPi"
arch=('i686' 'x86_64') # setup.py downloads pre-built binary components, so it doesn't work on ARM (yet).
url="http://www.frida.re"
license=('custom:wxWindows Library License, Version 3.1')
depends=('python' 'python-pygments>=2.0.2' 'python-prompt_toolkit>=0.57' 'python-colorama>=0.2.7')
-source=("https://pypi.python.org/packages/89/eb/8daa1296eb79b16cc8aa2047eed22db4465a9067663fab536451c639b0ee/frida-${pkgver}.zip")
-md5sums=('bae4dbe0a279f4423b7a95ce0203972b')
-sha512sums=('8aa80f4aad21d9a9feec0db0ca676daba24701beab05d5e1087d950874a59471cd9c590b36c9cbdc72d040a44341f9daa5ba1e1bf6f1a07104c22d7d11f79eff')
+source=("https://pypi.python.org/packages/89/eb/8daa1296eb79b16cc8aa2047eed22db4465a9067663fab536451c639b0ee/frida-${pkgver}.zip"
+ "COPYING")
+md5sums=('bae4dbe0a279f4423b7a95ce0203972b'
+ 'SKIP')
+sha512sums=('8aa80f4aad21d9a9feec0db0ca676daba24701beab05d5e1087d950874a59471cd9c590b36c9cbdc72d040a44341f9daa5ba1e1bf6f1a07104c22d7d11f79eff'
+ 'e36c8d5a0538fa4bb3575a60322057f7a687aab04c13deed25399462ba0be74ce6071cc41d967e23b9a96e552462d210280427a945c6cc956919b062878efc9a')
conflicts=("python2-${_pkgname}")
build() {
@@ -20,4 +23,8 @@ build() {
package() {
cd "$srcdir/$_pkgname-$pkgver"
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/"
}