aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2026-03-13 15:45:05 +0100
committerTheo Buehler <tb@openbsd.org>2026-03-13 15:45:05 +0100
commit7e9cc3ee21ef3266666b7cb9001df0b568cac11e (patch)
tree5d24b9e155e2ebb60e0270eb3f1d8193dc258b22
parent4554168c1d0031b30cfe00522bb98b8ab4db9ea6 (diff)
parent48d31eddb5c418d428cf2d9f56eca0aed819f1b9 (diff)
downloadportable-OPENBSD_7_8.tar.gz
portable-OPENBSD_7_8.tar.bz2
portable-OPENBSD_7_8.zip
Land #1241 - cherry-pick remote fetching fixOPENBSD_7_8
-rw-r--r--.github/workflows/macos.yml2
-rwxr-xr-xupdate.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index ac29bc0..0c344e5 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -21,7 +21,7 @@ jobs:
21 strategy: 21 strategy:
22 fail-fast: false 22 fail-fast: false
23 matrix: 23 matrix:
24 os: ["macos-15", "macos-14", "macos-13"] 24 os: ["macos-15", "macos-14"]
25 arch: ["arm64", "x86_64"] 25 arch: ["arm64", "x86_64"]
26 steps: 26 steps:
27 - name: "Install required packages" 27 - name: "Install required packages"
diff --git a/update.sh b/update.sh
index f2b46b7..377391c 100755
--- a/update.sh
+++ b/update.sh
@@ -21,7 +21,7 @@ openbsd_branch=`cat OPENBSD_BRANCH`
21# pull in latest upstream code 21# pull in latest upstream code
22echo "pulling upstream openbsd source" 22echo "pulling upstream openbsd source"
23if [ ! -d openbsd ]; then 23if [ ! -d openbsd ]; then
24 LIBRESSL_GIT_OPTIONS="${LIBRESSL_GIT_OPTIONS:- --depth=8}" 24 LIBRESSL_GIT_OPTIONS="${LIBRESSL_GIT_OPTIONS:- --depth=8 --no-single-branch}"
25 LIBRESSL_GIT="${LIBRESSL_GIT:- https://github.com/libressl}" 25 LIBRESSL_GIT="${LIBRESSL_GIT:- https://github.com/libressl}"
26 git clone $LIBRESSL_GIT_OPTIONS $LIBRESSL_GIT/openbsd 26 git clone $LIBRESSL_GIT_OPTIONS $LIBRESSL_GIT/openbsd
27fi 27fi
@@ -32,7 +32,7 @@ tag=`git describe --exact-match --tags HEAD 2>/dev/null`
32is_tag=$? 32is_tag=$?
33# adjust for 9 hour time delta between trees 33# adjust for 9 hour time delta between trees
34release_ts=$((`git show -s --format=%ct $tag|tail -1` + 32400)) 34release_ts=$((`git show -s --format=%ct $tag|tail -1` + 32400))
35commit=`git -C openbsd rev-list -n 1 --before=$release_ts $openbsd_branch` 35commit=`git -C openbsd rev-list -n 1 --before=$release_ts origin/$openbsd_branch`
36git -C openbsd fetch 36git -C openbsd fetch
37if [ $is_tag -eq 0 ]; then 37if [ $is_tag -eq 0 ]; then
38 echo "This is tag $tag, trying OpenBSD tag libressl-$tag" 38 echo "This is tag $tag, trying OpenBSD tag libressl-$tag"