File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -412,6 +412,29 @@ jobs:
412412 touch ${TMPDIR}/testfile
413413 lsextattr user ${TMPDIR}/testfile && echo "[xattr] *** xattrs SUPPORTED on ${TMPDIR}! ***"
414414
415+ # NetBSD 10 has a too old OpenSSL, build a fresher one.
416+ VERSION="3.5.6"
417+ echo "--- Building OpenSSL ${VERSION} ---"
418+ PREFIX="/usr/local"
419+ JOBS=$(sysctl -n hw.ncpu)
420+
421+ pushd /tmp
422+ ftp -o "openssl-${VERSION}.tar.gz" "https://www.openssl.org/source/openssl-${VERSION}.tar.gz"
423+ tar xzf "openssl-${VERSION}.tar.gz"
424+ pushd "openssl-${VERSION}"
425+
426+ ./Configure --prefix="${PREFIX}" --openssldir="${PREFIX}/etc/ssl" --libdir=lib \
427+ -Wl,-rpath,${PREFIX}/lib shared threads no-tests no-docs
428+ export LD_LIBRARY_PATH="/usr/local/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
429+ make -j"${JOBS}"
430+ sudo -E make install
431+ popd
432+ rm -rf "/tmp/openssl-${VERSION}" "/tmp/openssl-${VERSION}.tar.gz"
433+ popd
434+
435+ "${PREFIX}/bin/openssl" version
436+ export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}"
437+
415438 tox3 -e py311-none
416439 ;;
417440
You can’t perform that action at this time.
0 commit comments