Re: list of valid ABI combinations

From: Philip Paeps <philip_at_freebsd.org>
Date: Tue, 02 Jan 2024 03:26:37 UTC
On 2023-12-07 23:03:33 (+0800), Mark Millard wrote:
> Dan Langille <dan_at_langille.org> wrote:
>> My goal is to automatically maintain this table, from which 
>> FreshPorts fetches package information:
>>
>> freshports.dev=# select * from abi order by name;
>> id | name | active
>> ----+----------------------+--------
>> 9 | FreeBSD:12:aarch64 | t
>> [...]
>> 53 | FreeBSD:15:riscv64 | t
>> (31 rows)
>
> The name list in the middle (/bin/sh context):
>
> # fetch https://pkg.freebsd.org/index.html
> index.html                                            3606  B  103 
> MBps    00s
>
> # grep FreeBSD: index.html | sed -e 's@.*\(FreeBSD:[^ <]*\).*@\1@' | 
> sort
> FreeBSD:12:aarch64
> [...]
> FreeBSD:15:powerpc64le
>
> There might be issues at times with https://pkg.freebsd.org/index.html 
> not
> being in sync. As far as I can tell, that page is manually maintained.

clusteradm updates that page to match what we're actually distributing.  
If it doesn't reflect reality, that's a bug, and we'd like to know 
please. :-)

Philip

-- 
Philip Paeps
Senior Reality Engineer
Alternative Enterprises