mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 20:13:05 +02:00
8b7b797ef5
Android version: 1.1 beta 1 More alignment of iOS and Android clients: * Normalized building of dependencies for Android and iOS: This build adds some new library dependencies: The library versions required are enumerated in ovpn3/lib-versions, currently: export BOOST_VERSION=boost_1_51_0 export OPENSSL_VERSION=openssl-1.0.1c export POLARSSL_VERSION=polarssl-1.1.4 export LZO_VERSION=lzo-2.06 To build, first mkdir ~/src/android and ~/src/mac if they don't already exist. Set the env var O3 to point to the ovpn3 dir, usually ~/src/ovpn3. Build on iOS: [set PATH to include NDK] cd ~/src/android $O3/scripts/android/build-boost $O3/scripts/android/build-minicrypto $O3/scripts/android/build-polarssl $O3/scripts/android/build-lzo Build on Android: [set PATH to include NDK] cd ~/src/android $O3/scripts/android/build-boost $O3/scripts/android/build-minicrypto $O3/scripts/android/build-polarssl $O3/scripts/android/build-lzo * Integrated Minicrypto library (an assembly language library of low-level crypto functions adapted from OpenSSL). * Added LZO compression with a preference/settings item to enable or disable. * Added special compression handling to support older servers that ignore compression handshake -- this will handle receiving compressed packets even if we didn't ask for them. * Normalized profile naming conventions. iOS changes: * Log tunnel performance stats immediately on disconnection of tunnel. Android changes: * Client now supports loading profiles as attachments opened from other apps. * Added Import Private Tunnel menu item, however current Private Tunnel download page needs to be adapted to fit requirements of Android download manager. * Enter key should advance to the next input field, or connect if entered from the last field. * Import from Access Server now provides the option to download autologin vs. userlogin profiles. * "About" page now shows copyright text for included libraries/content (except for LZO and PolarSSL which will presumably be commercially licensed).
14 lines
451 B
Plaintext
14 lines
451 B
Plaintext
export DEP_DIR=$HOME/src/android
|
|
export PLATFORM=android
|
|
export DEBUG_BUILD=0
|
|
export GPP_CMD=arm-linux-androideabi-g++
|
|
export GCC_CMD=arm-linux-androideabi-gcc
|
|
export NM_CMD=arm-linux-androideabi-nm
|
|
export AR_CMD=arm-linux-androideabi-ar
|
|
export LD_CMD=arm-linux-androideabi-ld
|
|
export RANLIB_CMD=arm-linux-androideabi-ranlib
|
|
export STRIP_CMD=arm-linux-androideabi-strip
|
|
export OTHER_COMPILER_FLAGS=""
|
|
export LIB_OPT_LEVEL="-O3"
|
|
export LIB_FPIC="-fPIC"
|