keystone py-keystone: updated to 0.9.2 Version 0.9.2 This version fixes some important bugs inside the core of Keystone, added some new bindings & made some minor improvements. All users of Keystone are encouraged to upgrade to v0.9.1.diff -r1.5 -r1.6 pkgsrc/emulators/keystone/Makefile
(adam)
@@ -1,17 +1,15 @@ | @@ -1,17 +1,15 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2019/04/25 07:32:52 maya Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2021/02/10 10:35:13 adam Exp $ | |
2 | 2 | |||
3 | PKGREVISION= 1 | |||
4 | .include "Makefile.common" | 3 | .include "Makefile.common" | |
5 | 4 | |||
6 | MAINTAINER= pkgsrc-users@NetBSD.org | 5 | MAINTAINER= pkgsrc-users@NetBSD.org | |
7 | COMMENT= Multi-platform and multi-arch assembler framework | 6 | COMMENT= Multi-platform and multi-arch assembler framework | |
8 | 7 | |||
9 | USE_CMAKE= yes | 8 | USE_CMAKE= yes | |
10 | USE_LANGUAGES= c c++ | |||
11 | LICENSE= gnu-gpl-v2 | 9 | LICENSE= gnu-gpl-v2 | |
12 | 10 | |||
13 | CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON | 11 | CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON | |
14 | CMAKE_ARGS+= -DLLVM_TARGETS_TO_BUILD=all | 12 | CMAKE_ARGS+= -DLLVM_TARGETS_TO_BUILD=all | |
15 | 13 | |||
16 | .include "../../lang/python/pyversion.mk" | 14 | .include "../../lang/python/pyversion.mk" | |
17 | .include "../../mk/bsd.pkg.mk" | 15 | .include "../../mk/bsd.pkg.mk" |
@@ -1,11 +1,14 @@ | @@ -1,11 +1,14 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.4 2020/01/26 17:31:09 rillig Exp $ | 1 | # $NetBSD: Makefile.common,v 1.5 2021/02/10 10:35:13 adam Exp $ | |
2 | # | 2 | # | |
3 | # used by emulators/py-keystone/Makefile | 3 | # used by emulators/py-keystone/Makefile | |
4 | 4 | |||
5 | DISTNAME= keystone-0.9.1 | 5 | DISTNAME= keystone-0.9.2 | |
6 | CATEGORIES= emulators | 6 | CATEGORIES= emulators | |
7 | MASTER_SITES= ${MASTER_SITE_GITHUB:=keystone-engine/} | 7 | MASTER_SITES= ${MASTER_SITE_GITHUB:=keystone-engine/} | |
8 | 8 | |||
9 | HOMEPAGE= https://www.keystone-engine.org/ | 9 | HOMEPAGE= https://www.keystone-engine.org/ | |
10 | 10 | |||
11 | DISTINFO_FILE= ${.CURDIR}/../../emulators/keystone/distinfo | 11 | DISTINFO_FILE= ${.CURDIR}/../../emulators/keystone/distinfo | |
12 | PATCHDIR= ${.CURDIR}/../../emulators/keystone/patches | |||
13 | ||||
14 | USE_LANGUAGES= c c++ |
@@ -1,14 +1,15 @@ | @@ -1,14 +1,15 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2018/02/19 00:52:28 kamil Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2021/02/10 10:35:13 adam Exp $ | |
2 | bin/kstool | 2 | bin/kstool | |
3 | include/keystone/arm.h | 3 | include/keystone/arm.h | |
4 | include/keystone/arm64.h | 4 | include/keystone/arm64.h | |
5 | include/keystone/evm.h | |||
5 | include/keystone/hexagon.h | 6 | include/keystone/hexagon.h | |
6 | include/keystone/keystone.h | 7 | include/keystone/keystone.h | |
7 | include/keystone/mips.h | 8 | include/keystone/mips.h | |
8 | include/keystone/ppc.h | 9 | include/keystone/ppc.h | |
9 | include/keystone/sparc.h | 10 | include/keystone/sparc.h | |
10 | include/keystone/systemz.h | 11 | include/keystone/systemz.h | |
11 | include/keystone/x86.h | 12 | include/keystone/x86.h | |
12 | lib/libkeystone.so | 13 | lib/libkeystone.so | |
13 | lib/libkeystone.so.0 | 14 | lib/libkeystone.so.0 | |
14 | lib/pkgconfig/keystone.pc | 15 | lib/pkgconfig/keystone.pc |
@@ -1,6 +1,7 @@ | @@ -1,6 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2018/02/19 00:52:28 kamil Exp $ | 1 | $NetBSD: distinfo,v 1.3 2021/02/10 10:35:13 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (keystone-0.9.1.tar.gz) = 0ac37259154af91dd58cfc2dc5a5ecf8e801d3d3 | 3 | SHA1 (keystone-0.9.2.tar.gz) = 2d90381bbac53da0feced9ccecb9d9ef32523fef | |
4 | RMD160 (keystone-0.9.1.tar.gz) = 8ddd3674623ca107c05ff9400deff47ef6b882ad | 4 | RMD160 (keystone-0.9.2.tar.gz) = 041dd925eb0f1eb96bf2e3b9782aaab31e597323 | |
5 | SHA512 (keystone-0.9.1.tar.gz) = 3bd9c3793d5862a0a8628b52da381625e62445f661dbd5ed715723e7d9db01ce3f9586e5ca0a5cc71e8ceb6c912050f5c28e3ccd540e72c8abcfd2f0d1bbae17 | 5 | SHA512 (keystone-0.9.2.tar.gz) = 5d4dd30410410bc7848e75a2e31e8ecef6241ad25e21963aa7a07bbea21d95b75e235c80573129014102684c9647710ace3c0776a8401844d7e4b45cab7bd04b | |
6 | Size (keystone-0.9.1.tar.gz) = 4326151 bytes | 6 | Size (keystone-0.9.2.tar.gz) = 4433222 bytes | |
7 | SHA1 (patch-llvm_CMakeLists.txt) = e2526c7d655121c4ea5d3a0e20a260ee3b3b408e |
$NetBSD: patch-llvm_CMakeLists.txt,v 1.1 2021/02/10 10:35:13 adam Exp $
On Darwin, use correct install_name.
--- llvm/CMakeLists.txt.orig 2021-02-09 13:03:37.000000000 +0000
+++ llvm/CMakeLists.txt
@@ -455,8 +455,6 @@ set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${LL
set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
if (APPLE)
- set(CMAKE_INSTALL_NAME_DIR "@rpath")
- set(CMAKE_INSTALL_RPATH "@executable_path/../lib")
else(UNIX)
if(NOT DEFINED CMAKE_INSTALL_RPATH)
set(CMAKE_INSTALL_RPATH "\$ORIGIN/../lib${LLVM_LIBDIR_SUFFIX}")
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2018/02/19 00:52:28 kamil Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2021/02/10 10:35:13 adam Exp $ | |
2 | 2 | |||
3 | .include "../../emulators/keystone/Makefile.common" | 3 | .include "../../emulators/keystone/Makefile.common" | |
4 | 4 | |||
5 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 5 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
6 | CATEGORIES+= python | 6 | CATEGORIES+= python | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | COMMENT= Python bindings for keystone | 9 | COMMENT= Python bindings for keystone | |
10 | LICENSE= modified-bsd | 10 | LICENSE= modified-bsd | |
11 | 11 | |||
12 | PYSETUPSUBDIR= bindings/python | 12 | PYSETUPSUBDIR= bindings/python | |
13 | 13 | |||
14 | EGG_NAME= ${DISTNAME:R} | 14 | EGG_NAME= keystone_engine-${PKGVERSION_NOREV} | |
15 | 15 | |||
16 | .include "../../emulators/keystone/buildlink3.mk" | 16 | .include "../../emulators/keystone/buildlink3.mk" | |
17 | .include "../../lang/python/distutils.mk" | 17 | .include "../../lang/python/egg.mk" | |
18 | .include "../../mk/bsd.pkg.mk" | 18 | .include "../../mk/bsd.pkg.mk" |
@@ -1,33 +1,41 @@ | @@ -1,33 +1,41 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2016/06/11 21:06:48 kamil Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2021/02/10 10:35:13 adam Exp $ | |
2 | ${PYSITELIB}/${EGG_FILE} | 2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |||
4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |||
5 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |||
6 | ${PYSITELIB}/${EGG_INFODIR}/zip-safe | |||
3 | ${PYSITELIB}/keystone/__init__.py | 7 | ${PYSITELIB}/keystone/__init__.py | |
4 | ${PYSITELIB}/keystone/__init__.pyc | 8 | ${PYSITELIB}/keystone/__init__.pyc | |
5 | ${PYSITELIB}/keystone/__init__.pyo | 9 | ${PYSITELIB}/keystone/__init__.pyo | |
6 | ${PYSITELIB}/keystone/arm64_const.py | 10 | ${PYSITELIB}/keystone/arm64_const.py | |
7 | ${PYSITELIB}/keystone/arm64_const.pyc | 11 | ${PYSITELIB}/keystone/arm64_const.pyc | |
8 | ${PYSITELIB}/keystone/arm64_const.pyo | 12 | ${PYSITELIB}/keystone/arm64_const.pyo | |
9 | ${PYSITELIB}/keystone/arm_const.py | 13 | ${PYSITELIB}/keystone/arm_const.py | |
10 | ${PYSITELIB}/keystone/arm_const.pyc | 14 | ${PYSITELIB}/keystone/arm_const.pyc | |
11 | ${PYSITELIB}/keystone/arm_const.pyo | 15 | ${PYSITELIB}/keystone/arm_const.pyo | |
16 | ${PYSITELIB}/keystone/evm_const.py | |||
17 | ${PYSITELIB}/keystone/evm_const.pyc | |||
18 | ${PYSITELIB}/keystone/evm_const.pyo | |||
12 | ${PYSITELIB}/keystone/hexagon_const.py | 19 | ${PYSITELIB}/keystone/hexagon_const.py | |
13 | ${PYSITELIB}/keystone/hexagon_const.pyc | 20 | ${PYSITELIB}/keystone/hexagon_const.pyc | |
14 | ${PYSITELIB}/keystone/hexagon_const.pyo | 21 | ${PYSITELIB}/keystone/hexagon_const.pyo | |
15 | ${PYSITELIB}/keystone/keystone.py | 22 | ${PYSITELIB}/keystone/keystone.py | |
16 | ${PYSITELIB}/keystone/keystone.pyc | 23 | ${PYSITELIB}/keystone/keystone.pyc | |
17 | ${PYSITELIB}/keystone/keystone.pyo | 24 | ${PYSITELIB}/keystone/keystone.pyo | |
18 | ${PYSITELIB}/keystone/keystone_const.py | 25 | ${PYSITELIB}/keystone/keystone_const.py | |
19 | ${PYSITELIB}/keystone/keystone_const.pyc | 26 | ${PYSITELIB}/keystone/keystone_const.pyc | |
20 | ${PYSITELIB}/keystone/keystone_const.pyo | 27 | ${PYSITELIB}/keystone/keystone_const.pyo | |
28 | ${PYSITELIB}/keystone/libkeystone.so | |||
21 | ${PYSITELIB}/keystone/mips_const.py | 29 | ${PYSITELIB}/keystone/mips_const.py | |
22 | ${PYSITELIB}/keystone/mips_const.pyc | 30 | ${PYSITELIB}/keystone/mips_const.pyc | |
23 | ${PYSITELIB}/keystone/mips_const.pyo | 31 | ${PYSITELIB}/keystone/mips_const.pyo | |
24 | ${PYSITELIB}/keystone/ppc_const.py | 32 | ${PYSITELIB}/keystone/ppc_const.py | |
25 | ${PYSITELIB}/keystone/ppc_const.pyc | 33 | ${PYSITELIB}/keystone/ppc_const.pyc | |
26 | ${PYSITELIB}/keystone/ppc_const.pyo | 34 | ${PYSITELIB}/keystone/ppc_const.pyo | |
27 | ${PYSITELIB}/keystone/sparc_const.py | 35 | ${PYSITELIB}/keystone/sparc_const.py | |
28 | ${PYSITELIB}/keystone/sparc_const.pyc | 36 | ${PYSITELIB}/keystone/sparc_const.pyc | |
29 | ${PYSITELIB}/keystone/sparc_const.pyo | 37 | ${PYSITELIB}/keystone/sparc_const.pyo | |
30 | ${PYSITELIB}/keystone/systemz_const.py | 38 | ${PYSITELIB}/keystone/systemz_const.py | |
31 | ${PYSITELIB}/keystone/systemz_const.pyc | 39 | ${PYSITELIB}/keystone/systemz_const.pyc | |
32 | ${PYSITELIB}/keystone/systemz_const.pyo | 40 | ${PYSITELIB}/keystone/systemz_const.pyo | |
33 | ${PYSITELIB}/keystone/x86_const.py | 41 | ${PYSITELIB}/keystone/x86_const.py |