Re: port binary updates

From: Arthur Chance <freebsd_at_qeng-ho.org>
Date: Tue, 07 Jun 2022 15:21:09 UTC
On 07/06/2022 16:08, Dave Cottlehuber wrote:
> On Tue, 7 Jun 2022, at 11:32, Arthur Chance wrote:
>> In theory it's supposed to be possible to use poudriere hooks to fetch
>> prebuilt packages from the FreeBSD repositories, but I've never found it
>> how. If anyone has ideas/incantations on this they'd be very welcome.
> 
> I've not tested this, but it should be correct, extracted from our
> ansible stuff.
> 
> - poudriere-devel poudriere-devel-3.3.99.20211130
> 
> # ansible managed
> # ... snip
> # seed packages from pkg.FreeBSD.org
> # pick either latest or quarterly as you like
> PACKAGE_FETCH_BRANCH="latest"
> # allow or deny, pick one
> # PACKAGE_FETCH_WHITELIST="gcc* rust* llvm* mono* cargo cmake openjdk*"
> # PACKAGE_FETCH_BLACKLIST="zig* collectd* foundationdb* erlfdb"

I'm probably being a bit slow, but where do the above lines go? [I'm
running poudriere rather than poudriere-devel if that makes a difference.]

> See below for a sample run.
> 
> A+
> Dave
> 
> [00:00:07] Calculating ports order and dependencies
> [00:00:07] Trimming IGNORED and blacklisted ports
> [00:00:07] Package fetch: Looking for missing packages to fetch from pkg+http://pkg.FreeBSD.org/${ABI}/latest
> Updating FreeBSD repository catalogue...
> [pkg.example.net] Fetching meta.conf: 100%    163 B   0.2kB/s    00:01
> [pkg.example.net] Fetching packagesite.pkg: 100%    6 MiB   6.8MB/s    00:01
> Processing entries: 100%
> FreeBSD repository update completed. 31463 packages processed.
> All repositories are up to date.
> [00:00:15] Package fetch: Will fetch 21 packages from remote or local pkg cache
> The following packages will be fetched:
> 
> New packages to be FETCHED:
>         asciidoc: 10.2.0 (243 KiB: 0.94% of the 25 MiB to download)
>         edk2-bhyve: g202202_1 (860 KiB: 3.31% of the 25 MiB to download)
>         libglvnd: 1.4.0_2 (338 KiB: 1.30% of the 25 MiB to download)
>         mercurial: 6.1.3 (5 MiB: 18.43% of the 25 MiB to download)
>         minify: 2.11.8 (1 MiB: 5.28% of the 25 MiB to download)
>         nettle: 3.8 (1 MiB: 5.47% of the 25 MiB to download)
>         npm-node14: 8.12.1 (2 MiB: 7.00% of the 25 MiB to download)
>         pciids: 20220518 (227 KiB: 0.87% of the 25 MiB to download)
>         pftop: 0.7_10 (62 KiB: 0.24% of the 25 MiB to download)
>         public_suffix_list: 20220518 (73 KiB: 0.28% of the 25 MiB to download)
>         py38-beautifulsoup: 4.11.1 (394 KiB: 1.52% of the 25 MiB to download)
>         py38-cachetools: 5.2.0 (16 KiB: 0.06% of the 25 MiB to download)
>         py38-certifi: 2022.5.18.1 (144 KiB: 0.55% of the 25 MiB to download)
>         py38-furo: 2022.1.2_1 (63 KiB: 0.24% of the 25 MiB to download)
>         py38-lxml: 4.9.0 (2 MiB: 6.52% of the 25 MiB to download)
>         py38-pip: 22.1.2 (3 MiB: 10.66% of the 25 MiB to download)
>         py38-setuptools: 62.1.0 (1 MiB: 3.98% of the 25 MiB to download)
>         re2: 20220601 (251 KiB: 0.97% of the 25 MiB to download)
>         ruby30-gems: 3.3.15 (432 KiB: 1.66% of the 25 MiB to download)
>         rubygem-multipart-post: 2.2.0 (7 KiB: 0.03% of the 25 MiB to download)
>         vim: 8.2.5052 (8 MiB: 30.71% of the 25 MiB to download)
> 
> Number of packages to be fetched: 21
> 
> The process will require 25 MiB more space.
> 25 MiB to be downloaded.
> 


-- 
All network cabling aspires to the condition of macramé.