]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge /httpd/httpd/trunk:r1900875
authorStefan Eissing <icing@apache.org>
Mon, 16 May 2022 11:38:37 +0000 (11:38 +0000)
committerStefan Eissing <icing@apache.org>
Mon, 16 May 2022 11:38:37 +0000 (11:38 +0000)
  *) test: switch rustls-ffi to v0.9.0 which gets
     rid of the cbindgen dependency.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1900952 13f79535-47bb-0310-9956-ffa450edef68

test/travis_run_linux.sh

index 877a4732cfd37390e294b08383375631bac81f5b..fd13385e7cebbd4637fe8a028d62be6931720c48 100755 (executable)
@@ -55,21 +55,13 @@ fi
 # 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"
+  RUSTLS_VERSION="v0.9.0"
   git clone https://github.com/rustls/rustls-ffi.git "$RUSTLS_HOME"
   pushd "$RUSTLS_HOME"
+    # since v0.9.0, there is no longer a dependency on cbindgen
     git fetch origin
     git checkout tags/$RUSTLS_VERSION
-    # force an update to cbindgen as focal seems to deliver v0.12.1
-    # always something changes with rust/cargo every few weeks, sigh.
-    RUSTC_VERSION=`rustc --version`
-    CBINDGEN_INSTALLED_VERSION=`cbindgen --version`
-    cargo install --force cbindgen
-    CBINDGEN_LOCAL_VERSION=`"${HOME}"/.cargo/bin/cbindgen --version`
-    echo "building rustls-ffi: RUSTC='${RUSTC_VERSION}', "\
-        "SYSTEM CBINDGEN='${CBINDGEN_INSTALLED_VERSION}'"\
-        "LOCAL CBINDGEN='${CBINDGEN_LOCAL_VERSION}'"
-    PATH="${HOME}/.cargo/bin:${PATH}" make install DESTDIR="$PREFIX"
+    make install DESTDIR="$PREFIX"
   popd
   CONFIG="$CONFIG --with-tls --with-rustls=$PREFIX"
 fi