[Bug 280647] Handbook: Missing https for Latest Ports Branch

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 06 Aug 2024 07:26:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280647

            Bug ID: 280647
           Summary: Handbook: Missing https for Latest Ports Branch
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Books & Articles
          Assignee: doc@FreeBSD.org
          Reporter: majo-bugs.freebsd.org@cerny.sk

In FreeBSD handbook, section 4.4.2. Quarterly and Latest Ports Branches
(https://docs.freebsd.org/en/books/handbook/ports/#quarterly-latest-branch),
mentions how to switch from Quarterly to Latest branch for ports (pkg):

    # echo 'FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest" }' >
/usr/local/etc/pkg/repos/FreeBSD.conf

The scheme is pkg+http://, however, the default /etc/pkg/FreeBSD.conf is using
scheme pkg+https:// in the URL:

    url: "pkg+https://pkg.FreeBSD.org/${ABI}/quarterly",

I have tried pkg+https:// and it works. I think it is better to use https and
that line in Handbook should be changed to:

    # echo 'FreeBSD: { url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest" }' >
/usr/local/etc/pkg/repos/FreeBSD.conf

-- 
You are receiving this mail because:
You are the assignee for the bug.