pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/capstone
Module Name: pkgsrc
Committed By: wiz
Date: Thu Jun 11 07:23:27 UTC 2026
Modified Files:
pkgsrc/devel/capstone: Makefile.common distinfo
pkgsrc/devel/capstone/patches:
patch-bindings_python_capstone_____init____.py
Log Message:
capstone: update to 5.0.9.
Version 5.0.9: May 28th, 2026
## What's Changed
* Set the correct CS_VERSION_EXTRA version number in capstone.h
* Fix reachable OOB read in M68KInstPrinter.c (GHSA-jrw4-wj52-2vw8).
* Fix invalid decoding for malformed br_table instruction in WASM (GHSA-5m9f-vqcm-g5pr).
--------------------------------
Version 5.0.8: May 23th, 2026
## What's Changed
* Python binding: Removing xprint utility used in the tests in v5 branch by @Antelox in https://github.com/capstone-engine/capstone/pull/2873
* v5: Speedup x86 decoding with the help of LUT tables by @trufae in https://github.com/capstone-engine/capstone/pull/2907
* Backport #2886 - cs_disasm_iter: return early on zero-size input by @Rot127 in https://github.com/capstone-engine/capstone/pull/2920
* Backport #2913 - Implement load libcapstone.so with RTLD_DEEPBIND by @Rot127 in https://github.com/capstone-engine/capstone/pull/2919
* Backport #2915 - Use setattr to rewire Cs.disasm to avoid type checking errors by @Rot127 in https://github.com/capstone-engine/capstone/pull/2918
* Backport of CVE-2026-47143 fix by @Rot127 in https://github.com/capstone-engine/capstone/pull/2924
* Backport #2930 by @Rot127 in https://github.com/capstone-engine/capstone/pull/2931
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/capstone/Makefile.common
cvs rdiff -u -r1.22 -r1.23 pkgsrc/devel/capstone/distinfo
cvs rdiff -u -r1.2 -r1.3 \
pkgsrc/devel/capstone/patches/patch-bindings_python_capstone_____init____.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/capstone/Makefile.common
diff -u pkgsrc/devel/capstone/Makefile.common:1.9 pkgsrc/devel/capstone/Makefile.common:1.10
--- pkgsrc/devel/capstone/Makefile.common:1.9 Tue Feb 24 08:22:47 2026
+++ pkgsrc/devel/capstone/Makefile.common Thu Jun 11 07:23:26 2026
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.9 2026/02/24 08:22:47 adam Exp $
+# $NetBSD: Makefile.common,v 1.10 2026/06/11 07:23:26 wiz Exp $
#
# used by devel/py-capstone/Makefile
-DISTNAME= capstone-5.0.7
+DISTNAME= capstone-5.0.9
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=capstone-engine/}
Index: pkgsrc/devel/capstone/distinfo
diff -u pkgsrc/devel/capstone/distinfo:1.22 pkgsrc/devel/capstone/distinfo:1.23
--- pkgsrc/devel/capstone/distinfo:1.22 Tue Feb 24 08:22:47 2026
+++ pkgsrc/devel/capstone/distinfo Thu Jun 11 07:23:26 2026
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.22 2026/02/24 08:22:47 adam Exp $
+$NetBSD: distinfo,v 1.23 2026/06/11 07:23:26 wiz Exp $
-BLAKE2s (capstone-5.0.7.tar.gz) = 37638c95555b3dfc3ef8b67c091ca82ca08f7ed3c7e1e4987b0a1a0cf2b6d0a5
-SHA512 (capstone-5.0.7.tar.gz) = e09788d7dfca281f8f3773323d72e1157df777878d59ace6a8996495d505dec10051ce002f473fa5ff8aa60d5e6bb4cff5e55faffb074643cae7c4515e324994
-Size (capstone-5.0.7.tar.gz) = 7653624 bytes
+BLAKE2s (capstone-5.0.9.tar.gz) = 4f86f8ac52630b9e25851256fcc09f3203bb593472f3aad695b388f31eb69d86
+SHA512 (capstone-5.0.9.tar.gz) = e4fe24002aed02cdbc0626dafee5211646e5da6a208c8ef99cd2d4f08beb0022999684af55cd80214aea4067fad427abb5ed5b1f5433b42a1f9047092481c039
+Size (capstone-5.0.9.tar.gz) = 7654476 bytes
SHA1 (patch-Makefile) = a96441309efa54cb8ec1beacb44891f981b0db3e
-SHA1 (patch-bindings_python_capstone_____init____.py) = ea410a99d4cd4ee0a109a7225b739971472c387d
+SHA1 (patch-bindings_python_capstone_____init____.py) = 63fb0eed7573e3380c71cfb72ec6a76b39592f7b
SHA1 (patch-bindings_python_setup.py) = ff4676969fabcae9dca355ec9d97f210f19957d2
SHA1 (patch-cstool_Makefile) = 68dd0a175d0e2270e2813f784cae5ca9f89a3a05
SHA1 (patch-cstool_getopt.c) = da34cce2b62e072b59697e6a64ef665dc520e75b
Index: pkgsrc/devel/capstone/patches/patch-bindings_python_capstone_____init____.py
diff -u pkgsrc/devel/capstone/patches/patch-bindings_python_capstone_____init____.py:1.2 pkgsrc/devel/capstone/patches/patch-bindings_python_capstone_____init____.py:1.3
--- pkgsrc/devel/capstone/patches/patch-bindings_python_capstone_____init____.py:1.2 Tue Aug 18 20:20:46 2020
+++ pkgsrc/devel/capstone/patches/patch-bindings_python_capstone_____init____.py Thu Jun 11 07:23:26 2026
@@ -1,13 +1,13 @@
-$NetBSD: patch-bindings_python_capstone_____init____.py,v 1.2 2020/08/18 20:20:46 riastradh Exp $
+$NetBSD: patch-bindings_python_capstone_____init____.py,v 1.3 2026/06/11 07:23:26 wiz Exp $
---- bindings/python/capstone/__init__.py.orig 2020-05-08 10:03:30.000000000 +0000
+--- bindings/python/capstone/__init__.py.orig 2026-05-28 15:32:54.000000000 +0000
+++ bindings/python/capstone/__init__.py
-@@ -280,7 +280,7 @@ else:
+@@ -373,7 +373,7 @@ def _load_lib(path):
_found = False
def _load_lib(path):
- lib_file = join(path, _lib)
+ lib_file = join(sys.prefix, 'lib', _lib)
if os.path.exists(lib_file):
- return ctypes.cdll.LoadLibrary(lib_file)
+ return ctypes.CDLL(lib_file, mode=mode)
else:
Home |
Main Index |
Thread Index |
Old Index