From 4d2bce11a38660212d07f53e431ba08aa4502097 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 13 Nov 2017 10:50:39 -0500 Subject: reproducible FreeBSD: disable SSL verification on git clone We might be running in the future, beyond GitHub's cert expiry. Signed-off-by: Mattia Rizzolo --- bin/reproducible_freebsd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/reproducible_freebsd.sh b/bin/reproducible_freebsd.sh index 472835e9..4f980e31 100755 --- a/bin/reproducible_freebsd.sh +++ b/bin/reproducible_freebsd.sh @@ -112,7 +112,8 @@ for FREEBSD_TARGET in ${FREEBSD_TARGETS} ;do echo "=============================================================================" echo "$(date -u) - Cloning FreeBSD git repository." echo "=============================================================================" - $RSSH git clone --depth 1 --branch $FREEBSD_TARGET https://github.com/freebsd/freebsd.git $TMPBUILDDIR + # Disable SSL verification as we may be in the future, beyond GitHub's cert exipry. + $RSSH env GIT_SSL_NO_VERIFY=true git clone --depth 1 --branch $FREEBSD_TARGET https://github.com/freebsd/freebsd.git $TMPBUILDDIR FREEBSD[$FREEBSD_TARGET]=$($RSSH "cd $TMPBUILDDIR ; git log -1") FREEBSD_VERSION[$FREEBSD_TARGET]=$($RSSH "cd $TMPBUILDDIR ; git describe --always") echo "This is FreeBSD branch $FREEBSD_TARGET at ${FREEBSD_VERSION[$FREEBSD_TARGET]}." -- cgit v1.2.3-54-g00ecf