summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2006-08-31 09:51:34 +0000
committercperciva <cperciva@FreeBSD.org>2006-08-31 09:51:34 +0000
commit1caefdfb4b70c663deccd52eecd4264265389050 (patch)
treedde0e06c4695b8aa8da26d65139b4900e73a5974 /etc
parent4b6df285e8e5ea969f91518cfc05db5518c7bafb (diff)
downloadFreeBSD-src-1caefdfb4b70c663deccd52eecd4264265389050.zip
FreeBSD-src-1caefdfb4b70c663deccd52eecd4264265389050.tar.gz
Add FreeBSD Update 2.0 client code. The build code is in the projects
repository. Sponsored by: FreeBSD security development fundraiser
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile3
-rw-r--r--etc/freebsd-update.conf48
-rw-r--r--etc/mtree/BSD.var.dist2
3 files changed, 52 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 2cfe331..1e386a3 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -9,7 +9,8 @@ SUBDIR= sendmail
BIN1= amd.map apmd.conf auth.conf \
crontab csh.cshrc csh.login csh.logout devd.conf devfs.conf \
- dhclient.conf disktab fbtab ftpusers gettytab group \
+ dhclient.conf disktab fbtab freebsd-update.conf \
+ ftpusers gettytab group \
hosts hosts.allow hosts.equiv hosts.lpd \
inetd.conf login.access login.conf mac.conf motd \
netconfig network.subr networks newsyslog.conf nsswitch.conf \
diff --git a/etc/freebsd-update.conf b/etc/freebsd-update.conf
new file mode 100644
index 0000000..7a3055c
--- /dev/null
+++ b/etc/freebsd-update.conf
@@ -0,0 +1,48 @@
+# $FreeBSD$
+
+# Trusted keyprint. Changing this is a Bad Idea unless you've received
+# a PGP-signed email from <security-officer@FreeBSD.org> telling you to
+# change it and explaining why.
+KeyPrint 800651ef4b4c71c27e60786d7b487188970f4b4169cc055784e21eb71d410cc5
+
+# Server or server pool from which to fetch updates. You can change
+# this to point at a specific server if you want, but in most cases
+# using a "nearby" server won't provide a measurable improvement in
+# performance.
+ServerName update.FreeBSD.org
+
+# Components of the base system which should be kept updated.
+Components src world kernel
+
+# Example for updating the userland and the kernel source code only:
+# Components src/base src/sys world
+
+# Paths which start with anything matching an entry in an IgnorePaths
+# statement will be ignored.
+IgnorePaths
+
+# Paths which start with anything matching an entry in an UpdateIfUnmodified
+# statement will only be updated if the contents of the file have not been
+# modified by the user.
+UpdateIfUnmodified /etc/ /var/
+
+### Default configuration options:
+
+# Directory in which to store downloaded updates and temporary
+# files used by FreeBSD Update.
+# WorkDir /var/db/freebsd-update
+
+# Destination to send output of "freebsd-update cron" if an error
+# occurs or updates have been downloaded.
+# MailTo root
+
+# Is FreeBSD Update allowed to create new files?
+# AllowAdd yes
+
+# Is FreeBSD Update allowed to delete files?
+# AllowDelete yes
+
+# If the user has modified file ownership, permissions, or flags, should
+# FreeBSD Update retain this modified metadata when installing a new version
+# of that file?
+# KeepModifiedMetadata yes
diff --git a/etc/mtree/BSD.var.dist b/etc/mtree/BSD.var.dist
index 1d09913..29b4862 100644
--- a/etc/mtree/BSD.var.dist
+++ b/etc/mtree/BSD.var.dist
@@ -32,6 +32,8 @@
db
entropy uname=operator gname=operator mode=0700
..
+ freebsd-update
+ ..
ipf mode=0700
..
pkg
OpenPOWER on IntegriCloud