pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/radare2



Module Name:    pkgsrc
Committed By:   khorben
Date:           Sat Jan 28 01:28:42 UTC 2023

Modified Files:
        pkgsrc/devel/radare2: Makefile PLIST distinfo
        pkgsrc/devel/radare2/patches: patch-libr_io_p_shm.mk

Log Message:
radare2: update to 5.8.2

Changes in 5.8.2:

### anal

* Honor the micromips codealign, add missing =SN and cc
* Set indirect code refs from load instructions
* Make r_anal_optype_{to,from}_string use the same optypes array
* Rework of the function merging
* Add Plan 9 calling conventions
* Basic blocks are not modified if not initialized
* Add test for gb srcs/dsts json and valtype
* Fix multiple typos in ios-syscalls.txt

### analysis

* Make r_anal_optype_{to,from}_string use the same optypes array
* Rework of the function merging

### api

* Make r_str_casecmp() null-proof to fix weird crash on windows
* Implement RCore.cmdCallAt() + minor improve internal cmd calls
* Fix RFile.path() when $PATH contains no colon

### arch

* Add esil support for v850 ei and di instructions
* Add esil support for v850 reti instruction
* Add esil support for v850 stsr instruction
* Add esil support for v850 ldsr instruction
* Blindfix for a glitch in the v850 disassembler
* Simplify esil generation of v850 bcond instructions
* Add esil support for v850 setf instruction
* Improve v850 esil support and fix some related bugs
* Fix asm.cpu=? when using arch plugins
* Fix rasm2 -a mips{.gnu} -b16 -e -c micro -d '4fe5'
* Move mcore into the arch
* Support micromips on both gnu and capstone plugins
* Move anal.propeller
* Add micromips cpu for the mips.gnu plugin
* Move nios2 away from anal
* Register RArch plugins to be loaded dynamically

### asm

* Implement .extern directive in rasm2, fix other directives
* Fix ARM assembler for blt, ble, cmn, tst, and teq instructions

### bin

* Fix null deref assert in the TE parser
* Fix unnecessary memory exhaustion in the elf parser
* Fix allocation crash in bin.symbols
* Support elf-micromips auto detection
* DWARF5 line header parsing
* License Plan 9 code as MIT
* Add Plan 9 line number information
* Fix load address of arm64 kernel

### build

* Do not depend on strcasecmp in libzip, build fail on Centos7
* Upgrade v35arm64 to fix non-c99 compilation
* Update to the latest tinycc in the CI
* Remove the need for ios-include.tar.gz
* Use an authorized API call for the abi job to increase the rate limit
* Remove condition on 'linux-static' job
* Integrate ABI diffing into CI scripts
* Add --with-ssl-crypto, rename --with-openssl to --with-ssl
* meson: Install various missing files
* Use fakeroot if available when packaging for debian
* Integrate ABI diffing into CI scripts

### ci

* Upgrade CodeQL actions from v1 to v2
* Update the SPEC file and build RPM packages in the CI
* Update the SPEC file and build RPM packages in the CI

### crash

* Fix infinite loop and null derefs when calling pd from pd in Cr
* Blindfix with a hack and a workaround to fix an UAF in Cr
* Fix an UAF in the visual bit editor
* Fix null deref segfault in Vd1
* Fix UAF in oc
* Fix null deref in io.bank

### debug

* Fix #8992 - Apply command line settings before initializing debug plugin
* Add required A0 register into x86 register profile provided by GDB
* Use proper type for the XMM register inside profile recieved
* Implement dpt. command to print the current selected process

### disasm

* Optimize RAnal.kind() as its called many times with a large buffer from pd
* Bring back and improve the Cr command

### doc

* Reference abidiff's ci usage in doc/abi.md
* Reference doc/abi in DEVELOPERS

### esil

* Fix emulation of the arm64 tst instruction

### fs

* Improve json output for mlj - mountpoint type and delta

### globals

* Remove global in util/lib and just use RLogLevel

### indent

* Balance spacings in braces

### js

