Skip to content

Commit 458cee3

Browse files
committed
lang/rizin: UNIX-like reverse engineering framework.
1 parent b828385 commit 458cee3

File tree

5 files changed

+722
-0
lines changed

5 files changed

+722
-0
lines changed

‎lang/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@
319319
SUBDIR += rexx-regutil
320320
SUBDIR += rexx-wrapper
321321
SUBDIR += rhino
322+
SUBDIR += rizin
322323
SUBDIR += ruby30
323324
SUBDIR += ruby31
324325
SUBDIR += ruby32

‎lang/rizin/Makefile‎

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
PORTNAME= rizin
2+
DISTVERSIONPREFIX= v
3+
DISTVERSION= 0.6.3
4+
CATEGORIES= lang security shells
5+
6+
MAINTAINER= arrowd@FreeBSD.org
7+
COMMENT= UNIX-like reverse engineering framework and command-line toolset
8+
WWW= https://rizin.re
9+
10+
LICENSE= LGPLv3 GPLv3
11+
LICENSE_FILE= ${WRKSRC}/COPYING
12+
13+
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}
14+
LIB_DEPENDS= libcapstone.so:devel/capstone \
15+
libmspack.so:archivers/libmspack \
16+
libxxhash.so:devel/xxhash \
17+
libtree-sitter.so:devel/tree-sitter \
18+
liblz4.so:archivers/liblz4 \
19+
libzip.so:archivers/libzip
20+
21+
USES= localbase meson pkgconfig python:build ssl
22+
23+
MESON_ARGS= -D use_sys_capstone=enabled \
24+
-D use_sys_magic=enabled \
25+
-D use_sys_libzip=enabled \
26+
-D use_sys_zlib=enabled \
27+
-D use_sys_lz4=enabled \
28+
-D use_sys_lzma=enabled \
29+
-D use_sys_xxhash=enabled \
30+
-D use_sys_openssl=enabled \
31+
-D use_sys_libmspack=enabled \
32+
-D use_sys_tree_sitter=enabled \
33+
-D enable_rz_test=false
34+
# -D use_sys_libzstd=enabled \
35+
36+
USE_GITHUB= yes
37+
GH_ACCOUNT= rizinorg
38+
GH_TUPLE= rizinorg:rz-libdemangle:3eb0ef8:libdemangle/subprojects/libdemangle \
39+
rizinorg:tree-sitter-c:81d96d8:tree_sitter_c/subprojects/tree-sitter-c \
40+
BLAKE3-team:BLAKE3:3f396d2:blake3/subprojects/blake3
41+
42+
post-extract:
43+
${CP} -r ${WRKSRC}/subprojects/packagefiles/blake3 ${WRKSRC}/subprojects
44+
${CP} -r ${WRKSRC}/subprojects/packagefiles/tree-sitter-c ${WRKSRC}/subprojects
45+
46+
.include <bsd.port.mk>

‎lang/rizin/distinfo‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
TIMESTAMP = 1697617223
2+
SHA256 (rizinorg-rizin-v0.6.3_GH0.tar.gz) = 5f78a5ca71d3029664447f341d48b2ec7767929aa2dc51ac2d3597ab7f3f2a32
3+
SIZE (rizinorg-rizin-v0.6.3_GH0.tar.gz) = 7511365
4+
SHA256 (rizinorg-rz-libdemangle-3eb0ef8_GH0.tar.gz) = 218f5040b6b66b5b4255537f4ed25eb17a5877f6d926bd61db305bab5c63bcce
5+
SIZE (rizinorg-rz-libdemangle-3eb0ef8_GH0.tar.gz) = 172821
6+
SHA256 (rizinorg-tree-sitter-c-81d96d8_GH0.tar.gz) = a9b50dd46ced6ca35d7013c6d3effcc5e33cc663b7a1ee17e3d0d2c662e52823
7+
SIZE (rizinorg-tree-sitter-c-81d96d8_GH0.tar.gz) = 358307
8+
SHA256 (BLAKE3-team-BLAKE3-3f396d2_GH0.tar.gz) = 2fe7680b591b4d93aa62f830b620f652b3edae8ff63a66ff3283557ecf82f4b1
9+
SIZE (BLAKE3-team-BLAKE3-3f396d2_GH0.tar.gz) = 224569

‎lang/rizin/pkg-descr‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Rizin is a free and open source reverse engineering framework. It takes a
2+
unique, Unix-friendly approach on reverse engineering. By default, it can be
3+
used in a shell-like environment tailored specifically to analyzing binaries
4+
directly from the command line without unnecessary weight. However, if you do
5+
want more, it provides a perfect basis for GUI and scripting.

0 commit comments

Comments
 (0)