summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorpancake <pancake@nopcode.org>2021-07-07 19:38:41 +0200
committerGunnar Beutner <gunnar@beutner.name>2021-07-08 14:34:08 +0200
commit633dc74606a556cdea4606f93fa50f01f46e2cd6 (patch)
tree425b950dd4a1d256dbdb21978f9d7f502fe0e248 /Ports
parent5397845a41ce357e3bf1f71d2503882ba2ce78e7 (diff)
downloadserenity-633dc74606a556cdea4606f93fa50f01f46e2cd6.zip
Ports: Add radare2-5.4.0-git package
Diffstat (limited to 'Ports')
-rw-r--r--Ports/AvailablePorts.md1
-rwxr-xr-xPorts/radare2/package.sh12
2 files changed, 13 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index c0771fc759..57c6702495 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -117,6 +117,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`quake`](quake/) | Quake | 0.65 | https://github.com/SerenityOS/SerenityQuake |
| [`quake2`](quake2/) | QuakeII | 0.1 | https://github.com/SerenityOS/SerenityQuakeII |
| [`r0`](r0/) | r0 (minimalistic commandline hexadecimal editor) | 0.8 | https://github.com/radareorg/r0 |
+| [`radare2`](radare2/) | radare2 reverse engineering framework | 5.4.0-git | https://github.com/radareorg/radare2 |
| [`readline`](readline/) | GNU Readline Library | 8.1 | https://tiswww.case.edu/php/chet/readline/rltop.html |
| [`rsync`](rsync/) | rsync | 3.1.3 | https://rsync.samba.org/ |
| [`sam`](sam/) | Software Automatic Mouth (SAM) | c86ea39 | https://github.com/vidarh/SAM |
diff --git a/Ports/radare2/package.sh b/Ports/radare2/package.sh
new file mode 100755
index 0000000000..afc2b0cce0
--- /dev/null
+++ b/Ports/radare2/package.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+port=radare2
+version=5.4.0-git
+useconfigure=true
+workdir=$port-$version
+files="https://codeload.github.com/radareorg/radare2/tar.gz/refs/tags/$version radare2-$version.tar.gz c5e98cd4ea011dde2f08e68144e98e85e82fe45eef92a17dedc06e9404da117e"
+auth_type=sha256
+configopts="--disable-debugger --with-ostype=serenityos --host=i686-serenityos"
+
+pre_configure() {
+ cp -f "$workdir/dist/plugins-cfg/plugins.tiny.cfg" "$workdir/plugins.cfg"
+}