]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: cirrus-ci: choose proper openssl package name
authorIlya Shipitsin <chipitsine@gmail.com>
Tue, 7 Jan 2020 18:41:24 +0000 (23:41 +0500)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 8 Jan 2020 15:26:11 +0000 (16:26 +0100)
freebsd-11.3 and 12.1 comes with different openssl naming
let us add proper switch to cirrus-ci script

.cirrus.yml

index d14678111c5a70f440d30df34e3211791279cb83..4143e687bfed5357f3b42b65e7715a4d2432c635 100644 (file)
@@ -5,7 +5,13 @@ FreeBSD_task:
       image_family: freebsd-11-3-snap
   only_if: $CIRRUS_BRANCH =~ 'master|next'
   install_script:
-    - pkg install -y openssl111 git gmake lua53 socat
+    - case `uname -r` in
+        11.3*)
+          export SSL=openssl;;
+        12.1*)
+          export SSL=openssl111;;
+      esac
+    - pkg install -y $SSL git gmake lua53 socat
   script:
     - git clone https://github.com/VTest/VTest.git ../vtest
     - make -C ../vtest