Package Details: checkra1n-gui 0.12.4-4

Git Clone URL: https://aur.archlinux.org/checkra1n-gui.git (read-only, click to copy)
Package Base: checkra1n-gui
Description: checkra1n is a semi-tethered jailbreak based on the checkm8 bootrom exploit. (GUI version)
Upstream URL: https://checkra.in
Keywords: checkra1n checkrain gtk gui ios jailbreak
Licenses: unknown
Submitter: bbaovanc
Maintainer: bbaovanc
Last Packager: bbaovanc
Votes: 3
Popularity: 0.000453
First Submitted: 2021-03-22 21:57 (UTC)
Last Updated: 2021-09-24 01:40 (UTC)

Latest Comments

1 2 Next › Last »

0x9fff00 commented on 2024-03-25 19:01 (UTC)

Actually now that I look closer, that won't work because dependencies of checkra1n already load libplist-2.0.so.4, so also loading libplist-2.0.so.3 could (silently) break them. However since the only ABI breaking change in libplist-2.0.so.4 is in plist_from_memory which isn't used by checkra1n (see objdump -T path/to/checkra1n | grep plist), it should be safe to only use libplist-2.0.so.4. While a symlink from libplist-2.0.so.3 would accomplish this, it could cause silent breakage elsewhere, so a better solution is to replace the DT_NEEDED entry in the checkra1n executable using patchelf. This and the libirecovery-1.0-3 change are incorporated in the following diff:

diff --git a/PKGBUILD b/PKGBUILD
index 90209b1..64c6bdc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
 # Maintainer: BBaoVanC <bbaovanc@bbaovanc.com>
 pkgname=checkra1n-gui
 pkgver=0.12.4
-pkgrel=4
+pkgrel=5
 pkgdesc="checkra1n is a semi-tethered jailbreak based on the checkm8 bootrom exploit. (GUI version)"
 license=('unknown')
 url="https://checkra.in"
 arch=('x86_64')
-depends=(libimobiledevice libirecovery libtvcontrol ncurses5-compat-libs gtk3)
-makedepends=(binutils tar)
+depends=(libimobiledevice libirecovery-1.0-3 libplist libtvcontrol ncurses5-compat-libs gtk3)
+makedepends=(binutils patchelf tar)
 _debname="checkra1n_${pkgver}_amd64.deb"
 source=("https://assets.checkra.in/debian/${_debname}")
 sha256sums=('90d3a5fb16e86c488344cfa8cec96e4592aa4d7f8932da99d4b5a052fdb10a1a')
@@ -18,6 +18,8 @@ package() {
     ar x ${_debname}
     tar -xf data.tar.xz

+    patchelf --replace-needed libplist-2.0.so.3 libplist-2.0.so.4 usr/bin/checkra1n
+
     mkdir -p ${pkgdir}/usr/bin
     mkdir -p ${pkgdir}/usr/share/applications
     mkdir -p ${pkgdir}/usr/share/doc/checkra1n

0x9fff00 commented on 2024-03-25 00:01 (UTC)

This needs to depend on libplist-2.0-3, and the dependency on libirecovery needs to be changed to libirecovery-1.0-3 due to soname bump in libirecovery 1.2.0

bbaovanc commented on 2022-07-23 22:18 (UTC)

@VACBannedJK could you give a more in-depth error? I can't reproduce; it builds fine for me.

VACBannedJK commented on 2022-07-19 05:41 (UTC)

it gives me ­"failed to build ncurses5-compat-libs" when trying to install checkra1n, installing ncurses5-compat-libs by itself from the AUR first seems to fix the issue

Newo commented on 2021-09-24 02:28 (UTC)

OK, great! I will test it out whenever I get a chance.

bbaovanc commented on 2021-09-24 02:15 (UTC)

@Newo it's fixed

bbaovanc commented on 2021-09-24 01:35 (UTC)

darn it

Newo commented on 2021-09-24 01:18 (UTC)

Hmm... the file does appear to be in my /usr/share/applications though doesn't appear in my XFCE menu. When I try to excecute it, it says that the command checkra1n isn't found. It seems like the command is supposed to be checkra1n-gui?

bbaovanc commented on 2021-09-23 21:10 (UTC)

@Newo it's adding the .desktop file for me, can you check pacman -Ql checkra1n-gui?

Newo commented on 2021-08-30 21:07 (UTC)

It seems like the .desktop file isn't getting added.