Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] radare2: update to 5.4.2, new package: iaito
@ 2021-10-17 19:32 heittpr
  2021-10-17 19:36 ` [PR PATCH] [Updated] " heittpr
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: heittpr @ 2021-10-17 19:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1147 bytes --]

There is a new pull request by heittpr against master on the void-packages repository

https://github.com/heittpr/void-packages radare2
https://github.com/void-linux/void-packages/pull/33608

radare2: update to 5.4.2, new package: iaito
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

Radare2 was recently forked as [rizin](https://rizin.re/), which cutter (the old radare2 GUI) now uses as a backend, making radare2 and cutter incompatible. Cutter was also forked as [r2cutter](https://github.com/radareorg/iaito) (now rebranded as iaito), to keep compatibility with radare2.

I packaged iaito and made cutter into a subpackage for now, until we decide to package rizin.

A patch file from https://github.com/void-linux/void-packages/pull/33608.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-radare2-33608.patch --]
[-- Type: text/x-diff, Size: 6484 bytes --]

From 540de675eae4677477f955fb8a81940c71a43ce6 Mon Sep 17 00:00:00 2001
From: heitor <heitorleite.dev@gmail.com>
Date: Sun, 17 Oct 2021 16:09:51 -0300
Subject: [PATCH 1/4] radare2: update to 5.4.2.

---
 srcpkgs/radare2/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/radare2/template b/srcpkgs/radare2/template
index 39818e99e7f2..8b0cb200470e 100644
--- a/srcpkgs/radare2/template
+++ b/srcpkgs/radare2/template
@@ -1,7 +1,7 @@
 # Template file for 'radare2'
-# cutter needs to be bumped when radare2 is updated
+# iaito needs to be bumped when radare2 is updated
 pkgname=radare2
-version=5.0.0
+version=5.4.2
 revision=1
 build_style=meson
 configure_args="-Duse_sys_capstone=true -Denable_tests=false"
@@ -12,7 +12,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="LGPL-3.0-only"
 homepage="http://www.radare.org"
 distfiles="https://github.com/radareorg/radare2/archive/${version}.tar.gz"
-checksum=517dd80ebd0569f31498887338eacb92e8cf054bc4625eef8ffe9ea174c1adae
+checksum=d3c337e893d7d1e7d5af8b527af3d4469c92898f0249f1b6263ea3325c9455b9
 
 case "$XBPS_TARGET_MACHINE" in
 	mips*) CFLAGS="-Os";;

From 381087511fb591197a4b348a01c75f6e3b964cd4 Mon Sep 17 00:00:00 2001
From: heitor <heitorleite.dev@gmail.com>
Date: Sun, 17 Oct 2021 16:10:05 -0300
Subject: [PATCH 2/4] common/shlibs: update radare2 libs

---
 common/shlibs | 45 +++++++++++++++++++++++----------------------
 1 file changed, 23 insertions(+), 22 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 6b97d658c44a..006e3b912374 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3162,28 +3162,29 @@ libkdeconnectinterfaces.so.21 kdeconnect-21.03.80_1
 libkdeconnectcore.so.21 kdeconnect-21.03.80_1
 libkpmcore.so.11 kpmcore-21.03.80_1
 libpkcs11-helper.so.1 pkcs11-helper-1.25.1_6
-libr_core.so.5.0.0 radare2-5.0.0_1
-libr_config.so.5.0.0 radare2-5.0.0_1
-libr_cons.so.5.0.0 radare2-5.0.0_1
-libr_util.so.5.0.0 radare2-5.0.0_1
-libr_flag.so.5.0.0 radare2-5.0.0_1
-libr_asm.so.5.0.0 radare2-5.0.0_1
-libr_bin.so.5.0.0 radare2-5.0.0_1
-libr_anal.so.5.0.0 radare2-5.0.0_1
-libr_lang.so.5.0.0 radare2-5.0.0_1
-libr_debug.so.5.0.0 radare2-5.0.0_1
-libr_egg.so.5.0.0 radare2-5.0.0_1
-libr_bp.so.5.0.0 radare2-5.0.0_1
-libr_search.so.5.0.0 radare2-5.0.0_1
-libr_io.so.5.0.0 radare2-5.0.0_1
-libr_hash.so.5.0.0 radare2-5.0.0_1
-libr_socket.so.5.0.0 radare2-5.0.0_1
-libr_parse.so.5.0.0 radare2-5.0.0_1
-libr_syscall.so.5.0.0 radare2-5.0.0_1
-libr_crypto.so.5.0.0 radare2-5.0.0_1
-libr_fs.so.5.0.0 radare2-5.0.0_1
-libr_magic.so.5.0.0 radare2-5.0.0_1
-libr_reg.so.5.0.0 radare2-5.0.0_1
+libr_core.so.5.4.2 radare2-5.4.2_1 ignore
+libr_config.so.5.4.2 radare2-5.4.2_1 ignore
+libr_cons.so.5.4.2 radare2-5.4.2_1 ignore
+libr_util.so.5.4.2 radare2-5.4.2_1 ignore
+libr_flag.so.5.4.2 radare2-5.4.2_1 ignore
+libr_asm.so.5.4.2 radare2-5.4.2_1 ignore
+libr_bin.so.5.4.2 radare2-5.4.2_1 ignore
+libr_anal.so.5.4.2 radare2-5.4.2_1 ignore
+libr_lang.so.5.4.2 radare2-5.4.2_1 ignore
+libr_debug.so.5.4.2 radare2-5.4.2_1 ignore
+libr_egg.so.5.4.2 radare2-5.4.2_1 ignore
+libr_bp.so.5.4.2 radare2-5.4.2_1 ignore
+libr_search.so.5.4.2 radare2-5.4.2_1 ignore
+libr_io.so.5.4.2 radare2-5.4.2_1 ignore
+libr_hash.so.5.4.2 radare2-5.4.2_1 ignore
+libr_socket.so.5.4.2 radare2-5.4.2_1 ignore
+libr_parse.so.5.4.2 radare2-5.4.2_1 ignore
+libr_syscall.so.5.4.2 radare2-5.4.2_1 ignore
+libr_crypto.so.5.4.2 radare2-5.4.2_1 ignore
+libr_fs.so.5.4.2 radare2-5.4.2_1 ignore
+libr_magic.so.5.4.2 radare2-5.4.2_1 ignore
+libr_reg.so.5.4.2 radare2-5.4.2_1 ignore
+libr_main.so.5.4.2 radare2-5.4.2_1 ignore
 libykpiv.so.1 libykpiv-2.1.1_2
 libykcs11.so.1 libykcs11-2.1.1_2
 libKF5KExiv2.so.15.0.0 libkexiv25-17.04.3_1

From f9a10cbb43ee93971697bfff885fde1e42ddc098 Mon Sep 17 00:00:00 2001
From: heitor <heitorleite.dev@gmail.com>
Date: Sun, 17 Oct 2021 16:28:35 -0300
Subject: [PATCH 3/4] cutter: switch to the r2 fork

---
 srcpkgs/cutter          |  1 +
 srcpkgs/cutter/template | 16 ----------------
 2 files changed, 1 insertion(+), 16 deletions(-)
 create mode 120000 srcpkgs/cutter
 delete mode 100644 srcpkgs/cutter/template

diff --git a/srcpkgs/cutter b/srcpkgs/cutter
new file mode 120000
index 000000000000..b6645b039130
--- /dev/null
+++ b/srcpkgs/cutter
@@ -0,0 +1 @@
+iaito
\ No newline at end of file
diff --git a/srcpkgs/cutter/template b/srcpkgs/cutter/template
deleted file mode 100644
index 7142c048f53c..000000000000
--- a/srcpkgs/cutter/template
+++ /dev/null
@@ -1,16 +0,0 @@
-# Template file for 'cutter'
-pkgname=cutter
-version=1.12.0
-revision=2
-build_wrksrc=src
-build_style=qmake
-configure_args="CUTTER_EXTRA_PLUGIN_DIRS=/usr/lib/RadareOrg/Cutter/plugins"
-hostmakedepends="pkg-config qt5-qmake qt5-host-tools radare2"
-makedepends="capstone-devel python3-devel qt5-declarative-devel
- qt5-location-devel qt5-svg-devel radare2"
-short_desc="GUI for radare2 written in C++ and QT"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3.0-only"
-homepage="https://github.com/radareorg/cutter"
-distfiles="https://github.com/radareorg/${pkgname}/archive/v${version}.tar.gz"
-checksum=868213d2ea0b4a29b9b03c9b605c2b2155c4c03b62735a9bd376a0dadcb4fe1b

From 796fc3e3092d8c5f65d1020a1ef539cc8145956c Mon Sep 17 00:00:00 2001
From: heitor <heitorleite.dev@gmail.com>
Date: Sun, 17 Oct 2021 16:28:47 -0300
Subject: [PATCH 4/4] New package: iaito

---
 srcpkgs/iaito/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/iaito/template

diff --git a/srcpkgs/iaito/template b/srcpkgs/iaito/template
new file mode 100644
index 000000000000..47d53427ad9f
--- /dev/null
+++ b/srcpkgs/iaito/template
@@ -0,0 +1,22 @@
+# Template file for 'iaito'
+pkgname=iaito
+version=5.3.1
+revision=3
+build_wrksrc=src
+build_style=qmake
+configure_args="IAITO_EXTRA_PLUGIN_DIRS=/usr/lib/RadareOrg/Iaito/plugins"
+hostmakedepends="pkg-config qt5-qmake qt5-host-tools radare2"
+makedepends="capstone-devel python3-devel qt5-declarative-devel
+ qt5-location-devel qt5-svg-devel radare2"
+short_desc="The official graphical interface for radare2"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="GPL-3.0-only"
+homepage="https://github.com/radareorg/iaito"
+distfiles="https://github.com/radareorg/${pkgname}/archive/${version}.tar.gz"
+checksum=38dfe1f5f1b5aaf49782715282540ea7a2629ef9e4c2d4ec639a46efff0d5e86
+
+cutter_package() {
+  build_style=meta
+  depends="iaito"
+  short_desc="Cutter - (transitional dummy package)"
+}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] radare2: update to 5.4.2, new package: iaito
  2021-10-17 19:32 [PR PATCH] radare2: update to 5.4.2, new package: iaito heittpr
@ 2021-10-17 19:36 ` heittpr
  2021-10-20  7:21 ` ericonr
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: heittpr @ 2021-10-17 19:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1152 bytes --]

There is an updated pull request by heittpr against master on the void-packages repository

https://github.com/heittpr/void-packages radare2
https://github.com/void-linux/void-packages/pull/33608

radare2: update to 5.4.2, new package: iaito
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

Radare2 was recently forked as [rizin](https://rizin.re/), which cutter (the old radare2 GUI) now uses as a backend, making radare2 and cutter incompatible. Cutter was also forked as [r2cutter](https://github.com/radareorg/iaito) (now rebranded as iaito), to keep compatibility with radare2.

I packaged iaito and made cutter into a subpackage for now, until we decide to package rizin.

A patch file from https://github.com/void-linux/void-packages/pull/33608.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-radare2-33608.patch --]
[-- Type: text/x-diff, Size: 6477 bytes --]

From 540de675eae4677477f955fb8a81940c71a43ce6 Mon Sep 17 00:00:00 2001
From: heitor <heitorleite.dev@gmail.com>
Date: Sun, 17 Oct 2021 16:09:51 -0300
Subject: [PATCH 1/4] radare2: update to 5.4.2.

---
 srcpkgs/radare2/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/radare2/template b/srcpkgs/radare2/template
index 39818e99e7f2..8b0cb200470e 100644
--- a/srcpkgs/radare2/template
+++ b/srcpkgs/radare2/template
@@ -1,7 +1,7 @@
 # Template file for 'radare2'
-# cutter needs to be bumped when radare2 is updated
+# iaito needs to be bumped when radare2 is updated
 pkgname=radare2
-version=5.0.0
+version=5.4.2
 revision=1
 build_style=meson
 configure_args="-Duse_sys_capstone=true -Denable_tests=false"
@@ -12,7 +12,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="LGPL-3.0-only"
 homepage="http://www.radare.org"
 distfiles="https://github.com/radareorg/radare2/archive/${version}.tar.gz"
-checksum=517dd80ebd0569f31498887338eacb92e8cf054bc4625eef8ffe9ea174c1adae
+checksum=d3c337e893d7d1e7d5af8b527af3d4469c92898f0249f1b6263ea3325c9455b9
 
 case "$XBPS_TARGET_MACHINE" in
 	mips*) CFLAGS="-Os";;

From 381087511fb591197a4b348a01c75f6e3b964cd4 Mon Sep 17 00:00:00 2001
From: heitor <heitorleite.dev@gmail.com>
Date: Sun, 17 Oct 2021 16:10:05 -0300
Subject: [PATCH 2/4] common/shlibs: update radare2 libs

---
 common/shlibs | 45 +++++++++++++++++++++++----------------------
 1 file changed, 23 insertions(+), 22 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 6b97d658c44a..006e3b912374 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3162,28 +3162,29 @@ libkdeconnectinterfaces.so.21 kdeconnect-21.03.80_1
 libkdeconnectcore.so.21 kdeconnect-21.03.80_1
 libkpmcore.so.11 kpmcore-21.03.80_1
 libpkcs11-helper.so.1 pkcs11-helper-1.25.1_6
-libr_core.so.5.0.0 radare2-5.0.0_1
-libr_config.so.5.0.0 radare2-5.0.0_1
-libr_cons.so.5.0.0 radare2-5.0.0_1
-libr_util.so.5.0.0 radare2-5.0.0_1
-libr_flag.so.5.0.0 radare2-5.0.0_1
-libr_asm.so.5.0.0 radare2-5.0.0_1
-libr_bin.so.5.0.0 radare2-5.0.0_1
-libr_anal.so.5.0.0 radare2-5.0.0_1
-libr_lang.so.5.0.0 radare2-5.0.0_1
-libr_debug.so.5.0.0 radare2-5.0.0_1
-libr_egg.so.5.0.0 radare2-5.0.0_1
-libr_bp.so.5.0.0 radare2-5.0.0_1
-libr_search.so.5.0.0 radare2-5.0.0_1
-libr_io.so.5.0.0 radare2-5.0.0_1
-libr_hash.so.5.0.0 radare2-5.0.0_1
-libr_socket.so.5.0.0 radare2-5.0.0_1
-libr_parse.so.5.0.0 radare2-5.0.0_1
-libr_syscall.so.5.0.0 radare2-5.0.0_1
-libr_crypto.so.5.0.0 radare2-5.0.0_1
-libr_fs.so.5.0.0 radare2-5.0.0_1
-libr_magic.so.5.0.0 radare2-5.0.0_1
-libr_reg.so.5.0.0 radare2-5.0.0_1
+libr_core.so.5.4.2 radare2-5.4.2_1 ignore
+libr_config.so.5.4.2 radare2-5.4.2_1 ignore
+libr_cons.so.5.4.2 radare2-5.4.2_1 ignore
+libr_util.so.5.4.2 radare2-5.4.2_1 ignore
+libr_flag.so.5.4.2 radare2-5.4.2_1 ignore
+libr_asm.so.5.4.2 radare2-5.4.2_1 ignore
+libr_bin.so.5.4.2 radare2-5.4.2_1 ignore
+libr_anal.so.5.4.2 radare2-5.4.2_1 ignore
+libr_lang.so.5.4.2 radare2-5.4.2_1 ignore
+libr_debug.so.5.4.2 radare2-5.4.2_1 ignore
+libr_egg.so.5.4.2 radare2-5.4.2_1 ignore
+libr_bp.so.5.4.2 radare2-5.4.2_1 ignore
+libr_search.so.5.4.2 radare2-5.4.2_1 ignore
+libr_io.so.5.4.2 radare2-5.4.2_1 ignore
+libr_hash.so.5.4.2 radare2-5.4.2_1 ignore
+libr_socket.so.5.4.2 radare2-5.4.2_1 ignore
+libr_parse.so.5.4.2 radare2-5.4.2_1 ignore
+libr_syscall.so.5.4.2 radare2-5.4.2_1 ignore
+libr_crypto.so.5.4.2 radare2-5.4.2_1 ignore
+libr_fs.so.5.4.2 radare2-5.4.2_1 ignore
+libr_magic.so.5.4.2 radare2-5.4.2_1 ignore
+libr_reg.so.5.4.2 radare2-5.4.2_1 ignore
+libr_main.so.5.4.2 radare2-5.4.2_1 ignore
 libykpiv.so.1 libykpiv-2.1.1_2
 libykcs11.so.1 libykcs11-2.1.1_2
 libKF5KExiv2.so.15.0.0 libkexiv25-17.04.3_1

From f9a10cbb43ee93971697bfff885fde1e42ddc098 Mon Sep 17 00:00:00 2001
From: heitor <heitorleite.dev@gmail.com>
Date: Sun, 17 Oct 2021 16:28:35 -0300
Subject: [PATCH 3/4] cutter: switch to the r2 fork

---
 srcpkgs/cutter          |  1 +
 srcpkgs/cutter/template | 16 ----------------
 2 files changed, 1 insertion(+), 16 deletions(-)
 create mode 120000 srcpkgs/cutter
 delete mode 100644 srcpkgs/cutter/template

diff --git a/srcpkgs/cutter b/srcpkgs/cutter
new file mode 120000
index 000000000000..b6645b039130
--- /dev/null
+++ b/srcpkgs/cutter
@@ -0,0 +1 @@
+iaito
\ No newline at end of file
diff --git a/srcpkgs/cutter/template b/srcpkgs/cutter/template
deleted file mode 100644
index 7142c048f53c..000000000000
--- a/srcpkgs/cutter/template
+++ /dev/null
@@ -1,16 +0,0 @@
-# Template file for 'cutter'
-pkgname=cutter
-version=1.12.0
-revision=2
-build_wrksrc=src
-build_style=qmake
-configure_args="CUTTER_EXTRA_PLUGIN_DIRS=/usr/lib/RadareOrg/Cutter/plugins"
-hostmakedepends="pkg-config qt5-qmake qt5-host-tools radare2"
-makedepends="capstone-devel python3-devel qt5-declarative-devel
- qt5-location-devel qt5-svg-devel radare2"
-short_desc="GUI for radare2 written in C++ and QT"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3.0-only"
-homepage="https://github.com/radareorg/cutter"
-distfiles="https://github.com/radareorg/${pkgname}/archive/v${version}.tar.gz"
-checksum=868213d2ea0b4a29b9b03c9b605c2b2155c4c03b62735a9bd376a0dadcb4fe1b

From 1e17da6408183092a26f642356f1c4067a1aa92b Mon Sep 17 00:00:00 2001
From: heitor <heitorleite.dev@gmail.com>
Date: Sun, 17 Oct 2021 16:28:47 -0300
Subject: [PATCH 4/4] New package: iaito

---
 srcpkgs/iaito/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/iaito/template

diff --git a/srcpkgs/iaito/template b/srcpkgs/iaito/template
new file mode 100644
index 000000000000..ae138ca580d6
--- /dev/null
+++ b/srcpkgs/iaito/template
@@ -0,0 +1,22 @@
+# Template file for 'iaito'
+pkgname=iaito
+version=5.3.1
+revision=1
+build_wrksrc=src
+build_style=qmake
+configure_args="IAITO_EXTRA_PLUGIN_DIRS=/usr/lib/RadareOrg/Iaito/plugins"
+hostmakedepends="pkg-config qt5-qmake qt5-host-tools radare2"
+makedepends="capstone-devel python3-devel qt5-declarative-devel
+ qt5-location-devel qt5-svg-devel radare2"
+short_desc="Official graphical interface for radare2"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="GPL-3.0-only"
+homepage="https://github.com/radareorg/iaito"
+distfiles="https://github.com/radareorg/${pkgname}/archive/${version}.tar.gz"
+checksum=38dfe1f5f1b5aaf49782715282540ea7a2629ef9e4c2d4ec639a46efff0d5e86
+
+cutter_package() {
+	build_style=meta
+	depends="iaito"
+	short_desc="Cutter - (transitional dummy package)"
+}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: radare2: update to 5.4.2, new package: iaito
  2021-10-17 19:32 [PR PATCH] radare2: update to 5.4.2, new package: iaito heittpr
  2021-10-17 19:36 ` [PR PATCH] [Updated] " heittpr
