portsnap.conf.5 (149824) | portsnap.conf.5 (162404) |
---|---|
1.\"- 2.\" Copyright 2004-2005 Colin Percival 3.\" All rights reserved 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted providing that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 22.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 23.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 24.\" POSSIBILITY OF SUCH DAMAGE. 25.\" | 1.\"- 2.\" Copyright 2004-2005 Colin Percival 3.\" All rights reserved 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted providing that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 22.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 23.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 24.\" POSSIBILITY OF SUCH DAMAGE. 25.\" |
26.\" $FreeBSD: head/share/man/man5/portsnap.conf.5 149824 2005-09-06 19:28:37Z cperciva $ | 26.\" $FreeBSD: head/share/man/man5/portsnap.conf.5 162404 2006-09-18 15:24:20Z ru $ |
27.\" 28.Dd January 30, 2005 29.Dt PORTSNAP.CONF 5 30.Os FreeBSD 31.Sh NAME 32.Nm portsnap.conf | 27.\" 28.Dd January 30, 2005 29.Dt PORTSNAP.CONF 5 30.Os FreeBSD 31.Sh NAME 32.Nm portsnap.conf |
33.Nd configuration file for | 33.Nd configuration file for |
34.Xr portsnap 8 35.Sh DESCRIPTION 36The 37.Nm 38file controls where 39.Xr portsnap 8 40fetches ports tree snapshots from, 41which RSA key should be trusted to sign the updates, and what 42directories should hold the compressed and live ports trees. 43.Pp 44A line of the form 45.Dl SERVERNAME=portsnap.example.com 46specifies the source from which snapshots should be fetched. 47This is equivalent to the 48.Fl s Ar server | 34.Xr portsnap 8 35.Sh DESCRIPTION 36The 37.Nm 38file controls where 39.Xr portsnap 8 40fetches ports tree snapshots from, 41which RSA key should be trusted to sign the updates, and what 42directories should hold the compressed and live ports trees. 43.Pp 44A line of the form 45.Dl SERVERNAME=portsnap.example.com 46specifies the source from which snapshots should be fetched. 47This is equivalent to the 48.Fl s Ar server |
49option to | 49option to |
50.Xr portsnap 8 , and will be ignored if the command-line 51option is used. 52.Pp 53A line of the form 54.Dl KEYPRINT=0123456789abc ... 456789abcdef 55(64 characters in total) 56specifies the SHA-256 hash of the OpenSSL public key file 57belonging to an RSA keypair which is trusted to sign updates. 58This is equivalent to the 59.Fl k Ar KEY | 50.Xr portsnap 8 , and will be ignored if the command-line 51option is used. 52.Pp 53A line of the form 54.Dl KEYPRINT=0123456789abc ... 456789abcdef 55(64 characters in total) 56specifies the SHA-256 hash of the OpenSSL public key file 57belonging to an RSA keypair which is trusted to sign updates. 58This is equivalent to the 59.Fl k Ar KEY |
60option to | 60option to |
61.Xr portsnap 8 , and will be ignored if the command-line 62option is used. 63.Pp 64A line of the form 65.Dl WORKDIR=/path/to/workdir 66specifies the directory in which portsnap should maintain its compressed 67snapshot of the ports tree. 68This is equivalent to the --- 20 unchanged lines hidden (view full) --- 89.Nm 90then only the last one will take effect. 91.Pp 92Finally, a line of the form 93.Dl REFUSE foo bar 94will instruct 95.Xr portsnap 8 96to ignore parts of the ports tree with paths starting with | 61.Xr portsnap 8 , and will be ignored if the command-line 62option is used. 63.Pp 64A line of the form 65.Dl WORKDIR=/path/to/workdir 66specifies the directory in which portsnap should maintain its compressed 67snapshot of the ports tree. 68This is equivalent to the --- 20 unchanged lines hidden (view full) --- 89.Nm 90then only the last one will take effect. 91.Pp 92Finally, a line of the form 93.Dl REFUSE foo bar 94will instruct 95.Xr portsnap 8 96to ignore parts of the ports tree with paths starting with |
97.Ar foo | 97.Ar foo |
98or 99.Ar bar , 100which are interpreted as extended regular expressions by 101.Xr egrep 1 . 102This will result in those parts of the tree not being updated 103in the compressed snapshot when the 104.Cm fetch 105and --- 17 unchanged lines hidden (view full) --- 123.Pp 124Any lines not of the above forms will be ignored. 125.Sh FILES 126.Bl -tag -width "/etc/portsnap.conf" 127.It /etc/portsnap.conf 128Default location of the portsnap configuration file. 129.El 130.Sh SEE ALSO | 98or 99.Ar bar , 100which are interpreted as extended regular expressions by 101.Xr egrep 1 . 102This will result in those parts of the tree not being updated 103in the compressed snapshot when the 104.Cm fetch 105and --- 17 unchanged lines hidden (view full) --- 123.Pp 124Any lines not of the above forms will be ignored. 125.Sh FILES 126.Bl -tag -width "/etc/portsnap.conf" 127.It /etc/portsnap.conf 128Default location of the portsnap configuration file. 129.El 130.Sh SEE ALSO |
131.Xr egrep 1 132.Xr fetch 1 133.Xr portsnap 8 | 131.Xr egrep 1 , 132.Xr fetch 1 , 133.Xr portsnap 8 , |
134.Xr sha256 8 135.Sh AUTHORS 136.An Colin Percival Aq cperciva@FreeBSD.org | 134.Xr sha256 8 135.Sh AUTHORS 136.An Colin Percival Aq cperciva@FreeBSD.org |