From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C85DA1382C5 for ; Mon, 29 Mar 2021 19:35:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DBD1CE0833; Mon, 29 Mar 2021 19:35:08 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C0F34E0833 for ; Mon, 29 Mar 2021 19:35:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 939CC340AC7 for ; Mon, 29 Mar 2021 19:35:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C149F5CF for ; Mon, 29 Mar 2021 19:35:05 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1617046503.c9353a5fa94c9ff0517f21810d2c1f8188b453c1.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/rizin/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/rizin/Manifest dev-util/rizin/metadata.xml dev-util/rizin/rizin-0.1.1.ebuild X-VCS-Directories: dev-util/rizin/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: c9353a5fa94c9ff0517f21810d2c1f8188b453c1 X-VCS-Branch: master Date: Mon, 29 Mar 2021 19:35:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ebfbe5c8-a6c5-4226-991a-440e4673fcdd X-Archives-Hash: 1098a16f433b9977f4618c4c33299f9b commit: c9353a5fa94c9ff0517f21810d2c1f8188b453c1 Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Mar 29 19:34:43 2021 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Mar 29 19:35:03 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9353a5f dev-util/rizin: new package, a relative of radare2 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/rizin/Manifest | 1 + dev-util/rizin/metadata.xml | 16 ++++++++++++ dev-util/rizin/rizin-0.1.1.ebuild | 51 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+) diff --git a/dev-util/rizin/Manifest b/dev-util/rizin/Manifest new file mode 100644 index 00000000000..97ccecd84fd --- /dev/null +++ b/dev-util/rizin/Manifest @@ -0,0 +1 @@ +DIST rizin-src-0.1.1.tar.xz 5475164 BLAKE2B 7646f07d462f0c7e9874fe29bf0b638f0d10756c2189e2811ee1711c6feb9b76e5c5e90574c084c568a8fbe204c8867e6bfad17f12567fa4a579924bdbda6932 SHA512 da3842e2b8534d1440aed547cf7a7ee351527d78883e7f989509b50cd99d3aebabb9307169a9a5cfcf6d82a8cf5ade5c653d2fdbf6b7d2052e46f049b1a4d035 diff --git a/dev-util/rizin/metadata.xml b/dev-util/rizin/metadata.xml new file mode 100644 index 00000000000..65f8f96f8fa --- /dev/null +++ b/dev-util/rizin/metadata.xml @@ -0,0 +1,16 @@ + + + + + ajak@gentoo.org + John Helmert III + + + sam@gentoo.org + Sam James + + + slyfox@gentoo.org + Sergei Trofimovich + + diff --git a/dev-util/rizin/rizin-0.1.1.ebuild b/dev-util/rizin/rizin-0.1.1.ebuild new file mode 100644 index 00000000000..95606c5515b --- /dev/null +++ b/dev-util/rizin/rizin-0.1.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +DESCRIPTION="reverse engineering framework for binary analysis" +HOMEPAGE="https://rizin.re/" + +SRC_URI="https://github.com/rizinorg/rizin/releases/download/v${PV}/rizin-src-${PV}.tar.xz" +KEYWORDS="~amd64" + +LICENSE="Apache-2.0 BSD LGPL-3 MIT" +SLOT="0" +IUSE="test" + +RESTRICT=test # TODO: find out why dwarf and other tests fail + +RDEPEND=" + sys-apps/file + app-arch/lz4:0= + dev-libs/capstone:0= + dev-libs/libuv:0= + dev-libs/libzip:0= + dev-libs/openssl:0= + dev-libs/tree-sitter + dev-libs/xxhash + sys-libs/zlib:0= +" +DEPEND="${RDEPEND}" + +src_configure() { + local emesonargs=( + -Dcli=enabled + -Duse_sys_capstone=true + -Duse_sys_magic=true + -Duse_sys_zip=true + -Duse_sys_zlib=true + -Duse_sys_lz4=true + -Duse_sys_xxhash=true + -Duse_sys_openssl=true + + # ::gentoo's tree-sitter SIGSEGVs rizin + -Duse_sys_tree_sitter=false + + $(meson_use test enable_tests) + $(meson_use test enable_rz_test) + ) + meson_src_configure +}