Re: New 2022Q1 branch

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 01 Jan 2022 20:33:11 UTC
Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com> writes:

> On Sat, Jan 1, 2022 at 9:12 PM Rene Ladan <portmgr-secretary@freebsd.org>
> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA512
>>
>> Hi,
>>
>> The 2022Q1 branch has been created. It means that the next update on the
>> quarterly packages will be on the 2022Q1 branch.
[...]
> Is there a link ( or links ) of downloadable package repositories ?
>
> Searches in the Internet are not producing a usable link to a package
> repository or repositories ( if there are mirror sites ) .

What's the intent? For a local mirror try the following:

  #### On 13.0 amd64 the whole set is about 90 GiB and it constantly changes
  # pkg fetch -r FreeBSD -a
  # mkdir -p /usr/local/etc/pkg/repos
  # printf 'cache: {\n  url: "file:///var/cache/pkg",\n  enabled: yes\n}\n' >/usr/local/etc/pkg/repos/cache.conf
  # pkg repo /var/cache/pkg

If you just want to browse available packages the directory listing via
HTTP has been disabled due to "the generation of these indexes was
causing excessive CPU load on the servers" (bug 247998). Instead use
FreshPorts, pkg(8) or manually parse e.g.,

  $ w3m -dump https://freshports.org/www/firefox
  [...]
              ABI           latest  quarterly
  [...]
      FreeBSD:13:amd64     95.0.2,2 95.0.2,2
  [...]

  $ pkg rquery %v firefox
  95.0.2,2

  $ fetch https://pkg.freebsd.org/FreeBSD:13:amd64/latest/packagesite.pkg
  $ tar xOf packagesite.pkg --include \*.yaml | jq -r '.. | select(.name? == "firefox") | .version'
  95.0.2,2