Package Details: ipsw-bin 3.1.549-1

Git Clone URL: https://aur.archlinux.org/ipsw-bin.git (read-only, click to copy)
Package Base: ipsw-bin
Description: iOS/macOS Research Swiss Army Knife
Upstream URL: https://github.com/blacktop/ipsw
Keywords: apple dyld dyld-shared-cache firmware golang ios ios15 ipsw kernelcache lzfse lzss macho macho-parser macos12 monterey
Licenses: MIT
Conflicts: ipsw
Provides: ipsw
Submitter: blacktop
Maintainer: blacktop
Last Packager: blacktop
Votes: 1
Popularity: 0.002659
First Submitted: 2022-08-27 19:38 (UTC)
Last Updated: 2024-10-07 16:41 (UTC)

Latest Comments

Ranguvar commented on 2024-01-09 12:51 (UTC)

Working well, thank you!

blacktop commented on 2023-12-22 21:55 (UTC)

I suppose it's time to actually try and fix this ;)

micwoj92 commented on 2023-10-23 05:07 (UTC)

Same issue here.

Bigorneau commented on 2023-07-26 08:29 (UTC)

Hi,

On 3.1.373-1 the package() step is still missing a way to "cd" inside the subdirectory of the tarball

% makepkg -icf
==> Making package: ipsw-bin 3.1.373-1 (mer. 26 juil. 2023 10:25:40)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found ipsw-bin_3.1.373_x86_64.tar.gz
==> Validating source_x86_64 files with sha256sums...
    ipsw-bin_3.1.373_x86_64.tar.gz ... Passed
==> Extracting sources...
  -> Extracting ipsw-bin_3.1.373_x86_64.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat './ipsw': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

As everything is inside an arch subdirectory

% tar tf /tmp/ipswd_3.1.373_linux_x86_64.tar.gz
ipswd_3.1.373_linux_x86_64/LICENSE
ipswd_3.1.373_linux_x86_64/README.md
ipswd_3.1.373_linux_x86_64/completions/ipswd/_bash
ipswd_3.1.373_linux_x86_64/completions/ipswd/_fish
ipswd_3.1.373_linux_x86_64/completions/ipswd/_powershell
ipswd_3.1.373_linux_x86_64/completions/ipswd/_zsh
ipswd_3.1.373_linux_x86_64/config.example.yml
ipswd_3.1.373_linux_x86_64/ipswd

Bigorneau commented on 2023-07-20 16:32 (UTC)

Hi,

I just tried to build but makepkg encounter multiples issues:

  • backup= cannot have a leading /
  • source_aarch64 looks to override each other
  • during package() the folder of the tarball and the LICENCE file look to have changed

I tested this (don't know if there is a better way to get the current ARCH than tinkering with CHOST ...)

diff --git a/PKGBUILD b/PKGBUILD                                                                
index 0e299a9..3093324 100644                                                                   
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,33 +3,43 @@

 pkgname='ipsw-bin'
 pkgver=3.1.369
-pkgrel=1                                                                                       
+pkgrel=2
 pkgdesc='iOS/macOS Research Swiss Army Knife'
 url='https://github.com/blacktop/ipsw'                                                         
 arch=('aarch64' 'aarch64' 'x86_64' 'x86_64')                                                   
 license=('MIT')
 provides=('ipsw')
 conflicts=('ipsw')                                                                             
-backup=('/etc/ipsw.conf') 
+backup=('etc/ipsw.conf')

-source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/blacktop/ipsw/releases/download/v3.1.369/ipsw_3.1.369_linux_arm64.tar.gz")
-sha256sums_aarch64=('10ce6a9cd6487e4a206465cdc799ce5c7ffb2459108a61f1022d1b00e117782c')
+source_aarch64=(
+    "ipsw_${pkgver}_aarch64.tar.gz::https://github.com/blacktop/ipsw/releases/download/v3.1.369/ipsw_3.1.369_linux_arm64.tar.gz"
+    "ipswd_${pkgver}_aarch64.tar.gz::https://github.com/blacktop/ipsw/releases/download/v3.1.369/ipswd_3.1.369_linux_arm64.tar.gz"
+)

-source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/blacktop/ipsw/releases/download/v3.1.369/ipswd_3.1.369_linux_arm64.tar.gz")
-sha256sums_aarch64=('9232c97f980b5ea53e96b655e404df2a9b2329bcaf49afb58a8f7bb59c130785')
+sha256sums_aarch64=(
+    '10ce6a9cd6487e4a206465cdc799ce5c7ffb2459108a61f1022d1b00e117782c'
+    '9232c97f980b5ea53e96b655e404df2a9b2329bcaf49afb58a8f7bb59c130785'
+)

-source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/blacktop/ipsw/releases/download/v3.1.369/ipsw_3.1.369_linux_x86_64.tar.gz")
-sha256sums_x86_64=('f182eaa0d7cce5a96079a1b5a485ea8826f03d0b38385e2916fe4a483a8d3b12')
+source_x86_64=(
+    "ipsw_${pkgver}_x86_64.tar.gz::https://github.com/blacktop/ipsw/releases/download/v3.1.369/ipsw_3.1.369_linux_x86_64.tar.gz"
+    "ipswd_${pkgver}_x86_64.tar.gz::https://github.com/blacktop/ipsw/releases/download/v3.1.369/ipswd_3.1.369_linux_x86_64.tar.gz"
+)

-source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/blacktop/ipsw/releases/download/v3.1.369/ipswd_3.1.369_linux_x86_64.tar.gz")
-sha256sums_x86_64=('82a46e11c2d17026599c619a7e1fa327fd82c1cd2a0c9fa96172062534b26f63')
+sha256sums_x86_64=(
+    'f182eaa0d7cce5a96079a1b5a485ea8826f03d0b38385e2916fe4a483a8d3b12'
+    '82a46e11c2d17026599c619a7e1fa327fd82c1cd2a0c9fa96172062534b26f63'
+)

 package() {
+  cd ipsw_${pkgver}_linux_${CHOST%%-*}
+
   # bin
   install -Dm755 "./ipsw" "${pkgdir}/usr/bin/ipsw"

   # license
-  install -Dm644 "./LICENSE.md" "${pkgdir}/usr/share/licenses/ipsw/LICENSE"
+  install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/ipsw/LICENSE"

   # completions
   mkdir -p "${pkgdir}/usr/share/bash-completion/completions/"