From nobody Sat Aug 10 15:05:39 2024 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 4Wh3xc19HKz5T4ZH; Sat, 10 Aug 2024 15:05:40 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wh3xc0gQHz4Kfk; Sat, 10 Aug 2024 15:05:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723302340; 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=y3MA/hQ6LjbgcyRW9fqOhBjhaN3ET+zIUtHzMEBsLRw=; b=x8Y6zLXzk7bCteTqhM/n0sZBheQsW7Tm2GwpFK596cnNkfsWOuWSWmZ12K2is8fNV/4sEe VFOJJ/OFlyLfq/RLeN1vKiW95gd27Ld+wAlP1aJGsJUL/ryk+XARniCPfBXy7YzglEhiAl 0EE1QEj6CkWRnoVZ7ecg//KFTvG0EXm3x5naBs0h80GsO4CgOTW7hvEBHqGkBSfDdL7jCe fj5BP/QqCe4GeBMRruKHOvzlzFj+7HetIrDugnD3Stp+qD5T4tjWR+TM1Ws5SZR8fC9svy 0utsi7IjAjpRGD1yywyNR9nDDW9XIqc7/OcjJuUssuJo6ZML/lRxforMKSsaOA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723302340; a=rsa-sha256; cv=none; b=kEIxLrOW970dQYi3Qwv4czepcnvE5MLuG2OD7Rj4gUCZv/FBnQVdXcPStq6cFnJEA3CyRY UDwzq6nxWa3SGnI8BDrBGkqgh2kSusrPw59L5dcHXfEtVrU7D3QcPF3xSr8KsOf31ZyKSN ywJ2wl0qILGzt96A2hvJOpGhkEsVWYcl5m5opRWPy1BpB5W1ooeSFfIT3x/f5yKtNTHVcx UnmJj4LY1ZMLk8ps6ke3tCig8+KV+zNOWptNPtMo66Cr+jKXXB9UX7Vo329VThUoQkxrSt aEKCFQi5GequKG3emaLIW2FNyQeH/foY/9lB3M8AYQ3xWVc0rGgBXPkvtgcKTw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723302340; 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=y3MA/hQ6LjbgcyRW9fqOhBjhaN3ET+zIUtHzMEBsLRw=; b=O0Qh5zVC+rwh/Z5xZnJVK42WUB1C/zyJiBTrsv+vEGCXCiSWX5Thw5EY9SoqZaR6PRFlMx ulagUshHRwL/OYK7u4sQTsxLc1lY8bkkdjXvtHpfrMzyfd4klnEUZAvEDi20kDqrnRl5if ePWYX+CrOj3yw6JsvgMV5u9IfrpjejTX+LBEUEVO52InPEOB+B4uIVeTP8KM6Fv0em4iVj eDtB0vdcLFJkaiej5lJ+rfu3K29KeXh9Mw4i55gV0T9SG1hDw0pSkBI8HgDR1+WH79kjnG xCkDgtXj7P8zhN5yiI42bZNxJ+loSnhtDpTsBW3YkwQ+EDRPX9wfNIgv+DXFWg== 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 4Wh3xc08xZz14WX; Sat, 10 Aug 2024 15:05:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47AF5dQ3088172; Sat, 10 Aug 2024 15:05:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47AF5d1P088169; Sat, 10 Aug 2024 15:05:39 GMT (envelope-from git) Date: Sat, 10 Aug 2024 15:05:39 GMT Message-Id: <202408101505.47AF5d1P088169@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: 3f895cf5a812 - main - x11/iaito: New port: Official QT frontend of radare2 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3f895cf5a8128a5c3ca852c9daf1cbaf5cf73f34 Auto-Submitted: auto-generated The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=3f895cf5a8128a5c3ca852c9daf1cbaf5cf73f34 commit 3f895cf5a8128a5c3ca852c9daf1cbaf5cf73f34 Author: Martin Filla AuthorDate: 2024-08-10 14:24:20 +0000 Commit: Vladimir Druzenko CommitDate: 2024-08-10 15:05:16 +0000 x11/iaito: New port: Official QT frontend of radare2 iaito is the official graphical interface for radare2, a libre reverse engineering framework. * Requires radare2 and Qt-5/6. * Iaito was the original name of this GUI before being forked as Cutter. * Use r2 plugins (f.ex: no need for r2ghidra-iaito plugin if r2ghidra is installed). * Focus on simplicity, parity with commands, keybindings and r2-style workflows. * Aims to cover other radare2 features, not just a disassembler: forensics, networking, bindiffing, solvers, ... https://github.com/radareorg/iaito PR: 278339 --- devel/Makefile | 1 + devel/iaito/Makefile | 39 ++++++++++++++++++++++++++++ devel/iaito/distinfo | 3 +++ devel/iaito/files/patch-Makefile | 11 ++++++++ devel/iaito/files/patch-src_lib__radare2.pri | 13 ++++++++++ devel/iaito/pkg-descr | 10 +++++++ 6 files changed, 77 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 957773771584..7641d67b405b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -987,6 +987,7 @@ SUBDIR += hyprlang SUBDIR += hyprutils SUBDIR += hyprwayland-scanner + SUBDIR += iaito SUBDIR += ice SUBDIR += ice37 SUBDIR += icestorm diff --git a/devel/iaito/Makefile b/devel/iaito/Makefile new file mode 100644 index 000000000000..eef31254152c --- /dev/null +++ b/devel/iaito/Makefile @@ -0,0 +1,39 @@ +PORTNAME= iaito +DISTVERSION= 5.9.2 +CATEGORIES= devel + +MAINTAINER= freebsd@sysctl.cz +COMMENT= Official QT frontend of radare2, a libre reverse engineering framework +WWW= https://github.com/radareorg/iaito + +LICENSE= GPLv3 + +LIB_DEPENDS= libcapstone.so:devel/capstone \ + libr_core.so:devel/radare2 + +USES= desktop-file-utils gl gmake pkgconfig qmake:no_configure qt:5 +USE_GITHUB= yes +GH_ACCOUNT= radareorg +USE_GL= gl +USE_QT= buildtools core gui linguisttools:build network svg widgets +GNU_CONFIGURE= yes +MAKE_ENV= DESTDIR=${STAGEDIR}${PREFIX} \ + QMAKE_FLAGS="PREFIX=${STAGEDIR}${PREFIX}" + +PLIST_FILES= bin/iaito \ + share/applications/org.radare.iaito.desktop \ + share/icons/hicolor/scalable/apps/org.radare.iaito.svg \ + share/metainfo/org.radare.iaito.appdata.xml + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/build/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/src/org.radare.iaito.desktop \ + ${STAGEDIR}${DESKTOPDIR} + ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps + ${INSTALL_DATA} ${WRKSRC}/src/img/org.radare.iaito.svg \ + ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps + ${MKDIR} ${STAGEDIR}${PREFIX}/share/metainfo + ${INSTALL_DATA} ${WRKSRC}/src/org.radare.iaito.appdata.xml \ + ${STAGEDIR}${PREFIX}/share/metainfo + +.include diff --git a/devel/iaito/distinfo b/devel/iaito/distinfo new file mode 100644 index 000000000000..fa034e4526f5 --- /dev/null +++ b/devel/iaito/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1722457123 +SHA256 (radareorg-iaito-5.9.2_GH0.tar.gz) = fdaf0e29cb41219224c44f770c838147f8dd5c2fc407a933745772bc86056337 +SIZE (radareorg-iaito-5.9.2_GH0.tar.gz) = 3105697 diff --git a/devel/iaito/files/patch-Makefile b/devel/iaito/files/patch-Makefile new file mode 100644 index 000000000000..ea8edf634450 --- /dev/null +++ b/devel/iaito/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2024-05-24 00:09:14 UTC ++++ Makefile +@@ -19,7 +19,7 @@ endif + ifeq ($(WANT_PYTHON_BINDINGS),1) + QMAKE_FLAGS+=IAITO_ENABLE_PYTHON_BINDINGS=true + endif +-QMAKE_FLAGS+=PREFIX=$(PREFIX) ++#QMAKE_FLAGS+=PREFIX=$(PREFIX) + + all: iaito + diff --git a/devel/iaito/files/patch-src_lib__radare2.pri b/devel/iaito/files/patch-src_lib__radare2.pri new file mode 100644 index 000000000000..b13f716240bf --- /dev/null +++ b/devel/iaito/files/patch-src_lib__radare2.pri @@ -0,0 +1,13 @@ +--- src/lib_radare2.pri.orig 2024-05-24 00:09:14 UTC ++++ src/lib_radare2.pri +@@ -78,8 +78,8 @@ win32 { + equals(USE_PKGCONFIG, 1) { + CONFIG += link_pkgconfig + # PKGCONFIG += r_core +- R2_INCLUDEPATH = "$$system("bash -c 'pkg-config --variable=includedir r_core'")/libr" +- R2_INCLUDEPATH += "$$system("bash -c 'pkg-config --variable=includedir r_core'")/libr/sdb" ++ R2_INCLUDEPATH = "$$system("sh -c 'pkg-config --variable=includedir r_core'")/libr" ++ R2_INCLUDEPATH += "$$system("sh -c 'pkg-config --variable=includedir r_core'")/libr/sdb" + INCLUDEPATH += $$R2_INCLUDEPATH + LIBS += $$system("pkg-config --libs r_core") + } else { diff --git a/devel/iaito/pkg-descr b/devel/iaito/pkg-descr new file mode 100644 index 000000000000..efd7acf63e96 --- /dev/null +++ b/devel/iaito/pkg-descr @@ -0,0 +1,10 @@ +iaito is the official graphical interface for radare2, a libre reverse +engineering framework. + * Requires radare2 and Qt-5/6. + * Iaito was the original name of this GUI before being forked as Cutter. + * Use r2 plugins (f.ex: no need for r2ghidra-iaito plugin if r2ghidra is + installed). + * Focus on simplicity, parity with commands, keybindings and r2-style + workflows. + * Aims to cover other radare2 features, not just a disassembler: + forensics, networking, bindiffing, solvers, ...