Hi,

On 19-06-17 20:38, Ilya Shipitsin wrote:
> openssl build script was modified according to official openssl manual:
> https://wiki.openssl.org/index.php/Compilation_and_Installation
> ---
>  .travis.yml           | 6 ++++++
>  .travis/build-deps.sh | 6 +++---
>  2 files changed, 9 insertions(+), 3 deletions(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index bb44222..db90e03 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -27,9 +27,15 @@ matrix:
>      - env: SSLLIB="openssl"
>        os: linux
>        compiler: gcc
> +    - env: SSLLIB="openssl" OPENSSL_VERSION="1.1.0f"
> +      os: linux
> +      compiler: gcc
>      - env: SSLLIB="openssl"
>        os: linux
>        compiler: clang
> +    - env: SSLLIB="openssl" OPENSSL_VERSION="1.1.0f"
> +      os: linux
> +      compiler: clang
>      - env: SSLLIB="mbedtls"
>        os: linux
>        compiler: gcc
> diff --git a/.travis/build-deps.sh b/.travis/build-deps.sh
> index c5c1188..9cc1858 100755
> --- a/.travis/build-deps.sh
> +++ b/.travis/build-deps.sh
> @@ -82,7 +82,7 @@ download_openssl () {
>  build_openssl_linux () {
>      (
>          cd "openssl-${OPENSSL_VERSION}/"
> -        ./config shared --openssldir="${PREFIX}" -DPURIFY
> +        ./config shared --prefix="${PREFIX}" --openssldir="${PREFIX}" 
> -DPURIFY
>          make all install_sw
>      )
>  }
> @@ -91,7 +91,7 @@ build_openssl_osx () {
>      (
>          cd "openssl-${OPENSSL_VERSION}/"
>          ./Configure darwin64-x86_64-cc shared \
> -            --openssldir="${PREFIX}" -DPURIFY
> +            --prefix="${PREFIX}" --openssldir="${PREFIX}" -DPURIFY
>          make depend all install_sw
>      )
>  }
> @@ -107,7 +107,7 @@ build_openssl_mingw () {
>          fi
>  
>          ./Configure --cross-compile-prefix=${CHOST}- shared \
> -           ${TARGET} no-multilib no-capieng --openssldir="${PREFIX}" 
> -static-libgcc
> +           ${TARGET} no-multilib no-capieng --prefix="${PREFIX}" 
> --openssldir="${PREFIX}" -static-libgcc
>          make install
>      )
>  }
> 

Good idea, good patch.  ACK.

-Steffan

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to