pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/radare2 Update devel/radare2 to version 2.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f35235f21ca8
branches:  trunk
changeset: 312616:f35235f21ca8
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Sat Sep 08 15:14:56 2018 +0000

description:
Update devel/radare2 to version 2.4.0

Unfortunately I could not test this with devel/radare2-cutter: the
version currently packaged in pkgsrc did not build for me (issue
with Qt). It should certainly be updated as well to match this
version (eg to 1.4) but it now seems to require qt5-qtwebengine,
which is only in wip.

Also note that this is not the latest version of radare2.

Tested on NetBSD/amd64 (7.1).

>From the release notes for this version:

Date: 2018-03-05
Codename: Chusy Chabber
Downloads: https://radare.mikelloc.com/get/2.4.0/

Build

    Find _main in MSVC-compiled MZ binaries
    Meson: Added sdb building/installation rules
    Install Headers and .pc Files with Meson
    Use meson pkgconfig for .pc files
    Initial sys/purge.sh distro to remove r2 distro packages
    Fix MSVC dynamic linking
    Upgrade to latest acr to honor AWK env var
    Added v810 and tms320 to meson
    Added x86_udis to meson

Debugger/IO

    Use io.pcache instead of io.cache, improve speed
    Enable io.cache for afta too under aaaa
    Added asm.bbinfo for debugging op_pos
    Implemented wao for arm64
    Support RIOBind on RBuffer for fcpy_at

Assembly

    Added an alternative and colored view for varsum
    Improvements in bin.strfilter and asm.emu
    Hexagon QDSP6 v6 support - LGPLv3

Bin API

    More code cleanup in RBin api for file and obj
    Refactor RBin for file and obj, mach0 headers to stdout
    izz/izzj now works with -n without using rabin2
    Make idpi independent of bin loading

New Commands/Eval

    Implemented @@iS RBin.Section foreach operator
    Implemented @% suffix operator
    Refactored asm.cmt* and scr.*
    Implemented @B: to temporary seek to the Nth BB
    Implemented cp. and fix r_sys_copy on mac/ios
    Fix wao ret* for arm64
    Added command to edit ~/.radare2rc
    Improveed aae to support cstr and pstr like asm.emu.str
    Implemented support for cstr and pstr for asm.emu.str in disasm
    Added asm.emu.stroff: always show offset when printing asm.emu string
    Initial support for dbg.symstore
    Change all asm.emu* to asm.emu.*

Better support for AVR:

    Implemented opcode masking for improved zignatures
    Added missing opcode info (val, ptr)
    added pseudo code for avr instructions movw and st*

Better graphs and visual panel:

    VC rotates scr.color instead of toggling
    Implement axgj
    Added < command and make dietline reuse rcons.readChar
    Improve RCons.readPush and add .readFlush() to make V* happy
    Implemented r_cons_readpush() new api and fix the V... automation
    e graph.format=? and missing help for @@iS
    Intial implementation of function call argument display
    Experimental Cons_INVERT in strings in disasm
    Added VbC to browse comments
    Added VbF to browse functions
    Implement VV) - rotate asm.emu.str in visual graph
    Added ) key in visual to toggle asm.emu.str
    Honor scr.color in Vbf
    Added Visual browser for process threads

diffstat:

 devel/radare2/Makefile                        |   5 +-
 devel/radare2/PLIST                           |  57 ++++++++++++++------------
 devel/radare2/distinfo                        |  12 ++--
 devel/radare2/patches/patch-libr_socket_run.c |   8 +-
 4 files changed, 43 insertions(+), 39 deletions(-)

diffs (184 lines):

diff -r d882257c7992 -r f35235f21ca8 devel/radare2/Makefile
--- a/devel/radare2/Makefile    Sat Sep 08 14:10:52 2018 +0000
+++ b/devel/radare2/Makefile    Sat Sep 08 15:14:56 2018 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2018/08/22 09:44:59 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2018/09/08 15:14:56 khorben Exp $
 
-DISTNAME=      radare2-2.3.0
-PKGREVISION=   3
+DISTNAME=      radare2-2.4.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=radare/}
 
diff -r d882257c7992 -r f35235f21ca8 devel/radare2/PLIST
--- a/devel/radare2/PLIST       Sat Sep 08 14:10:52 2018 +0000
+++ b/devel/radare2/PLIST       Sat Sep 08 15:14:56 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2018/02/18 17:36:58 kamil Exp $
+@comment $NetBSD: PLIST,v 1.5 2018/09/08 15:14:56 khorben Exp $
 bin/r2
 bin/r2agent
 bin/r2pm
