pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/zydis



Module Name:    pkgsrc
Committed By:   alnsn
Date:           Thu Feb 26 22:55:54 UTC 2026

Added Files:
        pkgsrc/devel/zydis: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
Initial import of devel/zydis, version 4.1.1.

Fast and lightweight x86/x86-64 disassembler and code generation library.

Zydis comes with absolutely no dependencies, making it a perfect
candidate not only for user-mode code, but also for kernel drivers
and exotic build environments like UEFI.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/zydis/DESCR pkgsrc/devel/zydis/Makefile \
    pkgsrc/devel/zydis/PLIST pkgsrc/devel/zydis/buildlink3.mk \
    pkgsrc/devel/zydis/distinfo

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

Added files:

Index: pkgsrc/devel/zydis/DESCR
diff -u /dev/null pkgsrc/devel/zydis/DESCR:1.1
--- /dev/null   Thu Feb 26 22:55:54 2026
+++ pkgsrc/devel/zydis/DESCR    Thu Feb 26 22:55:54 2026
@@ -0,0 +1,5 @@
+Fast and lightweight x86/x86-64 disassembler and code generation library.
+
+Zydis comes with absolutely no dependencies, making it a perfect
+candidate not only for user-mode code, but also for kernel drivers
+and exotic build environments like UEFI.
Index: pkgsrc/devel/zydis/Makefile
diff -u /dev/null pkgsrc/devel/zydis/Makefile:1.1
--- /dev/null   Thu Feb 26 22:55:54 2026
+++ pkgsrc/devel/zydis/Makefile Thu Feb 26 22:55:54 2026
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2026/02/26 22:55:54 alnsn Exp $
+
+DISTNAME=       zydis-4.1.1
+GITHUB_TAG=     v${PKGVERSION_NOREV}
+CATEGORIES=    devel
+MASTER_SITES=   ${MASTER_SITE_GITHUB:=zyantific/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://zydis.re
+COMMENT=       Fast and lightweight x86/x86-64 disassembler
+LICENSE=       mit
+
+USE_LANGUAGES=         c
+
+CMAKE_CONFIGURE_ARGS+= -DZYDIS_BUILD_SHARED_LIB=ON
+CMAKE_CONFIGURE_ARGS+= -DZYDIS_BUILD_EXAMPLES=OFF
+CMAKE_CONFIGURE_ARGS+= -DZYDIS_BUILD_MAN=OFF  # requires ronn-ng
+CMAKE_CONFIGURE_ARGS+= -DZYDIS_BUILD_DOXYGEN=OFF
+
+# tests pass only if the package is installed
+TEST_TARGET=   test
+TEST_DEPENDS+= python314-[0-9]*:../../lang/python314
+
+.include "../../devel/cmake/build.mk"
+.include "../../devel/zycore-c/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/zydis/PLIST
diff -u /dev/null pkgsrc/devel/zydis/PLIST:1.1
--- /dev/null   Thu Feb 26 22:55:54 2026
+++ pkgsrc/devel/zydis/PLIST    Thu Feb 26 22:55:54 2026
@@ -0,0 +1,38 @@
+@comment $NetBSD: PLIST,v 1.1 2026/02/26 22:55:54 alnsn Exp $
+bin/ZydisDisasm
+bin/ZydisInfo
+include/Zydis/Decoder.h
+include/Zydis/DecoderTypes.h
+include/Zydis/Defines.h
+include/Zydis/Disassembler.h
+include/Zydis/Encoder.h
+include/Zydis/Formatter.h
+include/Zydis/FormatterBuffer.h
+include/Zydis/Generated/EnumISAExt.h
+include/Zydis/Generated/EnumISASet.h
+include/Zydis/Generated/EnumInstructionCategory.h
+include/Zydis/Generated/EnumMnemonic.h
+include/Zydis/Generated/EnumRegister.h
+include/Zydis/Internal/DecoderData.h
+include/Zydis/Internal/EncoderData.h
+include/Zydis/Internal/FormatterATT.h
+include/Zydis/Internal/FormatterBase.h
+include/Zydis/Internal/FormatterIntel.h
+include/Zydis/Internal/SharedData.h
+include/Zydis/Internal/String.h
+include/Zydis/MetaInfo.h
+include/Zydis/Mnemonic.h
+include/Zydis/Register.h
+include/Zydis/Segment.h
+include/Zydis/SharedTypes.h
+include/Zydis/ShortString.h
+include/Zydis/Status.h
+include/Zydis/Utils.h
+include/Zydis/Zydis.h
+lib/cmake/zydis/zydis-config-version.cmake
+lib/cmake/zydis/zydis-config.cmake
+lib/cmake/zydis/zydis-targets-noconfig.cmake
+lib/cmake/zydis/zydis-targets.cmake
+lib/libZydis.so
+lib/libZydis.so.4.1
+lib/libZydis.so.${PKGVERSION}.0
Index: pkgsrc/devel/zydis/buildlink3.mk
diff -u /dev/null pkgsrc/devel/zydis/buildlink3.mk:1.1
--- /dev/null   Thu Feb 26 22:55:54 2026
+++ pkgsrc/devel/zydis/buildlink3.mk    Thu Feb 26 22:55:54 2026
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2026/02/26 22:55:54 alnsn Exp $
+
+BUILDLINK_TREE+=       zydis
+
+.if !defined(ZYDIS_BUILDLINK3_MK)
+ZYDIS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.zydis+=  zydis>=4.1.1
+BUILDLINK_ABI_DEPENDS.zydis+=  zydis>=4.1.1
+BUILDLINK_PKGSRCDIR.zydis?=    ../../devel/zydis
+
+.include "../../devel/zycore-c/buildlink3.mk"
+.endif # ZYDIS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -zydis
Index: pkgsrc/devel/zydis/distinfo
diff -u /dev/null pkgsrc/devel/zydis/distinfo:1.1
--- /dev/null   Thu Feb 26 22:55:54 2026
+++ pkgsrc/devel/zydis/distinfo Thu Feb 26 22:55:54 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/02/26 22:55:54 alnsn Exp $
+
+BLAKE2s (zydis-4.1.1.tar.gz) = 7e81446639241dd651ba77e107c32ed0309a5e5c8b10aac664365e8d25cc92f0
+SHA512 (zydis-4.1.1.tar.gz) = 177e84fedb3449e29ffb6c0b02a92066ba1aa8fb624facad5593902b8e08cb8ae0b20ff38c16987989c8e414d7484d09dab7917c00a8fe54aa9bab4bc90e275d
+Size (zydis-4.1.1.tar.gz) = 811528 bytes



Home | Main Index | Thread Index | Old Index