Настройка cvsup во FreeBSD 6.2 для новичка.

zvla

Точнее у меня PC-BSD 1.3. Если это имеет значение.
Вот мой supfile, скачанный и модифицированный с http://info.hackers/service/mirror/freebsd_2/start . Запускал командой cvsup -g -L 1 /../../supfile
------------------------------------
*default host=unix.hackers
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_6_2
*default delete use-rel-suffix
ports-biology # или что-то другое, наскольо я понял это не круциально, что мы обновляем или нет?
----------------------------------------
Соединяется с сервером, пишет ОК. И скачивает в папку /usr/sup/ файл с описанием (не помню что в нем, я щас в винде). Как дальше обновить порты? Где-то видел, что надо после набирать make fetchindex, но он пишет такого нет. Подскажите полный алгоритм работы для обновления системы с помощью cvsup...
А после обновления ports-all я смогу поставить любой порт с помощью make.conf без инета?
----------------------------------------------------------------------------------------------------------
MASTER_SITE_BACKUP?= ftp://unix.hackers/pub/FreeBSD/ports/distfiles/%24%7BDIST_SU...
MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP}
-----------------------------------------------------------------------------------------------------------

marriaje

как новичок можешь порт desktopbsd-tools поставить

zvla

как новичок можешь порт desktopbsd-tools поставить
Чтобы поставить порт мне нужно его сначала получить через cvsup. Вообще попрошу отвечать по существу.

janlynn

я смогу поставить любой порт с помощью make.conf
я думаю сначала надо заботать как минимум хэндбук

zvla

я думаю сначала надо заботать как минимум хэндбук
Хорошо... идем в хэндбук и смотрим
http://unix.hackers/freebsd/doc/ru_RU.KOI8-R/books/handbook/...
-----------------------------------------------------------------------------------------------------------------
Запустите cvsup
# cvsup -g -L 2 /root/ports-supfile
При повторных запусках этой команды все последние изменения (кроме реального перестроения портов для вашей системы) будут загружаться и переноситься в вашу Коллекцию Портов.
-----------------------------------------------------------------------------------------------------------------
Ты сам то компетентен в этом вопросе?

zvla

Там нет ничего нового. Лучше приведи свой supfile.

janlynn

про сами порты
>The first thing that should be explained when it comes to the Ports Collection is what is actually meant by a “skeleton”. In a nutshell, a port skeleton is a minimal set of files that tell your FreeBSD system how to cleanly compile and install a program. Each port skeleton includes:
A Makefile. The Makefile contains various statements that specify how the application should be compiled and where it should be installed on your system.
A distinfo file. This file contains information about the files that must be downloaded to build the port and their checksums, to verify that files have not been corrupted during the download using md5(1).
A files directory. This directory contains patches to make the program compile and install on your FreeBSD system. Patches are basically small files that specify changes to particular files. They are in plain text format, and basically say “Remove line 10” or “Change line 26 to this ...”. Patches are also known as “diffs” because they are generated by the diff(1) program.
This directory may also contain other files used to build the port.
A pkg-descr file. This is a more detailed, often multiple-line, description of the program.
A pkg-plist file. This is a list of all the files that will be installed by the port. It also tells the ports system what files to remove upon deinstallation.
Some ports have other files, such as pkg-message. The ports system uses these files to handle special situations. If you want more details on these files, and on ports in general, check out the FreeBSD Porter's Handbook.
The port includes instructions on how to build source code, but does not include the actual source code. You can get the source code from a CD-ROM or from the Internet. Source code is distributed in whatever manner the software author desires. Frequently this is a tarred and gzipped file, but it might be compressed with some other tool or even uncompressed. The program source code, whatever form it comes in, is called a “distfile”.

janlynn

# $Id: supfile,v 1.1 2007/06/15 21:44:38 gosha Exp $
*default host=lagnaden
*default release=cvs tag=RELENG_6
*default base=/usr
*default prefix=/usr
*default delete use-rel-suffix
*default compress
## Main Source Tree
src-all
# Other stuff
ports-all tag=.
doc-all tag=.

zvla

Это я знаю... но после команды cvsup -g -L 2 supfile, приведенный выше, в папке /usr/ports ничего не появляется... в том числе скелетов установки, да и нигде вообще... судя по find /

janlynn

cvsup -g -L 2 supfile
чтонить говорит при выполнении ?

solniska

Parsing supfile "/home/devi1/cvs-1"
Connecting to unix.hackers
Connected to unix.hackers
Server software version: SNAP_16_1h
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection ports-biology/cvs
Shutting down connection to server
Finished successfully
----------------------------------------------------------------------
После появляется файл в /usr/sup/checkouts.cvs:RELENG_6
-----------------------------------------------------------------------

solniska

УРА! Все получилось.... был глючный супфайл
привожу рабочий:
----------------------------------------------------------
*default host=unix.hackers
*default release=cvs tag=RELENG_6
*default base=/usr
*default prefix=/usr
*default delete use-rel-suffix
*default compress
## Main Source Tree
ports-biology tag=.
--------------------------------------------------
все дело в закорючке tag=.

solniska

Спасибо за supfile!

Ivan8209

> Где-то видел, что надо после набирать make fetchindex,
> но он пишет такого нет.
Большая часть того, что написано, относится к старым временам,
когда всё было иначе. INDEX уже года два как убрали, если не
больше, так что "fetchindex" работать не должен --- make index.
---
"Аллах не ведёт людей неверных."

hoha32

>>так что "fetchindex" работать не должен --- make index
неверно, работают обе команды.

Filan

man portsnap
man csup
И выкинь ты эту бяку cvsup! (sup файл только сохрани - csup его понимает)

AlexV769

зачем менять шило на мыло?

Ivan8209

Он считает, что стало лучше от того, что cvsup переписали
с модулы на си.
---
...Я работаю антинаучным аферистом...
Оставить комментарий
Имя или ник:
Комментарий: