You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2021/12/15 13:28:17 UTC

svn commit: r1895988 - /httpd/httpd/branches/2.4.x/test/travis_run_linux.sh

Author: icing
Date: Wed Dec 15 13:28:17 2021
New Revision: 1895988

URL: http://svn.apache.org/viewvc?rev=1895988&view=rev
Log:
 *) test: adding building of librustls in case TEST_MOD_TLS is set.


Modified:
    httpd/httpd/branches/2.4.x/test/travis_run_linux.sh

Modified: httpd/httpd/branches/2.4.x/test/travis_run_linux.sh
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/test/travis_run_linux.sh?rev=1895988&r1=1895987&r2=1895988&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/test/travis_run_linux.sh (original)
+++ httpd/httpd/branches/2.4.x/test/travis_run_linux.sh Wed Dec 15 13:28:17 2021
@@ -51,6 +51,20 @@ else
     CONFIG="$CONFIG --with-apr-util=/usr"
 fi
 
+# Since librustls is not a package (yet) on any platform, we
+# build the version we want from source
+if test -v TEST_MOD_TLS; then
+  RUSTLS_HOME="$HOME/build/rustls-ffi"
+  RUSTLS_VERSION="v0.8.2"
+  git clone https://github.com/rustls/rustls-ffi.git "$RUSTLS_HOME"
+  pushd "$RUSTLS_HOME"
+    git fetch origin
+    git checkout tags/$RUSTLS_VERSION
+    make install DESTDIR="$PREFIX"
+  popd
+  CONFIG="$CONFIG --with-tls --with-rustls=$PREFIX"
+fi
+
 if test -v TEST_OPENSSL3; then
     CONFIG="$CONFIG --with-ssl=$HOME/root/openssl3"
     export LD_LIBRARY_PATH=$HOME/root/openssl3/lib:$HOME/root/openssl3/lib64