git: 9c59988175ff - main - bsdinstall: prefer HTTP

From: Philip Paeps <philip_at_FreeBSD.org>
Date: Thu, 15 Feb 2024 13:50:02 UTC
The branch main has been updated by philip:

URL: https://cgit.FreeBSD.org/src/commit/?id=9c59988175ffd6b42c6927c0939e13abc43f7344

commit 9c59988175ffd6b42c6927c0939e13abc43f7344
Author:     Philip Paeps <philip@FreeBSD.org>
AuthorDate: 2024-02-15 13:49:33 +0000
Commit:     Philip Paeps <philip@FreeBSD.org>
CommitDate: 2024-02-15 13:49:33 +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
---
 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 901f816206ba..8dd50199977d 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"\