pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators keystone py-keystone: updated to 0.9.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/19bd83153c46
branches:  trunk
changeset: 446518:19bd83153c46
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Feb 10 10:35:13 2021 +0000

description:
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.

diffstat:

 emulators/keystone/Makefile                          |   4 +---
 emulators/keystone/Makefile.common                   |   7 +++++--
 emulators/keystone/PLIST                             |   3 ++-
 emulators/keystone/distinfo                          |  11 ++++++-----
 emulators/keystone/patches/patch-llvm_CMakeLists.txt |  15 +++++++++++++++
 emulators/py-keystone/Makefile                       |   6 +++---
 emulators/py-keystone/PLIST                          |  12 ++++++++++--
 7 files changed, 42 insertions(+), 16 deletions(-)

diffs (139 lines):

diff -r a01911e8a4e7 -r 19bd83153c46 emulators/keystone/Makefile
--- a/emulators/keystone/Makefile       Wed Feb 10 10:20:22 2021 +0000
+++ b/emulators/keystone/Makefile       Wed Feb 10 10:35:13 2021 +0000
@@ -1,13 +1,11 @@
-# $NetBSD: Makefile,v 1.5 2019/04/25 07:32:52 maya Exp $
+# $NetBSD: Makefile,v 1.6 2021/02/10 10:35:13 adam Exp $
 
-PKGREVISION= 1
 .include "Makefile.common"
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       Multi-platform and multi-arch assembler framework
 
 USE_CMAKE=     yes
-USE_LANGUAGES= c c++
 LICENSE=       gnu-gpl-v2
 
 CMAKE_ARGS+=   -DBUILD_SHARED_LIBS=ON
diff -r a01911e8a4e7 -r 19bd83153c46 emulators/keystone/Makefile.common
--- a/emulators/keystone/Makefile.common        Wed Feb 10 10:20:22 2021 +0000
+++ b/emulators/keystone/Makefile.common        Wed Feb 10 10:35:13 2021 +0000
@@ -1,11 +1,14 @@
-# $NetBSD: Makefile.common,v 1.4 2020/01/26 17:31:09 rillig Exp $
+# $NetBSD: Makefile.common,v 1.5 2021/02/10 10:35:13 adam Exp $
 #
 # used by emulators/py-keystone/Makefile
 
-DISTNAME=      keystone-0.9.1
+DISTNAME=      keystone-0.9.2
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=keystone-engine/}
 
 HOMEPAGE=      https://www.keystone-engine.org/
 
 DISTINFO_FILE= ${.CURDIR}/../../emulators/keystone/distinfo
+PATCHDIR=      ${.CURDIR}/../../emulators/keystone/patches
+
+USE_LANGUAGES= c c++
diff -r a01911e8a4e7 -r 19bd83153c46 emulators/keystone/PLIST
--- a/emulators/keystone/PLIST  Wed Feb 10 10:20:22 2021 +0000
+++ b/emulators/keystone/PLIST  Wed Feb 10 10:35:13 2021 +0000
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.2 2018/02/19 00:52:28 kamil Exp $
+@comment $NetBSD: PLIST,v 1.3 2021/02/10 10:35:13 adam Exp $
 bin/kstool
 include/keystone/arm.h
 include/keystone/arm64.h
+include/keystone/evm.h
 include/keystone/hexagon.h
 include/keystone/keystone.h
 include/keystone/mips.h
diff -r a01911e8a4e7 -r 19bd83153c46 emulators/keystone/distinfo
--- a/emulators/keystone/distinfo       Wed Feb 10 10:20:22 2021 +0000
+++ b/emulators/keystone/distinfo       Wed Feb 10 10:35:13 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2018/02/19 00:52:28 kamil Exp $
+$NetBSD: distinfo,v 1.3 2021/02/10 10:35:13 adam Exp $
 
