0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 12:12:15 +02:00
Commit Graph

6 Commits

Author SHA1 Message Date
James Yonan
b02bfa8e2e In build scripts, standardize on $DL referring to downloads
directory and pointing to ~/Downloads by default.
2014-02-09 03:10:02 -07:00
James Yonan
7e0490f647 Updated Android SDK, NDK, and build scripts:
SDK: adt-bundle-mac-x86_64-20131030
NDK: android-ndk-r9c
2014-01-13 17:48:37 -07:00
James Yonan
7d9921972e Fixed issue where minicrypto aes_crypt_cbc was not working correctly
if input and output were pointing to the same memory, as is often
the case with PolarSSL calls.

Removed minicrypto files (such as Blowfish) that are no longer used.
2013-06-08 04:41:03 +00:00
James Yonan
01c91a46cd Android build scripts:
* Add build-all
* Fixed build-minicrypto
2012-10-07 09:14:00 +00:00
James Yonan
b88790efef iOS client changes:
* Updated to Xcode 4.5 and tested client build on iOS6.

* Note that it is no longer necessary to copy the private
  SystemConfiguration header files for the VPN API into the
  Xcode tree.  The OpenVPN Xcode project file will now
  reference them directly from the ovpn3 tree.

* Note that in Xcode 4.5, the iPhoneOSProductTypes.xcspec file that
  must be edited to allow bundle signing is now a binary plist.
  Use the Mac plutil tool to convert it to JSON so it can be edited
  then convert back to binary:

  $ cp iPhoneOSProductTypes.xcspec iPhoneOSProductTypes.xcspec.backup
  $ plutil -convert json -r iPhoneOSProductTypes.xcspec
  [ edit iPhoneOSProductTypes.xcspec according to instructions in
     ovpn3/doc/Build_VPN_App_and_Plugin.pdf ]
  $ plutil -convert binary1 iPhoneOSProductTypes.xcspec

* The ARM assembler provided in Xcode 4.5 is no longer able to
  assemble the Minicrypto ASM algorithms.  As a workaround, before
  updating to Xcode 4.5, preserve the previous clang binary by
  copying it to ~/clang3/clang -- the build-minicrypto script will
  expect it to exist.  This is the version of clang that must be used:

  $ ~/clang3/clang --version
  Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
  Target: x86_64-apple-darwin11.4.2
  Thread model: posix

* Make sure to update your PATH to include the new Xcode 4.5 clang and
  rebuild all libraries.  I found that updating to Xcode 4.5 left the
  old clang in /usr/bin.  The Xcode 4.5 clang should show this version
  info:

  $ clang --version
  Apple clang version 4.1 (tags/Apple/clang-421.11.65) (based on LLVM 3.1svn)
  Target: x86_64-apple-darwin11.4.2
  Thread model: posix

* Added $O3/scripts/mac/build-all script to build all Mac/iOS
  dependencies.
2012-09-25 21:04:27 +00:00
James Yonan
8b7b797ef5 iOS version: 1.0 Beta 17
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).
2012-09-05 01:09:34 +00:00