* Add experimental r2.cmd0 and r2.call0 for qjs
* Enable stack overflow check when recursive calls
* Improve error messages in the qjs repl
* Rename qjs's dir function to dump
* Support loading/unloading multiple QJS plugins
* Update typescript compiler and move r2plugin into r2
* Fix undefined behaviour in quickjs when casting double to int64
* Fix #21205 - Missing object definition for aoj
* Fix undefined behaviour in double->int cast
* Extra checks and enforce the singleton core plugin
* Improve typescript entrypoint logic detection
* Initial support for javascript core plugins
* Upgrade r2papi-ts from 0.0.4 to 0.0.10
* Support typescript Main namespace and pass --allowJs

### json

* Fix #21205 - Missing object definition for aoj

### lang

* Initial implementation of lang.s assembly scripting
* R_TH_LOCAL two globals in RLang.c
* Reestructure lib dependencies, add lang.asm plugin

### perf

* Massage the bottleneck that was making r2dec super slow
* Some more likely hints in RCore.cmd from valgrind

### print

* Fix pA and pA? (/A was moved into /a)
* Implement pvp and wvp to print and write pointers
* Fix fortune message for #md5 and add ph: variant of "ph "

### qjs

* Add QJS_NOABORT option to avoid aborts

* r2pm

* Improvements for r2pm when getcwd is null
* Add R2PM_NEEDS and auto-install system build deps if possible
* Fix git check before cloning the repo
* Fix R2PM_DEPS first time issue
* Report better errors on first r2pm setup
* Initial experimental support for portable qjs packages

### search

* Implement tire algorithm in

### shell

* Fix assert in ph
* Initial skeleton integration with GNU/Poke
* Fix profiling RCore.cmdCall() via ?t""
* Add help message for the quote command "?
* Implement LAj and LAq commands to list arch plugins
* Implement uname -h, -m, -b, -j ...
* Handle unknown subcommands for t
* pdrj shouldnt be modifying the current seek
* Add -j command as an alias for js:
* Add the ability to run qjs scripts with r2 -je

### slides:xa

* Improve r2slides with title, colors and 2 column mode

### test

* Update libfuzz build instructions
* Add the dwarf fuzzer program
* Add some test for ARM assembler

### tools

* Add R2_DEBUG_NOPAPI env var
* Show error when passing un-even hexpair to rasm2

### visual

* Fix (null) regression in visual bit editor's disasm
* Handle JK in bit editor to move 8 bytes fwd/backward

### vuln

* Fix ANSI Escape Sequence Injection vulns via DWARF


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/devel/radare2/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/radare2/PLIST
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/radare2/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/radare2/patches/patch-libr_io_p_shm.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/radare2/Makefile
diff -u pkgsrc/devel/radare2/Makefile:1.39 pkgsrc/devel/radare2/Makefile:1.40
--- pkgsrc/devel/radare2/Makefile:1.39  Wed Jan  4 01:48:48 2023
+++ pkgsrc/devel/radare2/Makefile       Sat Jan 28 01:28:42 2023
@@ -1,27 +1,21 @@
-# $NetBSD: Makefile,v 1.39 2023/01/04 01:48:48 khorben Exp $
+# $NetBSD: Makefile,v 1.40 2023/01/28 01:28:42 khorben Exp $
 
-DISTNAME=      radare2-5.8.0
+DISTNAME=      radare2-5.8.2
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=radareorg/}
 DISTFILES=     ${DEFAULT_DISTFILES}
