summaryrefslogtreecommitdiff
path: root/sysroot.sh
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-09-30 22:50:49 -1000
committerSam Bingner <sam@bingner.com>2018-09-30 22:50:49 -1000
commitae2e967c43880fbd1b7e7f130541e9dbbca0debf (patch)
tree09441918f5ad09a47a750885187e44493a5e8b12 /sysroot.sh
parente1fe198695e4c91f62772fb1dbbfdc4607503cdc (diff)
Make Cydia compatible back to iOS5 - unable to support older with this apt version due to newer apt requiring functions provided via libc++ on iOS
Diffstat (limited to 'sysroot.sh')
-rwxr-xr-xsysroot.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/sysroot.sh b/sysroot.sh
index 2a2c4b8..8395c0b 100755
--- a/sysroot.sh
+++ b/sysroot.sh
@@ -37,13 +37,14 @@ architecture=iphoneos-arm
declare -A dpkgz
dpkgz[gz]=gunzip
dpkgz[lzma]=unlzma
+dpkgz[xz]=unxz
function extract() {
package=$1
url=$2
- wget -O "${package}.deb" "${url}"
- for z in lzma gz; do
+ wget -O "${package}.deb" "${url}" --no-check-certificate
+ for z in lzma gz xz; do
compressed=data.tar.${z}
if ar -x "${package}.deb" "${compressed}" 2>/dev/null; then
@@ -102,9 +103,9 @@ mkdir -p usr/include
cd usr/include
mkdir CoreFoundation
-wget -O CoreFoundation/CFUniChar.h "http://www.opensource.apple.com/source/CF/CF-550/CFUniChar.h?txt"
+wget -O CoreFoundation/CFUniChar.h "http://www.opensource.apple.com/source/CF/CF-550/CFUniChar.h?txt" --no-check-certificate
mkdir -p WebCore
-wget -O WebCore/WebCoreThread.h 'http://www.opensource.apple.com/source/WebCore/WebCore-658.28/wak/WebCoreThread.h?txt'
+wget -O WebCore/WebCoreThread.h 'http://www.opensource.apple.com/source/WebCore/WebCore-658.28/wak/WebCoreThread.h?txt' --no-check-certificate
ln -s /System/Library/Frameworks/IOKit.framework/Headers IOKit