The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

portsnap (8)
  • >> portsnap (8) ( FreeBSD man: Команды системного администрирования )
  • Ключ portsnap обнаружен в базе ключевых слов.

  • BSD mandoc
    FreeBSD  

    NAME

    portsnap
    
     - fetch and extract compressed snapshots of the ports tree
    
     
    

    SYNOPSIS

    [-I ] [-d workdir ] [-f conffile ] [-k KEY ] [-l descfile ] [-p portsdir ] [-s server ] command ... [path ]  

    DESCRIPTION

    The tool is used to fetch and update compressed snapshots of the Fx ports tree, and extract and update an uncompressed ports tree.  

    OPTIONS

    The following options are supported:

    -d workdir
    Store working files (e.g. downloaded updates) in workdir (default: /var/db/portsnap or as given in the configuration file.)
    -f conffile
    Read the configuration from conffile (default: /etc/portsnap.conf
    -I
    For the update command, update INDEX files, but not the rest of the ports tree.
    -k KEY
    Expect a public key with given SHA256 hash. (default: read value from configuration file.)
    -l descfile
    Merge the specified local describes file into the INDEX files being built. The descfile should be generated by running make describe in each of the local port directories.
    -p portsdir
    When extracting or updating an uncompressed snapshot, operate on the directory portsdir (default: /usr/ports/ or as given in the configuration file.)
    -s server
    Fetch files from the specified server or server pool. (default: portsnap.FreeBSD.org , or as given in the configuration file.)
    path
    For extract command only, operate only on parts of the ports tree starting with path (e.g. extract sysutils/port would extract sysutils/portsman, sysutils/portsnap, sysutils/portupgrade, etc.)

     

    COMMANDS

    The command can be any one of the following:

    fetch
    Fetch a compressed snapshot of the ports tree, or update the existing snapshot. This command should only be used interactively; for non-interactive use, you should use the cron command.
    cron
    Sleep a random amount of time between 1 and 3600 seconds, then operate as if the fetch command was specified. As the name suggests, this command is designed for running from cron(8); the random delay serves to minimize the probability that a large number of machines will simultaneously attempt to fetch updates.
    extract
    Extract a ports tree, replacing existing files and directories. NOTE: This will remove anything occupying the location where files or directories are being extracted; in particular, any changes made locally to the ports tree (for example, adding new patches) will be silently obliterated.

    Only run this command to initialize your portsnap-maintained ports tree for the first time, if you wish to start over with a clean, completely unmodified tree, or if you wish to extract a specific part of the tree (using the path option).

    update
    Update a ports tree extracted using the extract command. You must run this command to apply changes to your ports tree after downloading updates via the fetch or cron commands. Again, note that in the parts of the ports tree which are being updated, any local changes or additions will be removed.

     

    TIPS

     

    PRIVACY NOTICE

    As an unavoidable part of its operation, a machine running will make its public IP address and the list of files it fetches available to the server from which it fetches updates. Using these it may be possible to recognize a machine over an extended period of time, determine when it is updated, and identify which portions of the FreeBSD ports tree, if any, are being ignored using "REFUSE" directives in portsnap.conf In addition, the FreeBSD release level is transmitted to the server.

    Statistical data generated from information collected in this manner may be published, but only in aggregate and after anonymizing the individual systems.  

    FILES

    /etc/portsnap.conf
    Default location of the portsnap configuration file.
    /var/db/portsnap
    Default location where compressed snapshots are stored.
    /usr/ports
    Default location where the ports tree is extracted.

     

    SEE ALSO

    fetch(1), sha256(1), fetch(3), portsnap.conf5  

    AUTHORS

    An Colin Percival Aq [email protected]


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    OPTIONS
    COMMANDS
    TIPS
    PRIVACY NOTICE
    FILES
    SEE ALSO
    AUTHORS


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру