13 Commits

Author SHA256 Message Date
69d26a3187 Accepting request 1321375 from devel:tools
- Add %check section and test bins
- Rename sdb.1 man page to r2sdb.1 to avoid conflict with snobol4 
- Fix patch pkgconfig.patch to be -p1-able
- Update to version 6.0.7:
- Update to version 6.0.6:
- Update to version 6.0.4:
- Update to version 6.0.2:
- Add missing sub directories for r_util.h and r_muta.h
  otherwise it might fails in calling r2pm -ci <plugin>
- Correct library package nameing scheme to make it build
  also on x86_64 on 15.6 and 15.7
- Remove patches CVE-2025-1378.patch, CVE-2025-1864.patch,
  CVE-2025-1744.patch, CVE-2025-5641.patch: merged upstream
- Update to version 6.0.0:

OBS-URL: https://build.opensuse.org/request/show/1321375
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/radare2?expand=0&rev=12
2025-12-08 10:54:41 +00:00
0101967a18 - Add %check section and test bins
OBS-URL: https://build.opensuse.org/package/show/devel:tools/radare2?expand=0&rev=57
2025-12-06 16:00:11 +00:00
1d2d713e7c - Rename sdb.1 man page to r2sdb.1 to avoid conflict with snobol4
OBS-URL: https://build.opensuse.org/package/show/devel:tools/radare2?expand=0&rev=56
2025-12-06 15:11:09 +00:00
b045bba005 - Fix patch pkgconfig.patch to be -p1-able
- Update to version 6.0.7:
  * shell: Fix parsing r2 -H$(VARNAME) without a space
- Update to version 6.0.6:
  * Full changelog is available at:
    https://github.com/radareorg/radare2/releases/tag/6.0.6
- Update to version 6.0.4:
  * Full changelog is available at:
    https://github.com/radareorg/radare2/releases/tag/6.0.4
- Update to version 6.0.2:
  * Full changelog is available at:
    https://github.com/radareorg/radare2/releases/tag/6.0.2

OBS-URL: https://build.opensuse.org/package/show/devel:tools/radare2?expand=0&rev=55
2025-12-04 14:34:35 +00:00
3daed6ccbe - Add missing sub directories for r_util.h and r_muta.h
otherwise it might fails in calling r2pm -ci <plugin>

- Correct library package nameing scheme to make it build
  also on x86_64 on 15.6 and 15.7

OBS-URL: https://build.opensuse.org/package/show/devel:tools/radare2?expand=0&rev=54
2025-12-04 13:40:18 +00:00
a282356f86 Accepting request 1296678 from home:VaiTon:branches:devel:tools
- Remove patches CVE-2025-1378.patch, CVE-2025-1864.patch,
  CVE-2025-1744.patch, CVE-2025-5641.patch: merged upstream
- Update to version 6.0.0:
  * ABI changes:
    ~ RCorePlugins now have a session
    ~ Finish the RKons refactoring, all r_cons calls take instance instead of global
    ~ Rename RCrypto to RMuta
    ~ Use RCons instance from RLine
    ~ Rename RIOPlugin.widget to RIOPlugin.data
    ~ Refactor the RRegAlias api
    ~ Camelcase all the RCoreBind methods
  * Breaking API changes:
    ~ Boolify r_cons_rgb_parse
    ~ Add RLogLevel.fromString() and use it from -e log.level=?
    ~ Deprecate r_bin_addr2line
    ~ Rename RBinDbgItem into RBinAddrline
    ~ RNumCalc is now known as RNumMath
    ~ Move RFlagItem.alias into the Meta
    ~ Rename core->offset into core->addr (asm.offset and more!)
    ~ Rename RFlagItem.offset -> addr
  * API changes:
    ~ Boolify r_cons_rgb_parse
    ~ Add RLogLevel.fromString() and use it from -e log.level=?
    ~ Deprecate r_bin_addr2line
    ~ Rename RBinDbgItem into RBinAddrline
    ~ RNumCalc is now known as RNumMath
    ~ Move RFlagItem.alias into the Meta
    ~ Rename core->offset into core->addr (asm.offset and more!)
    ~ Rename RFlagItem.offset -> addr
    ~ Deprecate RLang.list()

