Skip to content

Commit

Permalink
build scripts; iOS 8.0 min version, iOS 9.1 SDK. tor 0.2.6.10, openss…
Browse files Browse the repository at this point in the history
…l 1.0.2d
  • Loading branch information
mtigas committed Oct 22, 2015
1 parent 1fea16b commit 8a26da0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
6 changes: 3 additions & 3 deletions build-libevent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
# Choose your libevent version and your currently-installed iOS SDK version:
#
VERSION="2.0.22-stable"
USERSDKVERSION="9.0"
MINIOSVERSION="7.0"
USERSDKVERSION="9.1"
MINIOSVERSION="8.0"
VERIFYGPG=true

###########################################################################
Expand Down Expand Up @@ -52,7 +52,7 @@ fi
if [[ ! -z "$TRAVIS" && $TRAVIS ]]; then
# Travis CI highest available version
echo "==================== TRAVIS CI ===================="
SDKVERSION="8.0"
SDKVERSION="9.0"
else
SDKVERSION="$USERSDKVERSION"
fi
Expand Down
8 changes: 4 additions & 4 deletions build-libssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
# Choose your openssl version and your currently-installed iOS SDK version:
#
VERSION="1.0.2d"
USERSDKVERSION="9.0"
MINIOSVERSION="7.0"
USERSDKVERSION="9.1"
MINIOSVERSION="8.0"
VERIFYGPG=true

###########################################################################
Expand Down Expand Up @@ -52,7 +52,7 @@ fi
if [[ ! -z "$TRAVIS" && $TRAVIS ]]; then
# Travis CI highest available version
echo "==================== TRAVIS CI ===================="
SDKVERSION="8.0"
SDKVERSION="9.0"
else
SDKVERSION="$USERSDKVERSION"
fi
Expand Down Expand Up @@ -129,7 +129,7 @@ do
sed -ie "s!static volatile sig_atomic_t intr_signal;!static volatile intr_signal;!" "crypto/ui/ui_openssl.c"
PLATFORM="iPhoneOS"
fi

mkdir -p "${INTERDIR}/${PLATFORM}${SDKVERSION}-${ARCH}.sdk"

export PATH="${DEVELOPER}/Toolchains/XcodeDefault.xctoolchain/usr/bin/:${DEVELOPER}/Platforms/${PLATFORM}.platform/Developer/usr/bin/:${DEVELOPER}/Toolchains/XcodeDefault.xctoolchain/usr/bin:${DEVELOPER}/usr/bin:${ORIGINALPATH}"
Expand Down
13 changes: 8 additions & 5 deletions build-tor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
# Choose your tor version and your currently-installed iOS SDK version:
#
#VERSION="0.2.5.10"
VERSION="0.2.7.3-rc"
USERSDKVERSION="9.0"
MINIOSVERSION="7.0"
#VERSION="0.2.7.4-rc"
VERSION="0.2.6.10"
USERSDKVERSION="9.1"
MINIOSVERSION="8.0"
VERIFYGPG=true

# If you are in a country that blocks access to "torproject.org",
Expand All @@ -50,6 +51,8 @@ VERIFYGPG=true
TOR_DIST_URL="https://dist.torproject.org/"
#TOR_DIST_URL="https://tor.eff.org/dist/"
#TOR_DIST_URL="https://www.unicorncloud.org/public/torproject.org/dist/"
# use this for non-latest versions:
#TOR_DIST_URL="https://archive.torproject.org/tor-package-archive/"
#
# Alternatively, you may download the Tor source ("tor-0.2.5.10.tar.gz" and
# "tor-0.2.5.10.tar.gz.asc") from somewhere else, and place them inside
Expand Down Expand Up @@ -84,7 +87,7 @@ fi
if [[ ! -z "$TRAVIS" && $TRAVIS ]]; then
# Travis CI highest available version
echo "==================== TRAVIS CI ===================="
SDKVERSION="8.0"
SDKVERSION="9.0"
else
SDKVERSION="$USERSDKVERSION"
fi
Expand Down Expand Up @@ -235,7 +238,7 @@ do
--disable-asciidoc --disable-transparent --disable-threads \
LDFLAGS="$LDFLAGS -L${OUTPUTDIR}/lib -lz" \
CFLAGS="$CFLAGS -O2 -I${OUTPUTDIR}/include -isysroot ${DEVELOPER}/Platforms/${PLATFORM}.platform/Developer/SDKs/${PLATFORM}${SDKVERSION}.sdk" \
CPPFLAGS="$CPPFLAGS -I${OUTPUTDIR}/include -isysroot ${DEVELOPER}/Platforms/${PLATFORM}.platform/Developer/SDKs/${PLATFORM}${SDKVERSION}.sdk"
CPPFLAGS="$CPPFLAGS -I${OUTPUTDIR}/include -isysroot ${DEVELOPER}/Platforms/${PLATFORM}.platform/Developer/SDKs/${PLATFORM}${SDKVERSION}.sdk"

# Build the application
make -j4
Expand Down

0 comments on commit 8a26da0

Please sign in to comment.