mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +03:00
30b1086413
* Switch tart.run to vendored binary with non-OSS license so that we can get ----net-bridged * simpler distribution --------- Co-authored-by: James Reynolds <magnsuviri@me.com> Co-authored-by: Jacob Heider <jacob@pkgx.dev>
41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
distributable:
|
||
# vendoring for newer versions
|
||
# url: https://github.com/cirruslabs/tart/archive/refs/tags/{{version}}.tar.gz
|
||
url: https://github.com/cirruslabs/tart/releases/download/{{version}}/tart.tar.gz
|
||
|
||
warnings:
|
||
- vendored
|
||
|
||
versions:
|
||
github: cirruslabs/tart/releases
|
||
|
||
platforms:
|
||
- darwin/aarch64
|
||
|
||
#FIXME proper system for re-using pre-built binaries
|
||
# we must require the vendor to provide signatures against a published public
|
||
# key. If they don’t then really we should build ourselves or warn the user
|
||
# about the fact.
|
||
# The thing is, we trust the sources implicitly currently because signing is
|
||
# so rare. The only way wide spread signing will occur is via our protocol.
|
||
|
||
# This only works on macOS, arm64, monterey and above. It requires xcode 14.1 to build
|
||
|
||
build:
|
||
script:
|
||
- mkdir -p "{{prefix}}/bin"
|
||
- cp -a tart.app "{{prefix}}"
|
||
- cp props/tart-shim "{{prefix}}"/bin/tart
|
||
|
||
provides:
|
||
- bin/tart
|
||
|
||
test:
|
||
script:
|
||
- ': >empty.ispw'
|
||
- OUT=$(tart create
|
||
--from-ipsw empty.ipsw
|
||
test 2>&1 || true)
|
||
- 'test "$OUT" = "Error: The restore image failed to load. Unable to create sandbox extensions."'
|
||
env:
|
||
TART_HOME: $PWD
|