ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 1345
Committed: Fri Nov 23 22:26:26 2007 UTC (16 years, 6 months ago) by laffer1
File size: 14228 byte(s)
Log Message:
Update sendmail to 8.14.2

Add comment about the older mksh update.

File Contents

# Content
1 Updating Information for MidnightBSD users
2
3 Items affecting the mports and packages system can be found in
4 /usr/mports/UPDATING.
5
6 20071123:
7 Update sendmail to 8.14.2
8
9 20071120:
10 Update system compiler to gcc 3.4.6.
11
12 20071023:
13 Updated mksh to R31d.
14
15 20070911:
16 Updated mksh to version R31b.
17
18 Fixed stderr output in libpthread. Previously it was
19 written to stdout.
20
21 20070831:
22 Added dot.mkshrc file to support the recent change to
23 mksh from OpenBSD's ksh derived from pdksh.
24
25 Added new firewall configuration. ipfw is enabled by default
26 with a "desktop" configuration. Consult /etc/rc.firewall
27 or ipfw show to see the ruleset used. You can disable
28 ipfw by setting firewall_enable="NO" in /etc/rc.conf This
29 change only effects IPv4. IPv6 does not have a firewall
30 enabled by default.
31
32 20070814:
33 Removed GNU tar source. We've been using BSD tar
34 for awhile.
35
36 20070806:
37 Finished removing umapfs and autofs from the tree.
38
39 20070804:
40 BIND and Tcpdump have been patched for recent vulnerabilities.
41
42 We switched to BSD cpio (pax).
43
44 20070719:
45 Imported cpdup from DragonFly as /bin/cpdup
46
47 20070716:
48 Update GNU cpio to 2.8.
49
50 20070410:
51 cvs was updated to 1.12.13. cvsbug was removed.
52 cvs now behaves similarly to DragonFly's cvs with
53 most of their local changes.
54
55 20070409:
56 RELENG_0_1 was created. More aggresive changes will
57 continue here.
58
59 20070406:
60 Back out propolice. propolice caused several problems
61 with our threading libraries libthr and libpthread.
62 curthread was often NULL after the patch and many
63 multithreaded applications would crash. We plan to
64 work on either bringing in gcc 4.1 or developing a new
65 patch which also corrects our threading issues later.
66
67 It is more important to have a stable system for our
68 mport work and other projects at this time.
69
70 This is not a clean removal. It is recommended that you
71 have a recently SNAP CD handy. You can either reinstall
72 or perform a make buildworld and make buildkernel and
73 make installkernel. Reboot on the cd and copy the contents
74 of /bin, /sbin, /lib, /libexec, and /usr/bin, /usr/sbin,
75 /usr/lib, and /usr/libexec to the respective directories on
76 your disk. Then you should be able to boot into single user
77 mode and run make installworld. You will need to run
78 chflags noschg on some of the files if you can't overwrite
79 them.
80
81 You will get __guard missing errors since we had to remove
82 this from libc.
83
84 You will need to rebuild any ports built while propolice was
85 installed.
86
87 20070401:
88 Importing propolice into MidnightBSD. Propolice is going to
89 provide us with much greater security and stability in the
90 long run. If upgrading from a pre-propolice system, please
91 follow the these instructions:
92
93 cd /usr/src/lib/libc && make obj && make && make install
94 cd /usr/src/gnu/usr.bin/cc && make obj && make && make install
95 cd /usr/src/lib/libpthread && make obj && make && make install
96 cd /usr/src/lib/libthr && make obj && make && make install
97 buildworld and kernel
98
99 It is adviced that any mports which were installed and/or built
100 prior to the propolice update also be updated. If any errors
101 or issue are encounted, please contact security@midnightbsd.org
102 and we will be sure to investigate and come up with an expeditious
103 fix.
104
105 20070314:
106 Remove send-pr from src.
107
108 Switch to NetBSD's gzip.
109
110 Bump MBSD minor revision.
111
112 20070313:
113 Imported OpenSSH 4.6p1.
114
115 Imported FreeBSD's libarchive and updated tar to work with it.
116
117 Disabled debug statements cluttering up /var/log/messages for
118 the tcp autobuf patch applied previously.
119
120 20070312:
121 Synced several audio changes from FreeBSD 6.1. Removed the
122 BSD Daemon files from src/share.
123
124 20070308:
125 Added mfi which supports LSI Logic MegaRAID SAS devices including
126 the Dell perc5i.
127
128 20070206:
129 Imported OpenBSD's sudo into source. Please install
130 /usr/src/usr.bin/sudo/lib first before building.
131
132 Those who install from a snapshot after this date
133 will not be effected.
134
135 20070119:
136 Added audit group. Be sure to add audit to your /etc/group file
137 before installing world.
138
139 hostapd was updated to 0.4.8.
140
141 An accidental commit in usr.sbin/bluetooth/hccontrol was fixed to
142 unbreak world.
143
144 wpa_supplicant was updated.
145
146 For stability and compatibility reasons, it was decided that MidnightBSD
147 sync with FreeBSD 6.1 Release. Nearly every change between the original
148 fork date of February 24, 2006 and the release of FreeBSD 6.1 in May
149 2006 will be merged. Beyond this, MidnightBSD will be a "real" fork and
150 will not sync every little change with FreeBSD.
151
152 20061231:
153 Updated COPYRIGHT for 2007.
154
155 Updated and bumped libutil after importing NetBSD efun(3) functions.
156
157 Added MidnightBSD_version and bumped the FreeBSD version as we've
158 synced all commits between the fork and that version. It is now safe
159 to assume MidnightBSD is compatible with FreeBSD RELENG_6 from
160 Feb 26, 2006.
161
162 Added spell(1) and deroff(1) from NetBSD. Also added additional
163 dict files to work with it. /usr/share/dict/american,
164 /usr/share/dict/british and /usr/share/dict/special/math
165
166 Numerous man page and bug fixes.
167
168 20061226:
169 Setup /usr/share/examples/cvsup SUPfiles for the new
170 MidnightBSD CVSup server.
171
172 Fix a bug in burncd where it would continue forever while
173 erasing CDRW media.
174
175 Add csup to /usr/bin. csup is a CVSup replacement written
176 in C.
177
178 Fixed a bug with bsnmpd build from Oct 30.
179
180 Corrected some race conditions and fixed a few bugs in
181 geom. Imported changes from FreeBSD RELENG_6.
182
183 20061225:
184 Fixed a typo in src/lib/libc/sparc64/fpu/fpu_implode.c
185 that caused long double to long and long long
186 conversion of negative numbers to always result in -1.
187
188 20061221:
189 Fixed acpi_battery.c to not report an ERROR if no
190 batteries are present.
191
192 Performed some minor updates on the RL and RE NIC drivers.
193 RL should no longer panic when trying to print errors.
194
195 Corrected a bug with TTY.
196
197 20061218:
198 Corrected a bug with libpthread where newly created suspended
199 threads don't get scheduled.
200
201 20061206:
202 Fixed a typo with the firewire security patch.
203
204 20061129:
205 Minor cleanups to utilities in bin.
206
207 Fixed msdos file system short file name behavior to match
208 FreeBSD.
209
210 20061031:
211 Updated man pages in section 7.
212
213 20061030:
214 Updated sys/dev/drm to support intel 915 and radeon
215 r300 cards properly.
216
217 Synced snmpd with FreeBSD-stable.
218
219 Fixed a bug in rm which could cause data loss.
220
221 20061027:
222 Added Intel ICH8 and nForce 5 support to ATA. cam, mpt,
223 random, kbdmux, atkbd, and usb were updated. Changes
224 to clearing registers on SSE enabled processors (i386)
225 commited.
226
227 lukemftpd updated.
228
229 openssh rc script was altered which effects initial
230 seeding.
231
232 20061014:
233 Workaround for em driver problem on shared IRQ.
234
235 Started removal of alpha support.
236
237 20061013:
238 ATA driver was updated. USB/USB1/USB2 types added.
239
240 20061010:
241 OpenSSH was updated to 4.4p1.
242
243 20060909:
244 OpenNTPD was added to MidnightBSD. Run make delete-old to remove
245 the old ntpd daemon.
246
247 cat has a new option -D which allows you to timestamp output
248 on a per line basis.
249
250 The kernel has a keyboard mux which allows you to have multiple
251 keyboard connected simultaneously. USB keyboard support was also
252 improved with this patch.
253
254 The Intel em driver was updated. Network performance was greatly
255 increased on many systems. Additional models are supported.
256
257 The ATA driver was patched to fix a potential deadlock.
258
259 Bind was patched to fix a potential denial of service condition.
260
261 20060817:
262 ksh has been added to the base system. If you previously had
263 the port installed, it will be overwritten on the next buildworld.
264
265
266
267 To build a kernel
268 -----------------
269 If you are updating from a prior version of MidnightBSD (even one just
270 a few days old), you should follow this procedure. With a
271 /usr/obj tree with a fresh buildworld,
272 make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE
273 make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE
274
275 To test a kernel once
276 ---------------------
277 If you just want to boot a kernel once (because you are not sure
278 if it works, or if you want to boot a known bad kernel to provide
279 debugging information) run
280 make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel
281 nextboot -k testkernel
282
283 To just build a kernel when you know that it won't mess you up
284 --------------------------------------------------------------
285 This assumes you are already running a 6.X system. Replace
286 ${arch} with the architecture of your machine (e.g. "i386",
287 "amd64", "ia64", "pc98", "sparc64", etc).
288
289 cd src/sys/${arch}/conf
290 config KERNEL_NAME_HERE
291 cd ../compile/KERNEL_NAME_HERE
292 make depend
293 make
294 make install
295
296 If this fails, go to the "To build a kernel" section.
297
298 To rebuild everything and install it on the current system.
299 -----------------------------------------------------------
300 # Note: sometimes if you are running current you gotta do more than
301 # is listed here if you are upgrading from a really old current.
302
303 <make sure you have good level 0 dumps>
304 make buildworld
305 make kernel KERNCONF=YOUR_KERNEL_HERE
306 [1]
307 <reboot in single user> [3]
308 mergemaster -p [5]
309 make installworld
310 make delete-old
311 mergemaster [4]
312 <reboot>
313
314
315 To cross-install current onto a separate partition
316 --------------------------------------------------
317 # In this approach we use a separate partition to hold
318 # current's root, 'usr', and 'var' directories. A partition
319 # holding "/", "/usr" and "/var" should be about 2GB in
320 # size.
321
322 <make sure you have good level 0 dumps>
323 <boot into -stable>
324 make buildworld
325 make buildkernel KERNCONF=YOUR_KERNEL_HERE
326 <maybe newfs current's root partition>
327 <mount current's root partition on directory ${CURRENT_ROOT}>
328 make installworld DESTDIR=${CURRENT_ROOT}
329 cd src/etc; make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
330 make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
331 cp /etc/fstab ${CURRENT_ROOT}/etc/fstab # if newfs'd
332 <edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
333 <reboot into current>
334 <do a "native" rebuild/install as described in the previous section>
335 <maybe install compatibility libraries from src/lib/compat>
336 <reboot>
337
338
339 To upgrade in-place from 5.x-stable or higher to 6.x-stable
340 -----------------------------------------------------------
341 <make sure you have good level 0 dumps>
342 make buildworld [9]
343 make kernel KERNCONF=YOUR_KERNEL_HERE [8]
344 [1]
345 <reboot in single user> [3]
346 mergemaster -p [5]
347 make installworld
348 make delete-old
349 mergemaster -i [4]
350 <reboot>
351
352 Make sure that you've read the UPDATING file to understand the
353 tweaks to various things you need. At this point in the life
354 cycle of current, things change often and you are on your own
355 to cope. The defaults can also change, so please read ALL of
356 the UPDATING entries.
357
358 Also, if you are tracking -current, you must be subscribed to
359 freebsd-current@freebsd.org. Make sure that before you update
360 your sources that you have read and understood all the recent
361 messages there. If in doubt, please track -stable which has
362 much fewer pitfalls.
363
364 [1] If you have third party modules, such as vmware, you
365 should disable them at this point so they don't crash your
366 system on reboot.
367
368 [3] From the bootblocks, boot -s, and then do
369 fsck -p
370 mount -u /
371 mount -a
372 cd src
373 adjkerntz -i # if CMOS is wall time
374 Also, when doing a major release upgrade, it is required that
375 you boot into single user mode to do the installworld.
376
377 [4] Note: This step is non-optional. Failure to do this step
378 can result in a significant reduction in the functionality of the
379 system. Attempting to do it by hand is not recommended and those
380 that pursue this avenue should read this file carefully, as well
381 as the archives of freebsd-current and freebsd-hackers mailing lists
382 for potential gotchas.
383
384 [5] Usually this step is a noop. However, from time to time
385 you may need to do this if you get unknown user in the following
386 step. It never hurts to do it all the time.
387
388 [8] In order to have a kernel that can run the 5.x binaries
389 needed to do an installworld, you must include the COMPAT_FREEBSD5
390 option in your kernel. Failure to do so may leave you with a system
391 that is hard to boot to recover. A similar kernel option COMPAT_FREEBSD5
392 is required to run the 5.x binaries on more recent kernels.
393
394 Make sure that you merge any new devices from GENERIC since the
395 last time you updated your kernel config file.
396
397 [9] When checking out sources, you must include the -P flag to have
398 cvs prune empty directories.
399
400 If CPUTYPE is defined in your /etc/make.conf, make sure to use the
401 "?=" instead of the "=" assignment operator, so that buildworld can
402 override the CPUTYPE if it needs to.
403
404 MAKEOBJDIRPREFIX must be defined in an environment variable, and
405 not on the command line, or in /etc/make.conf. buildworld will
406 warn if it is improperly defined.
407
408 Copyright information:
409
410 Copyright 1998-2005 M. Warner Losh. All Rights Reserved.
411
412 Redistribution, publication, translation and use, with or without
413 modification, in full or in part, in any form or format of this
414 document are permitted without further permission from the author.
415
416 THIS DOCUMENT IS PROVIDED BY WARNER LOSH ``AS IS'' AND ANY EXPRESS OR
417 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
418 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
419 DISCLAIMED. IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT,
420 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
421 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
422 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
423 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
424 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
425 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
426 POSSIBILITY OF SUCH DAMAGE.
427
428 If you find this document useful, and you want to, you may buy the
429 author a beer.
430
431 Contact Warner Losh if you have any questions about your use of
432 this document.
433
434 $FreeBSD: src/UPDATING,v 1.416.2.18 2006/02/22 11:51:57 yar Exp $
435 $MidnightBSD: src/UPDATING,v 1.28 2007/11/23 21:58:39 laffer1 Exp $

Properties

Name Value
cvs2svn:cvs-rev 1.29