From nobody Sun Mar 13 20:41:44 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 38D471A21D9A; Sun, 13 Mar 2022 20:41:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KGs610nDMz4tTK; Sun, 13 Mar 2022 20:41:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647204105; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cqO8hVrvdxVGxAPm5T/YwRPaLC0ftkSJCYjxjHTcxK8=; b=UxsA/aOAFIZLK+YoSBlW5CMdQYkIJrZ+O6alYBZ+byportteUwYT3FHqZ7F5/mbnAzWlvr vFS/ta9jWNVDlrN3scl8l4Qwt0Xq4+wFujhae3ct+kGDIb6eT2duHXLdnbWoXeRGjdjUL2 VDKCjgdbT+eu8SiXGSHx5KI7MugEh/+ZhEpB4rXFNZ/2/TWQW3f21IW8VsRsaKDVdOGMCY 4wGTn74TNqozwqWSbFtUc/1gbp6i/yldtHX8nWUTSbyHwe/br3796vlPyYEp/AhBFc6Hpb lkHTrv0oF2Aj1X280lS8GR+wxv5sMzMS2NKDddIinN2N7aTNtNquS1/YBpOEtA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E55662010F; Sun, 13 Mar 2022 20:41:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 22DKfiP2099011; Sun, 13 Mar 2022 20:41:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22DKfiKi099010; Sun, 13 Mar 2022 20:41:44 GMT (envelope-from git) Date: Sun, 13 Mar 2022 20:41:44 GMT Message-Id: <202203132041.22DKfiKi099010@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: cdb636f8c87e - main - devel/capstone5: New PORT List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cdb636f8c87e139edfd20958b6ce80a61d22d34d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647204105; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cqO8hVrvdxVGxAPm5T/YwRPaLC0ftkSJCYjxjHTcxK8=; b=hvgt63t960aFVSVxMAkaTDM9xZa0PLoCjbeewYra22LYIdwwIEhdpbShGqXaaQGGLLZxvB POCoFj/uOq/urMi7dszK1HavHEl0Z5H8m+jrwbY5QBvjR0BwD+C6Byi6VAPeqGiyynWjU7 iEJkRY+CEWo6vUbA1hGowteKj9SUahiAQhwiV5gAvXAUvuRdDtj5sCzShz3tlpUqG+Gt1G CKFpcYR8egKiQUQwI6sOVE61GUAQc+fpeUlZPTp5T6wfZIlFRgLKZV6YTRn2nMm4k7fmvZ 2P/vzFZZ9AbLW9txJH8Ji4EbTFnigzVmazdgwlrqdNAzLzFKbV0zfVv6nwFtLA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647204105; a=rsa-sha256; cv=none; b=s39//0MwOtcsEm1ckKFHa94N3gOX3wCcBjJAz5bZwKUoON1rxPq+1k/vVpaCAC+FTq5qCp Dp8hnfqctFX+JmoxZxho88fY1Y6pXgNXdGWALHVROsydpjJx3LhzNofIN/n0MfcEskeYQM OczxbcLbyRuI16g90ONTBU7LsXVh/KqoXOTB2VOTjXHYSGJyKSTqwi4mUqa2V+EGGtfSO7 PvswY8+NnEWx4jfP5Ah0dV4aEz+BggNaoc83sozMaiHCbOvxNvcOTXB/lDzH/3L1r4a/En xAQPnKHoeIkICR4Mtx4RgJCf9e+vZ+Q0x7cMzsT207iNKjrb6bJusnuxfFYofw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=cdb636f8c87e139edfd20958b6ce80a61d22d34d commit cdb636f8c87e139edfd20958b6ce80a61d22d34d Author: Muhammad Moinur Rahman AuthorDate: 2022-03-13 20:39:42 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2022-03-13 20:41:36 +0000 devel/capstone5: New PORT This is the 5.X branch of capstone Capstone is a lightweight multi-platform, multi-architecture disassembly framework. Features: * Supported architectures: ARM, ARM64 (aka ARMv8), Mips, PowerPC & X86 * Clean/simple/lightweight/intuitive architecture-neutral API * Provide details on disassembled instruction (called "decomposer") * Provide some semantics of the disassembled instruction, such as list of implicit registers read & written. * Implemented in pure C language, with bindings for Python, Ruby, C#, Java, GO, OCaml & Vala available. * Native support for Windows & *nix (including MacOSX, Linux, *BSD & Solaris) * Thread-safe by design * Distributed under the open source BSD license WWW: http://capstone-engine.org/ --- devel/Makefile | 1 + devel/capstone5/Makefile | 31 +++++++++++++++++++++++++++++++ devel/capstone5/distinfo | 3 +++ devel/capstone5/pkg-descr | 16 ++++++++++++++++ devel/capstone5/pkg-plist | 23 +++++++++++++++++++++++ 5 files changed, 74 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 4bcf0b1055d7..a3acd8f32386 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -308,6 +308,7 @@ SUBDIR += capnproto080 SUBDIR += capstone3 SUBDIR += capstone4 + SUBDIR += capstone5 SUBDIR += cargo-c SUBDIR += cargo-generate SUBDIR += cask diff --git a/devel/capstone5/Makefile b/devel/capstone5/Makefile new file mode 100644 index 000000000000..ba8359a45276 --- /dev/null +++ b/devel/capstone5/Makefile @@ -0,0 +1,31 @@ +PORTNAME= capstone +DISTVERSION= 5.0-rc2 +CATEGORIES= devel +PKGNAMESUFFIX= 5 + +MAINTAINER= bofh@FreeBSD.org +COMMENT= Multi-platform, multi-architecture disassembly framework + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.TXT + +USES= cpe gmake +CPE_VENDOR= ${PORTNAME}-engine +USE_GITHUB= yes +GH_ACCOUNT= capstone-engine +USE_LDCONFIG= yes + +MAKE_ENV+= INSTALL_DATA="${INSTALL_DATA}" \ + INSTALL_LIB="${INSTALL_LIB}" +TEST_ENV= ${MAKE_ENV} \ + LD_LIBRARY_PATH=${STAGEDIR}${PREFIX}/lib +TEST_TARGET= check + +CONFLICTS= capstone +CONFLICTS_BUILD= capstone[34] + +pre-test: +# Disable broken tests. + @${REINPLACE_CMD} -E 's|^(check:.*)fuzzallcorp|\1|' ${WRKSRC}/Makefile + +.include diff --git a/devel/capstone5/distinfo b/devel/capstone5/distinfo new file mode 100644 index 000000000000..8d93d1371017 --- /dev/null +++ b/devel/capstone5/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1647203530 +SHA256 (capstone-engine-capstone-5.0-rc2_GH0.tar.gz) = 869d94813a887329bc11b4bf1f4410a7a2b7f270176439e90b158127d5a215dd +SIZE (capstone-engine-capstone-5.0-rc2_GH0.tar.gz) = 5761725 diff --git a/devel/capstone5/pkg-descr b/devel/capstone5/pkg-descr new file mode 100644 index 000000000000..fcd3cdb17cb6 --- /dev/null +++ b/devel/capstone5/pkg-descr @@ -0,0 +1,16 @@ +Capstone is a lightweight multi-platform, multi-architecture disassembly +framework. + +Features: + * Supported architectures: ARM, ARM64 (aka ARMv8), Mips, PowerPC & X86 + * Clean/simple/lightweight/intuitive architecture-neutral API + * Provide details on disassembled instruction (called "decomposer") + * Provide some semantics of the disassembled instruction, such as list of + implicit registers read & written. + * Implemented in pure C language, with bindings for Python, Ruby, C#, Java, + GO, OCaml & Vala available. + * Native support for Windows & *nix (including MacOSX, Linux, *BSD & Solaris) + * Thread-safe by design + * Distributed under the open source BSD license + +WWW: http://capstone-engine.org/ diff --git a/devel/capstone5/pkg-plist b/devel/capstone5/pkg-plist new file mode 100644 index 000000000000..03c703f95d15 --- /dev/null +++ b/devel/capstone5/pkg-plist @@ -0,0 +1,23 @@ +bin/cstool +include/capstone/arm.h +include/capstone/arm64.h +include/capstone/bpf.h +include/capstone/capstone.h +include/capstone/evm.h +include/capstone/m680x.h +include/capstone/m68k.h +include/capstone/mips.h +include/capstone/mos65xx.h +include/capstone/platform.h +include/capstone/ppc.h +include/capstone/riscv.h +include/capstone/sparc.h +include/capstone/systemz.h +include/capstone/tms320c64x.h +include/capstone/wasm.h +include/capstone/x86.h +include/capstone/xcore.h +lib/libcapstone.a +lib/libcapstone.so +lib/libcapstone.so.5 +libdata/pkgconfig/capstone.pc