xref: /freebsd/share/man/man5/freebsd-update.conf.5 (revision 48ffe56ac5b7adb5b851d32be12b2ec0f13705a4)
148ffe56aSColin Percival.\"-
248ffe56aSColin Percival.\" Copyright 2006 Colin Percival
348ffe56aSColin Percival.\" All rights reserved
448ffe56aSColin Percival.\"
548ffe56aSColin Percival.\" Redistribution and use in source and binary forms, with or without
648ffe56aSColin Percival.\" modification, are permitted providing that the following conditions
748ffe56aSColin Percival.\" are met:
848ffe56aSColin Percival.\" 1. Redistributions of source code must retain the above copyright
948ffe56aSColin Percival.\"    notice, this list of conditions and the following disclaimer.
1048ffe56aSColin Percival.\" 2. Redistributions in binary form must reproduce the above copyright
1148ffe56aSColin Percival.\"    notice, this list of conditions and the following disclaimer in the
1248ffe56aSColin Percival.\"    documentation and/or other materials provided with the distribution.
1348ffe56aSColin Percival.\"
1448ffe56aSColin Percival.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1548ffe56aSColin Percival.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1648ffe56aSColin Percival.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1748ffe56aSColin Percival.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
1848ffe56aSColin Percival.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1948ffe56aSColin Percival.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2048ffe56aSColin Percival.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2148ffe56aSColin Percival.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
2248ffe56aSColin Percival.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
2348ffe56aSColin Percival.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2448ffe56aSColin Percival.\" POSSIBILITY OF SUCH DAMAGE.
2548ffe56aSColin Percival.\"
2648ffe56aSColin Percival.\" $FreeBSD$
2748ffe56aSColin Percival.\"
2848ffe56aSColin Percival.Dd August 30, 2006
2948ffe56aSColin Percival.Dt FREEBSD-UPDATE.CONF 5
3048ffe56aSColin Percival.Os FreeBSD
3148ffe56aSColin Percival.Sh NAME
3248ffe56aSColin Percival.Nm freebsd-update.conf
3348ffe56aSColin Percival.Nd configuration file for
3448ffe56aSColin Percival.Xr freebsd-update 8
3548ffe56aSColin Percival.Sh DESCRIPTION
3648ffe56aSColin PercivalThe
3748ffe56aSColin Percival.Nm
3848ffe56aSColin Percivalfile controls the behaviour of the
3948ffe56aSColin Percival.Xr freebsd-update 8
4048ffe56aSColin Percivalutility.
4148ffe56aSColin PercivalThe file contains lines consisting of a case-sensitive option name and
4248ffe56aSColin Percivalzero or more parameters.
4348ffe56aSColin PercivalEmpty lines and any part of a line following a
4448ffe56aSColin Percival.Ql #
4548ffe56aSColin Percivalcharacter are ignored.
4648ffe56aSColin PercivalUnless stated otherwise, specifying an option multiple times is an
4748ffe56aSColin Percivalerror.
4848ffe56aSColin Percival.Pp
4948ffe56aSColin PercivalThe possible options and their meanings are as follows:
5048ffe56aSColin Percival.Pp
5148ffe56aSColin Percival.Bl -tag -width "KeepModifiedMetadata"
5248ffe56aSColin Percival.It Cm KeyPrint
5348ffe56aSColin PercivalThe single parameter following this keyword is the SHA256 hash
5448ffe56aSColin Percivalof the RSA key which will be trusted to sign updates.
5548ffe56aSColin Percival.It Cm ServerName
5648ffe56aSColin PercivalThe single parameter following this keyword is the name of the
5748ffe56aSColin Percivalserver or server pool from which updates will be downloaded.
5848ffe56aSColin Percival.It Cm Components
5948ffe56aSColin PercivalThe parameters following this keyword are the components or
6048ffe56aSColin Percivalsub-components of
6148ffe56aSColin Percival.Fx
6248ffe56aSColin Percivalwhich will be updated.  The components are
6348ffe56aSColin Percival.Dq src
6448ffe56aSColin Percival(source code),
6548ffe56aSColin Percival.Dq world
6648ffe56aSColin Percival(non-kernel binaries), and
6748ffe56aSColin Percival.Dq kernel ;
6848ffe56aSColin Percivalthe sub-components are the individual distribution sets generated as
6948ffe56aSColin Percivalpart of the release process (e.g.,
7048ffe56aSColin Percival.Dq src/base ,
7148ffe56aSColin Percival.Dq src/sys ,
7248ffe56aSColin Percival.Dq world/base ,
7348ffe56aSColin Percival.Dq world/catpages ,
7448ffe56aSColin Percival.Dq kernel/smp ) .
7548ffe56aSColin PercivalNote that prior to
7648ffe56aSColin Percival.Fx 6.1 ,
7748ffe56aSColin Percivalthe
7848ffe56aSColin Percival.Dq kernel
7948ffe56aSColin Percivalcomponent was distributed as part of
8048ffe56aSColin Percival.Dq world/base .
8148ffe56aSColin Percival.Pp
8248ffe56aSColin PercivalThis option can be specified multiple times, and the parameters
8348ffe56aSColin Percivalaccumulate.
8448ffe56aSColin Percival.It Cm IgnorePaths
8548ffe56aSColin PercivalThe parameters following this keyword are regular expressions;
8648ffe56aSColin Percivalupdates to paths which start with a string matching one of
8748ffe56aSColin Percivalthese regular expressions will be ignored.
8848ffe56aSColin Percival.Pp
8948ffe56aSColin PercivalThis option can be specified multiple times, and the parameters
9048ffe56aSColin Percivalaccumulate.
9148ffe56aSColin Percival.It Cm UpdateIfUnmodified
9248ffe56aSColin PercivalThe parameters following this keyword are regular expressions;
9348ffe56aSColin Percivalupdates to paths which start with a string matching one of
9448ffe56aSColin Percivalthese regular expressions will be ignored if the files have
9548ffe56aSColin Percivalbeen modified locally.
9648ffe56aSColin Percival.Pp
9748ffe56aSColin PercivalThis option can be specified multiple times, and the parameters
9848ffe56aSColin Percivalaccumulate.
9948ffe56aSColin Percival.It Cm WorkDir
10048ffe56aSColin PercivalThe single parameter following this keyword is the directory
10148ffe56aSColin Percivalin which temporary files and downloaded updates will be stored.
10248ffe56aSColin Percival.It Cm MailTo
10348ffe56aSColin PercivalThe single parameter following this keyword is the address
10448ffe56aSColin Percivalto which
10548ffe56aSColin Percival.Cm cron
10648ffe56aSColin Percivaloutput will be mailed.
10748ffe56aSColin Percival.It Cm AllowAdd
10848ffe56aSColin PercivalThe single parameter following this keyword must be
10948ffe56aSColin Percival.Dq yes
11048ffe56aSColin Percivalor
11148ffe56aSColin Percival.Dq no
11248ffe56aSColin Percivaland specifies whether
11348ffe56aSColin Percival.Cm freebsd-update
11448ffe56aSColin Percivalis allowed to create new files, directories, and symlinks if
11548ffe56aSColin Percivalthese are part of updates downloaded.  Note that
11648ffe56aSColin Percival.Cm freebsd-update
11748ffe56aSColin Percivalwill not re-add files which have been deleted from a
11848ffe56aSColin Percival.Fx
11948ffe56aSColin Percivalinstallation unless those files were previously added as part
12048ffe56aSColin Percivalof an update.
12148ffe56aSColin Percival.It Cm AllowDelete
12248ffe56aSColin PercivalThe single parameter following this keyword must be
12348ffe56aSColin Percival.Dq yes
12448ffe56aSColin Percivalor
12548ffe56aSColin Percival.Dq no
12648ffe56aSColin Percivaland specifies whether
12748ffe56aSColin Percival.Cm freebsd-update
12848ffe56aSColin Percivalis allowed to delete files, directories, and symlinks as
12948ffe56aSColin Percivalpart of updates downloaded.
13048ffe56aSColin Percival.It Cm KeepModifiedMetadata
13148ffe56aSColin PercivalThe single parameter following this keyword must be
13248ffe56aSColin Percival.Dq yes
13348ffe56aSColin Percivalor
13448ffe56aSColin Percival.Dq no
13548ffe56aSColin Percivaland specifies whether
13648ffe56aSColin Percival.Cm freebsd-update
13748ffe56aSColin Percivalshould keep existing file ownership, permissions, and flags
13848ffe56aSColin Percivalwhen installing updates if these have been modified locally.
13948ffe56aSColin Percival.El
14048ffe56aSColin Percival.Sh FILES
14148ffe56aSColin Percival.Bl -tag -width "/etc/freebsd-update.conf"
14248ffe56aSColin Percival.It /etc/freebsd-update.conf
14348ffe56aSColin PercivalDefault location of the
14448ffe56aSColin Percival.Cm freebsd-update
14548ffe56aSColin Percivalconfiguration file.
14648ffe56aSColin Percival.El
14748ffe56aSColin Percival.Sh SEE ALSO
14848ffe56aSColin Percival.Xr freebsd-update 8
14948ffe56aSColin Percival.Xr sha256 8
15048ffe56aSColin Percival.Sh AUTHORS
15148ffe56aSColin Percival.An Colin Percival Aq cperciva@FreeBSD.org
152