Rubby писал(а):
Теперь задача как заставить pkg_add обращаться не к официальным ссылкам, а к новым?
в мане сказано
Код:
The environment variable PACKAGEROOT specifies an alternate location for
pkg_add to fetch from. The fetch URL is built using this environment
variable and the automatic directory logic that pkg_add uses when the -r
option is invoked. An example setting would be "ftp://ftp3.FreeBSD.org".
The environment variable PACKAGESITE specifies an alternate location for
pkg_add to fetch from. This variable subverts the automatic directory
logic that pkg_add uses when the -r option is invoked. Thus it should be
a complete URL to the remote package file(s).
примеры использования можно найти на этом сайте
viewtopic.php?f=8&t=12629&p=65152viewtopic.php?f=58&t=27831&p=172109и т.п.