During the build of LibreSSL portable it pulls in a branch from OpenBSD
upstream. Unfortunately they use master there instead of a fixed branch.
So we work around this issue.

Signed-off-by: Arne Schwabe <a...@rfc2549.org>
---
 .github/workflows/build.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 132624547..5888e91e5 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -415,6 +415,14 @@ jobs:
           path: libressl
           repository: libressl-portable/portable
           ref: v3.7.0
+      # LibreSSL has master in the OPENBSD_BRANCH by default even in the 
tagged releases
+      # Manually use the OpenBSD branch that is more appropiate and remove git 
pull that
+      # breaks when checking out a tag instead of branch
+      - name: "libressl: fix build"
+        run: |
+           echo libressl-v3.7.0 > OPENBSD_BRANCH
+           sed -i -e 's/ git pull --rebase//' update.sh
+        working-directory: libressl
       - name: "libressl: autogen.sh"
         run: ./autogen.sh
         working-directory: libressl
-- 
2.37.1 (Apple Git-137.1)



_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to