@ 2021-10-20  7:21 ` ericonr
  2021-10-20 11:00 ` [PR PATCH] [Updated] " heittpr
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2021-10-20  7:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 265 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/33608#issuecomment-947397342

Comment:
common/shlibs should happen in same commit as radare, cutter being replaced with iaito should happen in same commit as well.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] radare2: update to 5.4.2, new package: iaito
  2021-10-17 19:32 [PR PATCH] radare2: update to 5.4.2, new package: iaito heittpr
  2021-10-17 19:36 ` [PR PATCH] [Updated] " heittpr
  2021-10-20  7:21 ` ericonr
@ 2021-10-20 11:00 ` heittpr
  2021-10-21 17:45 ` heittpr
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: heittpr @ 2021-10-20 11:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1152 bytes --]

There is an updated pull request by heittpr against master on the void-packages repository

https://github.com/heittpr/void-packages radare2
https://github.com/void-linux/void-packages/pull/33608

radare2: update to 5.4.2, new package: iaito
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

Radare2 was recently forked as [rizin](https://rizin.re/), which cutter (the old radare2 GUI) now uses as a backend, making radare2 and cutter incompatible. Cutter was also forked as [r2cutter](https://github.com/radareorg/iaito) (now rebranded as iaito), to keep compatibility with radare2.

I packaged iaito and made cutter into a subpackage for now, until we decide to package rizin.

A patch file from https://github.com/void-linux/void-packages/pull/33608.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-radare2-33608.patch --]
[-- Type: text/x-diff, Size: 5995 bytes --]

From 75a7fbd08f52c89b6f3961b585826c0ce197fe06 Mon Sep 17 00:00:00 2001
From: heitor <heitorleite.dev@gmail.com>
Date: Sun, 17 Oct 2021 16:09:51 -0300
Subject: [PATCH 1/2] radare2: update to 5.4.2.

---
 common/shlibs            | 45 ++++++++++++++++++++--------------------
 srcpkgs/radare2/template |  6 +++---
 2 files changed, 26 insertions(+), 25 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 6b97d658c44a..006e3b912374 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3162,28 +3162,29 @@ libkdeconnectinterfaces.so.21 kdeconnect-21.03.80_1
 libkdeconnectcore.so.21 kdeconnect-21.03.80_1
 libkpmcore.so.11 kpmcore-21.03.80_1
 libpkcs11-helper.so.1 pkcs11-helper-1.25.1_6
-libr_core.so.5.0.0 radare2-5.0.0_1
-libr_config.so.5.0.0 radare2-5.0.0_1
-libr_cons.so.5.0.0 radare2-5.0.0_1
-libr_util.so.5.0.0 radare2-5.0.0_1
-libr_flag.so.5.0.0 radare2-5.0.0_1
-libr_asm.so.5.0.0 radare2-5.0.0_1
-libr_bin.so.5.0.0 radare2-5.0.0_1
-libr_anal.so.5.0.0 radare2-5.0.0_1
-libr_lang.so.5.0.0 radare2-5.0.0_1
-libr_debug.so.5.0.0 radare2-5.0.0_1
-libr_egg.so.5.0.0 radare2-5.0.0_1
-libr_bp.so.5.0.0 radare2-5.0.0_1
-libr_search.so.5.0.0 radare2-5.0.0_1
-libr_io.so.5.0.0 radare2-5.0.0_1
-libr_hash.so.5.0.0 radare2-5.0.0_1
-libr_socket.so.5.0.0 radare2-5.0.0_1
-libr_parse.so.5.0.0 radare2-5.0.0_1
-libr_syscall.so.5.0.0 radare2-5.0.0_1
-libr_crypto.so.5.0.0 radare2-5.0.0_1
-libr_fs.so.5.0.0 radare2-5.0.0_1
-libr_magic.so.5.0.0 radare2-5.0.0_1
-libr_reg.so.5.0.0 radare2-5.0.0_1
+libr_core.so.5.4.2 radare2-5.4.2_1 ignore
+libr_config.so.5.4.2 radare2-5.4.2_1 ignore
+libr_cons.so.5.4.2 radare2-5.4.2_1 ignore
+libr_util.so.5.4.2 radare2-5.4.2_1 ignore
+libr_flag.so.5.4.2 radare2-5.4.2_1 ignore
+libr_asm.so.5.4.2 radare2-5.4.2_1 ignore
+libr_bin.so.5.4.2 radare2-5.4.2_1 ignore
+libr_anal.so.5.4.2 radare2-5.4.2_1 ignore
+libr_lang.so.5.4.2 radare2-5.4.2_1 ignore
+libr_debug.so.5.4.2 radare2-5.4.2_1 ignore
+libr_egg.so.5.4.2 radare2-5.4.2_1 ignore
+libr_bp.so.5.4.2 radare2-5.4.2_1 ignore
+libr_search.so.5.4.2 radare2-5.4.2_1 ignore
+libr_io.so.5.4.2 radare2-5.4.2_1 ignore
+libr_hash.so.5.4.2 radare2-5.4.2_1 ignore
+libr_socket.so.5.4.2 radare2-5.4.2_1 ignore
+libr_parse.so.5.4.2 radare2-5.4.2_1 ignore
+libr_syscall.so.5.4.2 radare2-5.4.2_1 ignore
+libr_crypto.so.5.4.2 radare2-5.4.2_1 ignore
+libr_fs.so.5.4.2 radare2-5.4.2_1 ignore
+libr_magic.so.5.4.2 radare2-5.4.2_1 ignore
+libr_reg.so.5.4.2 radare2-5.4.2_1 ignore
+libr_main.so.5.4.2 radare2-5.4.2_1 ignore
 libykpiv.so.1 libykpiv-2.1.1_2
 libykcs11.so.1 libykcs11-2.1.1_2
 libKF5KExiv2.so.15.0.0 libkexiv25-17.04.3_1
diff --git a/srcpkgs/radare2/template b/srcpkgs/radare2/template
index 39818e99e7f2..8b0cb200470e 100644
--- a/srcpkgs/radare2/template
+++ b/srcpkgs/radare2/template
@@ -1,7 +1,7 @@
 # Template file for 'radare2'
-# cutter needs to be bumped when radare2 is updated
+# iaito needs to be bumped when radare2 is updated
 pkgname=radare2
-version=5.0.0
+version=5.4.2
 revision=1
 build_style=meson
 configure_args="-Duse_sys_capstone=true -Denable_tests=false"
@@ -12,7 +12,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="LGPL-3.0-only"
 homepage="http://www.radare.org"
 distfiles="https://github.com/radareorg/radare2/archive/${version}.tar.gz"
-checksum=517dd80ebd0569f31498887338eacb92e8cf054bc4625eef8ffe9ea174c1adae
+checksum=d3c337e893d7d1e7d5af8b527af3d4469c92898f0249f1b6263ea3325c9455b9
 
 case "$XBPS_TARGET_MACHINE" in
 	mips*) CFLAGS="-Os";;

