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: Fri Feb 14 16:09:22 UTC 2025
Modified Files:
pkgsrc/emulators/py-unicorn: Makefile
pkgsrc/emulators/unicorn: Makefile.common PLIST distinfo
Added Files:
pkgsrc/emulators/unicorn/patches: patch-bindings_python_pyproject.toml
Removed Files:
pkgsrc/emulators/unicorn/patches: patch-cmake_bundle__static.cmake
Log Message:
unicorn py-unicorn: updated to 2.1.2
2.1.2
Highlights
macOS arm64 no longer provides binary wheels due to a feature missing from Github Action runners.
py3.8 support is brought back, python2 wheels are built and test as well and we migrate to cibuildwheel! @Antelox
Several polish to python bindings and implement new API. @elicn @droe
Revert previous break changes that return UC_ERR_ARG for non-existing registers. Now this prints a warning. We urge all users relying on this behavior to fix code as soon as possible.
Fix several segment faults, including a few long-standing random segfault issues.
Revive previous unicorn 1 test suite and related refactoring. @elicn @Antelox
Optimize memory handling and notdirty writes for faster memory access and snapshots, especially useful for fuzzing. @PhilippTakacs
RISC-V API updates. @apparentlymart
fix UC_HOOK_MEM_READ on aarch64. @glennsec
Support UC_TCG_OP_FLAG_CMP for ARM @dotCirill
An alternative tag prefixed with "v" is added for golang compatibility.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/emulators/py-unicorn/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/emulators/unicorn/Makefile.common
cvs rdiff -u -r1.5 -r1.6 pkgsrc/emulators/unicorn/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/emulators/unicorn/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/emulators/unicorn/patches/patch-bindings_python_pyproject.toml
cvs rdiff -u -r1.1 -r0 \
pkgsrc/emulators/unicorn/patches/patch-cmake_bundle__static.cmake
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/emulators/py-unicorn/Makefile
diff -u pkgsrc/emulators/py-unicorn/Makefile:1.8 pkgsrc/emulators/py-unicorn/Makefile:1.9
--- pkgsrc/emulators/py-unicorn/Makefile:1.8 Mon Nov 11 07:28:32 2024
+++ pkgsrc/emulators/py-unicorn/Makefile Fri Feb 14 16:09:22 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2024/11/11 07:28:32 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2025/02/14 16:09:22 adam Exp $
.include "../../emulators/unicorn/Makefile.common"
@@ -10,6 +10,7 @@ COMMENT= Python bindings for unicorn
LICENSE= gnu-gpl-v2
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-versioningit-[0-9]*:../../devel/py-versioningit
USE_LANGUAGES= # none
PYSETUPSUBDIR= bindings/python
Index: pkgsrc/emulators/unicorn/Makefile.common
diff -u pkgsrc/emulators/unicorn/Makefile.common:1.9 pkgsrc/emulators/unicorn/Makefile.common:1.10
--- pkgsrc/emulators/unicorn/Makefile.common:1.9 Mon Nov 4 19:05:18 2024
+++ pkgsrc/emulators/unicorn/Makefile.common Fri Feb 14 16:09:21 2025
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile.common,v 1.9 2024/11/04 19:05:18 adam Exp $
+# $NetBSD: Makefile.common,v 1.10 2025/02/14 16:09:21 adam Exp $
#
# used by emulators/unicorn/Makefile
# used by emulators/py-unicorn/Makefile
-DISTNAME= unicorn-2.1.1
+# TODO: on next update, check if patch-bindings_python_pyproject.toml
+# still applies; remove it or bump the version in it.
+DISTNAME= unicorn-2.1.2
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=unicorn-engine/}
GITHUB_PROJECT= unicorn
Index: pkgsrc/emulators/unicorn/PLIST
diff -u pkgsrc/emulators/unicorn/PLIST:1.5 pkgsrc/emulators/unicorn/PLIST:1.6
--- pkgsrc/emulators/unicorn/PLIST:1.5 Thu May 11 06:47:11 2023
+++ pkgsrc/emulators/unicorn/PLIST Fri Feb 14 16:09:21 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2023/05/11 06:47:11 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2025/02/14 16:09:21 adam Exp $
include/unicorn/arm.h
include/unicorn/arm64.h
include/unicorn/m68k.h
@@ -15,3 +15,4 @@ lib/libunicorn.a
lib/libunicorn.so
lib/libunicorn.so.2
lib/pkgconfig/unicorn.pc
+lib/unicorn.o
Index: pkgsrc/emulators/unicorn/distinfo
diff -u pkgsrc/emulators/unicorn/distinfo:1.13 pkgsrc/emulators/unicorn/distinfo:1.14
--- pkgsrc/emulators/unicorn/distinfo:1.13 Mon Nov 4 19:05:18 2024
+++ pkgsrc/emulators/unicorn/distinfo Fri Feb 14 16:09:21 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2024/11/04 19:05:18 adam Exp $
+$NetBSD: distinfo,v 1.14 2025/02/14 16:09:21 adam Exp $
-BLAKE2s (unicorn-2.1.1.tar.gz) = cedf040dec89974a357834695cf52343dfbf8d255e4633872fc75c24cd2d82bc
-SHA512 (unicorn-2.1.1.tar.gz) = d6184b87a0fb729397ec2ac2cb8bfd9d10c9d4276e49efa681c66c7c54d1a325305a920332a708e68989cc299d0d1a543a1ceeaf552a9b44ec93084f7bf85ef2
-Size (unicorn-2.1.1.tar.gz) = 4176172 bytes
-SHA1 (patch-cmake_bundle__static.cmake) = 3e4dd28c8c2b7b49714457b9566c57fa1b92e936
+BLAKE2s (unicorn-2.1.2.tar.gz) = 91cc6ed096feb56acac415e35544d8072d738aca7f15105b6baf897dcf84768a
+SHA512 (unicorn-2.1.2.tar.gz) = f05e16f02fbf527875f7246811307b8b224cecd4d305dd59490a2a51444672c7ec769153545c857b5425111c19b8c0c33abbb51fcc8d49c0777771d31cf32630
+Size (unicorn-2.1.2.tar.gz) = 4196820 bytes
+SHA1 (patch-bindings_python_pyproject.toml) = a956b37028bdc628fee9ca4ba4c62aa9fbb17a45
Added files:
Index: pkgsrc/emulators/unicorn/patches/patch-bindings_python_pyproject.toml
diff -u /dev/null pkgsrc/emulators/unicorn/patches/patch-bindings_python_pyproject.toml:1.1
--- /dev/null Fri Feb 14 16:09:22 2025
+++ pkgsrc/emulators/unicorn/patches/patch-bindings_python_pyproject.toml Fri Feb 14 16:09:22 2025
@@ -0,0 +1,22 @@
+$NetBSD: patch-bindings_python_pyproject.toml,v 1.1 2025/02/14 16:09:22 adam Exp $
+
+Python module version should be obtained from git, but git repository
+is not available in PyPI package, so set the version manually.
+
+--- bindings/python/pyproject.toml.orig 2025-02-14 16:03:21.037181926 +0000
++++ bindings/python/pyproject.toml
+@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
+
+ [project]
+ name = "unicorn"
+-dynamic = ["version"]
++version = "2.1.2"
+ requires-python = ">= 2.7, != 3.0.*, != 3.1.*, != 3.2.*, != 3.3.*, != 3.4.*, != 3.5.*, != 3.6.*"
+ authors = [
+ { name = "Nguyen Anh Quynh", email = "quynh%gmail.com@localhost" },
+@@ -39,5 +39,3 @@ test = [
+
+ [tool.setuptools.packages.find]
+ include = ["unicorn*"]
+-
+-[tool.versioningit]
Home |
Main Index |
Thread Index |
Old Index