| Pin the jolt the APK needs 2308a7e nandi 19d ago | 1 | #!/usr/bin/env dotslash |
| 2 | |
| 3 | // jolt with the Bionic `struct addrinfo` fix, from the fork at |
| 4 | // gitlab.com/nandithebull/jolt (commit 2b80d68d). Upstream's own release reads |
| 5 | // `ai_addr` at glibc's offset, which on Android is `ai_canonname` — a null |
| 6 | // pointer — so every TLS connect fails there and reports a refusal the network |
| 7 | // never made. Nothing else differs from v0.7.28. |
| 8 | // |
| 9 | // Linux x86_64 only: it is what the APK is built on. Other platforms fall back |
| 10 | // to whatever `jolt` is on PATH, which is upstream's, which is fine for |
| 11 | // everything but an Android build. |
| 12 | { |
| 13 | "name": "jolt", |
| 14 | "platforms": { |
| 15 | "linux-x86_64": { |
| 16 | "size": 15782379, |
| 17 | "hash": "sha256", |
| 18 | "digest": "aabb71f809aebd9d607b7a5036229f933c733ae90785cb29df899f116be9589f", |
| 19 | "format": "tar.gz", |
| 20 | "path": "jolt-v0.7.28-1-g2b80d68d-x86_64-linux/jolt", |
| 21 | "providers": [ |
| 22 | { |
| 23 | "url": "https://gitlab.com/nandithebull/jolt/-/releases/v0.7.28-android/downloads/jolt-v0.7.28-1-g2b80d68d-x86_64-linux.tar.gz" |
| 24 | } |
| 25 | ] |
| 26 | } |
| 27 | } |
| 28 | } |