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 Apr 16 12:46:52 UTC 2025
Modified Files:
pkgsrc/emulators/py-unicorn: Makefile
pkgsrc/emulators/unicorn: Makefile.common distinfo
pkgsrc/emulators/unicorn/patches: patch-bindings_python_pyproject.toml
Log Message:
unicorn py-unicorn: updated to 2.1.3
2.1.3 includes a few fixes for distribution and stability issues. We urge users to update their versions as previous version contains security vulnerabilities.
Fix & Improvements
Several security issues fixes. @PhilippTakacs
Add alpine workflow and fix several distribution issues. @Antelox @disconnect3d
Introduce importlib_resources for py3.8 (EOL already) @Arusekk @Antelox
Mips64 improvements. @OBarronCS
MIPS related fixes and implement a few registers.
x86 default CPU model is changed to UC_CPU_X86_HASWELL and remove a few quirks.
Fix CR4 implementation.
Fix python bindings break changes by adding back ctl_tlb_mode.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/emulators/py-unicorn/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/emulators/unicorn/Makefile.common
cvs rdiff -u -r1.14 -r1.15 pkgsrc/emulators/unicorn/distinfo
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/emulators/unicorn/patches/patch-bindings_python_pyproject.toml
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.9 pkgsrc/emulators/py-unicorn/Makefile:1.10
--- pkgsrc/emulators/py-unicorn/Makefile:1.9 Fri Feb 14 16:09:22 2025
+++ pkgsrc/emulators/py-unicorn/Makefile Wed Apr 16 12:46:52 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2025/02/14 16:09:22 adam Exp $
+# $NetBSD: Makefile,v 1.10 2025/04/16 12:46:52 adam Exp $
.include "../../emulators/unicorn/Makefile.common"
@@ -9,8 +9,9 @@ MAINTAINER= pkgsrc-users%NetBSD.org@localhost
COMMENT= Python bindings for unicorn
LICENSE= gnu-gpl-v2
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-versioningit-[0-9]*:../../devel/py-versioningit
+TEST_DEPENDS+= ${PYPKGPREFIX}-capstone>=5.0.1:../../devel/py-capstone
USE_LANGUAGES= # none
PYSETUPSUBDIR= bindings/python
Index: pkgsrc/emulators/unicorn/Makefile.common
diff -u pkgsrc/emulators/unicorn/Makefile.common:1.10 pkgsrc/emulators/unicorn/Makefile.common:1.11
--- pkgsrc/emulators/unicorn/Makefile.common:1.10 Fri Feb 14 16:09:21 2025
+++ pkgsrc/emulators/unicorn/Makefile.common Wed Apr 16 12:46:52 2025
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile.common,v 1.10 2025/02/14 16:09:21 adam Exp $
+# $NetBSD: Makefile.common,v 1.11 2025/04/16 12:46:52 adam Exp $
#
# used by emulators/unicorn/Makefile
# used by emulators/py-unicorn/Makefile
# 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
+DISTNAME= unicorn-2.1.3
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=unicorn-engine/}
GITHUB_PROJECT= unicorn
Index: pkgsrc/emulators/unicorn/distinfo
diff -u pkgsrc/emulators/unicorn/distinfo:1.14 pkgsrc/emulators/unicorn/distinfo:1.15
--- pkgsrc/emulators/unicorn/distinfo:1.14 Fri Feb 14 16:09:21 2025
+++ pkgsrc/emulators/unicorn/distinfo Wed Apr 16 12:46:52 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2025/02/14 16:09:21 adam Exp $
+$NetBSD: distinfo,v 1.15 2025/04/16 12:46:52 adam Exp $
-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
+BLAKE2s (unicorn-2.1.3.tar.gz) = c8e090375a2a37b6ddbf033c1c3b6c6297f6b8fd648b3f34771e404eef415df9
+SHA512 (unicorn-2.1.3.tar.gz) = 49aa53cd981e88857cf579010e3e86a6808fbfc9723fbf73c3d5bcebf945c5d78ffcdf426a4bbcd06b13337a3a0ce76bce8815497e3521023ae432a053d3e4bb
+Size (unicorn-2.1.3.tar.gz) = 4197694 bytes
+SHA1 (patch-bindings_python_pyproject.toml) = 03e3b7d67f804aecb17ac2d74484801b38e8714e
Index: pkgsrc/emulators/unicorn/patches/patch-bindings_python_pyproject.toml
diff -u pkgsrc/emulators/unicorn/patches/patch-bindings_python_pyproject.toml:1.1 pkgsrc/emulators/unicorn/patches/patch-bindings_python_pyproject.toml:1.2
--- pkgsrc/emulators/unicorn/patches/patch-bindings_python_pyproject.toml:1.1 Fri Feb 14 16:09:22 2025
+++ pkgsrc/emulators/unicorn/patches/patch-bindings_python_pyproject.toml Wed Apr 16 12:46:52 2025
@@ -1,22 +1,23 @@
-$NetBSD: patch-bindings_python_pyproject.toml,v 1.1 2025/02/14 16:09:22 adam Exp $
+$NetBSD: patch-bindings_python_pyproject.toml,v 1.2 2025/04/16 12:46:52 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.orig 2025-03-07 11:43:00.000000000 +0000
+++ bindings/python/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "unicorn"
-dynamic = ["version"]
-+version = "2.1.2"
++version = "2.1.3"
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 = [
+ dependencies = [
+ "importlib_resources; python_version < '3.9'"
+@@ -42,6 +42,3 @@ test = [
[tool.setuptools.packages.find]
include = ["unicorn*"]
-
--[tool.versioningit]
+-[tool.setuptools_scm]
+-root = '../../'
Home |
Main Index |
Thread Index |
Old Index