]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CI/cirrus: install impacket from PyPI instead of FreeBSD packages
authorMarc Hoersken <info@marc-hoersken.de>
Sun, 18 Jul 2021 10:33:36 +0000 (12:33 +0200)
committerMarc Hoersken <info@marc-hoersken.de>
Sun, 18 Jul 2021 17:42:47 +0000 (19:42 +0200)
Availability of impacket as FreeBSD package is too flaky.

Stick to legacy version of cryptography which still
supports OpenSSL version 1.0.2 due to FreeBSD 11.

Reviewed-by: Daniel Stenberg
Closes #7418

.cirrus.yml

index 33047ba2673a942600b27ae5c41d4a123034d880..7e71bb6ad85777ff5c20feb44bc27b8fdc3a5a84 100644 (file)
@@ -37,16 +37,16 @@ freebsd_task:
 
   env:
     CIRRUS_CLONE_DEPTH: 10
+    CRYPTOGRAPHY_DONT_BUILD_RUST: 1
     MAKE_FLAGS: -j 2
 
   pkginstall_script:
     - pkg update -f
     - pkg install -y autoconf automake libtool pkgconf brotli openldap-client heimdal libpsl libssh2 openssh-portable libidn2 librtmp libnghttp2 nghttp2 stunnel
-    - case `python -V` in
-        Python?3.7*) pkg install -y py37-impacket ;;
-        Python?2.7*) pkg install -y py27-impacket ;;
-      esac
     - pkg delete -y curl
+    - easy_install "cryptography<3.2"
+    - easy_install "pyOpenSSL<20.0"
+    - easy_install "impacket"
   configure_script:
     - ./buildconf
     - case `uname -r` in