[FAQ 索引]
跟踪 -current
目录
介绍
此文档针对跟踪 -current 的用户。
它包含了从 4.8-release 到 -current 的修改信息,不能用于从 4.7
或更早版本的升级,或者想跟踪
-stable 的用户。
如果你想从旧版本更新到 4.8-release 或
4.8-stable,参见升级指南。
在使用 -current 和执行下述操作之前,请确认已经阅读和理解了
FAQ 5 - 从源代码构建系统。
你始终应该使用快照作为运行 -current 的起点。
不支持从你自己的源代码编译升级。
几乎所有这些改变都必须以 root 身份执行。
2010/09/23 - [ports] ruby split into 1.8/1.9
The ruby port was split into two separate ports for ruby 1.8 and
ruby 1.9, similar to how the python port is handled.
The ruby 1.8 binaries are now installed with a 18 suffix, and
the ruby 1.9 binaries are installed with a 19 suffix.
The ruby-gems and ruby-rake packages also install the binaries with
a 18 suffix, as those packages are included in ruby 1.9.
If you want to make ruby 1.8 (or 1.9) the default system ruby, you
need to follow the instructions that are displayed after
installing/updating the package.
2010/09/24 - gcc4 for mips64 and mips64el
The various mips64 architectures (loongson, sgi) have moved to gcc4.
/usr/libexec/ld.so has a bug that is exposed by gcc4, so make sure
it's up-to-date (rebuild it after updating the sources):
cd /usr/src/libexec/ld.so
make clean
make depend && make && make install
Updated makefiles, gcc, cpp and libstdc++ must be installed with these four
steps.
Firstly, gcc4 must be compiled with the existing compiler:
rm -rf /usr/obj/*
cd /usr/src/share/mk && make install
cd /usr/src/gnu/usr.bin/cc
make obj && make depend && make && make install
Secondly, gcc4 must be rebuilt with itself:
rm -rf /usr/obj/*
cd /usr/src/usr.bin/cpp
make obj && make && make install
cd /usr/src/gnu/usr.bin/cc
make obj && make depend && make && make install
Thirdly, libstdc++-v3 must be installed after removing the old C++ headers:
rm -rf /usr/include/g++/*
cd /usr/src/gnu/lib/libstdc++-v3
make obj && make includes && make depend && make && make install
And lastly the entire system rebuilt with the usual procedure documented in
release(8).
For people updating using snapshots, don't forget to:
rm -rf /usr/include/g++/*
before installing newer snapshot.
2010/10/19 - groff moved to ports
The groff(1) document formatting system (notably used to render
manual pages) has been replaced in base with mandoc(1).
First update /etc/man.conf (sysmerge recommended if you have modified it;
otherwise install a new file from etc48.tgz or updated /usr/src/etc)
which switches to using mandoc(1) to render installed unformatted
manpages.
Then remove old groff files:
cd /usr/bin
rm addftinfo afmtodit eqn grodvi groff grog grohtml grolj4 grops grotty \
hpftodit indxbib lkbib lookbib neqn nroff pfbtops pic psbb refer soelim \
tbl tfmtodit troff
cd /usr/share
rm -r dict/eign groff_font tmac doc/psd doc/smm doc/usd groff
cd /usr/share/man/cat1
rm addftinfo.0 afmtodit.0 eqn.0 grodvi.0 groff.0 grog.0 grohtml.0 grolj4.0 \
grops.0 grotty.0 hpftodit.0 indxbib.0 lkbib.0 lookbib.0 neqn.0 nroff.0 \
pfbtops.0 pic.0 psbb.0 refer.0 soelim.0 tbl.0 tfmtodit.0 troff.0
cd ../cat5
rm groff_font.0 groff_out.0
cd ../cat7
rm groff_char.0 groff_me.0 groff_mm.0 groff_mmse.0 groff_ms.0 groff_msafer.0 \
me.0 mm.0 ms.0
If you require groff reinstall it from /usr/ports/textproc/groff or
install the groff package.
2010/10/23 - vgrind(1) moved to ports
The vgrind(1) source file formatter has moved to ports after the
groff removal from the base system.
You should remove the old vgrind files:
cd /usr/bin/
rm vgrind
cd /usr/share/man/cat1
rm vgrind.0
cd /usr/share/man/cat5
rm vgrindefs.0
cd /usr/share/
rm misc/vgrindefs misc/vgrindefs.db
You can install vgrind from /usr/ports/textproc/vgrind or
pkg_add vgrind.
2010/10/29 - colcrt removal
The colcrt(1) utility has been removed as it is only useful
on very old (glass) terminals.
You should remove the old colcrt files:
rm /usr/bin/colcrt /usr/share/man/cat1/colcrt.0
2010/10/29 - checknr removal
The checknr(1) utility has been removed after the
groff removal from the base system.
Man pages can now be checked for common errors by running
mandoc -Tlint.
You should remove the old checknr files:
rm /usr/bin/checknr /usr/share/man/cat1/checknr.0
2010/10/29 - soelim removal
The soelim(1) utility has been removed after the
groff removal from the base system.
The groff package includes its own copy of soelim(1).
You should remove the old soelim files:
rm /usr/bin/soelim /usr/share/man/cat1/soelim.0
2010/10/31 - wpa configuration changes
wpa-psk(8) was deleted because wpakey support is now built directly
into ifconfig(8). Inspect your /etc/hostname.* files for wireless
devices using WPA and replace:
nwid myssid wpapsk `wpa-psk myssid wpapassword`
with the simpler form:
nwid myssid wpakey wpapassword
2010/11/08 - PostgreSQL update
PostgreSQL has been updated to 9.0.1. It's a major upgrade and you need
to dump/restore your databases.
You can look at this small
howto if you want more details about this.
Note that pkg_add will warn you about this upgrade.
2010/11/11 - Xenocara updates
libXft and libXext have been updated. You should remove those obsoleted files:
rm /usr/X11R6/bin/xft-config /usr/X11R6/man/man1/xft-config.1 \
/usr/X11R6/include/X11/extensions/lbxbuf.h \
/usr/X11R6/include/X11/extensions/lbxbufstr.h \
/usr/X11R6/include/X11/extensions/lbximage.h
www@openbsd.org
$OpenBSD: current.html,v 1.26 2010/12/02 14:19:45 ajacoutot Exp $