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" +}