@@ -178,6 +178,7 @@
 lib/libr_reg.so.${PKGVERSION}
 lib/libr_search.so
 lib/libr_search.so.${PKGVERSION}
+lib/libr_shlr.a
 lib/libr_socket.so
 lib/libr_socket.so.${PKGVERSION}
 lib/libr_syscall.so
@@ -223,66 +224,66 @@
 man/man1/rax2.1
 man/man7/esil.7
 share/doc/radare2/all68k.r2
-share/doc/radare2/android
-share/doc/radare2/avr
+share/doc/radare2/android.md
+share/doc/radare2/avr.md
 share/doc/radare2/bash_autocompletion.sh
-share/doc/radare2/brainfuck
+share/doc/radare2/brainfuck.md
 share/doc/radare2/calling-conventions.md
 share/doc/radare2/capstone.md
 share/doc/radare2/clang-format
 share/doc/radare2/crosscompile
-share/doc/radare2/debug
 share/doc/radare2/debug-internals.md
+share/doc/radare2/debug.md
 share/doc/radare2/dexdump.sh
 share/doc/radare2/dospart
 share/doc/radare2/dwarf-line.rsc
-share/doc/radare2/emscripten
-share/doc/radare2/esil
-share/doc/radare2/flirt
+share/doc/radare2/emscripten.md
+share/doc/radare2/esil.md
+share/doc/radare2/flirt.md
 share/doc/radare2/fortunes.creepy
 share/doc/radare2/fortunes.fun
 share/doc/radare2/fortunes.nsfw
 share/doc/radare2/fortunes.tips
 share/doc/radare2/freebsd.md
-share/doc/radare2/gdb
-share/doc/radare2/haiku
+share/doc/radare2/gdb.md
+share/doc/radare2/haiku.md
 share/doc/radare2/hud
-share/doc/radare2/ida
+share/doc/radare2/ida.md
 share/doc/radare2/intro.md
-share/doc/radare2/io
-share/doc/radare2/io-fixing
+share/doc/radare2/io-fixing.md
+share/doc/radare2/io.md
 share/doc/radare2/iocache
 share/doc/radare2/ios.md
 share/doc/radare2/iphone.md
-share/doc/radare2/kvast
+share/doc/radare2/kvast.md
 share/doc/radare2/lang-plugins
-share/doc/radare2/license
+share/doc/radare2/license.md
 share/doc/radare2/macos.md
 share/doc/radare2/macros
-share/doc/radare2/maemo
+share/doc/radare2/maemo.md
 share/doc/radare2/objc.pl
-share/doc/radare2/oo
-share/doc/radare2/plugins
+share/doc/radare2/oo.md
+share/doc/radare2/plugins.md
 share/doc/radare2/portscan.r2
-share/doc/radare2/qnx
+share/doc/radare2/qnx.md
 share/doc/radare2/r2ascii.txt
-share/doc/radare2/rap
+share/doc/radare2/rap.md
 share/doc/radare2/rapatch.md
-share/doc/radare2/releases
+share/doc/radare2/releases.md
 share/doc/radare2/repo
-share/doc/radare2/rgraph
+share/doc/radare2/rgraph.md
 share/doc/radare2/sdb_ordinal.md
 share/doc/radare2/siol.md
-share/doc/radare2/solaris
-share/doc/radare2/static
+share/doc/radare2/solaris.md
 share/doc/radare2/static-plugins
-share/doc/radare2/strings
+share/doc/radare2/statis.md
+share/doc/radare2/strings.md
 share/doc/radare2/termux.md
 share/doc/radare2/types.md
 share/doc/radare2/uncrustify.cfg
 share/doc/radare2/vim
 share/doc/radare2/vim2r2.js
-share/doc/radare2/windbg
+share/doc/radare2/windbg.md
 share/doc/radare2/windows.md
 share/doc/radare2/yara.md
 share/radare2/${PKGVERSION}/cons/Makefile
@@ -292,9 +293,12 @@
 share/radare2/${PKGVERSION}/cons/consonance
 share/radare2/${PKGVERSION}/cons/cutter
 share/radare2/${PKGVERSION}/cons/dark
+share/radare2/${PKGVERSION}/cons/darkda
+share/radare2/${PKGVERSION}/cons/defragger
 share/radare2/${PKGVERSION}/cons/focus
 share/radare2/${PKGVERSION}/cons/lima
 share/radare2/${PKGVERSION}/cons/matrix
