-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathorg.radare.iaito.yaml
272 lines (257 loc) · 9.47 KB
/
org.radare.iaito.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
app-id: org.radare.iaito
runtime: org.kde.Platform
runtime-version: 6.8
sdk: org.kde.Sdk
command: iaito
finish-args:
- --share=ipc
- --device=dri
- --socket=wayland
- --socket=fallback-x11
- --allow=devel
- --env=QT_QPA_PLATFORM=wayland;xcb
cleanup:
- /share/man
- /share/zsh
build-options:
env:
R2PM_OFFLINE: yes
# Separate translations manually since currently flatpak
# don't split share/app/translations folder automatically
separate-locales: false
add-extensions:
org.radare.iaito.translations:
directory: share/iaito/translations
bundle: true
autodelete: true
no-autodownload: false
locale-subset: false
# WebUI optional extension
org.radare.iaito.webui:
directory: share/iaito/webui
bundle: true
autodelete: true
no-autodownload: true
locale-subset: false
modules:
- name: radare2
buildsystem: autotools
build-options:
cflags: -O3
config-opts:
- --with-checks-level=0
# Not working right now, moving it manually at post-install
# - R2_WWWROOT=/app/share/iaito/webui/www
post-install:
- mkdir -p /app/share/iaito/webui
- mv /app/share/radare2/*.*.*/www /app/share/iaito/webui/
- ln -s ../../iaito/webui/www /app/share/radare2/*.*.*/
- install -Dpm644 -t /app/share/iaito/webui/share/metainfo org.radare.iaito.webui.metainfo.xml
- appstreamcli compose --no-net --prefix=/ --components=org.radare.iaito.webui
--origin=org.radare.iaito.webui --result-root=/app/share/iaito/webui --data-dir=/app/share/iaito/webui/share/app-info/xmls
/app/share/iaito/webui
sources:
- type: archive
url: https://github.com/radareorg/radare2/releases/download/5.9.8/radare2-5.9.8.tar.xz
archive-type: tar-xz
sha256: de061db6089cc1321ba9062b8aa9a0adaaa7a4d25128aab37a2a44e71a939829
x-checker-data:
type: json
url: https://api.github.com/repos/radareorg/radare2/releases/latest
timestamp-query: .published_at
version-query: .tag_name
url-query: |-
.assets[] | select(.name=="radare2-" + $version + ".tar.xz") | .browser_download_url
- type: file
path: extensions/org.radare.iaito.webui.metainfo.xml
- name: r2ghidra
buildsystem: autotools
build-options:
cflags: -O3
sources:
- type: archive
url: https://github.com/radareorg/r2ghidra/releases/download/5.9.6/r2ghidra-5.9.6.tar.xz
archive-type: tar-xz
sha256: 206ce49ba8950f07e6353a99de906fbf453d74360443ade556df05aaffae6637
x-checker-data:
type: json
url: https://api.github.com/repos/radareorg/r2ghidra/releases/latest
timestamp-query: .published_at
version-query: .tag_name
url-query: |-
.assets[] | select(.name=="r2ghidra-" + $version + ".tar.xz") | .browser_download_url
- type: shell # preconfigure
commands:
- make -C ghidra-native patch
- name: r2frida
buildsystem: autotools
build-options:
cflags: -O3
config-opts:
- --with-checks-level=0
sources:
- type: git
url: https://github.com/nowsecure/r2frida.git
tag: 5.9.8
commit: b365fe8b438a4586c5a7e2c67dd601f07ec8e8cc
x-checker-data:
type: json
url: https://api.github.com/repos/nowsecure/r2frida/releases/latest
timestamp-query: .published_at
version-query: .tag_name
tag-query: .tag_name
- type: file
url: https://github.com/frida/frida/releases/download/16.5.9/frida-core-devkit-16.5.9-linux-x86_64.tar.xz
sha256: f89480ac0d6b40550bac14db7011db817ea79547bb4a4c7094b2c0a59a0d60f9
only-arches: [x86_64]
x-checker-data:
type: json
url: https://api.github.com/repos/nowsecure/r2frida/releases/latest
version-query: .body | capture("Frida +(?<frida_version>[0-9.]+)") | .frida_version
url-data-url: >-
"https://api.github.com/repos/frida/frida/releases/tags/\($version)"
url-query: |-
.assets[] | select(.name=="frida-core-devkit-" + $version + "-linux-x86_64.tar.xz") | .browser_download_url
- type: file
url: https://github.com/frida/frida/releases/download/16.5.9/frida-core-devkit-16.5.9-linux-arm64.tar.xz
sha256: 24c532c4e316aa347dd1d2b6ecb50af2b4eeeb6c4bd8b76830e9ed5b19b12976
only-arches: [aarch64]
x-checker-data:
type: json
url: https://api.github.com/repos/nowsecure/r2frida/releases/latest
version-query: .body | capture("Frida +(?<frida_version>[0-9.]+)") | .frida_version
url-data-url: >-
"https://api.github.com/repos/frida/frida/releases/tags/\($version)"
url-query: |-
.assets[] | select(.name=="frida-core-devkit-" + $version + "-linux-arm64.tar.xz") | .browser_download_url
- type: shell # decompress frida-sdk keeping its own version
commands:
- FRIDA_DEST=$(echo frida-core-devkit-*.tar.xz | sed -r 's,^.*-([0-9\.]+)-.*$,ext/frida-linux-\1,');
mkdir -vp "${FRIDA_DEST}" && tar -vxJf frida-core-devkit-*.tar.xz -C "${FRIDA_DEST}"
- rm -vf frida-core-devkit-*.tar.xz
- name: r2dec
buildsystem: meson
build-options:
cflags: -O3
sources:
- type: git
url: https://github.com/wargio/r2dec-js.git
tag: 5.9.8-p1
commit: 4c4f6cca04a9dc6f8d8ee2f47a470029a064048e
x-checker-data:
type: json
url: https://api.github.com/repos/wargio/r2dec-js/releases/latest
timestamp-query: .published_at
version-query: .tag_name
tag-query: .tag_name
- type: git
url: https://github.com/quickjs-ng/quickjs.git
tag: v0.8.0
commit: 482291286b9960c255ff8765d18a618cc87d89a2
dest: subprojects/libquickjs
- type: shell
commands:
- meson subprojects packagefiles --apply
- name: r2yara
buildsystem: autotools
build-options:
cflags: -O3
config-opts:
- --with-checks-level=0
sources:
- type: git
url: https://github.com/radareorg/r2yara.git
tag: 1.4.0
commit: d1fef310ee89fe69d18493df3f27b0fb3842b771
x-checker-data:
type: json
url: https://api.github.com/repos/radareorg/r2yara/releases/latest
tag-query: .tag_name
version-query: $tag
timestamp-query: .published_at
modules:
- name: yara
buildsystem: autotools
build-options:
cflags: -O3
sources:
- type: git
url: https://github.com/VirusTotal/yara.git
tag: v4.5.2
commit: 688268d83983a0d61bb68ef3d8dfd28102b7d1b4
x-checker-data:
type: json
url: https://api.github.com/repos/VirusTotal/yara/releases/latest
tag-query: .tag_name
version-query: $tag | sub("^v"; "")
timestamp-query: .published_at
- type: shell
commands:
- ./bootstrap.sh
- name: r2ai-decai
buildsystem: simple
build-commands:
- make -C decai install
sources:
- type: git
url: https://github.com/radareorg/r2ai.git
tag: 0.9.2
commit: f7497c653b1faa1307a834ab652054ede6112fc5
x-checker-data:
type: json
url: https://api.github.com/repos/radareorg/r2ai/releases/latest
timestamp-query: .published_at
version-query: .tag_name
tag-query: .tag_name
- name: r2pipe-python
buildsystem: simple
build-commands:
- pip3 install --prefix=/app --no-deps .
sources:
- type: archive
url: https://files.pythonhosted.org/packages/9b/4d/8679a1ddcf5cb6c94f7005d9a889d4855a3980d1e689fe73204f34fa91fc/r2pipe-1.9.4.tar.gz
sha256: 021de46fe1e4d6932543c0f548c3c02126cbda7e930c6d0887d7b3996ee82119
x-checker-data:
type: pypi
name: r2pipe
- name: iaito
buildsystem: qmake
config-opts:
- -config
- release
# - IAITO_ENABLE_PYTHON=false
# - IAITO_ENABLE_PYTHON_BINDINGS=false
subdir: src
sources:
- type: git
url: https://github.com/radareorg/iaito.git
tag: 5.9.9
commit: 465cf40df7642fe708ab41f66a5aeff127098cc6
x-checker-data:
type: json
url: https://api.github.com/repos/radareorg/iaito/releases/latest
timestamp-query: .published_at
version-query: .tag_name
tag-query: .tag_name
is-main-source: true
- name: iaito-translations
buildsystem: simple
build-commands:
- make install PREFIX=/app
- install -Dpm644 -t /app/share/iaito/translations/share/metainfo org.radare.iaito.translations.metainfo.xml
- appstreamcli compose --no-net --prefix=/ --components=org.radare.iaito.translations
--origin=org.radare.iaito.translations --result-root=/app/share/iaito/translations
--data-dir=/app/share/iaito/translations/share/app-info/xmls /app/share/iaito/translations
sources:
- type: git
url: https://github.com/radareorg/iaito-translations.git
tag: '20221114'
commit: e66b3a962a7fc7dfd730764180011ecffbb206bf
x-checker-data:
type: json
url: https://api.github.com/repos/radareorg/iaito-translations/releases/latest
timestamp-query: .published_at
version-query: .tag_name
tag-query: .tag_name
- type: file
path: extensions/org.radare.iaito.translations.metainfo.xml