Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package radare2 for openSUSE:Factory checked in at 2025-12-08 11:54:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/radare2 (Old) and /work/SRC/openSUSE:Factory/.radare2.new.1939 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "radare2" Mon Dec 8 11:54:41 2025 rev:12 rq:1321375 version:6.0.7 Changes: -------- --- /work/SRC/openSUSE:Factory/radare2/radare2.changes 2025-06-13 18:47:29.663861203 +0200 +++ /work/SRC/openSUSE:Factory/.radare2.new.1939/radare2.changes 2025-12-08 11:55:45.474021265 +0100 @@ -1,0 +2,77 @@ +Sat Dec 6 15:57:07 UTC 2025 - Eyad Issa <[email protected]> + +- Add %check section and test bins + +------------------------------------------------------------------- +Sat Dec 6 15:10:43 UTC 2025 - Eyad Issa <[email protected]> + +- Rename sdb.1 man page to r2sdb.1 to avoid conflict with snobol4 + +------------------------------------------------------------------- +Thu Dec 4 14:07:30 UTC 2025 - Eyad Issa <[email protected]> + +- 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 <[email protected]> + +- 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 <[email protected]> + +- 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 <[email protected]> + +- 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 + +------------------------------------------------------------------- @@ -6069 +6145,0 @@ - Old: ---- CVE-2025-1378.patch CVE-2025-1744.patch CVE-2025-1864.patch CVE-2025-5641.patch radare2-5.9.8.tar.gz New: ---- pkgconfig.patch quickjs-v0.11.0.tar.gz radare2-6.0.7.tar.gz radare2-testbins-65539cb70eba0901995e04b471975beca0c42c69.tar.gz sdb-2.2.4.tar.gz ----------(Old B)---------- Old: - Remove patches CVE-2025-1378.patch, CVE-2025-1864.patch, CVE-2025-1744.patch, CVE-2025-5641.patch: merged upstream Old:- Remove patches CVE-2025-1378.patch, CVE-2025-1864.patch, CVE-2025-1744.patch, CVE-2025-5641.patch: merged upstream Old: - Remove patches CVE-2025-1378.patch, CVE-2025-1864.patch, CVE-2025-1744.patch, CVE-2025-5641.patch: merged upstream Old:- Remove patches CVE-2025-1378.patch, CVE-2025-1864.patch, CVE-2025-1744.patch, CVE-2025-5641.patch: merged upstream ----------(Old E)---------- ----------(New B)---------- New: - Fix patch pkgconfig.patch to be -p1-able - Update to version 6.0.7: ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ radare2.spec ++++++ --- /var/tmp/diff_new_pack.5xbYus/_old 2025-12-08 11:55:47.574109247 +0100 +++ /var/tmp/diff_new_pack.5xbYus/_new 2025-12-08 11:55:47.574109247 +0100 @@ -1,7 +1,7 @@ # # spec file for package radare2 # -# Copyright (c) 2025 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,19 +16,26 @@ # +%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.9.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 -Patch1: https://github.com/radareorg/radare2/commit/c6c772d2eab692ce7ada5a4227afd50c355ad545.patch#/CVE-2025-1378.patch -Patch2: https://github.com/radareorg/radare2/commit/e64c606b1342a4c0ab2c35ef5146b69667dcd43a.patch#/CVE-2025-1744.patch -Patch3: https://github.com/radareorg/radare2/commit/db6decd4bc90bb4a492129e70803136fa184f470.patch#/CVE-2025-1864.patch -# From https://github.com/radareorg/radare2/commit/5705d99cc1f23f36f9a84aab26d1724010b97798.patch but needed a rediff -Patch4: CVE-2025-5641.patch +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 @@ -65,16 +72,42 @@ %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 \ @@ -89,12 +122,21 @@ %install %meson_install + +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} -mkdir -p %{buildroot}/%{_docdir}/radare2 -mv %{buildroot}/%{_datadir}/doc/radare2/* %{buildroot}%{_docdir}/radare2/ -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%check +# add radare2 to PATH for tests +export PATH="$PWD/%{_vpath_builddir}/binr/radare2:$PATH" +%meson_test %files devel %{_libdir}/libr_*.so @@ -113,31 +155,30 @@ %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 -%dir %{_datadir}/radare2/%{version}/platform -%dir %{_datadir}/radare2/%{version}/scripts -%{_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}/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.* + ++++++ pkgconfig.patch ++++++ 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 ++++++ radare2-5.9.8.tar.gz -> radare2-6.0.7.tar.gz ++++++ /work/SRC/openSUSE:Factory/radare2/radare2-5.9.8.tar.gz /work/SRC/openSUSE:Factory/.radare2.new.1939/radare2-6.0.7.tar.gz differ: char 12, line 1