From 375c8d6bd49d95f2c14c983e1ed740d7ec9be084 Mon Sep 17 00:00:00 2001
From: heitor <heitorleite.dev@gmail.com>
Date: Sun, 17 Oct 2021 16:28:35 -0300
Subject: [PATCH 2/2] cutter: switch to the r2 fork

---
 srcpkgs/cutter          |  1 +
 srcpkgs/cutter/template | 16 ----------------
 srcpkgs/iaito/template  | 22 ++++++++++++++++++++++
 3 files changed, 23 insertions(+), 16 deletions(-)
 create mode 120000 srcpkgs/cutter
 delete mode 100644 srcpkgs/cutter/template
 create mode 100644 srcpkgs/iaito/template

diff --git a/srcpkgs/cutter b/srcpkgs/cutter
new file mode 120000
index 000000000000..b6645b039130
--- /dev/null
+++ b/srcpkgs/cutter
@@ -0,0 +1 @@
+iaito
\ No newline at end of file
diff --git a/srcpkgs/cutter/template b/srcpkgs/cutter/template
deleted file mode 100644
index 7142c048f53c..000000000000
--- a/srcpkgs/cutter/template
+++ /dev/null
@@ -1,16 +0,0 @@
-# Template file for 'cutter'
-pkgname=cutter
-version=1.12.0
-revision=2
-build_wrksrc=src
-build_style=qmake
-configure_args="CUTTER_EXTRA_PLUGIN_DIRS=/usr/lib/RadareOrg/Cutter/plugins"
-hostmakedepends="pkg-config qt5-qmake qt5-host-tools radare2"
-makedepends="capstone-devel python3-devel qt5-declarative-devel
- qt5-location-devel qt5-svg-devel radare2"
-short_desc="GUI for radare2 written in C++ and QT"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3.0-only"
-homepage="https://github.com/radareorg/cutter"
-distfiles="https://github.com/radareorg/${pkgname}/archive/v${version}.tar.gz"
-checksum=868213d2ea0b4a29b9b03c9b605c2b2155c4c03b62735a9bd376a0dadcb4fe1b
diff --git a/srcpkgs/iaito/template b/srcpkgs/iaito/template
new file mode 100644
index 000000000000..ae138ca580d6
--- /dev/null
+++ b/srcpkgs/iaito/template
@@ -0,0 +1,22 @@
+# Template file for 'iaito'
+pkgname=iaito
+version=5.3.1
+revision=1
+build_wrksrc=src
+build_style=qmake
+configure_args="IAITO_EXTRA_PLUGIN_DIRS=/usr/lib/RadareOrg/Iaito/plugins"
+hostmakedepends="pkg-config qt5-qmake qt5-host-tools radare2"
+makedepends="capstone-devel python3-devel qt5-declarative-devel
+ qt5-location-devel qt5-svg-devel radare2"
+short_desc="Official graphical interface for radare2"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="GPL-3.0-only"
+homepage="https://github.com/radareorg/iaito"
+distfiles="https://github.com/radareorg/${pkgname}/archive/${version}.tar.gz"
+checksum=38dfe1f5f1b5aaf49782715282540ea7a2629ef9e4c2d4ec639a46efff0d5e86
+
+cutter_package() {
+	build_style=meta
+	depends="iaito"
+	short_desc="Cutter - (transitional dummy package)"
+}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: radare2: update to 5.4.2, new package: iaito
  2021-10-17 19:32 [PR PATCH] radare2: update to 5.4.2, new package: iaito heittpr
                   ` (2 preceding siblings ...)
  2021-10-20 11:00 ` [PR PATCH] [Updated] " heittpr
