/
UPDATING
161 lines (144 loc) · 6.32 KB
/
UPDATING
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
This file contains special operations that are required to update past flag
days in the system. Any pertinent sections between the current version of your
system and the current day should be read before operation and performed either
before or after the update, depending on the instructions in the individual
steps.
If you are unsure of the date of your current system snapshot, the build date
and git commit SHA of the kernel are included in the copyright message printed
at the beginning of the kernel dmesg(8).
* 2014-07-05: games
* 2014-06-29: tmpfsrd
* 2014-05-07: kerberos
* 2014-05-01: libc++
* 2014-04-21: xlocale
* 2014-07-05: games
The game set has been reintroduced. Add /usr/games to the search path in
your ~/.profile or ~/.cshrc accordingly.
* 2014-06-29: tmpfsrd
The RAM disk kernel has been switched from rd(4) to tmpfsrd(4). A new boot
program is required to load such a kernel. Make sure to install the new
bootloader via installboot(8) before updating your system (wd0 is assumed to
be the root disk here, substitute according to your setup).
# installboot wd0
When updating from a CD, no special steps are required.
* 2014-05-07: kerberos
The OpenBSD sync has removed altq and kerberosIV from the system. The loging
methods "krb5" and "krb5-or-pwd" should be removed from login.conf(5) as they
are no longer supported. For proper operation the headers, libraries and
support files should be removed from the system. Many packages are affected
by this change, so packages should be updated as well as the base system.
# rm -rf /usr/include/altq
# rm -rf /etc/kerberosV/
# rm -f /etc/rc.d/{kadmind,kdc,kpasswdd,ipropd_master,ipropd_slave}
# rm -f /usr/bin/asn1_compile
# rm -f /usr/bin/compile_et
# rm -f /usr/bin/kcc
# rm -f /usr/bin/kdestroy
# rm -f /usr/bin/kf
# rm -f /usr/bin/kgetcred
# rm -f /usr/bin/kinit
# rm -f /usr/bin/klist
# rm -f /usr/bin/krb5-config
# rm -f /usr/bin/slc
# rm -f /usr/bin/string2key
# rm -f /usr/bin/verify_krb5_conf
# rm -rf /usr/include/kerberosV/
# rm -f /usr/lib/libasn1{,_p}.*
# rm -f /usr/lib/libcom_err{,_p}.*
# rm -f /usr/lib/libgssapi{,_p}.*
# rm -f /usr/lib/libhdb{,_p}.*
# rm -f /usr/lib/libheimbase{,_p}.*
# rm -f /usr/lib/libkadm5clnt{,_p}.*
# rm -f /usr/lib/libkadm5srv{,_p}.*
# rm -f /usr/lib/libkafs{,_p}.*
# rm -f /usr/lib/libkdc{,_p}.*
# rm -f /usr/lib/libkrb5{,_p}.*
# rm -f /usr/lib/libroken{,_p}.*
# rm -f /usr/lib/libwind{,_p}.*
# rm -rf /usr/libdata/perl5/site_perl/*-openbsd/kerberosV/
# rm -f /usr/libexec/auth/login_krb5{,-or-pwd}
# rm -f /usr/libexec/hprop{,d}
# rm -f /usr/libexec/ipropd-{master,slave}
# rm -f /usr/libexec/kadmind
# rm -f /usr/libexec/kdc
# rm -f /usr/libexec/kfd
# rm -f /usr/libexec/kpasswdd
# rm -f /usr/sbin/iprop-log
# rm -f /usr/sbin/kadmin
# rm -f /usr/sbin/kimpersonate
# rm -f /usr/sbin/kstash
# rm -f /usr/sbin/ktutil
# rm -f /usr/share/info/heimdal.info
# rm -f /usr/share/man/man1/kdestroy.1
# rm -f /usr/share/man/man1/kf.1
# rm -f /usr/share/man/man1/kgetcred.1
# rm -f /usr/share/man/man1/kinit.1
# rm -f /usr/share/man/man1/klist.1
# rm -f /usr/share/man/man1/krb5-config.1
# rm -f /usr/share/man/man1/kswitch.1
# rm -f /usr/share/man/man3/ecalloc.3
# rm -f /usr/share/man/man3/getarg.3
# rm -f /usr/share/man/man3/{gss,krb5,krb}_*.3
# rm -f /usr/share/man/man3/gssapi.3
# rm -f /usr/share/man/man3/gsskrb5_extract_authz_data_from_sec_context.3
# rm -f /usr/share/man/man3/gsskrb5_register_acceptor_identity.3
# rm -f /usr/share/man/man3/k_afs_cell_of_file.3
# rm -f /usr/share/man/man3/k_hasafs.3
# rm -f /usr/share/man/man3/k_hasafs_recheck.3
# rm -f /usr/share/man/man3/k_pioctl.3
# rm -f /usr/share/man/man3/k_setpag.3
# rm -f /usr/share/man/man3/k_unlog.3
# rm -f /usr/share/man/man3/kadm5_pwcheck.3
# rm -f /usr/share/man/man3/kafs*.3
# rm -f /usr/share/man/man3/krb524_*.3
# rm -f /usr/share/man/man3/parse_time.3
# rm -f /usr/share/man/man3/rtbl.3
# rm -f /usr/share/man/man5/krb5.conf.5
# rm -f /usr/share/man/man5/mech.5
# rm -f /usr/share/man/man8/hprop{,d}.8
# rm -f /usr/share/man/man8/iprop{,-log}.8
# rm -f /usr/share/man/man8/ipropd-{master,slave}.8
# rm -f /usr/share/man/man8/kadmin{,d}.8
# rm -f /usr/share/man/man8/kdc.8
# rm -f /usr/share/man/man8/kerberos.8
# rm -f /usr/share/man/man8/kfd.8
# rm -f /usr/share/man/man8/kimpersonate.8
# rm -f /usr/share/man/man8/kpasswdd.8
# rm -f /usr/share/man/man8/kstash.8
# rm -f /usr/share/man/man8/ktutil.8
# rm -f /usr/share/man/man8/login_krb5{,-or-pwd}.8
# rm -f /usr/share/man/man8/string2key.8
# rm -f /usr/share/man/man8/verify_krb5_conf.8
* 2014-05-01: libc++
The current C++ standard library, GNU libstdc++, has been replaced by a
combination of libc++ and libc++abi. This requires some special build steps
(or update from a snap). It is very important to be running a recent system,
as this change is based on the xlocale support. If you don't use a snap, you
should build and install all packages after the following steps, as the
upgrade process will delete them. Then follow these steps (as root):
# (cd /usr/src && make buildworld)
# (cd /usr/ports/bitrig/bitrig-llvm && make install)
# (cd /usr/ports/bitrig/bitrig-gcc && make install)
# (cd /usr/src && make buildworld)
# (cd /usr/xenocara && make buildworld)
# pkg_delete -IX bitrig-syscomp
# rm -rf /usr/ports/packages/*
# (cd /usr/ports/meta/bitrig-syscomp && CLEANDEPENDS=yes make clean && \
FORCE_UPDATE=hard make package)
* 2014-04-21: xlocale
xlocale support has been merged from FreeBSD. This requires some special
build steps (or update from a snap). It is very important to be running a
recent kernel. Make certain the kernel is based from source more recent than
2014-04-06. Then follow these build steps (as root): (it appears that 'make
buildworld' twice would also suffice)
# (cd /usr/src/share/mk && make install)
# (cd /usr/src && make obj)
# (cd /usr/src && make includes)
# (cd /usr/src/libexec/ld.so && SKIPDIR="ldd ldconfig" make depend && \
SKIPDIR="ldd ldconfig" make && \
SKIPDIR="ldd ldconfig" NOMAN=1 make install)
# (cd /usr/src/lib/csu && make depend && make && NOMAN=1 make install)
# (cd /usr/src/lib/libc && make depend && make && NOMAN=1 make install)
# (cd /usr/src/usr.bin/mklocale && make depend && make && make install)
# (cd /usr/src/share/locale && make depend && make && make install)
# (cd /usr/src && make build)