git: 275aee513b58 - stable/14 - bsdinstall: prefer HTTP

From: Philip Paeps <philip_at_FreeBSD.org>
Date: Thu, 07 Mar 2024 02:29:15 UTC
The branch stable/14 has been updated by philip:

URL: https://cgit.FreeBSD.org/src/commit/?id=275aee513b58d4797823e87a9f2292ba4a51ae16

commit 275aee513b58d4797823e87a9f2292ba4a51ae16
Author:     Philip Paeps <philip@FreeBSD.org>
AuthorDate: 2024-02-15 13:49:33 +0000
Commit:     Philip Paeps <philip@FreeBSD.org>
CommitDate: 2024-03-07 02:27:28 +0000

    bsdinstall: prefer HTTP
    
    In 2024, users are more likely to have working HTTP than working FTP.
    Present http://ftp.FreeBSD.org as the first option in the installer.
    Keep ftp://ftp.FreeBSD.org as the second option.
    
    MFC after:      3 weeks
    
    (cherry picked from commit 9c59988175ffd6b42c6927c0939e13abc43f7344)
---
 usr.sbin/bsdinstall/scripts/mirrorselect | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/usr.sbin/bsdinstall/scripts/mirrorselect b/usr.sbin/bsdinstall/scripts/mirrorselect
index 82a726c009b6..1ffbf1512ee2 100755
--- a/usr.sbin/bsdinstall/scripts/mirrorselect
+++ b/usr.sbin/bsdinstall/scripts/mirrorselect
@@ -40,7 +40,8 @@ MIRROR=`bsddialog --backtitle "$OSNAME Installer" \
     --title "Mirror Selection" --extra-button --extra-label "Other" \
     --menu "Please select the best suitable site for you or \"other\" if you want to specify a different choice. The \"Main Site\" directs users to the nearest project managed mirror via GeoDNS (they carry the full range of possible distributions and support both IPv4 and IPv6). All other sites are known as \"Community Mirrors\"; not every site listed here carries more than the base distribution kits. Select a site!" \
     0 0 16 \
-	ftp://download.freebsd.org	"Main Site (GeoDNS)"\
+	http://ftp.freebsd.org		"Main Site (GeoDNS, HTTP)"\
+	ftp://ftp.freebsd.org		"Main Site (GeoDNS, FTP)"\
 	http://ftp.au.freebsd.org 	"Australia - IPv6"\
 	ftp://ftp3.au.freebsd.org 	"Australia #3"\
 	ftp://ftp.at.freebsd.org 	"Austria - IPv6"\