pkg: fetching binary packages to a local dumpdir for a different ABI

Miroslav Lachman 000.fbsd at quip.cz
Fri Mar 11 17:37:48 UTC 2016


Mathieu Arnold wrote on 03/11/2016 18:26:
> +--On 11 mars 2016 13:04:11 +0100 Miroslav Lachman <000.fbsd at quip.cz> wrote:
> | Matthew Seaman wrote on 03/11/2016 12:15:
> |> On 03/11/16 10:00, Miroslav Lachman wrote:
> |>> O. Hartmann wrote on 03/11/2016 10:42:
> |>>
> |>> [...]
> |>>
> |>>> The ABI is also unclear. Some documents say it is freebsd:10:x86:64
> |>>> (which
> |>>> looks more the Intel/Linux dominated terminology) and also this one is
> |>>> considered correct: FreeBSD:10:amd64 (looks more FreeBSD'ish). It is
> |>>> said that
> |>>> the variable ABI is derived from "sh" - how?
> |>>
> |>> It is freebsd:10:x86:64. You can look at http://pkg.freebsd.org/
> |>> The full URL is http://pkg.freebsd.org/freebsd:10:x86:64/
> |>
> |> Actually, ${ABI} *used* to be freebsd:10:x86:64.  It changed to
> |> FreeBSD:10:amd64 quite some time and numerous releases of pkg(8) ago now.
> |
> | It's strange that it is not listed at mirror page http://pkg.freebsd.org/
> | There are only old ABI formats.
>
> I knew putting a web server behind pkg.freebsd.org, and putting an index
> page there was a bad idea, now people go there, and look at it.

I think it is useful. We can browse the packages for different versions 
and architectures. It just needs update for current ABI format. It is 
always better to show some content then act like a black box full of 
magic :)

(the mentioned mirror supports both if I tried the URL by hand, but does 
not mention it on the index)

Miroslav Lachman




More information about the freebsd-ports mailing list