Wed Feb 10 10:35:13 2021 UTC ()
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.


(adam)
diff -r1.5 -r1.6 pkgsrc/emulators/keystone/Makefile
diff -r1.4 -r1.5 pkgsrc/emulators/keystone/Makefile.common
diff -r1.2 -r1.3 pkgsrc/emulators/keystone/PLIST
diff -r1.2 -r1.3 pkgsrc/emulators/keystone/distinfo
diff -r0 -r1.1 pkgsrc/emulators/keystone/patches/patch-llvm_CMakeLists.txt
diff -r1.3 -r1.4 pkgsrc/emulators/py-keystone/Makefile
diff -r1.1 -r1.2 pkgsrc/emulators/py-keystone/PLIST

cvs diff -r1.5 -r1.6 pkgsrc/emulators/keystone/Makefile (expand / switch to unified diff)

--- pkgsrc/emulators/keystone/Makefile 2019/04/25 07:32:52 1.5
+++ pkgsrc/emulators/keystone/Makefile 2021/02/10 10:35:13 1.6
@@ -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
3PKGREVISION= 1 
4.include "Makefile.common" 3.include "Makefile.common"
5 4
6MAINTAINER= pkgsrc-users@NetBSD.org 5MAINTAINER= pkgsrc-users@NetBSD.org
7COMMENT= Multi-platform and multi-arch assembler framework 6COMMENT= Multi-platform and multi-arch assembler framework
8 7
9USE_CMAKE= yes 8USE_CMAKE= yes
10USE_LANGUAGES= c c++ 
11LICENSE= gnu-gpl-v2 9LICENSE= gnu-gpl-v2
12 10
13CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON 11CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
14CMAKE_ARGS+= -DLLVM_TARGETS_TO_BUILD=all 12CMAKE_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"

cvs diff -r1.4 -r1.5 pkgsrc/emulators/keystone/Makefile.common (expand / switch to unified diff)

--- pkgsrc/emulators/keystone/Makefile.common 2020/01/26 17:31:09 1.4
+++ pkgsrc/emulators/keystone/Makefile.common 2021/02/10 10:35:13 1.5
@@ -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
5DISTNAME= keystone-0.9.1 5DISTNAME= keystone-0.9.2
6CATEGORIES= emulators 6CATEGORIES= emulators
7MASTER_SITES= ${MASTER_SITE_GITHUB:=keystone-engine/} 7MASTER_SITES= ${MASTER_SITE_GITHUB:=keystone-engine/}
8 8
9HOMEPAGE= https://www.keystone-engine.org/ 9HOMEPAGE= https://www.keystone-engine.org/
10 10
11DISTINFO_FILE= ${.CURDIR}/../../emulators/keystone/distinfo 11DISTINFO_FILE= ${.CURDIR}/../../emulators/keystone/distinfo
 12PATCHDIR= ${.CURDIR}/../../emulators/keystone/patches
 13
 14USE_LANGUAGES= c c++

cvs diff -r1.2 -r1.3 pkgsrc/emulators/keystone/PLIST (expand / switch to unified diff)

--- pkgsrc/emulators/keystone/PLIST 2018/02/19 00:52:28 1.2
+++ pkgsrc/emulators/keystone/PLIST 2021/02/10 10:35:13 1.3
@@ -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 $
2bin/kstool 2bin/kstool
3include/keystone/arm.h 3include/keystone/arm.h
4include/keystone/arm64.h 4include/keystone/arm64.h
 5include/keystone/evm.h
5include/keystone/hexagon.h 6include/keystone/hexagon.h
6include/keystone/keystone.h 7include/keystone/keystone.h
7include/keystone/mips.h 8include/keystone/mips.h
8include/keystone/ppc.h 9include/keystone/ppc.h
9include/keystone/sparc.h 10include/keystone/sparc.h
10include/keystone/systemz.h 11include/keystone/systemz.h
11include/keystone/x86.h 12include/keystone/x86.h
12lib/libkeystone.so 13lib/libkeystone.so
13lib/libkeystone.so.0 14lib/libkeystone.so.0
14lib/pkgconfig/keystone.pc 15lib/pkgconfig/keystone.pc

cvs diff -r1.2 -r1.3 pkgsrc/emulators/keystone/distinfo (expand / switch to unified diff)

--- pkgsrc/emulators/keystone/distinfo 2018/02/19 00:52:28 1.2
+++ pkgsrc/emulators/keystone/distinfo 2021/02/10 10:35:13 1.3
@@ -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
3SHA1 (keystone-0.9.1.tar.gz) = 0ac37259154af91dd58cfc2dc5a5ecf8e801d3d3 3SHA1 (keystone-0.9.2.tar.gz) = 2d90381bbac53da0feced9ccecb9d9ef32523fef
4RMD160 (keystone-0.9.1.tar.gz) = 8ddd3674623ca107c05ff9400deff47ef6b882ad 4RMD160 (keystone-0.9.2.tar.gz) = 041dd925eb0f1eb96bf2e3b9782aaab31e597323
5SHA512 (keystone-0.9.1.tar.gz) = 3bd9c3793d5862a0a8628b52da381625e62445f661dbd5ed715723e7d9db01ce3f9586e5ca0a5cc71e8ceb6c912050f5c28e3ccd540e72c8abcfd2f0d1bbae17 5SHA512 (keystone-0.9.2.tar.gz) = 5d4dd30410410bc7848e75a2e31e8ecef6241ad25e21963aa7a07bbea21d95b75e235c80573129014102684c9647710ace3c0776a8401844d7e4b45cab7bd04b
6Size (keystone-0.9.1.tar.gz) = 4326151 bytes 6Size (keystone-0.9.2.tar.gz) = 4433222 bytes
 7SHA1 (patch-llvm_CMakeLists.txt) = e2526c7d655121c4ea5d3a0e20a260ee3b3b408e

File Added: pkgsrc/emulators/keystone/patches/patch-llvm_CMakeLists.txt
$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}")

cvs diff -r1.3 -r1.4 pkgsrc/emulators/py-keystone/Makefile (expand / switch to unified diff)

--- pkgsrc/emulators/py-keystone/Makefile 2018/02/19 00:52:28 1.3
+++ pkgsrc/emulators/py-keystone/Makefile 2021/02/10 10:35:13 1.4
@@ -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
5PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 5PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
6CATEGORIES+= python 6CATEGORIES+= python
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9COMMENT= Python bindings for keystone 9COMMENT= Python bindings for keystone
10LICENSE= modified-bsd 10LICENSE= modified-bsd
11 11
12PYSETUPSUBDIR= bindings/python 12PYSETUPSUBDIR= bindings/python
13 13
14EGG_NAME= ${DISTNAME:R} 14EGG_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"

cvs diff -r1.1 -r1.2 pkgsrc/emulators/py-keystone/PLIST (expand / switch to unified diff)

--- pkgsrc/emulators/py-keystone/PLIST 2016/06/11 21:06:48 1.1
+++ pkgsrc/emulators/py-keystone/PLIST 2021/02/10 10:35:13 1.2
@@ -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