OBS-URL: https://build.opensuse.org/request/show/1296678
OBS-URL: https://build.opensuse.org/package/show/devel:tools/radare2?expand=0&rev=53
2025-10-16 11:28:52 +00:00
c7bc3a74ee Accepting request 1285413 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1285413
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/radare2?expand=0&rev=11
2025-06-13 16:47:16 +00:00
f003717c6a Accepting request 1284868 from home:dirkmueller:Factory
- add CVE-2025-5641.patch as a warning that the threaded option
  is known to be unsafe (bsc#1244121, CVE-2025-5641)
- refresh other patches

OBS-URL: https://build.opensuse.org/request/show/1284868
OBS-URL: https://build.opensuse.org/package/show/devel:tools/radare2?expand=0&rev=51
2025-06-13 10:44:59 +00:00
3ce6c5b25c Accepting request 1250105 from home:abergmann:radare2:CVE-2025-1744+CVE-2025-1864:Factory
- Fix buffer overflow and potential code execution.
  add CVE-2025-1864.patch (bsc#1238451, CVE-2025-1864)
- Fix heap-based buffer over-read or buffer overflow.
  add CVE-2025-1744.patch (bsc#1238075, CVE-2025-1744)
- Add explicit Python 3 build requirement.

OBS-URL: https://build.opensuse.org/request/show/1250105
OBS-URL: https://build.opensuse.org/package/show/devel:tools/radare2?expand=0&rev=50
2025-03-11 10:40:59 +00:00
c700308438 Accepting request 1247343 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1247343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/radare2?expand=0&rev=10
2025-02-20 15:41:43 +00:00
e9b78c3729 - add CVE-2025-1378.patch (bsc#1237250, CVE-2025-1378)
https://github.com/radareorg/radare2/releases/tag/5.9.0
  * Faster analysis, type matching, binary parsing (2-4x)
  * Add assembler for riscv and disassemblers for PDP11, Alpha64 and armv7.v35
  * Improved integration with r2frida remote filesystems
  * Cleaning debugger for windows (32 and 64) and macOS makes it more reliable and stable
  * Better build scripts for Windows (add asan and w32 profiles)
  * AES key wrap algorithm support in rahash2
  * Print and convert ternary values back and forth
- Update to 4.5.0
    Fix build of the onefied shared lib
  *
  * Enable asm.jmpsub by default
  * Fix m68k analysis issues
  *  Fix infinite loop bug related to anal.nopskip
  *  Appveyor cleaning
  * Fix infinite loop bug related to anal.nopskip
  * Appveyor cleaning
  * Fix infinite loop bug related to anal.nopskip
  * Appveyor cleaning
  *
  * drop radare2-cmd-fix-lock.patch
  * radare2-cmd-fix-lock.patch
- add dependencies to the devel package

OBS-URL: https://build.opensuse.org/package/show/devel:tools/radare2?expand=0&rev=48
2025-02-20 09:40:37 +00:00
d1ff6f7115 Accepting request 1230095 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1230095
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/radare2?expand=0&rev=9
2024-12-11 20:04:54 +00:00
b6f172231b - Update to version 5.9.8:
* Resolved CVE:
    - CVE-2024-29645: buffer overflow vulnerability allows an attacker to
      execute arbitrary code via the parse_die function (boo#1234065).

OBS-URL: https://build.opensuse.org/package/show/devel:tools/radare2?expand=0&rev=46
2024-12-11 12:18:21 +00:00
8 changed files with 269 additions and 76 deletions

20
pkgconfig.patch Normal file
View File

@@ -0,0 +1,20 @@
diff --git a/pkgcfg/r_muta.pc.acr b/pkgcfg/r_muta.pc.acr
index 11293840cb..62c9d945bb 100644
--- a/pkgcfg/r_muta.pc.acr
+++ b/pkgcfg/r_muta.pc.acr
@@ -8,4 +8,4 @@ Description: radare foundation libraries
Version: @VERSION@
Requires: r_util r_util r_util r_util
Libs: -L${libdir} -lr_muta
-Cflags: -I${includedir}/libr
+Cflags: -I${includedir}/libr -I${includedir}/libr/r_muta
diff --git a/pkgcfg/r_util.pc.acr b/pkgcfg/r_util.pc.acr
index aa4f3cb60b..c3baf841ec 100644
--- a/pkgcfg/r_util.pc.acr
+++ b/pkgcfg/r_util.pc.acr
@@ -8,4 +8,4 @@ Description: radare foundation libraries
Version: @VERSION@
Requires:
Libs: -L${libdir} -lr_util @LIBZIP@ @DL_LIBS@
-Cflags: -I${includedir}/libr
+Cflags: -I${includedir}/libr -I${includedir}/libr/r_util

3
quickjs-v0.11.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b456e6aa05522eed9cbf9dec1e947ba1ba6578fd09386391e581339ddabaa641
size 784539

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4f88c33e4391f492c7d0073df9bffcc666cc1e2ca0a95d6e1035decdaa227b26
size 11169182

3
radare2-6.0.7.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:315f988cb5cc6f0e243bf191227cec1f54382056bdf7a1a21b26719528982a1f
size 11773265

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d869e38ee59d0036d03ed8c6e6dcb99e615b61d113266624f6e61a79ad7cb88e
size 172535784

View File

@@ -1,3 +1,115 @@
-------------------------------------------------------------------
Sat Dec 6 15:57:07 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
- Add %check section and test bins
-------------------------------------------------------------------
Sat Dec 6 15:10:43 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
- Rename sdb.1 man page to r2sdb.1 to avoid conflict with snobol4
-------------------------------------------------------------------
Thu Dec 4 14:07:30 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
- Fix patch pkgconfig.patch to be -p1-able
- Update to version 6.0.7:
* shell: Fix parsing r2 -H$(VARNAME) without a space
- Update to version 6.0.6:
* Full changelog is available at:
https://github.com/radareorg/radare2/releases/tag/6.0.6
- Update to version 6.0.4:
* Full changelog is available at:
https://github.com/radareorg/radare2/releases/tag/6.0.4
- Update to version 6.0.2:
* Full changelog is available at:
https://github.com/radareorg/radare2/releases/tag/6.0.2
-------------------------------------------------------------------
Thu Dec 4 12:06:29 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Add missing sub directories for r_util.h and r_muta.h
otherwise it might fails in calling r2pm -ci <plugin>
-------------------------------------------------------------------
Thu Dec 4 11:34:24 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Correct library package nameing scheme to make it build
also on x86_64 on 15.6 and 15.7
-------------------------------------------------------------------
Wed Jul 30 21:35:42 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
- Remove patches CVE-2025-1378.patch, CVE-2025-1864.patch,
CVE-2025-1744.patch, CVE-2025-5641.patch: merged upstream
- Update to version 6.0.0:
* ABI changes:
~ RCorePlugins now have a session
~ Finish the RKons refactoring, all r_cons calls take instance instead of global
~ Rename RCrypto to RMuta
~ Use RCons instance from RLine
~ Rename RIOPlugin.widget to RIOPlugin.data
~ Refactor the RRegAlias api
~ Camelcase all the RCoreBind methods
* Breaking API changes:
~ Boolify r_cons_rgb_parse
~ Add RLogLevel.fromString() and use it from -e log.level=?
~ Deprecate r_bin_addr2line
~ Rename RBinDbgItem into RBinAddrline
~ RNumCalc is now known as RNumMath
~ Move RFlagItem.alias into the Meta
~ Rename core->offset into core->addr (asm.offset and more!)
~ Rename RFlagItem.offset -> addr
* API changes:
~ Boolify r_cons_rgb_parse
~ Add RLogLevel.fromString() and use it from -e log.level=?
~ Deprecate r_bin_addr2line
~ Rename RBinDbgItem into RBinAddrline
~ RNumCalc is now known as RNumMath
~ Move RFlagItem.alias into the Meta
~ Rename core->offset into core->addr (asm.offset and more!)
~ Rename RFlagItem.offset -> addr
~ Deprecate RLang.list()
~ Unified function to jsonify the plugin meta + more fields
~ Redesign the REvent API
* Full changelog is available at:
https://github.com/radareorg/radare2/releases/tag/6.0.0
-------------------------------------------------------------------
Wed Jun 11 13:58:49 UTC 2025 - Dirk Müller <dmueller@suse.com>
- add CVE-2025-5641.patch as a warning that the threaded option
is known to be unsafe (bsc#1244121, CVE-2025-5641)
- refresh other patches
-------------------------------------------------------------------
Tue Mar 4 14:32:00 UTC 2025 - Alexander Bergmann <abergmann@suse.com>
- Fix buffer overflow and potential code execution.
add CVE-2025-1864.patch (bsc#1238451, CVE-2025-1864)
- Fix heap-based buffer over-read or buffer overflow.
add CVE-2025-1744.patch (bsc#1238075, CVE-2025-1744)
- Add explicit Python 3 build requirement.
-------------------------------------------------------------------
Mon Feb 17 16:04:54 UTC 2025 - Dirk Müller <dmueller@suse.com>
- add CVE-2025-1378.patch (bsc#1237250, CVE-2025-1378)
-------------------------------------------------------------------
Tue Dec 3 09:56:42 UTC 2024 - Alexander Bergmann <abergmann@suse.com>
- Update to version 5.9.8:
* Resolved CVE:
- CVE-2024-29645: buffer overflow vulnerability allows an attacker to
execute arbitrary code via the parse_die function (boo#1234065).
For details, check full release notes:
https://github.com/radareorg/radare2/releases/tag/5.9.8
https://github.com/radareorg/radare2/releases/tag/5.9.6
https://github.com/radareorg/radare2/releases/tag/5.9.4
https://github.com/radareorg/radare2/releases/tag/5.9.2
https://github.com/radareorg/radare2/releases/tag/5.9.0
-------------------------------------------------------------------
Wed Oct 18 10:53:22 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
@@ -71,27 +183,27 @@ Tue Feb 1 09:04:08 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>
- Update to 5.5.4:
* New IOBanks APis and commands replacing skyline and making io faster (2-10x)
* Faster analysis, type matching, binary parsing (2-4x)
* Faster analysis, type matching, binary parsing (2-4x)
* [] and =[] esil operations has been removed (size is mandatory)
* Lots of important bugs fixed in bin parsers and disassemblers
* Add support for the latest iOS15 dyld4 Atlas-style cache formats
* Autorename signature matching collisions and faster search
* Add assembler for riscv and disassemblers for PDP11, Alpha64 and armv7.v35
* Improved integration with r2frida remote filesystems
* Cleaning debugger for windows (32 and 64) and macOS makes it more reliable and stable
* Add assembler for riscv and disassemblers for PDP11, Alpha64 and armv7.v35
* Improved integration with r2frida remote filesystems
* Cleaning debugger for windows (32 and 64) and macOS makes it more reliable and stable
* Add seven segment printing (?ea for ascii-art text titles)
* Improved xrefs visualization with new axfm and axtm commands
* Add avg command to manage global variables
* The sixref plugin is now easier to use to find xrefs on arm64 code
* Improved multibin (select all bins or one) and multidex support in apk://
* Better build scripts for Windows (add asan and w32 profiles)
* Better build scripts for Windows (add asan and w32 profiles)
* Added armv7.v35 and improves esil emulation with the arm64.v35
* Add more help messages and set scr.prompt.tabhelp true by default
* AES key wrap algorithm support in rahash2
* AES key wrap algorithm support in rahash2
* Fix var serialization issues in debugger reloading (ood) and projects saving (Ps)
* Add Amiga and MSX rom/bin parser plugin and test @romerojoseant @trufae
* Visual slides (r2s) allow interactive content to be used within r2
* Print and convert ternary values back and forth
* Print and convert ternary values back and forth
* Add the vector35 arm64 for analysis, esil and disasm and r2 can be built without capstone
* Improved integration to use r2ghidra analysis and disassemble mainly tested for avr, v850 and arm64
* Fix emulation of several x86 and arm64 instructions, including an scripted way
@@ -154,7 +266,7 @@ Mon Jan 11 15:03:37 UTC 2021 - Daniel Molkentin <daniel.molkentin@suse.com>
-------------------------------------------------------------------
Wed Aug 12 13:23:38 UTC 2020 - Robert Frohl <rfrohl@suse.com>
- Update to 4.5.0
- Update to 4.5.0
* Analysis
- Initial API for base type kinds (enum, struct, union)
- Rename PowerPC to PPC
@@ -459,7 +571,7 @@ Mon Mar 30 07:03:07 UTC 2020 - Daniel Molkentin <daniel.molkentin@suse.com>
FIx 32bit windows
Rename "asan" to "sanitize" (#15412)
Fix build for 32bit Linux systems
Fix build of the onefied shared lib
Fix build of the onefied shared lib
command
Very simple tree sitter integration (#15414)
@@ -917,7 +1029,7 @@ Fri Sep 6 06:33:25 UTC 2019 - Paolo Stivanin <info@paolostivanin.com>
r2pipe
Initial support for r2pipe.html
rop
Add ROP chain execution support in ragg2
@@ -1424,7 +1536,7 @@ Thu Sep 5 10:11:03 UTC 2019 - Daniel Molkentin <daniel.molkentin@suse.com>
* Avoid all recursive cases
* Avoid warnings
* use r_anal_bb_opaddr_i
-------------------------------------------------------------------
Wed Aug 14 11:18:02 UTC 2019 - Daniel Molkentin <daniel.molkentin@suse.com>
@@ -1916,7 +2028,7 @@ Wed Aug 14 11:18:02 UTC 2019 - Daniel Molkentin <daniel.molkentin@suse.com>
* Still true for latest binutils (v2.32 2019-02-02).
* Renesas chip hardware manuals and IDA Pro only use bf/s and bt/s.
* Complete R_CONS_ATTR_ series (#14411)
*
*
- Update to version 3.6.0
* drop radare2-sysmagic.patch
@@ -2314,7 +2426,7 @@ Tue May 21 08:26:15 UTC 2019 - Daniel Molkentin <daniel.molkentin@suse.com>
* Honor anal.ignhintbits for hintbits
* Honor fcn->bits in disassembly
* Update capstone to use the NEXT branch
* Enable asm.jmpsub by default
* Enable asm.jmpsub by default
* Add asm.fcnsig instead of making function signature depend on asm.var
esil
@@ -2835,7 +2947,7 @@ anal
* Add avrr and aao in aaa
* m68k architecture is always 32 bits and big endian
* Implement jmptbl for Thumb TBB and TBH instructions
* Fix m68k analysis issues
* Fix m68k analysis issues
* Add R_ANAL_OP_MASK_OPEX
* Add support for Thumb jmptbl based on TBH
* Fix glitch found in analyzing jmptbl in debug
@@ -4150,7 +4262,7 @@ Mon Feb 25 09:38:58 UTC 2019 - Daniel Molkentin <daniel.molkentin@suse.com>
* Add the missing fail arc for SBRx instruction
* Fix wrong splitting of functions in aac
* Initial implementation of emu.ssa
* Fix infinite loop bug related to anal.nopskip
* Fix infinite loop bug related to anal.nopskip
* Use add-sorted instead of append+sort
* Heavy refactoring and sdbify the classes storage+logic
* Implement support for nword in ahi
@@ -4178,7 +4290,7 @@ Mon Feb 25 09:38:58 UTC 2019 - Daniel Molkentin <daniel.molkentin@suse.com>
build
* Appveyor cleaning
* Appveyor cleaning
* Fix musl build (required for Alpine)
* Do not statically link binaries by default in sys/static.sh
* meson: Do not use glob with meson
@@ -4386,7 +4498,7 @@ Thu Jan 10 10:38:06 UTC 2019 - Daniel Molkentin <daniel.molkentin@suse.com>
* Add the missing fail arc for SBRx instruction
* Fix wrong splitting of functions in aac
* Initial implementation of emu.ssa
* Fix infinite loop bug related to anal.nopskip
* Fix infinite loop bug related to anal.nopskip
* Use add-sorted instead of append+sort
* Heavy refactoring and sdbify the classes storage+logic
* Implement support for nword in ahi
@@ -4414,7 +4526,7 @@ Thu Jan 10 10:38:06 UTC 2019 - Daniel Molkentin <daniel.molkentin@suse.com>
build
* Appveyor cleaning
* Appveyor cleaning
* Fix musl build (required for Alpine)
* Do not statically link binaries by default in sys/static.sh
* meson: Do not use glob with meson
@@ -4639,7 +4751,7 @@ Thu Jan 10 10:38:06 UTC 2019 - Daniel Molkentin <daniel.molkentin@suse.com>
Tue Jan 8 14:39:34 UTC 2019 - atoptsoglou@suse.com
- Update to 3.2.0
anal
* Add asm.hint.cdiv
@@ -4649,7 +4761,7 @@ Tue Jan 8 14:39:34 UTC 2019 - atoptsoglou@suse.com
* Add the missing fail arc for SBRx instruction
* Fix wrong splitting of functions in aac
* Initial implementation of emu.ssa
* Fix infinite loop bug related to anal.nopskip
* Fix infinite loop bug related to anal.nopskip
* Use add-sorted instead of append+sort
* Heavy refactoring and sdbify the classes storage+logic
* Implement support for nword in ahi
@@ -4678,7 +4790,7 @@ Tue Jan 8 14:39:34 UTC 2019 - atoptsoglou@suse.com
build
* Appveyor cleaning
* Appveyor cleaning
* Fix musl build (required for Alpine)
* Do not statically link binaries by default in sys/static.sh
* meson: Do not use glob with meson
@@ -5118,27 +5230,27 @@ Fri Nov 30 14:31:58 UTC 2018 - Daniel Molkentin <daniel.molkentin@suse.com>
* Fix asm.flags.inbytes not showing in graph
magic
* Add help in wtf!? and add bitcode magic signature
panels
* First step to support xrefs in visual panels
port
* self plugin is now working in DragonFlyBSD
* Support DragonflyBSD build and backtrace
* Adding self proc support for FreeBSD
print
* Implement , and ; in pf to rewind and be able to support unions
* Fix #12116 - Implement bytesize for pvj
* Add pfj Z format
projects
* Open radare2 project after loading plugins and keep the -e flags
refactor
@@ -5168,7 +5280,7 @@ Fri Nov 30 14:31:58 UTC 2018 - Daniel Molkentin <daniel.molkentin@suse.com>
* Remove "referenced" from RBinObject and remove get_object
search
* /Cd is now using a proper bitmask to search the values
* Fix regression in /rc and avoid repeated errors
* Fix #11977 - Handle arg in on /r subcommands
@@ -5182,7 +5294,7 @@ Fri Nov 30 14:31:58 UTC 2018 - Daniel Molkentin <daniel.molkentin@suse.com>
* Fix #12166 - Implement tt* to list all types at once
visual
* Add support for shift-arrows in st and rxvt-unicode
* Fix #12307 - Escape ansi chars in cbin
* Improve the Visual xrefs with from/to disasm and handle JK
@@ -5213,7 +5325,7 @@ Fri Nov 30 14:31:58 UTC 2018 - Daniel Molkentin <daniel.molkentin@suse.com>
* Initial ESIL support for WASM
windows
* Fix gmtime_r for msvc
* Fix visual panels crash on Windows
* Fix unicode path issues in Windows
@@ -5221,24 +5333,24 @@ Fri Nov 30 14:31:58 UTC 2018 - Daniel Molkentin <daniel.molkentin@suse.com>
- Update to version 3.0.1
anal
* Fix cyclomatic complexity computation when jump tables are involved
* Fix #11838 - Use op.val in aar and honor asm.var.submin
bin
* Revert "Fix #11869 by using r_bin_elf_p2v_new (#11876)
* Fix #11869 by using r_bin_elf_p2v_new (#11876)
* Support the new Apple Watch arm64_32 mach0 cputype
* Complete mach0.lc.toString for better rabin2 -H
* Revert "Fix #11869 by using r_bin_elf_p2v_new (#11876) bugs
bugs
* core/cbin: vaddr/paddr were switched in iz
build
* Fix static blob build for android and disable libuv
* Fix the build of the static merged shared library
* Rewrite libr.a make target without partial-ld
@@ -5248,24 +5360,24 @@ Fri Nov 30 14:31:58 UTC 2018 - Daniel Molkentin <daniel.molkentin@suse.com>
* Don't strip binaries in static.sh (#11832)
port
* Fix build for ptrace-wrap with musl
* Fix #11834 - Check fbsd/nbsd versions for clock_nanosleep refactor
* API cleanup and support RCorebind in RSocket.R2Pipe
* Fix gcc8 warnings and rename core/asm.c to casm.c
* Fix #11553 - Remove the R_NOTNULL bad practice
rules
* Add sys/release-notes.sh and define commit message conventions
tools
* Allow multiple packages as arguments for r2pm -i,-c,-ci
visual
* Fix visual panels glitch and handle 's' in zoom mode
* Fix #11851 - Cursor and echo glitches in Visual
* Fix displaying ESIL function comments in the graph
@@ -5320,7 +5432,7 @@ Tue Oct 16 10:43:58 UTC 2018 - Daniel Molkentin <daniel.molkentin@suse.com>
* Reimplement TCP Server with libuv and add configure/meson flags (#11403)
Binaries
* Improvements for ELF section resizing
* Fix entrypoint resolution when program headers is missing
* Improve program headers handling in ELF
@@ -5331,7 +5443,7 @@ Tue Oct 16 10:43:58 UTC 2018 - Daniel Molkentin <daniel.molkentin@suse.com>
* rabin2 -OC, WIP requires proper refactoring and redesign
IO
* Make r_io_plugin_{read,write}_at not seek character devices.
* Add r_io_{desc,fd}_is_chardevice.
* Add r_io_desc_open_plugin.
@@ -5407,13 +5519,13 @@ Tue Oct 16 10:43:58 UTC 2018 - Daniel Molkentin <daniel.molkentin@suse.com>
implementation making it use less memory and perform better
Heap
* dmh with glibc now works without symbols
* linux_heap_glibc: fix dmhf and allows dmhf @thread_arena (#11441)
* linux_heap_glibc : dmha and dmht, check threaded arenas free status (#11390)
Bugs
* syscall: do not reload sdb database if nothing changes (#11801)
* Fix more crashes related to the RStrBuficization of RAsmOp
* Added main detection for linux64 endbr64 (#11731)
@@ -5523,7 +5635,7 @@ Tue Jul 10 10:21:46 UTC 2018 - daniel.molkentin@suse.com
* Handle JK in vv, add _hud
* Visual function browser - enter seeks to the function
* In visual panels make JK scroll more instead of change frame selection
*
*
Graphs
* Add colorized shortcuts to (mini)graph
@@ -5643,7 +5755,7 @@ Tue Jul 10 10:21:46 UTC 2018 - daniel.molkentin@suse.com
* Support for every output format for callgraph (agc and agC)
* Support every output format for the bb graph
* switch/case edges are now also added to graph view via afbe
Types
* Refactored and optimized afta command
@@ -5652,7 +5764,7 @@ Tue Jul 10 10:21:46 UTC 2018 - daniel.molkentin@suse.com
* Array of struct now works with ts
* Implement tss to show struct size
* Implement ts* command
Build
* Bring back libr.* targets in libr even without BUILD_MERGED
@@ -5769,7 +5881,7 @@ Tue Jul 10 10:21:46 UTC 2018 - daniel.molkentin@suse.com
* Make av, avr and avra breakable by the user
* In visual disassembly, add a shortcut ( ;[n]) on jump hints
* Add ?a command in to show ASCII table
-------------------------------------------------------------------
Mon Mar 12 10:22:28 UTC 2018 - daniel.molkentin@suse.com
@@ -5872,7 +5984,7 @@ Mon Jan 8 05:30:33 UTC 2018 - daniel.molkentin@suse.com
Thu Aug 17 08:52:45 UTC 2017 - daniel.molkentin@suse.com
- update to version 1.6.0
* drop radare2-cmd-fix-lock.patch
* drop radare2-cmd-fix-lock.patch
* drop CVE-2017-10929.patch
-------------------------------------------------------------------
@@ -5886,12 +5998,12 @@ Thu Jul 6 09:46:56 UTC 2017 - daniel.molkentin@suse.com
Sat Jul 1 00:49:50 UTC 2017 - daniel.molkentin@suse.com
- add patch (already upstream)
* radare2-cmd-fix-lock.patch
* radare2-cmd-fix-lock.patch
-------------------------------------------------------------------
Fri Jun 30 13:11:58 UTC 2017 - daniel.molkentin@suse.com
- add dependencies to the devel package
- add dependencies to the devel package
- ran spec cleaner
-------------------------------------------------------------------
@@ -5903,7 +6015,7 @@ Fri Jun 30 11:03:33 UTC 2017 - mpluskal@suse.com
- Small cleanup with spec-clenaer
-------------------------------------------------------------------
Fri Jun 30 08:30:56 UTC 2017 - daniel.molkentin@suse.com
Fri Jun 30 08:30:56 UTC 2017 - daniel.molkentin@suse.com
- update to version 1.5.0
- rebased patch
@@ -5953,7 +6065,7 @@ Wed Jun 29 23:17:35 UTC 2016 - boris@steki.net
* Parse LDID sha signatures with rabin2.
- fixed patch to apply cleanly
-------------------------------------------------------------------
Sun Mar 20 19:03:10 UTC 2016 - boris@steki.net
@@ -5992,7 +6104,7 @@ Sun Mar 20 19:03:10 UTC 2016 - boris@steki.net
i4004, i8080, java, Malbolge, SH-4, M68K, ARC and LH5801 (that
you can access with ?d or e asm.describe=true)
* axg to get a graph of the function xrefs to reach a specific point.
-------------------------------------------------------------------
Tue Dec 30 21:59:07 UTC 2014 - mardnh@gmx.de
@@ -6031,4 +6143,3 @@ Fri Mar 2 15:36:24 UTC 2012 - vcizek@suse.com
Sun Nov 7 23:53:56 UTC 2010 - prusnak@opensuse.org
- created package (v2.0.6)

View File

@@ -1,7 +1,7 @@
#
# spec file for package radare2
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,21 +16,35 @@
#
%global sdb_rev 2.2.4
%global sdb_soname 2_2_4
%global qjs_rev v0.11.0
%global tests_rev 65539cb70eba0901995e04b471975beca0c42c69
Name: radare2
Version: 5.8.8
Version: 6.0.7
Release: 0
Summary: Reverse Engineering Framework
License: GPL-3.0-only AND LGPL-3.0-only
Group: Development/Tools/Debuggers
URL: https://www.radare.org
Source: https://github.com/radareorg/radare2/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source0: https://github.com/radareorg/radare2/archive/%{version}/%{name}-%{version}.tar.gz
Source1: https://github.com/radareorg/sdb/archive/%{sdb_rev}/sdb-%{sdb_rev}.tar.gz
Source2: https://github.com/quickjs-ng/quickjs/archive/%{qjs_rev}/quickjs-%{qjs_rev}.tar.gz
Source3: https://github.com/radareorg/radare2-testbins/archive/%{tests_rev}/radare2-testbins-%{tests_rev}.tar.gz
Patch0: pkgconfig.patch
BuildRequires: chrpath
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: file-devel
BuildRequires: git-core
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: python3
BuildRequires: pkgconfig(capstone)
BuildRequires: pkgconfig(liblz4)
BuildRequires: pkgconfig(libuv)
BuildRequires: pkgconfig(libxxhash)
BuildRequires: pkgconfig(libzip)
@@ -47,6 +61,7 @@ Group: Development/Tools/Debuggers
Requires: %{name} = %{version}
Requires: file-devel
Requires: pkgconfig(capstone)
Requires: pkgconfig(liblz4)
Requires: pkgconfig(libxxhash)
Requires: pkgconfig(libzip)
Requires: pkgconfig(openssl)
@@ -57,16 +72,42 @@ Development files for radare2
%package zsh-completion
Summary: ZSH completion for %{name}
License: GPL-3.0-only AND LGPL-3.0-only
Supplements: (%{name} and zsh)
BuildArch: noarch
%description zsh-completion
zsh shell completions for %{name}.
%package -n libsdb%{sdb_soname}
Summary: Simple string key/value database
License: GPL-3.0-only AND LGPL-3.0-only
Provides: libsdb-%{sdb_soname}
%description -n libsdb%{sdb_soname}
sdb is a simple string key/value database based on djb's cdb disk
storage and supports JSON and arrays introspection.
%ldconfig_scriptlets -n libsdb%{sdb_soname}
%ldconfig_scriptlets -n %name
%prep
%autosetup -p1 -n %{name}-%{version}
# Extract sdb
mkdir -p subprojects/sdb
tar -C subprojects/sdb --strip-components=1 -x -f %{SOURCE1}
# Extract quickjs
mkdir -p subprojects/qjs
tar -C subprojects/qjs --strip-components=1 -x -f %{SOURCE2}
mkdir -p test/bins
tar -C test/bins --strip-components=1 -x -f %{SOURCE3}
%build
%__meson subprojects packagefiles --apply
%meson \
-Duse_sys_capstone=true \
-Duse_sys_magic=true \
@@ -81,12 +122,21 @@ zsh shell completions for %{name}.
%install
%meson_install
%fdupes -s %{buildroot}
mkdir -p %{buildroot}/%{_docdir}/radare2
mv %{buildroot}/%{_datadir}/doc/radare2/* %{buildroot}%{_docdir}/radare2/
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
mkdir -p %{buildroot}%{_docdir}/radare2
mv %{buildroot}%{_datadir}/doc/radare2/* %{buildroot}%{_docdir}/radare2/
chrpath -d %{buildroot}%{_bindir}/r2sdb
# Conflict with snobol4 package
mv %{buildroot}%{_mandir}/man1/sdb.1 %{buildroot}%{_mandir}/man1/r2sdb.1
%fdupes -s %{buildroot}
%check
# add radare2 to PATH for tests
export PATH="$PWD/%{_vpath_builddir}/binr/radare2:$PATH"
%meson_test
%files devel
%{_libdir}/libr_*.so
@@ -105,28 +155,31 @@ mv %{buildroot}/%{_datadir}/doc/radare2/* %{buildroot}%{_docdir}/radare2/
%files
%doc COMMUNITY.md CONTRIBUTING.md DEVELOPERS.md README.md
%license COPYING COPYING.LESSER
%license COPYING.md
%{_docdir}/radare2/*
%{_bindir}/*
%{_libdir}/libr_*.so.*
%dir %{_datadir}/radare2
%dir %{_datadir}/radare2/%{version}
%dir %{_datadir}/radare2/%{version}/cons
%dir %{_datadir}/radare2/%{version}/flag
%dir %{_datadir}/radare2/%{version}/hud
%dir %{_datadir}/radare2/%{version}/magic
%dir %{_datadir}/radare2/%{version}/www
%{_datadir}/radare2/%{version}/cons/*
%{_datadir}/radare2/%{version}/flag/*
%{_datadir}/radare2/%{version}/hud/*
%{_datadir}/radare2/%{version}/magic/*
%{_datadir}/radare2/%{version}/www/*
%{_datadir}/radare2/%{version}/cons
%{_datadir}/radare2/%{version}/flag
%{_datadir}/radare2/%{version}/hud
%{_datadir}/radare2/%{version}/magic
%{_datadir}/radare2/%{version}/www
%{_datadir}/radare2/%{version}/platform
%{_datadir}/radare2/%{version}/scripts
%{_datadir}/radare2/%{version}/panels
%{_mandir}/man1/*
%{_mandir}/man3/r_*
%{_mandir}/man7/*
%files zsh-completion
%dir %{_datadir}/zsh/site-functions
%{_datadir}/zsh/site-functions/*
%files -n libsdb%{sdb_soname}
%{_libdir}/libsdb.so.*
%changelog

3
sdb-2.2.4.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1af45fab8d6ba21dfe7bd57f4f37c8079441c1f0dd2222c003c922dbce37fa19
size 310174