[freebsd] /usr/ports/

George L. Yermulnik yz at yz.kiev.ua
Wed Apr 14 15:47:59 EEST 2021


Hello!

On Wed, 14 Apr 2021 at 15:19:54 (+0300), Anton Saietskii wrote:

> > Если в дереве портов кастома никакого не было, то самое простое:
> > rm -rf /usr/ports/ && git clone ssh://anongit@git.freebsd.org/ports.git /usr/ports/

[...]

> > Ну, и обновлять дерево портов, имхо, логичнее предложенным деревом
> > портов методом: cd /usr/ports/ && make update fetchindex
> И оно полезет качать поломанным portsnap. xD (Ну, или cperciva@
> починил уже, пёс его знает.

Читай первый кусочек квоты про "git clone" и смотри в /usr/ports/Makefile "update" таргет.

> > refs: https://docs.freebsd.org/en/books/handbook/mirrors/#git
> Тут, кстати, для git в контексте портов только вызов <blah>bin/git
> упоминается или я не глазами смотрю?

"An alternate way of updating the local working copy after checkout is
provided by the Makefile in the /usr/ports, /usr/src, and /usr/doc
directories." - вот не вижу смысла не использовать Makefile.

-- 
George L. Yermulnik
[YZ-RIPE]


More information about the freebsd mailing list