-DISTFILES+=    vector35-arch-arm64-9ab2b0bedde459dc86e079718333de4a63bbbacb.tar.gz
-DISTFILES+=    vector35-arch-armv7-dde39f69ffea19fc37e681874b12cb4707bc4f30.tar.gz
-SITES.vector35-arch-arm64-9ab2b0bedde459dc86e079718333de4a63bbbacb.tar.gz= \
-               -${MASTER_SITES:=vector35-arch-arm64/archive/9ab2b0bedde459dc86e079718333de4a63bbbacb.tar.gz}
-SITES.vector35-arch-armv7-dde39f69ffea19fc37e681874b12cb4707bc4f30.tar.gz= \
-               -${MASTER_SITES:=vector35-arch-armv7/archive/dde39f69ffea19fc37e681874b12cb4707bc4f30.tar.gz}
+DISTFILES+=    vector35-arch-arm64-55d73c6bbb94448a5c615933179e73ac618cf876.tar.gz
+DISTFILES+=    vector35-arch-armv7-f270a6cc99644cb8e76055b6fa632b25abd26024.tar.gz
+SITES.vector35-arch-arm64-55d73c6bbb94448a5c615933179e73ac618cf876.tar.gz= \
+               -${MASTER_SITES:=vector35-arch-arm64/archive/55d73c6bbb94448a5c615933179e73ac618cf876.tar.gz}
+SITES.vector35-arch-armv7-f270a6cc99644cb8e76055b6fa632b25abd26024.tar.gz= \
+               -${MASTER_SITES:=vector35-arch-armv7/archive/f270a6cc99644cb8e76055b6fa632b25abd26024.tar.gz}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://www.radare.org/
 COMMENT=       Reverse engineering framework
 LICENSE=       gnu-gpl-v3 AND gnu-lgpl-v3
 
-post-extract:
-       ${MV} ${WRKDIR}/vector35-arch-arm64-9ab2b0bedde459dc86e079718333de4a63bbbacb \
-               ${WRKSRC}/libr/arch/p/arm/v35arm64/arch-arm64
-       ${MV} ${WRKDIR}/vector35-arch-armv7-dde39f69ffea19fc37e681874b12cb4707bc4f30 \
-               ${WRKSRC}/libr/arch/p/arm/v35arm64/arch-armv7
-
 HAS_CONFIGURE=         YES
 CONFIGURE_ARGS+=       --mandir=${PREFIX}/${PKGMANDIR}
 CONFIGURE_ARGS+=       --with-sysmagic
