From 487d2aba434f3da6b73c1af9a38742b3a549ef09 Mon Sep 17 00:00:00 2001 From: Christer Edwards Date: Fri, 25 Oct 2019 19:33:35 -0600 Subject: [PATCH] add support for 11.3-RELEASE, 12.1-RC1, 12.1-RC2, 12.1-RELEASE --- usr/local/share/bastille/bootstrap.sh | 30 +++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/usr/local/share/bastille/bootstrap.sh b/usr/local/share/bastille/bootstrap.sh index 45a75bd3..d2e64fec 100644 --- a/usr/local/share/bastille/bootstrap.sh +++ b/usr/local/share/bastille/bootstrap.sh @@ -362,24 +362,42 @@ HW_MACHINE_ARCH=$(sysctl hw.machine_arch | awk '{ print $2 }') # Filter sane release names case "${1}" in -11.3-RELEASE) - RELEASE="${1}" - UPSTREAM_URL="http://ftp.freebsd.org/pub/FreeBSD/releases/${HW_MACHINE}/${HW_MACHINE_ARCH}/11.3-RELEASE" - bootstrap_directories - bootstrap_release - ;; 11.2-RELEASE) RELEASE="${1}" UPSTREAM_URL="http://ftp.freebsd.org/pub/FreeBSD/releases/${HW_MACHINE}/${HW_MACHINE_ARCH}/11.2-RELEASE" bootstrap_directories bootstrap_release ;; +11.3-RELEASE) + RELEASE="${1}" + UPSTREAM_URL="http://ftp.freebsd.org/pub/FreeBSD/releases/${HW_MACHINE}/${HW_MACHINE_ARCH}/11.3-RELEASE" + bootstrap_directories + bootstrap_release + ;; 12.0-RELEASE) RELEASE="${1}" UPSTREAM_URL="http://ftp.freebsd.org/pub/FreeBSD/releases/${HW_MACHINE}/${HW_MACHINE_ARCH}/12.0-RELEASE" bootstrap_directories bootstrap_release ;; +12.1-RC1) + RELEASE="${1}" + UPSTREAM_URL="http://ftp.freebsd.org/pub/FreeBSD/releases/${HW_MACHINE}/${HW_MACHINE_ARCH}/12.1-RC1" + bootstrap_directories + bootstrap_release + ;; +12.1-RC2) + RELEASE="${1}" + UPSTREAM_URL="http://ftp.freebsd.org/pub/FreeBSD/releases/${HW_MACHINE}/${HW_MACHINE_ARCH}/12.1-RC2" + bootstrap_directories + bootstrap_release + ;; +12.1-RELEASE) + RELEASE="${1}" + UPSTREAM_URL="http://ftp.freebsd.org/pub/FreeBSD/releases/${HW_MACHINE}/${HW_MACHINE_ARCH}/12.1-RELEASE" + bootstrap_directories + bootstrap_release + ;; 11-stable-LAST) RELEASE="${1}" UPSTREAM_URL="https://installer.hardenedbsd.org/pub/HardenedBSD/releases/${HW_MACHINE}/${HW_MACHINE_ARCH}/hardenedbsd-11-stable-LAST"