В предыдущем посте о FreeBSD я обещал рассмотреть поднятие шлюза и файлового архива. Обманул.
Перед установкой какого- либо ПО из портов необходимо обновить дерево портов.
Для этого есть утилита CVSup.
Итак, идем в порты:
cd /usr/ports/
Качаем индекс:
make fetchindex
Я не юзаю иксы по этому иду в
net/cvsup-without-gui
Make install clean
Идем и копируем стандартный файл настроек:
cd /usr/share/examples/cvsup/ cp standard-supfile /usr/local/etc/supfile
Редактируем его:
ee /usr/local/etc/supfile # cvsup -g -L 2 /usr/local/etc/supfile # # Defaults that apply to all the collections # # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/doc/handbook/mirrors.html. *default host=cvsup2.ru.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_4_11 *default delete use-rel-suffix # If your network link is a T1 or faster, comment out the following line. *default compress ## Main Source Tree. # # The easiest way to get the main source tree is to use the "src-all" # mega-collection. It includes all of the individual "src-*" collections. #src-all ports-all tag=. #doc-all tag=.
Конфиг взят у Лисяры.
Запускаем:
rehash cvsup -g -L 2 /usr/local/etc/supfile && make fetchindex
Процесс достаточно долгий (особенно в первый раз), так что можно покурить.
Метки: порты CVSup