@ 2021-10-21 17:45 ` heittpr
  2021-10-21 18:59 ` ericonr
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: heittpr @ 2021-10-21 17:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 306 bytes --]

New comment by heittpr on void-packages repository

https://github.com/void-linux/void-packages/pull/33608#issuecomment-948859973

Comment:
> common/shlibs should happen in same commit as radare, cutter being replaced with iaito should happen in same commit as well.

I squashed the commits accordingly.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: radare2: update to 5.4.2, new package: iaito
  2021-10-17 19:32 [PR PATCH] radare2: update to 5.4.2, new package: iaito heittpr
                   ` (3 preceding siblings ...)
  2021-10-21 17:45 ` heittpr
@ 2021-10-21 18:59 ` ericonr
  2021-10-21 19:09 ` ericonr
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2021-10-21 18:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/33608#issuecomment-948913831

Comment:
One issue with the subpackage is that it means packaging cutter in the future will require a bunch of `reverts`, since the version number for iaito seems to be way ahead of cutter's.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: radare2: update to 5.4.2, new package: iaito
  2021-10-17 19:32 [PR PATCH] radare2: update to 5.4.2, new package: iaito heittpr
                   ` (4 preceding siblings ...)
  2021-10-21 18:59 ` ericonr
@ 2021-10-21 19:09 ` ericonr
  2021-10-21 19:17 ` heittpr
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2021-10-21 19:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 315 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/33608#issuecomment-948921181

