1 |
commit: 64ff47121444571971ac7092180f61cd07bbf58f |
2 |
Author: John Helmert III <ajak <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 17 14:09:23 2021 +0000 |
4 |
Commit: John Helmert III <ajak <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 17 16:08:09 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64ff4712 |
7 |
|
8 |
dev-util/rizin: drop 0.2.1 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/807067 |
11 |
Bug: https://bugs.gentoo.org/792357 |
12 |
Signed-off-by: John Helmert III <ajak <AT> gentoo.org> |
13 |
|
14 |
dev-util/rizin/Manifest | 2 - |
15 |
dev-util/rizin/files/rizin-0.2.1-no-rzpipe.patch | 14 ---- |
16 |
dev-util/rizin/rizin-0.2.1.ebuild | 81 ------------------------ |
17 |
3 files changed, 97 deletions(-) |
18 |
|
19 |
diff --git a/dev-util/rizin/Manifest b/dev-util/rizin/Manifest |
20 |
index 1b95d38c2f3..2820a9c4eb5 100644 |
21 |
--- a/dev-util/rizin/Manifest |
22 |
+++ b/dev-util/rizin/Manifest |
23 |
@@ -1,3 +1 @@ |
24 |
-DIST rizin-src-v0.2.1.tar.xz 51439132 BLAKE2B 3ce048c5e93afa43b33bb7c36e7f7a96734886a44a67339c18b36de84b6e3dd015aa49fd048815bc7cb26a39bd3c44ebd00227fdb0c3dc9d9f07ff2ff1f1948d SHA512 4d0a68971a8fe1de3860f8ee18197606f59c22d4c24f3fcce691c73b45c8fe8c356a9b411604e9c3d4e5bb01f695b6ead32cdc217134eb4ddfec76867c16c327 |
25 |
DIST rizin-src-v0.3.0.tar.xz 64097204 BLAKE2B 308037ce60ec6523f337580221ea265c912ff92032fc5e1c2ab37430eae5a16cc2e8efa74447a79735c7814a35d3b08e5fc2f548612a1553c5edc2f314d22df5 SHA512 68f71e612bd4df90c79ebd4cb26c3e09bb370ccd9e51f574f2687f940b3934d9bf417108f3f7e678cabc6ddba7402e0420aab569c24316e07b2b56ed33153ed3 |
26 |
-DIST rizin-testbins-a80fd0d56d538d07a05ef01e29c8cb430a4f9d72.tar.gz 119214206 BLAKE2B 33916d466d77aaa0aeb6b221529a570a2bd2ad07b59b45967d75a84e3efbbc8ca3b8fff9cd88d61598b4e785ead2f8bc58eb7c1cb31007c27e497d80f36e4d2d SHA512 9b01a63ff281ac19b427e715d669e6080c4afdfd777ae762c30537c59bd2cdc2865adc1b34ccb61430b172e54995375b48bb35fd88f098b6a9839e9f3669fde4 |
27 |
|
28 |
diff --git a/dev-util/rizin/files/rizin-0.2.1-no-rzpipe.patch b/dev-util/rizin/files/rizin-0.2.1-no-rzpipe.patch |
29 |
deleted file mode 100644 |
30 |
index 3e7a6cc70c1..00000000000 |
31 |
--- a/dev-util/rizin/files/rizin-0.2.1-no-rzpipe.patch |
32 |
+++ /dev/null |
33 |
@@ -1,14 +0,0 @@ |
34 |
-https://github.com/rizinorg/rizin/issues/1192 |
35 |
---- a/test/unit/test_rzpipe.c |
36 |
-+++ b/test/unit/test_rzpipe.c |
37 |
-@@ -30,7 +30,9 @@ static bool test_rzpipe_404(void) { |
38 |
- } |
39 |
- |
40 |
- static int all_tests() { |
41 |
-- mu_run_test(test_rzpipe); |
42 |
-+ // Disabled in Genoo, relies on `rizin` binary in $PATH: |
43 |
-+ // https://github.com/rizinorg/rizin/issues/1192 |
44 |
-+ //mu_run_test(test_rzpipe); |
45 |
- mu_run_test(test_rzpipe_404); |
46 |
- return tests_passed != tests_run; |
47 |
- } |
48 |
|
49 |
diff --git a/dev-util/rizin/rizin-0.2.1.ebuild b/dev-util/rizin/rizin-0.2.1.ebuild |
50 |
deleted file mode 100644 |
51 |
index 056670c878d..00000000000 |
52 |
--- a/dev-util/rizin/rizin-0.2.1.ebuild |
53 |
+++ /dev/null |
54 |
@@ -1,81 +0,0 @@ |
55 |
-# Copyright 1999-2021 Gentoo Authors |
56 |
-# Distributed under the terms of the GNU General Public License v2 |
57 |
- |
58 |
-EAPI=7 |
59 |
- |
60 |
-PYTHON_COMPAT=(python3_{6,7,8,9,10}) |
61 |
- |
62 |
-# This is the commit that the CI for the release commit used |
63 |
-BINS_COMMIT="a80fd0d56d538d07a05ef01e29c8cb430a4f9d72" |
64 |
- |
65 |
-inherit meson python-any-r1 |
66 |
- |
67 |
-DESCRIPTION="reverse engineering framework for binary analysis" |
68 |
-HOMEPAGE="https://rizin.re/" |
69 |
- |
70 |
-SRC_URI="https://github.com/rizinorg/rizin/releases/download/v${PV}/rizin-src-v${PV}.tar.xz |
71 |
- test? ( https://github.com/rizinorg/rizin-testbins/archive/${BINS_COMMIT}.tar.gz -> rizin-testbins-${BINS_COMMIT}.tar.gz )" |
72 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
73 |
- |
74 |
-LICENSE="Apache-2.0 BSD LGPL-3 MIT" |
75 |
-SLOT="0" |
76 |
-IUSE="test" |
77 |
-RESTRICT="!test? ( test )" |
78 |
- |
79 |
-RDEPEND=" |
80 |
- sys-apps/file |
81 |
- app-arch/lz4:0= |
82 |
- dev-libs/capstone:0= |
83 |
- dev-libs/libuv:0= |
84 |
- dev-libs/libzip:0= |
85 |
- dev-libs/openssl:0= |
86 |
- >=dev-libs/tree-sitter-0.19.0 |
87 |
- dev-libs/xxhash |
88 |
- sys-libs/zlib:0= |
89 |
-" |
90 |
-DEPEND="${RDEPEND}" |
91 |
-BDEPEND="${PYTHON_DEPS}" |
92 |
- |
93 |
-PATCHES=("${FILESDIR}"/${PN}-0.2.1-no-rzpipe.patch) |
94 |
- |
95 |
-S="${WORKDIR}/${PN}-v${PV}" |
96 |
- |
97 |
-src_prepare() { |
98 |
- default |
99 |
- |
100 |
- local py_to_mangle=( |
101 |
- librz/core/cmd_descs/cmd_descs_generate.py |
102 |
- subprojects/lz4-1.9.3/contrib/meson/meson/GetLz4LibraryVersion.py |
103 |
- subprojects/lz4-1.9.3/contrib/meson/meson/InstallSymlink.py |
104 |
- subprojects/lz4-1.9.3/tests/test-lz4-list.py |
105 |
- subprojects/lz4-1.9.3/tests/test-lz4-speed.py |
106 |
- subprojects/lz4-1.9.3/tests/test-lz4-versions.py |
107 |
- sys/clang-format.py |
108 |
- test/fuzz/scripts/fuzz_rz_asm.py |
109 |
- test/scripts/gdbserver.py |
110 |
- ) |
111 |
- |
112 |
- python_fix_shebang "${py_to_mangle[@]}" |
113 |
- |
114 |
- if use test; then |
115 |
- mv "${WORKDIR}/rizin-testbins-${BINS_COMMIT}" "${S}/test/bins" || die |
116 |
- fi |
117 |
-} |
118 |
- |
119 |
-src_configure() { |
120 |
- local emesonargs=( |
121 |
- -Dcli=enabled |
122 |
- -Duse_sys_capstone=enabled |
123 |
- -Duse_sys_magic=enabled |
124 |
- -Duse_sys_libzip=enabled |
125 |
- -Duse_sys_zlib=enabled |
126 |
- -Duse_sys_lz4=enabled |
127 |
- -Duse_sys_xxhash=enabled |
128 |
- -Duse_sys_openssl=enabled |
129 |
- -Duse_sys_tree_sitter=enabled |
130 |
- |
131 |
- $(meson_use test enable_tests) |
132 |
- $(meson_use test enable_rz_test) |
133 |
- ) |
134 |
- meson_src_configure |
135 |
-} |