xref: /dflybsd-src/UPDATING (revision bbb35c81f71fe2a0880a1f8bb77876ee98b63338)
1d2a0deccSMatthew Dillon# Updating Information for DragonFly users.
2d2a0deccSMatthew Dillon#
3d2a0deccSMatthew Dillon#
4d2a0deccSMatthew Dillon# This file should warn you of any pitfalls which you might need to work around
5d2a0deccSMatthew Dillon# when trying to update your DragonFly system.  The information below is
6d2a0deccSMatthew Dillon# in reverse-time order, with the latest information at the top.
7d2a0deccSMatthew Dillon#
8d2a0deccSMatthew Dillon# If you discover any problem, please contact the bugs@lists.dragonflybsd.org
9d2a0deccSMatthew Dillon# mailing list with the details.
10984263bcSMatthew Dillon
1164aeb497SSascha Wildner+-----------------------------------------------------------------------+
12c0af9a0dSzrj+         UPGRADING DRAGONFLY FROM 5.6 TO LATER VERSIONS                +
13c0af9a0dSzrj+-----------------------------------------------------------------------+
14c0af9a0dSzrj
15628f4db5SzrjBINUTILS 2.34 REPLACES 2.25, PRIMARY
16628f4db5Szrj------------------------------------
17628f4db5Szrj
18628f4db5SzrjThe oldest of the two versions of Binutils, version 2.25, was removed
19628f4db5Szrjand replaced with Binutils 2.34.  It becomes the primary version of
20628f4db5Szrjbinutils and version 2.27 becomes the alternate.
21628f4db5Szrj
22628f4db5SzrjThe accepted values of BINUTILSVER are now "binutils234" (default) and
23628f4db5Szrj"binutils227".  The building of Binutils 2.27 can be prevented by setting
24628f4db5SzrjNO_ALTBINUTILS=yes in make.conf
25628f4db5Szrj
26a0f1cde0SzrjLIBRADIUS AND LIBTACPLUS REMOVED
27a0f1cde0Szrj--------------------------------
28a0f1cde0Szrj
29a0f1cde0SzrjBoth libraries have been moved from base to DPorts net/ category.
30a0f1cde0Szrj
31b8bfb053SzrjPAM_SSH MODULE REMOVED
32b8bfb053Szrj----------------------
33b8bfb053Szrj
34b8bfb053SzrjThe pam_ssh(8) have been removed from base to DPorts security/pam_ssh.
35b8bfb053Szrj
36e2e9821dSSascha WildnerUTMP LEGACY API REMOVED
37e2e9821dSSascha Wildner-----------------------
38e2e9821dSSascha Wildner
39e2e9821dSSascha WildnerThe legacy "utmp" API (getutent() and friends, utmp.h, etc.) has been
40e2e9821dSSascha Wildnerremoved, and we are now using the POSIX "utmpx" API (getutxent(),
41e2e9821dSSascha Wildnerutmpx.h, etc.) only. The most visible change for users is that the
42e2e9821dSSascha Wildner/var/log/wtmp file will no longer be written to, just /var/log/wtmpx.
43e2e9821dSSascha WildnerThe wtmpcvt(1) utility is provided to convert old wtmp format files to
44e2e9821dSSascha Wildnerwtmpx.
45e2e9821dSSascha Wildner
46e2e9821dSSascha WildnerTo not break old applications, the utmp symbols are still provided by
47e2e9821dSSascha Wildnerlibc as dummy functions that do nothing and always succeed.
48e2e9821dSSascha Wildner
49b2223336SSascha WildnerTIMED AND TIMEDC REMOVED
50b2223336SSascha Wildner------------------------
51b2223336SSascha Wildner
52b2223336SSascha Wildnertimed(8) and timedc(8) have been removed because they are beyond
53b2223336SSascha Wildnerobsolete for setting the time.
54b2223336SSascha Wildner
55c0af9a0dSzrjLIBOPIE, LIBMD REMOVED
56c0af9a0dSzrj----------------------
57c0af9a0dSzrj
58c0af9a0dSzrjRemoval of OPIE requires /etc/pam.d/ configs to be updated.
59c0af9a0dSzrj
60c0af9a0dSzrj+-----------------------------------------------------------------------+
615c1170ceSSascha Wildner+         UPGRADING DRAGONFLY FROM 5.4 TO LATER VERSIONS                +
625c1170ceSSascha Wildner+-----------------------------------------------------------------------+
635c1170ceSSascha Wildner
6492a42612SzrjGCC50 REMOVED
6592a42612Szrj-------------
6692a42612Szrj
6792a42612SzrjThe GCC50 compiler has been retired.  It has been replaced by a GCC80.
6892a42612SzrjThe default alternative compiler has stayed the same - GCC47.
6992a42612Szrj
7092a42612Szrj
71ee3ebee6SSascha WildnerPUFFS, PUTTER AND LIBREFUSE REMOVED
72ee3ebee6SSascha Wildner-----------------------------------
73ee3ebee6SSascha Wildner
74ee3ebee6SSascha WildnerThe puffs(4)/putter(4) subsystem has been removed, along with librefuse,
75ee3ebee6SSascha Wildnerlibpuffs, and the mount_psshfs(8) utility. All of these have never been
76ee3ebee6SSascha Wildnerworking correctly.
77ee3ebee6SSascha Wildner
785c1170ceSSascha WildnerFFS_ROOT OPTION REMOVED
795c1170ceSSascha Wildner-----------------------
805c1170ceSSascha Wildner
815c1170ceSSascha WildnerThe FFS_ROOT kernel configuration option has been finally removed, after
825c1170ceSSascha Wildnerhaving been a no-op since 4.9. That means users using a custom kernel
835c1170ceSSascha Wildnerconfiguration file that still contains it need to remove the option from
845c1170ceSSascha Wildnerthat file.
855c1170ceSSascha Wildner
865c1170ceSSascha Wildner+-----------------------------------------------------------------------+
876ffa2848SSascha Wildner+         UPGRADING DRAGONFLY FROM 5.2 TO LATER VERSIONS                +
88d9d67b59SSascha Wildner+-----------------------------------------------------------------------+
89d9d67b59SSascha Wildner
90c585ae0fSSascha WildnerDIGI, RP AND SI DRIVERS REMOVED
91c585ae0fSSascha Wildner-------------------------------
92c585ae0fSSascha Wildner
93c585ae0fSSascha WildnerThe digi(4), rp(4) and si(4) serial drivers have been removed. None of
94c585ae0fSSascha Wildnerthem were in our default kernel configuration file. The sicontrol(8)
95c585ae0fSSascha Wildnerutility was removed, too.
96c585ae0fSSascha Wildner
97e79a303fSAaron LIMKINITRD COMMAND REMOVED
98e79a303fSAaron LI------------------------
99e79a303fSAaron LI
100e79a303fSAaron LIThe mkinitrd(8) command is removed and its functionality is replaced by
101e79a303fSAaron LIthe new "initrd" make target.  After rebooting into the new world and
102e79a303fSAaron LIverifying everything works, execute "make initrd" to upgrade the rescue
103e79a303fSAaron LItools and initrd image.
104e79a303fSAaron LI
105755d70b8SSascha WildnerIPSEC, IPSEC_ESP AND IPSEC_DEBUG REMOVED FROM VKERNEL64 CONFIG
106755d70b8SSascha Wildner--------------------------------------------------------------
107755d70b8SSascha Wildner
108755d70b8SSascha WildnerIPsec has been removed from the system. Of our standard kernel
109755d70b8SSascha Wildnerconfigurations, only the virtual kernel one had it. People running
110755d70b8SSascha Wildnervkernels with configuration files derived from our VKERNEL64 will
111755d70b8SSascha Wildnerhave to remove these options manually.
112755d70b8SSascha Wildner
1136ffa2848SSascha Wildner+-----------------------------------------------------------------------+
1146ffa2848SSascha Wildner+         UPGRADING DRAGONFLY FROM 5.0 TO LATER VERSIONS                +
1156ffa2848SSascha Wildner+-----------------------------------------------------------------------+
1166ffa2848SSascha Wildner
117c07d5880SSascha WildnerVIRTIO_PCI REMOVED FROM KERNEL CONFIG
118c07d5880SSascha Wildner-------------------------------------
119c07d5880SSascha Wildner
120c07d5880SSascha WildnerThe "device virtio_pci" line in X86_64_GENERIC has been removed. People
121c07d5880SSascha Wildnerwith configuration files derived from it have to remove it manually.
122c07d5880SSascha Wildner
1232458c6f4SSascha WildnerVARIOUS 'R' COMMANDS AND DAEMONS REMOVED
1242458c6f4SSascha Wildner----------------------------------------
1252458c6f4SSascha Wildner
1262458c6f4SSascha Wildnerrcp(1), rlogin(1), rlogind(8), rsh(1) and rshd(8) have been removed.
1272458c6f4SSascha WildnerFor those that still need them, there is the net/bsdrcmds port.
1282458c6f4SSascha Wildner
129a26d33cfSSascha WildnerVARIOUS FORMER OPTIONS REMOVED
130a26d33cfSSascha Wildner------------------------------
131a26d33cfSSascha Wildner
132a26d33cfSSascha WildnerVarious former kernel configuration options which had been no-ops for
133a26d33cfSSascha Wildnersome time were completely removed: SYSVMSG, SYSVSEM, SYSVSHM, P1003_1B,
134a26d33cfSSascha Wildner_KPOSIX_VERSION and DSCHED_FQ. Users that have any of these still in
135a26d33cfSSascha Wildnertheir kernel configuration files have to remove them.
136a26d33cfSSascha Wildner
137a90cc0c2SzrjBOOTSTRAPPING LIMITED FROM PRE 4.4
138a90cc0c2Szrj----------------------------------
139a90cc0c2Szrj
140a90cc0c2SzrjUpgrading to 5.1 and later versions now require at least 4.4 in
141a90cc0c2Szrjpreparations for upcoming base compilers updates.
142a90cc0c2Szrj
14306937ef9SSascha WildnerIF_PPP, PPPD, IF_FAITH, AND FAITHD REMOVED
14406937ef9SSascha Wildner------------------------------------------
145a90cc0c2Szrj
14606937ef9SSascha Wildnerif_ppp has been replaced by "user ppp", i.e. ppp(8) and tun(4). It had
147d9d67b59SSascha Wildneralready been removed from our default kernel configuration before 5.0,
148d9d67b59SSascha Wildnerso only people with custom configurations based on earlier X86_64_GENERIC
149d9d67b59SSascha Wildnerwill have to remove it manually.
150d9d67b59SSascha Wildner
15106937ef9SSascha WildnerThe faith(4) interface has been completely removed after it had also
15206937ef9SSascha Wildnerbeen removed from our default kernel configuration.
15306937ef9SSascha Wildner
154d9d67b59SSascha Wildner+-----------------------------------------------------------------------+
1551b2d852eSSascha Wildner+         UPGRADING DRAGONFLY FROM 4.8 TO LATER VERSIONS                +
1561b2d852eSSascha Wildner+-----------------------------------------------------------------------+
1571b2d852eSSascha Wildner
1581b2d852eSSascha WildnerFFS_ROOT OPTION DISABLED
1591b2d852eSSascha Wildner------------------------
1601b2d852eSSascha Wildner
1611b2d852eSSascha WildnerThe FFS_ROOT option has been made a no-op and will be completely removed
1621b2d852eSSascha Wildnerat some point in the future. Users with a custom kernel configuration
1631b2d852eSSascha Wildnercan remove this option from it now.
1641b2d852eSSascha Wildner
1651b2d852eSSascha Wildner+-----------------------------------------------------------------------+
1663522bdfeSSascha Wildner+         UPGRADING DRAGONFLY FROM 4.6 TO LATER VERSIONS                +
1673522bdfeSSascha Wildner+-----------------------------------------------------------------------+
1683522bdfeSSascha Wildner
1694d6bb23eSJustin C. SherrillDSA OPENSSH KEYS DEPRECATED
1704d6bb23eSJustin C. Sherrill---------------------------
1714d6bb23eSJustin C. Sherrill
1724d6bb23eSJustin C. SherrillNote that DSA OpenSSH keys were deprecated in the 4.6 to 4.8 release.
1734d6bb23eSJustin C. SherrillIf you are upgrading from a release older than 4.8 and use DSA OpenSSH
1744d6bb23eSJustin C. Sherrillkeys, please update your private/public key pair or risk locking
1754d6bb23eSJustin C. Sherrillyourself out.
1764d6bb23eSJustin C. Sherrill
1777efec73eSSascha WildnerAHC, AHD, AIC, NCV, NSP AND STG DRIVERS REMOVED
1787efec73eSSascha Wildner-----------------------------------------------
1799ef43fc3SSascha Wildner
1807efec73eSSascha WildnerThey were all in our X86_64_GENERIC kernel configuration file, along with
1817efec73eSSascha Wildnerthe AHC_REG_PRETTY_PRINT and AHD_REG_PRETTY_PRINT options, so any custom
1827efec73eSSascha Wildnerconfiguration files derived from it need adjustment.
1839ef43fc3SSascha Wildner
184be813d7aSSascha WildnerPORTAL FILE SYSTEM REMOVED
185be813d7aSSascha Wildner--------------------------
186be813d7aSSascha Wildner
187be813d7aSSascha WildnerIt has been broken for a long time now.
188be813d7aSSascha Wildner
1895cc5a38cSzrjBINUTILS 2.27 REPLACES 2.24, PRIMARY
1905cc5a38cSzrj------------------------------------
1915cc5a38cSzrj
1925cc5a38cSzrjThe oldest of the two versions of Binutils, version 2.24, was removed
1935cc5a38cSzrjand replaced with Binutils 2.27.  It becomes the primary version version
1945cc5a38cSzrjof binutils and version 2.25 becomes the alternate.
1955cc5a38cSzrj
1965cc5a38cSzrjThe accepted values of BINUTILSVER are now "binutils227" (default) and
1975cc5a38cSzrj"binutils225".  The building of Binutils 2.25 can be prevented by setting
1985cc5a38cSzrjNO_ALTBINUTILS=yes in make.conf.
1995cc5a38cSzrj
200d6e8ab2dSSascha WildnerCOMPAT_43 KERNEL OPTION REMOVED
201d6e8ab2dSSascha Wildner-------------------------------
202d6e8ab2dSSascha Wildner
203d6e8ab2dSSascha WildnerIt was commented out in our default configs for several years now, but
204d6e8ab2dSSascha Wildnermight still be present in custom configs created before Nov. 2011.
205d6e8ab2dSSascha Wildner
206adfb2c71SJohn MarinoOPENSSL REMOVED
207adfb2c71SJohn Marino---------------
208adfb2c71SJohn Marino
209adfb2c71SJohn MarinoOpenSSL has been removed from base and replaced with a private version of
210adfb2c71SJohn MarinoLibreSSL.  The previously installed OpenSSL libraries, headers, and man
211adfb2c71SJohn Marinopages will remain on the system unless the "make upgrade" command is
212adfb2c71SJohn Marinospecifically instructed to remove them.  To do this, define
213adfb2c71SJohn MarinoREMOVE_OPENSSL_FILES for the upgrade command, e.g.
214adfb2c71SJohn Marino"make upgrade REMOVE_OPENSSL_FILES=yes"
215adfb2c71SJohn Marino
2165b245968SMatthew Dillon28-Oct-2016: openssl has been replaced by ressl.  It is recommended that any
2175b245968SMatthew Dillonstale OpenSSL files be removed to avoid configuration scripts from using
2185b245968SMatthew Dillonthe stale and potentially vulnerable version, but all binaries that are
2195b245968SMatthew Dillondynamically linked to the OpenSSL libraries should be rebuilt first to
2205b245968SMatthew Dillonavoid breakage.
221adfb2c71SJohn Marino
2229682bad8SThomas NikolajsenOPENSSH HPN REMOVED
2239682bad8SThomas Nikolajsen-------------------
2249682bad8SThomas Nikolajsen
2259682bad8SThomas NikolajsenIt has become too cumbersome to maintain HPN patches in OpenSSH in base.
2269682bad8SThomas NikolajsenTo use OpenSSH in base remove HPN config, if you have added it.
2279682bad8SThomas NikolajsenCheck files below for HPN config, see a few lines below.
2289682bad8SThomas Nikolajsen  /etc/ssh/ssh_config, /etc/ssh/sshd_config, ~/.ssh/config
2299682bad8SThomas Nikolajsensshd(8) will fail to start if HPN config is used.
2309682bad8SThomas Nikolajsen
2319682bad8SThomas NikolajsenNOTE: HPN config in sshd_config will prohibit remote access to host using ssh.
2329682bad8SThomas Nikolajsen
2339682bad8SThomas NikolajsenHPN config:
2349682bad8SThomas NikolajsenHPNDisabled
2359682bad8SThomas NikolajsenHPNBufferSize
2369682bad8SThomas NikolajsenTcpRcvBuf
2379682bad8SThomas NikolajsenTcpRcvBufPoll
2389682bad8SThomas NikolajsenNoneEnabled
2399682bad8SThomas NikolajsenNoneSwitch
2409682bad8SThomas Nikolajsencipher MTR-AES-CTR
2419682bad8SThomas Nikolajsencipher NONE
2429682bad8SThomas Nikolajsen
2439682bad8SThomas NikolajsenOpenSSH HPN is a patch set to OpenSSH providing higher performance under some
2449682bad8SThomas Nikolajsencircumstances, especially for networking.
2459682bad8SThomas NikolajsenIf HPN functionality is needed, install security/openssh from dports.
2469682bad8SThomas Nikolajsen
247859c2e53SSascha WildnerCS, EX AND VX DRIVERS REMOVED
248859c2e53SSascha Wildner-----------------------------
2493522bdfeSSascha Wildner
250859c2e53SSascha WildnerThe cs(4), ex(4) and vx(4) drivers have been removed. They were very
251859c2e53SSascha Wildnerold and its doubtful they ever worked properly in x86_64 but they were
252859c2e53SSascha Wildnerin X86_64_GENERIC, so custom configurations derived from it have to be
2533a609f3dSSascha Wildneradjusted.
2543522bdfeSSascha Wildner
2553522bdfeSSascha Wildner+-----------------------------------------------------------------------+
25682aec1d3SFrançois Tigeot+         UPGRADING DRAGONFLY FROM 4.4 TO LATER VERSIONS                +
25782aec1d3SFrançois Tigeot+-----------------------------------------------------------------------+
25882aec1d3SFrançois Tigeot
259f1826c3eSSascha WildnerAMD REMOVED
260f1826c3eSSascha Wildner-----------
261f1826c3eSSascha Wildner
262f1826c3eSSascha WildnerThe am-utils automounter suite has been removed. It stopped working
263f1826c3eSSascha Wildnerat some point and was never fixed. autofs(5) and the associated
264f1826c3eSSascha Wildneruserland has been brought in from FreeBSD and replaces it.
265f1826c3eSSascha Wildner
266c222305fSSascha WildnerAN DRIVER REMOVED
267c222305fSSascha Wildner-----------------
268c222305fSSascha Wildner
269c222305fSSascha WildnerThe an(4) driver has been removed. It was in the X86_64_GENERIC kernel
270c222305fSSascha Wildnerconfig file, so any configurations derived from it have to be adjusted.
271c222305fSSascha Wildner
272c222305fSSascha Wildner/DEV/DRI GROUP CHANGED
273c222305fSSascha Wildner----------------------
27482aec1d3SFrançois Tigeot
27582aec1d3SFrançois TigeotThe default group assigned to /dev/dri entries has been changed
27682aec1d3SFrançois Tigeotfrom 'wheel' to 'video' with the id of '44'. If you want to have
27782aec1d3SFrançois Tigeotaccess to the dri devices please add yourself to the video group
27882aec1d3SFrançois Tigeotwith:
27982aec1d3SFrançois Tigeot
28082aec1d3SFrançois Tigeot# pw groupmod video -m $USER
28182aec1d3SFrançois Tigeot
28282aec1d3SFrançois Tigeot+-----------------------------------------------------------------------+
283dbf3d3baSJohn Marino+         UPGRADING DRAGONFLY FROM 4.2 TO LATER VERSIONS                +
284dbf3d3baSJohn Marino+-----------------------------------------------------------------------+
285dbf3d3baSJohn Marino
28654af9d02SSascha WildnerDSCHED REMOVED
28754af9d02SSascha Wildner--------------
28854af9d02SSascha Wildner
28954af9d02SSascha Wildnerdsched(4) has been removed and one of its kernel options, DSCHED_FQ, was
29054af9d02SSascha Wildnerin our default kernel config file. So the DSCHED_FQ option has been turned
29154af9d02SSascha Wildnerinto a no-op for now and can be removed from custom configurations.
29254af9d02SSascha Wildner
29368ef81edSSascha WildnerEST DRIVER REMOVED, COMPILE_ET AND LIBCOM_ERR TOO
29468ef81edSSascha Wildner-------------------------------------------------
29568ef81edSSascha Wildner
29668ef81edSSascha WildnerThe est(4) driver has been removed. All CPUs it supported (except one)
29768ef81edSSascha Wildnerwere 32 bits only. Those who are still using the Core 2 Duo T7500 should
29868ef81edSSascha Wildnerreport back if there are any issues with this CPU and our regular ACPI
29968ef81edSSascha WildnerP-state support.
30068ef81edSSascha Wildner
30168ef81edSSascha WildnerAlso, compile_et(1) and com_err(3) have been removed as well. They
30268ef81edSSascha Wildnershould have been removed along with kerberos support, back in 2009.
30368ef81edSSascha Wildner
304dbf3d3baSJohn MarinoSEVERAL LOCALES RENAMED
305dbf3d3baSJohn Marino-----------------------
306dbf3d3baSJohn Marino
307dbf3d3baSJohn MarinoSeveral locales were using obsolete and misleading names, and thus have
308dbf3d3baSJohn Marinobeen adjusted to current standards. Any users of the following locales
309dbf3d3baSJohn Marinoneed to select alternates:
310dbf3d3baSJohn Marino
311dbf3d3baSJohn MarinoDFLY 4.2 locale            DFLY 4.4 alterative locale
312dbf3d3baSJohn Marino---------------            ------------------------------------
313dbf3d3baSJohn Marinomn_MN.UTF-8                mn_Cyrl_MN.UTF-8
314dbf3d3baSJohn Marinono_NO.UTF-8                nb_NO.UTF-8      or nn_NO.UTF-8
315dbf3d3baSJohn Marinono_NO.ISO8859-1            nb_NO.ISO8869-1  or nn_NO.ISO8859-1
316dbf3d3baSJohn Marinono_NO.ISO8859-15           nb_NO.ISO8859-15 or nn_NO.ISO8859-15
317dbf3d3baSJohn Marinosr_YU.UTF-8                sr_Cyrl_RS.UTF-8 or sr_Latn_RS.UTF-8
318dbf3d3baSJohn Marinosr_YU.ISO8859-5            sr_Cyrl_RS.ISO8859-5
319dbf3d3baSJohn Marinosr_YU.ISO8859-2            sr_Latn_RS.ISO8859-2
320dbf3d3baSJohn Marinozh_CN.GBK                  zh_Hans_CN.GBK
321dbf3d3baSJohn Marinozh_CN.UTF-8                zh_Hans_CN.UTF-8
322dbf3d3baSJohn Marinozh_CN.eucCN                zh_Hans_CN.eucCN
323dbf3d3baSJohn Marinozh_CN.GB2312               zh_Hans_CH.GB2312
324dbf3d3baSJohn Marinozh_CN.GB18030              zh_Hans_CH.GB18030
325dbf3d3baSJohn Marinozh_HK.Big5HKSCS            zh_Hant_HK.Big5HKSCS
326dbf3d3baSJohn Marinozh_HK.UTF_8                zh_Hant_HK.UTF-8
327dbf3d3baSJohn Marinozh_TW.Big5                 zh_Hant_TW.Big5
328dbf3d3baSJohn Marinozh_TW.UTF-8                zh_Hant_TW.UTF-8
329dbf3d3baSJohn Marino
330dbf3d3baSJohn Marino+-----------------------------------------------------------------------+
3312a617999SSascha Wildner+         UPGRADING DRAGONFLY FROM 4.0 TO LATER VERSIONS                +
3322a617999SSascha Wildner+-----------------------------------------------------------------------+
3332a617999SSascha Wildner
33465c3b857SJohn MarinoBINUTILS 2.25 REPLACES 2.22, PRIMARY
33565c3b857SJohn Marino------------------------------------
33665c3b857SJohn Marino
33765c3b857SJohn MarinoThe oldest of the two versions of Binutils, version 2.22, was removed
33865c3b857SJohn Marinoand replaced with Binutils 2.25.  It becomes the primary version version
33965c3b857SJohn Marinoof binutils and version 2.24 becomes the alternate.  There are 8 current
34065c3b857SJohn MarinoCVE written against 2.24, so for security reasons version 2.25 should
34165c3b857SJohn Marinoalways be used.
34265c3b857SJohn Marino
34365c3b857SJohn MarinoThe accepted values of BINUTILSVER are now "binutils225" (default) and
34465c3b857SJohn Marino"binutils224".  The building of Binutils 2.24 can be prevented by setting
34565c3b857SJohn MarinoNO_ALTBINUTILS=yes in make.conf.
34665c3b857SJohn Marino
34772b78560SJohn MarinoLOADER OPTIONS CHANGED
34872b78560SJohn Marino----------------------
34972b78560SJohn Marino
35072b78560SJohn MarinoRight after the development branch started, the Fred art accompanying the
35172b78560SJohn Marinoloader menu was improved.  The line between Fred and the menu was removed
35272b78560SJohn Marinoby default (but can optionally be returned) and the placement shifted as
35372b78560SJohn Marinoa result.  The drawing was improved, and the colored version was improved,
35472b78560SJohn Marinochanging the eyes and wing color from white to red.  A new color version
35572b78560SJohn Marinoof Fred was added, one with a blue scheme.
35672b78560SJohn Marino
35772b78560SJohn MarinoThe loader menu defaults have changed since release 4.0:  The vertical
35872b78560SJohn Marinoline was removed, the loader is displayed in color by default*, and the
35972b78560SJohn Marinoblue scheme is used.
36072b78560SJohn Marino
36172b78560SJohn MarinoThe loader.conf changes are:
36272b78560SJohn Marinoloader_color:   option has been removed
36372b78560SJohn Marinoloader_plain:   option has been added, it changed menu to monochrome
36472b78560SJohn Marinofred_is_red:    changes color scheme from blue to red
36572b78560SJohn Marinofred_is_blue:   option existed only on 4.1, it has been removed
36672b78560SJohn Marinofred_separated: Adds line between Fred and menu (as seen previously)
36772b78560SJohn Marino
36872b78560SJohn Marino* If loader.conf defines "console" as "comconsole" or "console" is defined
36972b78560SJohn Marino  in the environment as "comconsole" then color will not be displayed,
37072b78560SJohn Marino  even if loader_plain value is "NO".
37172b78560SJohn Marino
372cbab4ab1SJohn MarinoSENDMAIL REMOVED FROM BASE
373cbab4ab1SJohn Marino--------------------------
374cbab4ab1SJohn Marino
375cbab4ab1SJohn MarinoThe only Mail Transfer Agent provided now is DragonFly Mail Agent (dma).
376cbab4ab1SJohn MarinoIf the system being upgraded is still configured to use the sendmail
377cbab4ab1SJohn Marinobinaries from base, the "make upgrade" command will fail.
378cbab4ab1SJohn Marino
379cbab4ab1SJohn MarinoThe administrator must change /etc/mail/mailer.conf to switch the
380cbab4ab1SJohn Marinomailwrapper to dma or a DPorts-based MTA prior to running the upgrade
381cbab4ab1SJohn Marinocommand that permanently removes sendmail executables and could
382cbab4ab1SJohn Marinopotentially break a running mail server.
383cbab4ab1SJohn Marino
384cbab4ab1SJohn MarinoRefer: http://www.dragonflybsd.com/docs/docs/newhandbook/mta/ for
385cbab4ab1SJohn Marinodetailed instructions on how to configure the MTA selection.
386cbab4ab1SJohn Marino
387a7ac1ee9SSascha Wildner_KPOSIX_VERSION and P1003_1B OPTIONS REMOVED
388a7ac1ee9SSascha Wildner--------------------------------------------
389a7ac1ee9SSascha Wildner
390a7ac1ee9SSascha WildnerThe _KPOSIX_VERSION and P1003_1B kernel options have been changed to
391a7ac1ee9SSascha Wildnerno-ops. They can be removed from custom kernel configurations.
392a7ac1ee9SSascha Wildner
393aa7c3d6bSFrançois TigeotSOUND SYSTEM UPDATED FROM FreeBSD 11-CURRENT
394aa7c3d6bSFrançois Tigeot--------------------------------------------
395aa7c3d6bSFrançois Tigeot
396aa7c3d6bSFrançois TigeotMany more sound devices may be detected.
397aa7c3d6bSFrançois Tigeot
398*bbb35c81SSascha WildnerIf the default device chosen isn't to your liking, setting the sysctl
399aa7c3d6bSFrançois Tigeothw.snd.default_unit to a different number will change it.
400aa7c3d6bSFrançois Tigeot
40160a260adSSascha WildnerSCTP SUPPORT DROPPED
40260a260adSSascha Wildner--------------------
40360a260adSSascha Wildner
40460a260adSSascha WildnerSupport for the SCTP protocol has been removed.
40560a260adSSascha Wildner
4062a617999SSascha WildnerOLD USB DRIVERS REMOVED
4072a617999SSascha Wildner-----------------------
4082a617999SSascha Wildner
4092a617999SSascha WildnerThe old USB stack, along with the kernel config option "device oldusb"
4102a617999SSascha Wildnerand the make.conf variable "WANT_OLDUSB" have been removed. This means
4112a617999SSascha Wildnerthat for custom kernel configuration files which were derived from a
4122a617999SSascha WildnerGENERIC or X86_64_GENERIC file prior to making the usb4bsd stack default,
4132a617999SSascha Wildnervarious (old USB stack specific) devices will now complain about being
4142a617999SSascha Wildnerunknown:
4152a617999SSascha Wildner
4162a617999SSascha Wildner  * oldusb	(obviously)
4172a617999SSascha Wildner  * natausb	(not yet ported to usb4bsd)
4182a617999SSascha Wildner  * rue		(not yet ported to usb4bsd)
4192a617999SSascha Wildner  * ugen	(no longer needed in usb4bsd)
4202a617999SSascha Wildner  * urio	(not yet ported to usb4bsd)
4212a617999SSascha Wildner  * uscanner	(no longer needed in usb4bsd)
4222a617999SSascha Wildner
4232a617999SSascha WildnerThey should be removed or commented out in such custom kernel configs.
4242a617999SSascha Wildner
4254e8e707fSJohn MarinoGCC 5
4264e8e707fSJohn Marino-----
427e9b676f1SJohn Marino
4284e8e707fSJohn MarinoThe GCC 4.4 compiler has been retired.  It has been replaced by a GCC 5.1.
4294e8e707fSJohn MarinoThe following make.conf variables no longer work: NO_GCC44, NO_OBJC, and
4304e8e707fSJohn MarinoNO_CXX.  The latter was never documented and the latest versions of GCC are
4314e8e707fSJohn Marinopartially written in C++ so a C++ compiler is no longer optional.  In
4324e8e707fSJohn Marinopractical terms it has not been optional for many years as other base
4334e8e707fSJohn Marinocomponents are also written in C++.  The resource savings by avoiding
4344e8e707fSJohn Marinobuilding Objective-C compiler is so small, the complexity added by NO_OBJC
4354e8e707fSJohn Marinointernally was deemed a bad tradeoff so that is the reason for its removal.
4364e8e707fSJohn MarinoAlso note that no "info" pages are installed with GCC 5.  After this entry
4374e8e707fSJohn Marinowas originally written, all info pages were removed from DragonFly.
438e9b676f1SJohn Marino
4394e8e707fSJohn MarinoGCC 5.1 has been designated as the primary compiler.  As such, there is a
4404e8e707fSJohn Marinonew make.conf variable, NO_ALTCOMPILER.  It will block the rebuilding of
4414e8e707fSJohn Marinothe designated secondary compiler, GCC 4.7.  However, while DPorts
4424e8e707fSJohn Marinoprimarily uses GCC 5 to build ports now, it still uses GCC 4.7 as well, so
4434e8e707fSJohn Marinoif building ports from source is desired, don't block building of the
4444e8e707fSJohn Marinosecondary compiler.
445e9b676f1SJohn Marino
4462a617999SSascha Wildner+-----------------------------------------------------------------------+
4470055c35bSSascha Wildner+         UPGRADING DRAGONFLY FROM 3.8 TO LATER VERSIONS                +
4480055c35bSSascha Wildner+-----------------------------------------------------------------------+
4490055c35bSSascha Wildner
4502a617999SSascha WildnerSMP AND DEVICE_POLLING OPTIONS MADE UNKNOWN
45139b3e0a1SSascha Wildner-------------------------------------------
45239b3e0a1SSascha Wildner
45339b3e0a1SSascha WildnerDEVICE_POLLING was replaced by IFPOLL_ENABLE and the former SMP code is
45439b3e0a1SSascha Wildnerthe default now (even on single-core systems), both for, like, 21 months.
45539b3e0a1SSascha WildnerWe kept the options around as no-ops as a convenience, to allow people
45639b3e0a1SSascha Wildnerusing the same config for the then current release and the then current
45739b3e0a1SSascha Wildnermaster. That period is now over, so any configs still having those
45839b3e0a1SSascha Wildneroptions have to be adjusted.
45939b3e0a1SSascha Wildner
46010ceb702SSascha WildnerSYSVIPC SYSCALLS MADE NON-OPTIONAL
46110ceb702SSascha Wildner----------------------------------
46210ceb702SSascha Wildner
46310ceb702SSascha WildnerThe code related to the SYSVMSG, SYSVSEM and SYSVSHM kernel options is
46410ceb702SSascha Wildnernow compiled in by default. The options are no-ops for now.
46510ceb702SSascha Wildner
46679a3e83fSSascha WildnerDEFAULT DRIVER CHANGED FOR LSI "THUNDERBOLT" SERIES RAID CONTROLLERS
46779a3e83fSSascha Wildner--------------------------------------------------------------------
46879a3e83fSSascha Wildner
46979a3e83fSSascha WildnerThe default driver for those controllers is now mrsas(4) due to reports
47079a3e83fSSascha Wildnerof file system corruption using the mfi(4) driver. The whole issue (and
47179a3e83fSSascha Wildnerhow to deal with potential problems when switching) was explained here:
47279a3e83fSSascha Wildner
47379a3e83fSSascha Wildnerhttp://lists.dragonflybsd.org/pipermail/users/2014-July/128703.html
47479a3e83fSSascha Wildner
47579a3e83fSSascha WildnerA tunable is provided for letting those controllers still attach via
47679a3e83fSSascha Wildnerthe mfi(4) driver, hw.mrsas.mfi_enable (see mrsas(4) manual page).
47779a3e83fSSascha Wildner
4780055c35bSSascha WildnerOLDER NETWORK DRIVERS MOVED TO I386 ONLY
4790055c35bSSascha Wildner----------------------------------------
4800055c35bSSascha Wildner
4810055c35bSSascha WildnerThe following drivers have been made i386 only: ed(4), sr(4), ng_sync_ar
4820055c35bSSascha Wildnerand ng_sync_sr. ed(4) used to be in X86_64_GENERIC, so it has to be
4830055c35bSSascha Wildnerremoved in kernel configs derived from X86_64_GENERIC.
4840055c35bSSascha Wildner
4850055c35bSSascha Wildner+-----------------------------------------------------------------------+
48662d4130dSSascha Wildner+         UPGRADING DRAGONFLY FROM 3.6 TO LATER VERSIONS                +
487e19e3c77SSascha Wildner+-----------------------------------------------------------------------+
488e19e3c77SSascha Wildner
489a6a7c140SJustin C. SherrillUPDATE FROM MOST RECENT 3.6
490a6a7c140SJustin C. Sherrill---------------------------
491a6a7c140SJustin C. Sherrill
492a6a7c140SJustin C. SherrillVersions of 3.6 built before June 25th have a bug where installworld might
493a6a7c140SJustin C. Sherrillcrash during installation of the new initrd.  Upgrade to the latest version
494a6a7c140SJustin C. Sherrillof 3.6 before updating to 3.8 or later.
495a6a7c140SJustin C. Sherrill
4967c87aae6SSascha WildnerATM, IPX, NCP AND NWFS SUPPORT DROPPED
4977c87aae6SSascha Wildner--------------------------------------
4986f25d555SSascha Wildner
4996f25d555SSascha WildnerSupport for the IPX and NCP network protocols and for mouting NetWare
5007c87aae6SSascha Wildnerfile systems has been dropped. Dito for ATM protocol support.
5016f25d555SSascha Wildner
5026f25d555SSascha WildnerINITRD IMAGES NOW INSTALLED BY DEFAULT
5036f25d555SSascha Wildner--------------------------------------
5046f25d555SSascha Wildner
5056f25d555SSascha WildnerAn initial ramdisk image is now installed in /boot/kernel/initrd.img.gz
5066f25d555SSascha Wildner
5076f25d555SSascha WildnerOlder images installed under the file name of initrd.img will be removed
5086f25d555SSascha Wildnerautomatically by the make upgrade process.
5096f25d555SSascha Wildner
510f0478b8bSSascha WildnerUSB4BSD IS NOW THE DEFAULT USB STACK
511f0478b8bSSascha Wildner------------------------------------
512f0478b8bSSascha Wildner
513f0478b8bSSascha WildnerTo get back to the old stack, put "WANT_OLDUSB=yes" in /etc/make.conf and
514f0478b8bSSascha Wildnerreplace "device usb" with "device oldusb" in the kernel configuration.
515f0478b8bSSascha Wildner
516e19e3c77SSascha WildnerMORE ISA SUPPORT DROPPED
517e19e3c77SSascha Wildner------------------------
518e19e3c77SSascha Wildner
519e19e3c77SSascha WildnerISA support has been dropped from the following drivers: adv(4), an(4),
520e19e3c77SSascha Wildnerar(4), cs(4), digi(4), ed(4), ep(4), ex(4), fe(4), lnc(4), sbni(4),
521e19e3c77SSascha Wildnersi(4), sn(4), and stg(4).
522e19e3c77SSascha Wildner
523e19e3c77SSascha Wildner+-----------------------------------------------------------------------+
52462d4130dSSascha Wildner+         UPGRADING DRAGONFLY FROM 3.4 TO LATER VERSIONS                +
5259332798aSSascha Wildner+-----------------------------------------------------------------------+
5269332798aSSascha Wildner
527c04df145SJustin C. SherrillABI CHANGE
528c04df145SJustin C. Sherrill----------
529c04df145SJustin C. Sherrill
530c04df145SJustin C. SherrillInstalled third-party software (dports) will have to be rebuilt after upgrade,
531c04df145SJustin C. Sherrillor reinstalled from binary packages.
532c04df145SJustin C. Sherrill
5332b455b95SJustin C. SherrillUPDATING FROM 3.4 TO 3.6
5342b455b95SJustin C. Sherrill------------------------
5352b455b95SJustin C. Sherrill
5362b455b95SJustin C. SherrillThis only applies for this specific upgrade due to locale changes; it is
5372b455b95SJustin C. Sherrillnot needed for upgrades after 3.6.  Please update in this order:
5382b455b95SJustin C. Sherrill
5392b455b95SJustin C. Sherrillmake buildworld
5402b455b95SJustin C. Sherrillmake buildkernel
5412b455b95SJustin C. Sherrillmake installworld
5422b455b95SJustin C. Sherrillmake installkernel
5432b455b95SJustin C. Sherrill*reboot*
5442b455b95SJustin C. Sherrillmake upgrade
5452b455b95SJustin C. Sherrill
5462b455b95SJustin C. SherrillSee this mailing list post for details:
5472b455b95SJustin C. Sherrillhttp://lists.dragonflybsd.org/pipermail/users/2013-September/090163.html
5482b455b95SJustin C. Sherrill
5499332798aSSascha WildnerCYRIX OPTIONS REMOVED
5509332798aSSascha Wildner---------------------
5519332798aSSascha Wildner
5529332798aSSascha WildnerThe following Cyrix related options have been removed: CPU_BTB_EN,
5539332798aSSascha WildnerCPU_CYRIX_NO_LOCK, CPU_DIRECT_MAPPED_CACHE, CPU_DISABLE_5X86_LSSER,
5549332798aSSascha WildnerCPU_FASTER_5X86_FPU, CPU_IORT, CPU_LOOP_EN, CPU_RSTK_EN, CPU_SUSP_HLT,
5559332798aSSascha WildnerCYRIX_CACHE_WORKS, and CYRIX_CACHE_REALLY_WORKS
5569332798aSSascha Wildner
5579332798aSSascha WildnerISA SUPPORT REMOVED FROM RP(4)
5589332798aSSascha Wildner------------------------------
5599332798aSSascha Wildner
5609332798aSSascha WildnerISA support has been removed from the rp(4) driver. It is now PCI only.
5619332798aSSascha Wildner
5629332798aSSascha Wildner+-----------------------------------------------------------------------+
56362d4130dSSascha Wildner+         UPGRADING DRAGONFLY FROM 3.2 TO LATER VERSIONS                +
56464aeb497SSascha Wildner+-----------------------------------------------------------------------+
56564aeb497SSascha Wildner
566d88b9605SSascha WildnerCOMPAT_SUNOS OPTION REMOVED
567d88b9605SSascha Wildner---------------------------
568d88b9605SSascha Wildner
569d88b9605SSascha WildnerThe COMPAT_SUNOS option has been removed. It was meant to provide binary
570d88b9605SSascha Wildnercompatibility with SunOS 4.x for the sparc32 port of 4.4BSD.
571d88b9605SSascha Wildner
57243f215d7SSascha WildnerISA SOUND CARD SUPPORT REMOVED
57343f215d7SSascha Wildner------------------------------
57443f215d7SSascha Wildner
57543f215d7SSascha WildnerThe following modules have been removed (all for ISA sound cards):
57643f215d7SSascha Wildnersnd_ad1816.ko, snd_ess.ko, snd_mss.ko, snd_sb8.ko, snd_sb16.ko, snd_sbc.ko
57743f215d7SSascha Wildner
5786100d1deSJohn MarinoGCC 4.7
5796100d1deSJohn Marino-------
5806100d1deSJohn Marino
5816100d1deSJohn MarinoDragonFly has switched base compilers.  GCC 4.7 is now the default
5826100d1deSJohn Marinocompiler and GCC 4.4 is the alternative compiler.  The "NO_GCC47" make
5836100d1deSJohn Marinovariable ceases to work now.
5846100d1deSJohn Marino
5856100d1deSJohn MarinoUsers who wish to build only GCC 4.7 have to use NO_GCC44 in the
5866100d1deSJohn Marino/etc/make.conf to prohibit GCC 4.4 from building.  However, using it is
5876100d1deSJohn Marinohighly discouraged.  There are a few packages in pkgsrc that do not build
5886100d1deSJohn Marinowith GCC 4.7 and the new "DPorts" system uses GCC 4.4 by default.  At
5896100d1deSJohn Marinothis time, it is recommended to keep both compilers on the base system.
5906100d1deSJohn Marino
5912089bb7cSSascha WildnerSMP OPTION REMOVED
5922089bb7cSSascha Wildner------------------
5932089bb7cSSascha Wildner
5942089bb7cSSascha WildnerThe SMP kernel option has been made a no-op. All kernels now feature SMP
5952089bb7cSSascha Wildnersupport. If you have 'options SMP' in your kernel config, you can as well
5962089bb7cSSascha Wildnerremove it.
5972089bb7cSSascha Wildner
5981c297ed0SSascha WildnerDEVICE_POLLING OPTION REPLACED BY IFPOLL_ENABLE OPTION, KTR_POLLING REMOVED
5991c297ed0SSascha Wildner---------------------------------------------------------------------------
600640dc18fSSepherosa Ziehau
601640dc18fSSepherosa ZiehauThe DEVICE_POLLING kernel option has been made a no-op and it has been
602640dc18fSSepherosa Ziehaureplaced by IFPOLL_ENABLE.  If you have 'options DEVICE_POLLING' in your
603640dc18fSSepherosa Ziehaukernel config, you need to change it to IFPOLL_ENABLE.
604640dc18fSSepherosa Ziehau
6051c297ed0SSascha WildnerAlso, the KTR_POLLING kernel option has been removed, so it must be
6061c297ed0SSascha Wildnerremoved from kernel configs that have it.
6071c297ed0SSascha Wildner
608558b0a0bSSascha WildnerBUSLOGIC, CYCLADES AND STALLION ISA SUPPORT REMOVED
609558b0a0bSSascha Wildner---------------------------------------------------
610850c4634SSascha Wildner
611850c4634SSascha WildnerThe bt(4) driver for Buslogic SCSI adapters has been made PCI only. ISA
612850c4634SSascha Wildnercards will no longer be detected.
613850c4634SSascha Wildner
614e6f626a1SSascha WildnerThe same has been done for Stallion multiport serial controllers. stli(4)
615e6f626a1SSascha Wildnerhas been completely removed (along with the stlload(8) and stlstty(8)
616558b0a0bSSascha Wildnerutilities) and stl(4) was changed to support only PCI cards. Similarly,
617558b0a0bSSascha WildnerISA support was removed from cy(4) too. All these drivers are i386 only.
618e6f626a1SSascha Wildner
619e98bcb27SSascha WildnerCOMPAT_OLDISA OPTION GONE
620e98bcb27SSascha Wildner-------------------------
621e98bcb27SSascha Wildner
622e98bcb27SSascha WildnerThe i386 specific COMPAT_OLDISA kernel option has been removed, since
623e98bcb27SSascha Wildnernothing needs it anymore.
624e98bcb27SSascha Wildner
625640dc18fSSepherosa Ziehau+-----------------------------------------------------------------------+
62662d4130dSSascha Wildner+         UPGRADING DRAGONFLY FROM 3.0 TO LATER VERSIONS                +
627c691bb43SSascha Wildner+-----------------------------------------------------------------------+
628c691bb43SSascha Wildner
629c691bb43SSascha WildnerAPIC_IO OPTION REMOVED
630c691bb43SSascha Wildner----------------------
631c691bb43SSascha Wildner
632c691bb43SSascha WildnerThe APIC_IO kernel option is no longer accepted after having been without
633c691bb43SSascha Wildnereffect for a while. The hw.ioapic_enable tunable now serves its purpose.
634c691bb43SSascha WildnerIf you have 'options APIC_IO' in your kernel config, you'll have to
635c691bb43SSascha Wildnerremove it.
636c691bb43SSascha Wildner
6376d488cc3SSascha WildnerWATCHDOG_ENABLE & HW_WDOG OPTIONS REMOVED
6386d488cc3SSascha Wildner-----------------------------------------
639cf03d6cdSSascha Wildner
640cf03d6cdSSascha WildnerThe wdog framework is now compiled into our kernels by default, so the
6416d488cc3SSascha Wildneroptions are no longer needed.
642cf03d6cdSSascha Wildner
643397ffc5cSSascha WildnerDOSCMD(1) REMOVED
644397ffc5cSSascha Wildner-----------------
645397ffc5cSSascha Wildner
646397ffc5cSSascha Wildnerdoscmd(1) has been removed. It was i386 only. The doscmd(1) specific
647397ffc5cSSascha WildnerNO_X make.conf option was removed too.
648397ffc5cSSascha Wildner
649a1404d4fSSascha WildnerGCC 4.7
650a1404d4fSSascha Wildner-------
651a1404d4fSSascha Wildner
652a1404d4fSSascha WildnerGCC 4.7 has been brought in and replaces GCC 4.1 as DragonFly's non-
653a1404d4fSSascha Wildnerdefault compiler in base (default is still GCC 4.4).
654a1404d4fSSascha Wildner
655a1404d4fSSascha WildnerUsers who wish to build only GCC 4.4 have to replace NO_GCC41 with
656a1404d4fSSascha WildnerNO_GCC47 in /etc/make.conf.
657a1404d4fSSascha Wildner
6582508820fSSascha WildnerUSB4BSD
6592508820fSSascha Wildner-------
6602508820fSSascha Wildner
6612508820fSSascha WildnerA new USB stack (from FreeBSD) has been brought in. The following
6622508820fSSascha Wildnermodules have been ported so far: usb, uhci, ohci, ehci, xhci, umass,
6632508820fSSascha Wildnerusfs, uether, if_axe, if_udav, ukbd, ums, uep, uhid, usb_quirk,
6642508820fSSascha Wildnerand uaudio.
6652508820fSSascha Wildner
6662508820fSSascha WildnerIt is not yet the default. To activate it, WANT_USB4BSD=yes has to
667c7200221SSascha Wildnerbe put in make.conf and device "usb4bsd" (quotes needed) has to
668c7200221SSascha Wildnerreplace device usb in the kernel config. After that, a full
669c7200221SSascha Wildnerbuild/install/upgrade cycle is needed.
6702508820fSSascha Wildner
6712508820fSSascha WildnerNote that this is experimental and incomplete, but we are interested
6722508820fSSascha Wildnerin hearing about issues with it, of course.
6732508820fSSascha Wildner
674ae0870a3SSascha WildnerISA SUPPORT REMOVED FROM AIC-6260/6360 DRIVER
675ae0870a3SSascha Wildner---------------------------------------------
676ae0870a3SSascha Wildner
677ae0870a3SSascha WildnerISA adapter support was dropped from the aic(4) driver.
678ae0870a3SSascha Wildner
679c691bb43SSascha Wildner+-----------------------------------------------------------------------+
68062d4130dSSascha Wildner+         UPGRADING DRAGONFLY FROM 2.10 TO LATER VERSIONS               +
68196386d4bSSascha Wildner+-----------------------------------------------------------------------+
68296386d4bSSascha Wildner
68396386d4bSSascha WildnerSEVERAL ISA DRIVERS REMOVED
68496386d4bSSascha Wildner---------------------------
68596386d4bSSascha Wildner
68696386d4bSSascha WildnerThe following ISA only drivers have been removed along with a couple of
68796386d4bSSascha Wildnerassociated userland tools:
68896386d4bSSascha Wildner
68996386d4bSSascha Wildneraha(4)
69096386d4bSSascha Wildnerasc(4) & sasc(1)
69196386d4bSSascha Wildnerctx
69296386d4bSSascha Wildnerdgb(4)
69396386d4bSSascha Wildnerel(4)
69496386d4bSSascha Wildnergpib
69596386d4bSSascha Wildnergsc(4) & sgsc(1)
69696386d4bSSascha Wildnerie(4)
69796386d4bSSascha Wildnerlabpc(4)
69896386d4bSSascha Wildnerle(4)
69996386d4bSSascha Wildnermse(4)
70096386d4bSSascha Wildnerrc(4)
70196386d4bSSascha Wildnerrdp(4)
70296386d4bSSascha Wildnerspigot
70396386d4bSSascha Wildnertw(4) & xten(1) & xtend(8)
70496386d4bSSascha Wildnerwl(4) & wlconfig(8)
70596386d4bSSascha Wildnerwt(4)
70696386d4bSSascha Wildner
70796386d4bSSascha WildnerNote that two of these drivers (aha(4) and ie(4)) are in our GENERIC
70896386d4bSSascha Wildnerconfig and one (aha(4)) is in our X86_64_GENERIC kernel configuration
70996386d4bSSascha Wildnerfile.
71096386d4bSSascha Wildner
71196386d4bSSascha WildnerIf buildkernel complains about any of these drivers, just remove them
71296386d4bSSascha Wildnerfrom your kernel configuration.
71396386d4bSSascha Wildner
714919eb219SJohn MarinoBINUTILS 2.20
715919eb219SJohn Marino-------------
71637c5a0dbSJohn MarinoBinutils 2.20 has been removed in favor of Binutils 2.22.  The accepted
717e685772eSJohn Marinovalues of BINUTILSVERS are now binutils221 and binutils222 (default).
718919eb219SJohn Marino
71983bc1e2aSSascha WildnerBUILDWORLD/-KERNEL PARALLELIZATION WORK
72083bc1e2aSSascha Wildner---------------------------------------
72183bc1e2aSSascha WildnerDue to changes in the way we build with more than one make job, you
72283bc1e2aSSascha Wildnerwill have to update install(1) and mkdir(1) prior to buildworld if you
72383bc1e2aSSascha Wildnerwant to build with 'make -j':
72483bc1e2aSSascha Wildner
72583bc1e2aSSascha Wildnercd /usr/src/usr.bin/xinstall; make; make install; make clean
72683bc1e2aSSascha Wildnercd /usr/src/bin/mkdir; make; make install; make clean
72783bc1e2aSSascha Wildner
728eca86bd9SSascha WildnerDMA(8) UPGRADE
729eca86bd9SSascha Wildner--------------
730eca86bd9SSascha Wildnerdma(8) has been upgraded to v0.7 which no longer supports the
731eca86bd9SSascha Wildner/etc/dma/virtusertable. Some of its functionality has been replaced
732eca86bd9SSascha Wildnerwith the MASQUERADE keyword and the EMAIL environment variable (see
733eca86bd9SSascha Wildnerthe dma(8) manual page).
734eca86bd9SSascha Wildner
73596386d4bSSascha Wildner+-----------------------------------------------------------------------+
73662d4130dSSascha Wildner+         UPGRADING DRAGONFLY FROM 2.8 TO LATER VERSIONS                +
737a4a39c94SJustin C. Sherrill+-----------------------------------------------------------------------+
738a4a39c94SJustin C. Sherrill
739b1242318SSascha WildnerGCC 4.4 & BINUTILS 2.21
740b1242318SSascha Wildner-----------------------
74130c91f0cSSascha Wildner
742b1242318SSascha WildnerGCC 4.4 has been made DragonFly's default compiler and Binutils 2.21 has
743b1242318SSascha Wildnerbeen made DragonFly's default Binutils.
74430c91f0cSSascha Wildner
74530c91f0cSSascha WildnerThat means that any settings that set CCVER to 'gcc44' are not needed
74630c91f0cSSascha Wildneranymore. Instead, CCVER can be set to 'gcc41' to go back to using
74730c91f0cSSascha WildnerGCC 4.1.
74830c91f0cSSascha Wildner
749b1242318SSascha WildnerIt also means that 'binutils221' as a value for BINUTILSVER has no
750b1242318SSascha Wildnereffect anymore. 2.17 has been removed and 'binutils220' is available
751b1242318SSascha Wildneras an option.
752b1242318SSascha Wildner
7535738210dSSascha WildnerThe NO_GCC44 option has been removed and will not affect the build
75430c91f0cSSascha Wildneranymore. There is now a NO_GCC41 option that will prevent GCC 4.1 from
75530c91f0cSSascha Wildnerbuilding in a similar fashion.
75630c91f0cSSascha Wildner
75780abb3beSSascha WildnerNote that you must do a full buildworld/buildkernel for upgrading.
75830c91f0cSSascha Wildner
759a4a39c94SJustin C. Sherrillpkg_radd settings
760c983d16eSSascha Wildner-----------------
761a4a39c94SJustin C. Sherrill
762a4a39c94SJustin C. SherrillThe config file for pkg_radd has moved from /etc/settings.conf to
763a4a39c94SJustin C. Sherrill/etc/pkg_radd.conf.  Save the contents of settings.conf before upgrading
764a4a39c94SJustin C. Sherrillif this is needed.  This warning only applies if /etc/settings.conf
765a4a39c94SJustin C. Sherrillexists.  pkg_radd will continue to work with defaults.
766a4a39c94SJustin C. Sherrill
767a4a39c94SJustin C. Sherrill+-----------------------------------------------------------------------+
76872fe41d3SPeter Avalos+         20100927							+
7691bb1cc14SMatthias Schmidt+         UPGRADING DRAGONFLY FROM 2.6 to 2.8 or HEAD			+
770b79f66ddSJoe Talbott+-----------------------------------------------------------------------+
771b79f66ddSJoe Talbott
77272fe41d3SPeter AvalosOpenSSL
773c983d16eSSascha Wildner--------
77472fe41d3SPeter Avalos
77572fe41d3SPeter AvalosOpenSSL has been upgraded, and SHLIB_MAJOR was bumped for libssh and libcrypto.
77672fe41d3SPeter AvalosThis shouldn't break any 3rd-party software, but you'll need to recompile your
77772fe41d3SPeter Avalos3rd-party software if you want it to link against the new version of OpenSSL.
77872fe41d3SPeter Avalos
7798eb0b612SJustin C. SherrillLoader
780c983d16eSSascha Wildner-------
7818eb0b612SJustin C. Sherrill
782b79f66ddSJoe TalbottA new loader (dloader) has been added which better handles booting from
783b79f66ddSJoe Talbottmultiple kernel/module versions.
784b79f66ddSJoe Talbott
785b79f66ddSJoe TalbottTo upgrade (Only for this upgrade, for post 2.8 upgrades see GENERAL below)
786b79f66ddSJoe Talbott
787b79f66ddSJoe Talbott	cd /usr/src
788b79f66ddSJoe Talbott	make buildworld
789b79f66ddSJoe Talbott	make installworld
790b79f66ddSJoe Talbott	make upgrade
791b79f66ddSJoe Talbott	make buildkernel KERNCONF=<KERNELNAME>
792b79f66ddSJoe Talbott	make installkernel KERNCONF=<KERNELNAME>
793b79f66ddSJoe Talbott
794b79f66ddSJoe TalbottNote that you must installworld and run the 'upgrade' target before
795b79f66ddSJoe Talbottinstalling the new kernel.
796b79f66ddSJoe Talbott
7978eb0b612SJustin C. SherrillBIND
798c983d16eSSascha Wildner-----
7998eb0b612SJustin C. Sherrill
8008eb0b612SJustin C. SherrillBIND has been removed from the base system.  The ldns and drill tools have
8018eb0b612SJustin C. Sherrillbeen added for basic functionality.  Use 'drill' where you would normally
8028eb0b612SJustin C. Sherrilluse nslookup or dig, or install BIND from pkgsrc.  It's available as
8038eb0b612SJustin C. Sherrillnet/bind95, net/bind96, or net/bind97 as of this writing.
8048eb0b612SJustin C. Sherrill
8058eb0b612SJustin C. SherrillThis only affects older systems upgrading to 2.8.  New 2.8+ installs
8068eb0b612SJustin C. Sherrillinclude BIND as a pkgsrc package.
8078eb0b612SJustin C. Sherrill
808b79f66ddSJoe Talbott+-----------------------------------------------------------------------+
809d2a0deccSMatthew Dillon+         UPGRADING DRAGONFLY ON AN EXISTING DRAGONFLY SYSTEM		+
810d2a0deccSMatthew Dillon+				GENERAL					+
811d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
812984263bcSMatthew Dillon
813a700883cSSascha WildnerInstructions on how to obtain and maintain DragonFly source code using git
814a700883cSSascha Wildnerare in the development(7) manual page.
815d2a0deccSMatthew Dillon
816d2a0deccSMatthew DillonTo upgrade a DragonFly system from sources you run the following sequence:
817d2a0deccSMatthew Dillon
818d2a0deccSMatthew Dillon	cd /usr/src
819d2a0deccSMatthew Dillon	make buildworld
820d2a0deccSMatthew Dillon	make buildkernel KERNCONF=<KERNELNAME>
821d2a0deccSMatthew Dillon	make installkernel KERNCONF=<KERNELNAME>
822d2a0deccSMatthew Dillon	make installworld
823d2a0deccSMatthew Dillon
824d2a0deccSMatthew DillonYou will also want to run the 'upgrade' target to upgrade your /etc and the
825d2a0deccSMatthew Dillonrest of your system.  The upgrade target is aware of stale files created by
826d2a0deccSMatthew Dillonolder DragonFly installations and should delete them automatically.
827d2a0deccSMatthew Dillon
828d2a0deccSMatthew Dillon	make upgrade
829d2a0deccSMatthew Dillon
830a700883cSSascha WildnerSee the build(7) manual page for further information.
831a700883cSSascha Wildner
832d2a0deccSMatthew DillonOnce you've done a full build of the world and kernel you can do incremental
833d2a0deccSMatthew Dillonupgrades of either by using the 'quickworld' and 'quickkernel' targets
834d2a0deccSMatthew Dilloninstead of 'buildworld' and 'buildkernel'.  If you have any problems with
835a700883cSSascha Wildnerthe quick targets, try updating your repo first, and then a full buildworld
836d2a0deccSMatthew Dillonand buildkernel as shown above, before asking for help.
8374523a2c0SThomas Nikolajsen
8384523a2c0SThomas Nikolajsen+-----------------------------------------------------------------------+
8394523a2c0SThomas Nikolajsen+         UPGRADING FROM DRAGONFLY <= 2.0 TO DRAGONFLY >= 2.1		+
8404523a2c0SThomas Nikolajsen+-----------------------------------------------------------------------+
8414523a2c0SThomas Nikolajsen
8424523a2c0SThomas NikolajsenIn 2.1 kernel and modules has moved to boot directory.  For most cases
8434523a2c0SThomas Nikolajsenthis is handled automatically by 'make upgrade'.  A few cases needs manual
8444523a2c0SThomas Nikolajsenintervention:
8454523a2c0SThomas Nikolajsen
8464523a2c0SThomas Nikolajsen * When installing a kernel without first doing a make buildworld,
8474523a2c0SThomas Nikolajsen   installworld and upgrade to the same DESTDIR as kernel:
8484523a2c0SThomas Nikolajsen   make DESTDIR/boot directory and move kernel and modules into this boot
8494523a2c0SThomas Nikolajsen   directory; also move kernel.old and modules.old.
8504523a2c0SThomas Nikolajsen   Typical example is vkernel(7), use (no modules used):
8514523a2c0SThomas Nikolajsen
8524523a2c0SThomas Nikolajsen	cd /var/vkernel
8534523a2c0SThomas Nikolajsen	mkdir boot
8544523a2c0SThomas Nikolajsen	chflags noschg kernel
8554523a2c0SThomas Nikolajsen	mv kernel kernel.old boot
8564523a2c0SThomas Nikolajsen	chflags schg boot/kernel
8574523a2c0SThomas Nikolajsen
8584523a2c0SThomas Nikolajsen * When using a boot-only partition, /boot/loader.rc needs to be edited:
8594523a2c0SThomas Nikolajsen   delete occurrences of '/boot/'.
860*bbb35c81SSascha Wildner   These occurrences can normally be deleted in any case, see loader(8).
861d2a0deccSMatthew Dillon
862d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
863d2a0deccSMatthew Dillon+         UPGRADING FROM DRAGONFLY <= 1.8 TO DRAGONFLY >= 1.9		+
864d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
865d2a0deccSMatthew Dillon
866d2a0deccSMatthew DillonIn 1.9 major changes to the disk management infrastructure have taken
867d2a0deccSMatthew Dillonplace.  make upgrade may not catch all of your disk devices in /dev,
868d2a0deccSMatthew Dillonso after upgrading be sure to cd /dev; ./MAKEDEV <blah> where <blah>
86945e80934SMatthew Dillonare all of your disk devices.  HOWEVER, from late 2.3 on we run devfs
87045e80934SMatthew Dillonand MAKEDEV no longer exists.
871d2a0deccSMatthew Dillon
872d2a0deccSMatthew DillonThe biggest changes in 1.9 are:
873d2a0deccSMatthew Dillon
874d2a0deccSMatthew Dillon(1) That whole-slice devices such as da0s1 no longer share the same device
875d2a0deccSMatthew Dillon    id as partition c devices such as da0s1c.
876d2a0deccSMatthew Dillon
877d2a0deccSMatthew Dillon(2) The whole-disk device (e.g. da0) is full raw access to the disk,
878d2a0deccSMatthew Dillon    with no snooping or reserved sectors.  Consequently you cannot run
879d2a0deccSMatthew Dillon    disklabel on this device.  Instead you must run disklabel on a
880d2a0deccSMatthew Dillon    whole-slice device.
881d2a0deccSMatthew Dillon
882d2a0deccSMatthew Dillon(3) The 'compatibility' partitions now use slice 0 in the device name,
883d2a0deccSMatthew Dillon    so instead of da0a you must specify da0s0a.  Also, as per (1) above,
884d2a0deccSMatthew Dillon    accessing the disklabel for the compatibility partitions must be
885d2a0deccSMatthew Dillon    done via slice 0 (da0s0).
886d2a0deccSMatthew Dillon
887d2a0deccSMatthew Dillon(4) Many device drivers that used to fake up labels, such as CD, ACD, VN,
888d2a0deccSMatthew Dillon    and CCD now run through the disk management layer and are assigned
889d2a0deccSMatthew Dillon    real disk management devices.   VN and CCD in particular do not usually
890d2a0deccSMatthew Dillon    use a MBR and disklabels must be accessed through the compatibility
891d2a0deccSMatthew Dillon    slice 0.  Your /etc/ccd.conf file still specifies 'ccd0', though, you
892d2a0deccSMatthew Dillon    don't name it 'ccd0s0' in the config file.
893d2a0deccSMatthew Dillon
894d2a0deccSMatthew DillonGenerally speaking, you have to get used to running fdisk and disklabel on
895d2a0deccSMatthew Dillonthe correctly specified device names.  A lot of the wiggle, such as running
896d2a0deccSMatthew Dillondisklabel on a partition, has been removed.
897d2a0deccSMatthew Dillon
898d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
899d2a0deccSMatthew Dillon+         UPGRADING FROM OLDER VERSIONS OF DRAGONFLY OR FREEBSD		+
900d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
901d2a0deccSMatthew Dillon
902d2a0deccSMatthew Dillon> Kerberos IV
903d2a0deccSMatthew Dillon-------------
904d2a0deccSMatthew Dillon
905d2a0deccSMatthew DillonKerberos IV (eBones) was removed from the tree, please consider moving to
906d2a0deccSMatthew DillonKerberos 5 (Heimdal).
907d2a0deccSMatthew Dillon
908d2a0deccSMatthew Dillon> Package Management System
909d2a0deccSMatthew Dillon---------------------------
910d2a0deccSMatthew Dillon
911d2a0deccSMatthew DillonStarting with the 1.4 release, DragonFly uses NetBSD's pkgsrc package
912d2a0deccSMatthew Dillonmanagement system.  The necessary tools to build and maintain packages
913d2a0deccSMatthew Dillonare provided in /usr/pkg/bin and /usr/pkg/sbin.  Make sure that these
914d2a0deccSMatthew Dillondirectories are in your PATH variable.
915d2a0deccSMatthew Dillon
916d2a0deccSMatthew DillonIn order to obtain a reasonably current snapshot of the pkgsrc tree, use
917d2a0deccSMatthew Dillonthe tarball from NetBSD:
918d2a0deccSMatthew Dillon
919d2a0deccSMatthew Dillon	fetch -o /tmp/pkgsrc.tar.gz ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc.tar.gz
920d2a0deccSMatthew Dillon	cd /usr; tar -xzf /tmp/pkgsrc.tar.gz; chown -R root:wheel pkgsrc
921d2a0deccSMatthew Dillon
922d2a0deccSMatthew DillonThis tree can then be kept up to date with cvs update:
923d2a0deccSMatthew Dillon
924d2a0deccSMatthew Dillon	cd /usr/pkgsrc; cvs up
925d2a0deccSMatthew Dillon
926d2a0deccSMatthew DillonNOTE! If you upgraded from a pre-1.4 system to 1.4 or later, you need to
927d2a0deccSMatthew Dillonbuild and install the pkgsrc bootstrap manually:
928d2a0deccSMatthew Dillon
929d2a0deccSMatthew Dillon	cd /usr/pkgsrc/bootstrap
930d2a0deccSMatthew Dillon	./bootstrap --pkgdbdir /var/db/pkg --prefix /usr/pkg
931d2a0deccSMatthew Dillon
932d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
933d2a0deccSMatthew Dillon+         UPGRADING DRAGONFLY ON AN EXISTING DRAGONFLY SYSTEM		+
934d2a0deccSMatthew Dillon+         UPDATING FROM PRE-1.2 SYSTEMS OR FreeBSD 4.x TO               +
935d2a0deccSMatthew Dillon+         DRAGONFLY 1.3+ (EITHER PREVIEW or HEAD)                       +
936d2a0deccSMatthew Dillon+-----------------------------------------------------------------------+
93758116288SJoerg Sonnenberger
938114580acSSascha WildnerThe compatibility shims for the build environment have been removed, you
93958116288SJoerg Sonnenbergerhave to update to DragonFly 1.2 release branch first.
94058116288SJoerg Sonnenberger
9411fcc7462SJoerg SonnenbergerThe default PAM configuration has moved from /etc/pam.conf to /etc/pam.d/.
9421fcc7462SJoerg SonnenbergerThe existing configuration can be converted using /etc/pam.d/convert.sh.
9431fcc7462SJoerg SonnenbergerEntries in /etc/pam.d/ override entries in /etc/pam.conf. In addition
9441fcc7462SJoerg Sonnenbergerthe pam_skey.so module was retired, you have to remove it manually from
9451fcc7462SJoerg Sonnenbergeryour configuration, when you convert it.
94658116288SJoerg Sonnenberger
947a3107071SMatthew Dillon> Required user and group IDs when upgrading from either FreeBSD or DragonFly
948a3107071SMatthew Dillon---------------------
949a3107071SMatthew Dillon
950a3107071SMatthew DillonThe following users may be missing from your password file.  Use vipw and
951a3107071SMatthew Dillonadd any that are missing:
952a3107071SMatthew Dillon
953a3107071SMatthew Dillonsmmsp:*:25:25::0:0:Sendmail Submission User:/var/spool/clientmqueue:/sbin/nologin
954dcf85892SJoerg Sonnenberger_pflogd:*:64:64::0:0:pflogd privsep user:/var/empty:/sbin/nologin
955a3107071SMatthew Dillon
956a3107071SMatthew DillonThe following groups may be missing from your group file.  Use vi /etc/group
957a3107071SMatthew Dillonand add any that are missing:
958a3107071SMatthew Dillon
959a3107071SMatthew Dillonsmmsp:*:25:
960a3107071SMatthew Dillonauthpf:*:63:
961dcf85892SJoerg Sonnenberger_pflogd:*:64:
962a3107071SMatthew Dillon
963a3107071SMatthew Dillon
964f419dacaSMatthew Dillon> Upgrading to DragonFly from FreeBSD
965984263bcSMatthew Dillon---------------------
966984263bcSMatthew Dillon
967f419dacaSMatthew DillonYou can build the DragonFly world and DragonFly kernels on a FreeBSD-4.x or
968f419dacaSMatthew DillonFreeBSD-5.x machine and then install DragonFly over FreeBSD, replacing
969f419dacaSMatthew DillonFreeBSD.  Note that the DragonFly buildworld target does not try to reuse
970f419dacaSMatthew Dillonmake depend information, it starts from scratch, so no pre-cleaning of the
971f419dacaSMatthew Dillonobject hierarchy is necessary.
972984263bcSMatthew Dillon
973466bbc10SHiten Pandya	# get the CVS repository (it is placed in /home/dcvs, 500MB).
974f419dacaSMatthew Dillon	# Please use the -h option and a mirror site to pull the
975f419dacaSMatthew Dillon	# initial repository, but feel free to use the main repository
976f419dacaSMatthew Dillon	# machine to pull updates.
9775010eeb3SSascha Wildner	cvsup /usr/share/examples/cvsup/DragonFly-cvs-supfile
978f419dacaSMatthew Dillon	# install the source from the CVS hierarchy (remove preexisting
979f419dacaSMatthew Dillon	# FreeBSD src first) (500MB)
980f419dacaSMatthew Dillon	cd /usr
981f419dacaSMatthew Dillon	rm -rf src
98250172b1cSDavid Rhodus	cvs -R -d /home/dcvs checkout -P src
983984263bcSMatthew Dillon
984f419dacaSMatthew Dillon	# build it (500MB used in /usr/obj)
985f419dacaSMatthew Dillon	#
986fb12f484SMatthew Dillon	cd /usr/src
987fb12f484SMatthew Dillon	make buildworld
988f419dacaSMatthew Dillon	make buildkernel KERNCONF=<KERNELNAME>
989f419dacaSMatthew Dillon
990f419dacaSMatthew DillonOnce you have built DragonFly you have to install it over FreeBSD.  Since
991f419dacaSMatthew DillonDragonFly does not track changes made by FreeBSD to its include file
992f419dacaSMatthew Dillonhierarchy and include file pollution can cause all sorts of unexpected
993f419dacaSMatthew Dilloncompilation issues to come up, it is best to wipe your include hierarchy
994f419dacaSMatthew Dillonprior to installing DragonFly.  Note that you should not wipe any installed
995f419dacaSMatthew DillonFreeBSD header files or binaries until after you have successfully completed
996f419dacaSMatthew Dillonthe build steps above.
997f419dacaSMatthew Dillon
998f419dacaSMatthew Dillon	rm -rf /usr/include
999f419dacaSMatthew Dillon	mkdir /usr/include
1000f419dacaSMatthew Dillon	make installkernel KERNCONF=<KERNELNAME>
1001fb12f484SMatthew Dillon	make installworld
1002fb12f484SMatthew Dillon
1003b8cbf045SSascha WildnerThen you need to upgrade your system.  DragonFly's 'make upgrade' target
1004f419dacaSMatthew Dillonwill unconditionally upgrade the /etc files that sysops do not usually
1005b8cbf045SSascha Wildnermess around with, such as the files in /etc/rc.d.  It will also remove any
1006b8cbf045SSascha Wildnerobsolete files such as utilities and manpages that have been removed from
1007b8cbf045SSascha Wildnerthe system since the version you're coming from.  If you are unsure we
1008b8cbf045SSascha Wildnerrecommend that you make a backup of at least your /etc before applying
1009b8cbf045SSascha Wildnerthis step.  Note that DragonFly's RC system is basically RCNG from
1010b8cbf045SSascha WildnerFreeBSD-5, but there are some differences in the contents of the RC files.
1011f419dacaSMatthew Dillon
1012f419dacaSMatthew Dillon	make upgrade
1013f419dacaSMatthew Dillon
1014b8cbf045SSascha WildnerNOTE! Never do a 'make upgrade' before 'make installworld' has been run.
1015b8cbf045SSascha WildnerDoing so might leave your system in an unusable state.
1016b8cbf045SSascha Wildner
1017f419dacaSMatthew DillonFinally we recommend that you do an 'ls -lta BLAH' for /bin, /sbin, /usr/bin,
1018b8cbf045SSascha Wildner/usr/bin, and /usr/lib, and remove any stale files that you find.  Please
1019b8cbf045SSascha Wildnerreport these files to the DragonFly developers so that they can be added to
1020b8cbf045SSascha Wildnerthe 'upgrade' target.
1021f419dacaSMatthew Dillon
1022