From f7570ec86535baf1de2d584de82379666e375f1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Dubois?= Date: Mon, 28 Nov 2022 14:52:34 +0100 Subject: [PATCH] check_pkgmirror: use our own openbsd mirror --- openbsd/CHANGELOG | 6 ++++++ openbsd/evocheck.sh | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/openbsd/CHANGELOG b/openbsd/CHANGELOG index d382d77..1eb421e 100644 --- a/openbsd/CHANGELOG +++ b/openbsd/CHANGELOG @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [22.11] - 2022-11-28 + +### Changed + +- check_pkgmirror: use our own openbsd mirror + ## [22.10] - 2022-10-14 ### Changed diff --git a/openbsd/evocheck.sh b/openbsd/evocheck.sh index e82e8ae..c8a0580 100755 --- a/openbsd/evocheck.sh +++ b/openbsd/evocheck.sh @@ -3,7 +3,7 @@ # EvoCheck # Script to verify compliance of an OpenBSD server powered by Evolix -readonly VERSION="22.10" +readonly VERSION="22.11" # base functions @@ -194,7 +194,7 @@ check_wheel(){ fi } check_pkgmirror(){ - grep -qE "^https://cdn\.openbsd\.org/pub/OpenBSD" /etc/installurl || failed "IS_PKGMIRROR" "Check whether the right repo is present in the /etc/installurl file" + grep -qE "^https?://ftp\.evolix\.org/openbsd/" /etc/installurl || failed "IS_PKGMIRROR" "Check whether the right repo is present in the /etc/installurl file" } check_history(){ file=/root/.profile