:man| Alphabetical   Categories   About us 
 
PORTSNAP.CONF (5) | | Unix Manual Pages | :man

NAME

portsnap.conf - configuration file for portsnap(8)

CONTENTS

Description
Files
See Also
Authors

DESCRIPTION

The portsnap.conf file controls where portsnap(8) fetches ports tree snapshots from, which RSA key should be trusted to sign the updates, and what directories should hold the compressed and live ports trees.

A line of the form

SERVERNAME=portsnap.example.com

specifies the source from which snapshots should be fetched. This is equivalent to the -s server option to portsnap 8, and will be ignored if the command-line option is used.

A line of the form

KEYPRINT=0123456789abc ... 456789abcdef

(64 characters in total) specifies the SHA-256 hash of the OpenSSL public key file belonging to an RSA keypair which is trusted to sign updates. This is equivalent to the -k KEY option to portsnap 8, and will be ignored if the command-line option is used.

A line of the form

WORKDIR=/path/to/workdir

specifies the directory in which portsnap should maintain its compressed snapshot of the ports tree. This is equivalent to the -d workdir option to portsnap 8, and will be ignored if the command-line option is used.

A line of the form

PORTSDIR=/path/to/portstree

specifies the directory in which portsnap will create the live ports tree from its compressed snapshot via the extract and update commands. This is equivalent to the -p portsdir option to portsnap 8, and will be ignored if the command-line option is used.

If more than one line of any of the above forms is included in portsnap.conf then only the last one will take effect. Any lines not of the above forms will be ignored.

FILES

/etc/portsnap.conf Default location of the portsnap configuration file.

SEE ALSO

fetch(1) portsnap(8) sha256(8)

AUTHORS


Share this page

     Follow us

Facebook Twitter Google+ LinkedIn


 
Created by Blin Media, 2008-2013