-SHA1 (keystone-0.9.1.tar.gz) = 0ac37259154af91dd58cfc2dc5a5ecf8e801d3d3
-RMD160 (keystone-0.9.1.tar.gz) = 8ddd3674623ca107c05ff9400deff47ef6b882ad
-SHA512 (keystone-0.9.1.tar.gz) = 3bd9c3793d5862a0a8628b52da381625e62445f661dbd5ed715723e7d9db01ce3f9586e5ca0a5cc71e8ceb6c912050f5c28e3ccd540e72c8abcfd2f0d1bbae17
-Size (keystone-0.9.1.tar.gz) = 4326151 bytes
+SHA1 (keystone-0.9.2.tar.gz) = 2d90381bbac53da0feced9ccecb9d9ef32523fef
+RMD160 (keystone-0.9.2.tar.gz) = 041dd925eb0f1eb96bf2e3b9782aaab31e597323
+SHA512 (keystone-0.9.2.tar.gz) = 5d4dd30410410bc7848e75a2e31e8ecef6241ad25e21963aa7a07bbea21d95b75e235c80573129014102684c9647710ace3c0776a8401844d7e4b45cab7bd04b
+Size (keystone-0.9.2.tar.gz) = 4433222 bytes
+SHA1 (patch-llvm_CMakeLists.txt) = e2526c7d655121c4ea5d3a0e20a260ee3b3b408e
diff -r a01911e8a4e7 -r 19bd83153c46 emulators/keystone/patches/patch-llvm_CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/keystone/patches/patch-llvm_CMakeLists.txt      Wed Feb 10 10:35:13 2021 +0000
@@ -0,0 +1,15 @@
+$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}")
diff -r a01911e8a4e7 -r 19bd83153c46 emulators/py-keystone/Makefile
--- a/emulators/py-keystone/Makefile    Wed Feb 10 10:20:22 2021 +0000
+++ b/emulators/py-keystone/Makefile    Wed Feb 10 10:35:13 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/02/19 00:52:28 kamil Exp $
+# $NetBSD: Makefile,v 1.4 2021/02/10 10:35:13 adam Exp $
 
 .include "../../emulators/keystone/Makefile.common"
 
@@ -11,8 +11,8 @@
 
 PYSETUPSUBDIR= bindings/python
 
-EGG_NAME=      ${DISTNAME:R}
+EGG_NAME=      keystone_engine-${PKGVERSION_NOREV}
 
 .include "../../emulators/keystone/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r a01911e8a4e7 -r 19bd83153c46 emulators/py-keystone/PLIST
--- a/emulators/py-keystone/PLIST       Wed Feb 10 10:20:22 2021 +0000
+++ b/emulators/py-keystone/PLIST       Wed Feb 10 10:35:13 2021 +0000
@@ -1,5 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1 2016/06/11 21:06:48 kamil Exp $
-${PYSITELIB}/${EGG_FILE}
+@comment $NetBSD: PLIST,v 1.2 2021/02/10 10:35:13 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
 ${PYSITELIB}/keystone/__init__.py
 ${PYSITELIB}/keystone/__init__.pyc
 ${PYSITELIB}/keystone/__init__.pyo
@@ -9,6 +13,9 @@
 ${PYSITELIB}/keystone/arm_const.py
 ${PYSITELIB}/keystone/arm_const.pyc
 ${PYSITELIB}/keystone/arm_const.pyo
+${PYSITELIB}/keystone/evm_const.py
+${PYSITELIB}/keystone/evm_const.pyc
+${PYSITELIB}/keystone/evm_const.pyo
 ${PYSITELIB}/keystone/hexagon_const.py
 ${PYSITELIB}/keystone/hexagon_const.pyc
 ${PYSITELIB}/keystone/hexagon_const.pyo
@@ -18,6 +25,7 @@
 ${PYSITELIB}/keystone/keystone_const.py
 ${PYSITELIB}/keystone/keystone_const.pyc
 ${PYSITELIB}/keystone/keystone_const.pyo
+${PYSITELIB}/keystone/libkeystone.so
 ${PYSITELIB}/keystone/mips_const.py
 ${PYSITELIB}/keystone/mips_const.pyc
 ${PYSITELIB}/keystone/mips_const.pyo



Home | Main Index | Thread Index | Old Index