@@ -43,6 +37,12 @@ PLIST_SUBST+=        R2VERSION_MN=${R2VERSION_M
 PRINT_PLIST_AWK+=      { gsub(/${R2VERSION}/, "$${R2VERSION}") }
 PRINT_PLIST_AWK+=      { gsub(/${R2VERSION_MN}/, "$${R2VERSION_MN}") }
 
+post-extract:
+       ${MV} ${WRKDIR}/vector35-arch-arm64-55d73c6bbb94448a5c615933179e73ac618cf876\
+               ${WRKSRC}/libr/arch/p/arm/v35/arch-arm64
+       ${MV} ${WRKDIR}/vector35-arch-armv7-f270a6cc99644cb8e76055b6fa632b25abd26024 \
+               ${WRKSRC}/libr/arch/p/arm/v35/arch-armv7
+
 .include "options.mk"
 
 .include "../../devel/capstone/buildlink3.mk"

Index: pkgsrc/devel/radare2/PLIST
diff -u pkgsrc/devel/radare2/PLIST:1.11 pkgsrc/devel/radare2/PLIST:1.12
--- pkgsrc/devel/radare2/PLIST:1.11     Wed Dec 28 04:36:55 2022
+++ pkgsrc/devel/radare2/PLIST  Sat Jan 28 01:28:42 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2022/12/28 04:36:55 khorben Exp $
+@comment $NetBSD: PLIST,v 1.12 2023/01/28 01:28:42 khorben Exp $
 bin/r2
 bin/r2agent
 bin/r2p
@@ -398,6 +398,7 @@ share/radare2/${R2VERSION}/fcnsign/cc-ar
 share/radare2/${R2VERSION}/fcnsign/cc-avr-8.sdb
 share/radare2/${R2VERSION}/fcnsign/cc-hexagon-32.sdb
 share/radare2/${R2VERSION}/fcnsign/cc-m68k-32.sdb
+share/radare2/${R2VERSION}/fcnsign/cc-mips-16.sdb
 share/radare2/${R2VERSION}/fcnsign/cc-mips-32.sdb
 share/radare2/${R2VERSION}/fcnsign/cc-mips-64.sdb
 share/radare2/${R2VERSION}/fcnsign/cc-ppc-32.sdb

Index: pkgsrc/devel/radare2/distinfo
diff -u pkgsrc/devel/radare2/distinfo:1.18 pkgsrc/devel/radare2/distinfo:1.19
--- pkgsrc/devel/radare2/distinfo:1.18  Wed Jan  4 01:48:48 2023
+++ pkgsrc/devel/radare2/distinfo       Sat Jan 28 01:28:42 2023
@@ -1,15 +1,15 @@
-$NetBSD: distinfo,v 1.18 2023/01/04 01:48:48 khorben Exp $
+$NetBSD: distinfo,v 1.19 2023/01/28 01:28:42 khorben Exp $
 
-BLAKE2s (radare2-5.8.0.tar.gz) = d16762a681544c372644824436334232e58ab9cbbf20e429397a9f118c155353
-SHA512 (radare2-5.8.0.tar.gz) = a780e595e8fd5c821cd8eea5ee61e2a0476ed4f9e72490eae244d4a110a34000a0cdb73463beac7ff18177d269cf7ae00a3a146e6d6aeb61b48bc543b622c7a2
-Size (radare2-5.8.0.tar.gz) = 10994255 bytes
-BLAKE2s (vector35-arch-arm64-9ab2b0bedde459dc86e079718333de4a63bbbacb.tar.gz) = 58edf03ee326eb83dc48431178f1487d2e43872081b804cf83770bf0eea3cb0f
-SHA512 (vector35-arch-arm64-9ab2b0bedde459dc86e079718333de4a63bbbacb.tar.gz) = 
478f06c3fe09232152bbb63e500a440ca8546cc11fe59f9d489a25d327469b1869fe80b4e2e2cfad8a2b96261857cf74b6708628ac30ec8dabc5da05d04c1cfd
-Size (vector35-arch-arm64-9ab2b0bedde459dc86e079718333de4a63bbbacb.tar.gz) = 1050960 bytes
-BLAKE2s (vector35-arch-armv7-dde39f69ffea19fc37e681874b12cb4707bc4f30.tar.gz) = 208598bcc2151f331d4d8238e333c6e5899dfb0047719d30e068d0fc47a6a074
-SHA512 (vector35-arch-armv7-dde39f69ffea19fc37e681874b12cb4707bc4f30.tar.gz) = 
e9eb6cee02bbbb265914b1f9118c7a143ed76a201c085af5516855475bf7f3ad5f9c82d1548e85a0339fbc33e029ef0e4be9d8cef68d212ae16ce1a7f18453ff
-Size (vector35-arch-armv7-dde39f69ffea19fc37e681874b12cb4707bc4f30.tar.gz) = 255288 bytes
-SHA1 (patch-libr_io_p_shm.mk) = 77e33c5532f6c072a12b9c3c882667521188e002
+BLAKE2s (radare2-5.8.2.tar.gz) = 1320604100492648c98d18f445c972456c7cc7e4fe0c884077d377f2ccaaa605
+SHA512 (radare2-5.8.2.tar.gz) = a3b768cade2f0bba7b252331010cddda952882db32ade7e3e16fb6c766265b574672a0f093b070bca5ac48b67c263b87a66c08064601d6e1961c0ff4dd0abc22
+Size (radare2-5.8.2.tar.gz) = 11019539 bytes
+BLAKE2s (vector35-arch-arm64-55d73c6bbb94448a5c615933179e73ac618cf876.tar.gz) = fa95147e11a20b404021d618f52f81151aeedb9eeebabd1702eb0f6ed86cf362
+SHA512 (vector35-arch-arm64-55d73c6bbb94448a5c615933179e73ac618cf876.tar.gz) = 
433a9e972ee13269a495e94aba335b97892eb2614de1460e055e30d60976989f986ef253b352ba918786d4056e3a4d948a66ea90d25aa5ddf52a276152279c92
+Size (vector35-arch-arm64-55d73c6bbb94448a5c615933179e73ac618cf876.tar.gz) = 1050988 bytes
+BLAKE2s (vector35-arch-armv7-f270a6cc99644cb8e76055b6fa632b25abd26024.tar.gz) = a9e85ccf1cfd0ed8bf014494f9dc7239369b29f4447beaf08f95392d7f5ccc8c
+SHA512 (vector35-arch-armv7-f270a6cc99644cb8e76055b6fa632b25abd26024.tar.gz) = 
40c048b29856f48300d4539bc7bda38e6ceae1e8d4d9d131c4a7546b6e26b2fb96309c483b67e2c2290b06cea5fc52a7beb30557d54e89296e7734cc1ab06d10
+Size (vector35-arch-armv7-f270a6cc99644cb8e76055b6fa632b25abd26024.tar.gz) = 255278 bytes
+SHA1 (patch-libr_io_p_shm.mk) = e5778f859039228e5eaa42fe613f57f55d38fd57
 SHA1 (patch-shlr-sdb-src-Makefile) = 414260d6010873f04ca8e614438fd674af0543d2
 SHA1 (patch-shlr_qjs_src_cutils.h) = f36e586889dd18ee4354c1a1bcbad52c95951eda
 SHA1 (patch-sys_ios-sdk.sh) = 3f50b49e75dea1ac02f6d2ce8c556c77276e51d6

Index: pkgsrc/devel/radare2/patches/patch-libr_io_p_shm.mk
diff -u pkgsrc/devel/radare2/patches/patch-libr_io_p_shm.mk:1.1 pkgsrc/devel/radare2/patches/patch-libr_io_p_shm.mk:1.2
--- pkgsrc/devel/radare2/patches/patch-libr_io_p_shm.mk:1.1     Sat Dec 24 12:44:15 2022
+++ pkgsrc/devel/radare2/patches/patch-libr_io_p_shm.mk Sat Jan 28 01:28:42 2023
@@ -1,12 +1,12 @@
-$NetBSD: patch-libr_io_p_shm.mk,v 1.1 2022/12/24 12:44:15 wiz Exp $
+$NetBSD: patch-libr_io_p_shm.mk,v 1.2 2023/01/28 01:28:42 khorben Exp $
 
 Add library search path so this finds its dependencies.
 
---- libr/io/p/shm.mk.orig      2022-09-13 16:08:16.000000000 +0000
+--- libr/io/p/shm.mk.orig      2023-01-28 01:11:15.052990580 +0000
 +++ libr/io/p/shm.mk
-@@ -19,4 +19,4 @@ LINKFLAGS+=-L.. -lr_io
+@@ -23,4 +23,4 @@ R_IO_SHM_LINKFLAGS+=-L.. -lr_io
  endif
  
  $(N) p/${TARGET_SHM}: p/${OBJ_SHM}
--      cd p && $(CC) $(CFLAGS) -shared -L.. $(CSRC_SHM) -fPIC -o $(TARGET_SHM) -I../../include -I../../../shlr/sdb/src $(LINKFLAGS)
-+      cd p && $(CC) $(CFLAGS) -shared -L.. $(CSRC_SHM) -fPIC -o $(TARGET_SHM) -I../../include -I../../../shlr/sdb/src -Wl,-R${PREFIX}/lib $(LINKFLAGS)
+-      cd p && $(CC) $(CFLAGS) -shared -L.. $(CSRC_SHM) -fPIC -o $(TARGET_SHM) -I../../include -I../../../shlr/sdb/src $(R_IO_SHM_LINKFLAGS)
++      cd p && $(CC) $(CFLAGS) -shared -L.. $(CSRC_SHM) -fPIC -o $(TARGET_SHM) -I../../include -I../../../shlr/sdb/src -Wl,-R${PREFIX}/lib $(R_IO_SHM_LINKFLAGS)



Home | Main Index | Thread Index | Old Index