Comment:
How would you feel about packaging rizin so we can just ship both toolkits and UIs? That would avoid having to deal with this in the future, where it gets more complicated :P

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: radare2: update to 5.4.2, new package: iaito
  2021-10-17 19:32 [PR PATCH] radare2: update to 5.4.2, new package: iaito heittpr
                   ` (5 preceding siblings ...)
  2021-10-21 19:09 ` ericonr
@ 2021-10-21 19:17 ` heittpr
  2021-10-22 17:28 ` heittpr
  2021-11-23 22:13 ` Johnnynator
  8 siblings, 0 replies; 10+ messages in thread
From: heittpr @ 2021-10-21 19:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 492 bytes --]

New comment by heittpr on void-packages repository

https://github.com/void-linux/void-packages/pull/33608#issuecomment-948927438

Comment:
> How would you feel about packaging rizin so we can just ship both toolkits and UIs? That would avoid having to deal with this in the future, where it gets more complicated :P

I guess I could give it a try :~)

It should be really similar to radare2 package since the fork is relatively recent and thus much of the codebase is actually the same.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: radare2: update to 5.4.2, new package: iaito
  2021-10-17 19:32 [PR PATCH] radare2: update to 5.4.2, new package: iaito heittpr
                   ` (6 preceding siblings ...)
  2021-10-21 19:17 ` heittpr
@ 2021-10-22 17:28 ` heittpr
  2021-11-23 22:13 ` Johnnynator
  8 siblings, 0 replies; 10+ messages in thread
From: heittpr @ 2021-10-22 17:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 496 bytes --]

New comment by heittpr on void-packages repository

https://github.com/void-linux/void-packages/pull/33608#issuecomment-948927438

Comment:
> How would you feel about packaging rizin so we can just ship both toolkits and UIs? That would avoid having to deal with this in the future, where it gets more complicated :P

I guess I could give it a try :~)

It should be really similar to the radare2 package since the fork is relatively recent and thus much of the codebase is actually the same.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: radare2: update to 5.4.2, new package: iaito
  2021-10-17 19:32 [PR PATCH] radare2: update to 5.4.2, new package: iaito heittpr
                   ` (7 preceding siblings ...)
  2021-10-22 17:28 ` heittpr
@ 2021-11-23 22:13 ` Johnnynator
  8 siblings, 0 replies; 10+ messages in thread
From: Johnnynator @ 2021-11-23 22:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 635 bytes --]

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/pull/33608#issuecomment-977217829

Comment:
https://github.com/void-linux/void-packages/pull/34221

> It should be really similar to the radare2 package since the fork is relatively recent and thus much of the codebase is actually the same.

At least for me auto analysis was extremely slow and unreliable in r2 with at least one case, rizin doesn't have the same problem. (also kinda the reason I never got much into using r2 for like anything).

Could you cleanup the PR to only include iaito as new package and the r2 update?

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-11-23 22:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-17 19:32 [PR PATCH] radare2: update to 5.4.2, new package: iaito heittpr
2021-10-17 19:36 ` [PR PATCH] [Updated] " heittpr
2021-10-20  7:21 ` ericonr
2021-10-20 11:00 ` [PR PATCH] [Updated] " heittpr
2021-10-21 17:45 ` heittpr
2021-10-21 18:59 ` ericonr
2021-10-21 19:09 ` ericonr
2021-10-21 19:17 ` heittpr
2021-10-22 17:28 ` heittpr
2021-11-23 22:13 ` Johnnynator

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).