pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Feb 10 10:35:13 UTC 2021

Modified Files:
        pkgsrc/emulators/keystone: Makefile Makefile.common PLIST distinfo
        pkgsrc/emulators/py-keystone: Makefile PLIST
Added Files:
        pkgsrc/emulators/keystone/patches: patch-llvm_CMakeLists.txt

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/emulators/keystone/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/keystone/Makefile.common
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/keystone/PLIST \
    pkgsrc/emulators/keystone/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/keystone/patches/patch-llvm_CMakeLists.txt
cvs rdiff -u -r1.3 -r1.4 pkgsrc/emulators/py-keystone/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/py-keystone/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/keystone/Makefile
diff -u pkgsrc/emulators/keystone/Makefile:1.5 pkgsrc/emulators/keystone/Makefile:1.6
--- pkgsrc/emulators/keystone/Makefile:1.5      Thu Apr 25 07:32:52 2019
+++ pkgsrc/emulators/keystone/Makefile  Wed Feb 10 10:35:13 2021
@@ -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

Index: pkgsrc/emulators/keystone/Makefile.common
diff -u pkgsrc/emulators/keystone/Makefile.common:1.4 pkgsrc/emulators/keystone/Makefile.common:1.5
--- pkgsrc/emulators/keystone/Makefile.common:1.4       Sun Jan 26 17:31:09 2020
+++ pkgsrc/emulators/keystone/Makefile.common   Wed Feb 10 10:35:13 2021
@@ -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++

Index: pkgsrc/emulators/keystone/PLIST
diff -u pkgsrc/emulators/keystone/PLIST:1.2 pkgsrc/emulators/keystone/PLIST:1.3
--- pkgsrc/emulators/keystone/PLIST:1.2 Mon Feb 19 00:52:28 2018
+++ pkgsrc/emulators/keystone/PLIST     Wed Feb 10 10:35:13 2021
@@ -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
Index: pkgsrc/emulators/keystone/distinfo
diff -u pkgsrc/emulators/keystone/distinfo:1.2 pkgsrc/emulators/keystone/distinfo:1.3
--- pkgsrc/emulators/keystone/distinfo:1.2      Mon Feb 19 00:52:28 2018
+++ pkgsrc/emulators/keystone/distinfo  Wed Feb 10 10:35:13 2021
@@ -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

Index: pkgsrc/emulators/py-keystone/Makefile
diff -u pkgsrc/emulators/py-keystone/Makefile:1.3 pkgsrc/emulators/py-keystone/Makefile:1.4
--- pkgsrc/emulators/py-keystone/Makefile:1.3   Mon Feb 19 00:52:28 2018
+++ pkgsrc/emulators/py-keystone/Makefile       Wed Feb 10 10:35:13 2021
@@ -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 @@ LICENSE=      modified-bsd
 
 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"

Index: pkgsrc/emulators/py-keystone/PLIST
diff -u pkgsrc/emulators/py-keystone/PLIST:1.1 pkgsrc/emulators/py-keystone/PLIST:1.2
--- pkgsrc/emulators/py-keystone/PLIST:1.1      Sat Jun 11 21:06:48 2016
+++ pkgsrc/emulators/py-keystone/PLIST  Wed Feb 10 10:35:13 2021
@@ -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/arm64_const.pyo
 ${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.pyo
 ${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

Added files:

Index: pkgsrc/emulators/keystone/patches/patch-llvm_CMakeLists.txt
diff -u /dev/null pkgsrc/emulators/keystone/patches/patch-llvm_CMakeLists.txt:1.1
--- /dev/null   Wed Feb 10 10:35:13 2021
+++ pkgsrc/emulators/keystone/patches/patch-llvm_CMakeLists.txt Wed Feb 10 10:35:13 2021
@@ -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}")



Home | Main Index | Thread Index | Old Index