+share/radare2/${PKGVERSION}/cons/meson.build
 share/radare2/${PKGVERSION}/cons/monokai
 share/radare2/${PKGVERSION}/cons/ogray
 share/radare2/${PKGVERSION}/cons/pink
@@ -378,6 +382,7 @@
 share/radare2/${PKGVERSION}/format/mz
 share/radare2/${PKGVERSION}/format/pe32
 share/radare2/${PKGVERSION}/format/trx
+share/radare2/${PKGVERSION}/format/zip
 share/radare2/${PKGVERSION}/hud/main
 share/radare2/${PKGVERSION}/magic/OpenBSD
 share/radare2/${PKGVERSION}/magic/archive
diff -r d882257c7992 -r f35235f21ca8 devel/radare2/distinfo
--- a/devel/radare2/distinfo    Sat Sep 08 14:10:52 2018 +0000
+++ b/devel/radare2/distinfo    Sat Sep 08 15:14:56 2018 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.7 2018/02/18 17:36:58 kamil Exp $
+$NetBSD: distinfo,v 1.8 2018/09/08 15:14:56 khorben Exp $
 
-SHA1 (radare2-2.3.0.tar.gz) = 81d400138869144421b0f8c11b63a01837c046ab
-RMD160 (radare2-2.3.0.tar.gz) = 2aec3cd75a85c744581a823f11d25014f4637808
-SHA512 (radare2-2.3.0.tar.gz) = 4b52ae3678c5bbba1d173f95715807469e88603067faf4f1058606a4235050ec07aebdb6408e24c0c031b9554b4ca095bf77fc2791a9efa498dfff49200b3b1d
-Size (radare2-2.3.0.tar.gz) = 6175929 bytes
+SHA1 (radare2-2.4.0.tar.gz) = 46d83ada8ac895a398a5f6932a3dd6b667a482b2
+RMD160 (radare2-2.4.0.tar.gz) = 91b5d59e68d97c62dfeb9c4fb5346100789b2d10
+SHA512 (radare2-2.4.0.tar.gz) = fca5f78c7e1dab4af0aa4bf367953bc7a49bbd9da3ab7b32e8be79cc3c4f6a1be0db4c466d5f6e68c87c569d0096dd2841ea52f4ad75234046f1a96d8b4d4fc3
+Size (radare2-2.4.0.tar.gz) = 6301920 bytes
 SHA1 (patch-libr_Makefile) = b2841a0752070206d0ffcce769d361bd229e0728
 SHA1 (patch-libr_debug_Makefile) = c0be77267c70d428582ac99764e23b5e8fa7cb79
-SHA1 (patch-libr_socket_run.c) = 6b927e84683cf1dd2cb7834fd1613e3405ccfab5
+SHA1 (patch-libr_socket_run.c) = 1d0a871d4ab62040e48cf9a7fe8dcb6a892ac7e4
 SHA1 (patch-sys_ios-sdk.sh) = cc36a8270f1de0f199e89d4095ed4e99a8447804
diff -r d882257c7992 -r f35235f21ca8 devel/radare2/patches/patch-libr_socket_run.c
--- a/devel/radare2/patches/patch-libr_socket_run.c     Sat Sep 08 14:10:52 2018 +0000
+++ b/devel/radare2/patches/patch-libr_socket_run.c     Sat Sep 08 15:14:56 2018 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-libr_socket_run.c,v 1.2 2018/02/18 17:36:58 kamil Exp $
+$NetBSD: patch-libr_socket_run.c,v 1.3 2018/09/08 15:14:56 khorben Exp $
 
 Support SunOS.
 
---- libr/socket/run.c.orig     2018-01-29 10:36:59.000000000 +0000
+--- libr/socket/run.c.orig     2018-03-05 17:12:35.000000000 +0000
 +++ libr/socket/run.c
-@@ -278,7 +278,7 @@ static void restore_saved_fd (int saved,
+@@ -278,7 +278,7 @@ static void restore_saved_fd(int saved, 
  }
  
- static int handle_redirection_proc (const char *cmd, bool in, bool out, bool err) {
+ static int handle_redirection_proc(const char *cmd, bool in, bool out, bool err) {
 -#if HAVE_PTY
 +#if HAVE_PTY && !defined(__sun)
        // use PTY to redirect I/O because pipes can be problematic in



Home | Main Index | Thread Index | Old Index