2 http://www.openbsd.org/cvsync.html
3 http://openbsd.org/anoncvs.html
5 http://www.openbsd.org/cgi-bin/cvsweb/
8 cvs -q -d anoncvs@anoncvs3.usa.openbsd.org:/cvs up -dP -r OPENBSD_4_2
9 cvs -q -d anoncvs@mirror.osn.de:/cvs up -dP -r OPENBSD_4_2
10 cvs -q -d anoncvs@anoncvs1.usa.openbsd.org:/cvs up -dP -r OPENBSD_4_2
13 anoncvs3.usa.openbsd.org 23/385 14/250 Updated every 2 hours.
14 mirror.osn.de 24/544 15/548 Updated every 4 hours from anoncvs1.usa.openbsd.org.
15 anoncvs1.usa.openbsd.org 19/548 14/571 Updated every 2 hours.
17 The OpenBSD Project currently has four active source repositories:
18 openbsd-src - Houses all source code for the OpenBSD Operating System.
19 openbsd-ports - Houses the OpenBSD Ports.
20 openbsd-xenocara - Houses OpenBSD's in-development X.org v7 tree.
21 www - Houses all OpenBSD web pages.
23 $ cvsync cvsync://anoncvs.usa.openbsd.org
24 Connecting to anoncvs.usa.openbsd.org port 7777
25 Connected to 204.152.184.203 port 7777
27 Name: openbsd, Release: rcs
28 Comment: OpenBSD CVS Repository
29 Name: openbsd-cvsroot, Release: rcs
30 Name: openbsd-ports, Release: rcs
31 Name: openbsd-src, Release: rcs
32 Name: openbsd-www, Release: rcs
33 Name: openbsd-x11, Release: rcs
34 Name: openbsd-xf4, Release: rcs
35 Name: openbsd-xenocara, Release: rcs
36 Name: ftp, Release: rcs
37 Comment: OpenBSD FTP Repository
42 cvs -q -d anoncvs@anoncvs3.usa.openbsd.org:/cvs
47 Pre-loading the tree: src.tar.gz, sys.tar.gz, ports.tar.gz, xenocara.tar.gz
48 ftp://ftp.openbsd.org/pub/OpenBSD/4.2/ports.tar.gz 12M
49 ftp://ftp.openbsd.org/pub/OpenBSD/4.2/src.tar.gz 102M
50 ftp://ftp.openbsd.org/pub/OpenBSD/4.2/sys.tar.gz 17M
51 ftp://ftp.openbsd.org/pub/OpenBSD/4.2/xenocara.tar.gz 98M
53 tar xzf -C /usr/src sys.tar.gz
54 tar xzf -C /usr/src src.tar.gz
55 tar xzf -C /usr ports.tar.gz
56 tar xzf -C /usr xenocara.tar.gz
58 [cauchy@bsd42 ~/wc/cvs/openbsd]$ du -ms *
64 Update the source code
67 cd /home/cauchy/wc/cvs/openbsd/ports
69 for i in ports src xenocara www; do
71 echo "[`date -u`] Start update ..." >>update.log
72 #cvs -q -d anoncvs@anoncvs3.usa.openbsd.org:/cvs up -dPA -r OPENBSD_4_2 2>&1 >>update.log
73 cvs -q -d anoncvs@anoncvs3.usa.openbsd.org:/cvs up -dPA 2>&1 >>update.log
74 echo "[`date -u`] End update ..." >>update.log
79 # cd /usr/src/sys/arch/i386/conf
81 # cd ../compile/GENERIC
82 # make clean && make depend && make
83 [...lots of output...]
87 * Clear your /usr/obj directory and rebuild symbolic links:
92 Note that the use of the /usr/obj directory is mandatory. Failing to do this step before building the rest of
93 the tree will likely leave your src tree in bad shape.
95 * Make sure all the appropriate directories are created.
96 # cd /usr/src/etc && env DESTDIR=/ make distrib-dirs
102 This compiles and installs all the "userland" utilities in the appropriate order. This is a fairly time
103 consuming step -- a very fast machine may be able to complete it in well under an hour, a very slow machine may take
104 many days. When this step is complete, you have newly compiled binaries in place on your system.
106 * If building -current: Update /dev and /etc, with the changes listed in current.html. If following -stable after
107 a proper upgrade process or a install of the proper starting binary, this step is not needed or desired.
110 # cd /usr/src/xenocara
115 What is the best way to update /etc, /var, and /dev?
120 # cvs diff -u -rOPENBSD_4_1 -rOPENBSD_4_2
123 # cp /usr/src/etc/etc.`machine`/MAKEDEV ./
126 Typical /etc changes to watch out for between releases include:
127 * Additions to /etc/protocols and /etc/services
128 * New sysctls (see /etc/sysctl.conf)
129 * Changes to the default cron jobs. See /etc/daily, /etc/weekly, /etc/monthly, and /etc/security
130 * All rc scripts, including netstart
131 * Device changes, see above
132 * File hierarchy changes in /etc/mtree, see below
133 * New users (/etc/passwd) and groups (/etc/group)
137 ACCEPT_JRL_LICENSE=Yes
138 WRKOBJDIR=/usr/ports/obj
139 DISTDIR=/usr/ports/distfiles
140 PACKAGE_REPOSITORY=/usr/ports/packages
145 XSRCDIR=/usr/src/xenocara
150 # NLSDIR=/usr/share/nls
151 # /usr/src/lib/libc/nls/zh.msg
153 OpenBSD layout of filesystems
154 http://www.openbsd.org/cgi-bin/man.cgi?query=hier&sektion=7