]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r1895982, r1898965, r1900545, r1902482 from trunk: [under CTR for Travis changes]
authorJoe Orton <jorton@apache.org>
Wed, 6 Jul 2022 13:33:12 +0000 (13:33 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 6 Jul 2022 13:33:12 +0000 (13:33 +0000)
Add Travis job against OpenSSL 3 with -Werror but with deprecation
warnings disabled.
Be careful to remove the previous OpenSSL install prefix is rebuilding.

Update to test against OpenSSL 3.0.2.

Update to testing against OpenSSL 3.0.3.

Update to test with OpenSSL 3.0.5.

Submitted by: jorton

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

.travis.yml
test/travis_before_linux.sh

index 6cc1bd5395533a2b5f4eb57d28fb1795a66c783f..cbca7e8a7ecc2c5f05d889a1daa665cf39d75460 100644 (file)
@@ -268,14 +268,21 @@ jobs:
       if: *condition_not_24x
       env: APR_VERSION=trunk APR_CONFIG="--without-pgsql --without-mysql --without-odbc --with-crypto"
            CONFIG="--enable-mods-shared=ssl --with-mpm=event"
-           TEST_SSL=1 TEST_OPENSSL3=3.0.1
+           TEST_SSL=1 TEST_OPENSSL3=3.0.5
+    # -------------------------------------------------------------------------
+    - name: Linux Ubuntu, APR trunk, minimal module set, OpenSSL 3.x -Werror
+      if: *condition_not_24x
+      env: APR_VERSION=trunk APR_CONFIG="--without-pgsql --without-mysql --without-odbc --with-crypto"
+           CONFIG="--enable-mods-shared=ssl --with-mpm=event"
+           TEST_OPENSSL3=3.0.5 SKIP_TESTING=1
+           NOTEST_CFLAGS="-Werror -Wno-deprecated-declarations"
     # -------------------------------------------------------------------------
     - if: *condition_24x_only
       name: Linux Ubuntu, APR 1.7, minimal module set, OpenSSL 3.x
       env: APR_VERSION=1.7.0
            APU_VERSION=1.6.1 APU_CONFIG="--without-pgsql --without-mysql --without-odbc --with-crypto"
            CONFIG="--enable-mods-shared=ssl --with-mpm=event"
-           TEST_SSL=1 TEST_OPENSSL3=3.0.1
+           TEST_SSL=1 TEST_OPENSSL3=3.0.5
     # -------------------------------------------------------------------------
     - name: Linux Ubuntu, MPMs [event, worker], core + HTTP/2 test suite
       dist: focal
index 717464e5372a8ecadba52b1c23d5233e3ae1ba32..7f4f9b53b3ceeb7db1cf20d36df4ce40f8b7aeec 100755 (executable)
@@ -115,6 +115,9 @@ if test -v TEST_OPENSSL3; then
     # Build the requested version of OpenSSL if it's not already
     # installed in the cached ~/root
     if ! test -f $HOME/root/openssl-is-${TEST_OPENSSL3}; then
+        # Remove any previous install.
+        rm -rf $HOME/root/openssl3
+
         mkdir -p build/openssl
         pushd build/openssl
            curl "https://www.openssl.org/source/openssl-${TEST_OPENSSL3}.tar.gz" |