ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Download File | Root Listing
root/midnightbsd-cvs/src/UPDATING
Revision: 1.122
Committed: Wed May 18 13:59:13 2011 UTC (12 years, 11 months ago) by laffer1
Branch: MAIN
Changes since 1.121: +7 -1 lines
Log Message:
Perl & sendmail have been updated.

File Contents

# Content
1 Updating Information for MidnightBSD users
2
3 20110518:
4 Perl 5.14.0
5
6 20110517:
7 Sendmail 8.14.5
8
9 20110314:
10 DRM/DRI code updated to support newer video cards. (FreeBSD 7.1)
11
12 cdevpriv wrappers added
13
14 nss_mdns hack introduced to work around linking problem.
15
16 dnsextd fixed after update to mDNSResponder code.
17
18 20110308:
19 Introduce liblzma & xz 5.0.1 to the base system
20
21 Patch for OpenSSL security issue CVE-2011-0014.
22
23 "OSREVISION 4004"
24
25 nsswitch module for multicast dns (nss_mdns) added.
26
27 tzdata2011c
28
29 20110220:
30 cam(4) syncronized with FreeBSD 7.3.
31
32 20110219:
33 amdtemp(4) updated to support sensors framework.
34
35 20110217:
36 Perl 5.10.1 imported
37
38 20110216:
39 Introduce igb(4) and split Intel Gigabit Ethernet adapters between
40 igb(4) and em(4). Newer devices use igb(4). The code has moved
41 to sys/dev/e1000 for both devices in the kernel. igb(4) has
42 been placed in GENERIC on i386 and amd64.
43
44 Update bfe(4) to support newer devices and WOL.
45
46 20110215:
47 age(4) added.
48
49 20110208:
50 BIND 9.6.3 which fixes a bug with DNSSEC records getting added.
51
52 20110206:
53 eeemon(4) added to monitor Asus Eee PC.
54
55 20110205:
56 OpenSSH 5.7p1
57
58 GNU sort 6.9 (coreutils)
59
60 20110203:
61 one true awk 20100523 imported
62
63 sqlite 3.7.5
64
65 OpenSSL 0.9.8q
66
67 20110202:
68 tcsh 6.17.00
69
70 file 5.05
71
72 20110122:
73 Import it(4) and lm(4), with support for Super I/O hardware monitors. This
74 uses the sensors framework ported by Constantine A. Murenin (GSOC2007)
75
76 20110120:
77 BIND 9.6.2-P3
78
79 sudo 1.7.4-p6
80
81 20110115:
82 Add experimental jme(4) for Jmicron ethernet devices.
83
84 20101130:
85 A double free exists in the SSL client ECDH handling code, when
86 processing specially crafted public keys with invalid prime
87 numbers. [CVE-2010-2939]
88
89 20101120:
90 Several portions of the kernel and userland code related to UFS file
91 systems (and UFS2) cannot properly handle inode counts above 2^31 due
92 to use of int types. Based on a patch from FreeBSD, I've modified
93 our UFS2 implementation to handle unsigned values for inode counts
94 which should allow for file systems greater than 16TB.
95
96 newfs and growfs was also modified.
97
98 20101110:
99 Fix a security issue with pseudofs which could result in running code in kernel
100 context or a kernel panic depending on system configuration. This affects file
101 systems such as procfs for instance.
102
103 20101021:
104 sysrc is a utility to print and modify name/value pairs in /etc/rc.conf easily.
105 This is similar to functions present in many linux distros. The utility was
106 written by Devin Teske for FreeBSD.
107
108 20100920:
109 bzip2 security patch for integer overflow.
110
111 20100905:
112 MidnightBSD RELENG_0_3 branch created. Aggressive development continues here
113 for 0.4.
114
115 20100902:
116 Fix a security issue with libutil that allows users to bypass cpu limits in
117 login.conf in some cases. This combined with OpenSSH for example can allow
118 the user to get more resources than they're allowed.
119
120 20100822:
121 Import Apple's mDNSResponder (mdnsd).
122
123 20100814:
124 libdispatch added to MidnightBSD. This provides functionality found in
125 Mac OS X's GCD. We do not have blocks support yet. As this code is
126 licensed under Apache 2, we create a new MK_APACHE option so that
127 it's not required for all users to run code under a license they
128 may not like.
129
130 20100713:
131 mbuf readonly fix related to sendfile(2) data corruption.
132
133 20100704:
134 brainfuck(1) imported from MirBSD.
135
136 20100505:
137 zlib 1.2.5
138
139 20100430:
140 Sudo 1.7.2p6 imported
141
142 20100321:
143 Update zlib to 1.2.4
144
145 20100319:
146 Removed i586 from default i386 generic kernel.
147
148 20100317:
149 Update to tzdata2010e (time zones). This includes changes in
150 Mexico.
151
152 Add support for several newer sound cards via hda including
153 ATI and Realtek chipsets.
154
155 20100313:
156 CPU detection has been changed. VIA Padlock detection added.
157
158 20100312:
159 Fix a number of bugs and compiler warnings in libmport. Handle
160 plus signs in paths for mport.check-fake
161
162 20100311:
163 mksh R39c
164
165 20100309:
166 Sudo 1.7.2p5
167
168 sqlite3 3.6.23
169
170 mksh R39b
171
172 libffi (ffi) 3.0.9
173
174 20100206:
175 WITHOUT_LIB32 is no longer needed on AMD64. GCC was fixed to
176 properly pass arguments to ld.
177
178 re(4) and rl(4) have been updated to support several new
179 realtek chipsets. Performance has been improved on re(4).
180
181 20100204:
182 Fix a bug cropping up on AMD64 MidnightBSD with sftp
183 segfaulting.
184
185 20100116:
186 Import ash changes from FreeBSD (bin/sh) 8-Stable.
187
188 BIND 9.6.1-P2
189
190 20100110:
191 Import Sendmail 8.14.4. Fix for SSL vulnerability.
192
193 posix_spawn(3) added to MidnightBSD libc. Users may need to build and
194 install libc before doing a full buildworld when upating from 0.2 or
195 older current systems.
196
197 kqueue(2) was modified to support portions of libdispatch functionality.
198
199 20100106:
200 Bind security update. Fix a bug with DNSSEC that causes negative
201 cache entries and thus a possible DNS cache poisoning attack.
202
203 Fix a bug in ZFS that can reset permissions on system crashes.
204
205 20091228:
206 amdtemp(4) was added. It allows one to monitor to the temperature
207 of an AMD CPU such as a Phenom.
208
209 20091205:
210 OpenSSL security fix
211
212 The SSL version 3 and TLS protocols support session renegotiation without
213 cryptographically tying the new session parameters to the old parameters.
214
215 20091128:
216 OpenBSD sensors framework imported including sensorsd(8)
217
218 20091126:
219 OpenNTPD 4.4 import
220
221 Update OpenSSH to 5.3p1
222
223 mksh R39
224
225 20091124:
226 cpdup updated from DragonFly to 1.15
227
228 tzdata2009s updated with latest timezone data for November 2009.
229
230 20091010:
231 amd64 users should use WITHOUT_LIB32=yes in /etc/make.conf for now
232 to test current.
233
234 Revert unicode filename fixes from ntfs code. This was causing chaos
235 on amd64 systems.
236
237 20091006:
238 Update timezone data with tzdata2009n with the Pakistan and
239 Argentina changes.
240
241 Sync several userland utilities with versions from FreeBSD 7.0 in
242 sbin and usr.sbin.
243
244 20090919:
245 Update timezone data with tzdate2009m from September 2009.
246
247 20090729:
248 Patch for Bind 9 security vulnerability. a dynmaic update packet
249 can trigger an assertion and cause named to exit
250
251 20090606:
252 Remove PCC from the base system. This compiler will not work
253 as a system compiler for us as we've got some userland investment
254 in C++ code and may have Objective-C in the future. We're stuck
255 with a solution that supports these three languages at a minimum.
256
257 I had wanted to keep it as an optional compiler because it is
258 fast, however too many users want to try to use it for the base
259 system which makes no sense.
260
261 A hack was added for Cypress based usb hard drive enclosures to
262 the kernel. This should cut down on commands it claims to support
263 but does not (at the cam layer). Found while testing ZFS on
264 an external device.
265
266 20090520:
267 The powerd daemon no longer starts automatically to improve
268 compatibility with many systems. However, there is a new
269 installer option in the startup section to enable it. This
270 makes it easier to enable for users that have working systems. I thought it was only a problem on older hardware, but it freaks
271 out my new Phenom too.
272
273 20090502:
274 OpenSSH 5.2p1 import
275
276 ale(4) connected to the build. (kernel module only)
277
278 20090501:
279 Imported makefs utility from NetBSD/FreeBSD
280
281 20090422:
282 OpenSSL security update
283
284 The function ASN1_STRING_print_ex does not properly validate the lengths
285 of BMPString or UniversalString objects before attempting to print them.
286
287 20090415:
288 Created a Symbol.map for libc/ohash symbols
289
290 Updated several usr/bin usr/sbin utilities.
291
292 Corrected a bug with Makefile.inc1 causing the bootstrap
293 tools to fail.
294
295 20090405:
296 xorg 7.4 wants to configure its input devices via hald which does not
297 yet work with USB. If the keyboard/mouse does not work in xorg then
298 add
299 Option "AllowEmptyInput" "off"
300 to your ServerLayout section. This will cause X to use the configured
301 kbd and mouse sections from your xorg.conf
302
303 20090403:
304 mksh was disconnected a few day ago do to bugs with
305 buildworld and mports. Now, connect it back
306 for use as /bin/sh with a conditional called
307 MK_ASH. By default, ash is the standard /bin/sh
308 but we may change this later. This will allow further
309 testing by users and developers of mksh without
310 causing an unpleasant default experience. In the
311 long run, we need to fix mksh compatibility.
312
313 20090328:
314 Bring in mksh R37 from CVS. The dot.mkshrc files for root
315 and skel were changed. mksh(1) now replaces ash aka sh(1)
316 as the default /bin/sh. Please report bugs with
317 ports, etc. The ash code will remain in the repo for awhile
318 as I decide if we'll add something like MK_SHELL_ASH as
319 an optional build parameter.
320
321 ahd was disconnected from the lint environment until
322 the compiler bug is sorted (by updating gcc?)
323
324 Remove freebsd-tips from fortune files and change the
325 default for login and profile.
326
327 20090327:
328 Update libarchive to 2.5.5, tar, and add bsdcpio.
329
330 Also previously, ctriv has been connecting Perl 5.10
331 to the build (part of os). This will have an impact
332 on mports.
333
334 20090325:
335 Update Bind to 9.4.3-P1
336
337 Update mksh to R36b
338
339 Update tcpdump to 3.9.8, fix libpcap to work with current.
340
341 Update pnpinfo, sync with FreeBSD.
342
343 20090115:
344 Fix a problem with DNSSEC and BIND.
345
346 20090110:
347 For applications using OpenSSL for SSL connections, an invalid SSL
348 certificate may be interpreted as valid. This could for example be
349 used by an attacker to perform a man-in-the-middle attack.
350
351 Other applications which use the OpenSSL EVP API may similarly be
352 affected.
353
354 Stop cross site request forgery attacks in lukemftpd
355
356 20090104:
357 Import GNU libreadline 5.2
358
359 20090101:
360 Update time zone data to 2008i.
361
362 20081231:
363 Correct a problem where bluetooth and netgraph sockets are not
364 properly initialized.
365
366 Happy 2009.
367
368 20081206:
369 Due to the massive change in the underlying system under way,
370 we're naming the next release 1.0. The sys/sys/param.h was
371 changed accordingly. ipfilter and ncurses were corrected
372 using __MidnightBSD__ tests in the code.
373
374 The GENERIC kernel config was caught up on i386 today. Consider
375 i386 still broken, but amd64 is running again.
376
377 mdoc.local was updated with the new MidnightBSD version info.
378
379 batt(1) was rewritten in C. It now supports several flags and
380 runs about 8 times faster on my laptop. The default output
381 shows the number of minutes of battery life remaining and the
382 percentage. You can use -u to display the number of batteries or
383 -c to get script friendly output. Consult the man page for more.
384
385 20081204:
386 Work has completed on importing ZFS, jemalloc, several
387 new devices, SCTP, updated pf, a new tempfs, linuxolator 2.6 kernel
388 support, improved locking for file desc., audit (openbsm),
389 openssl .98e, nfe, imporved intel high def audio, midi, updated
390 intel gigabit (em), support for several wifi cards (intel), ...
391
392 Renamed 0.3-CURRENT officially. Switched to using MidnightBSD version
393 data from param.h instead of the FreeBSD version. This means
394 testing is now possible in the ports tree for the version
395 and that any ports or code relying on the FreeBSD version from
396 sys/sys/param.h will need to be fixed.
397
398 20080905:
399 update nve(4) to support new hardware.
400
401 20080801:
402 Import OpenBSM 1.0
403
404 Modify src/release to create 3 isos instead of 2 for packages.
405
406 etc/rc.d/firstboot now enables kdm, gnustep + slim and bsdstats.
407
408 Many ia64, alpha, powerpc items were removed.
409
410 The recent diffutils 2.8.7 import was fixed.
411
412 20080703:
413 pcc was not installed properly when setting DESTDIR for live cds,
414 or posibly jails.
415
416 20080627:
417 Add firmware(9), WEP, CCMP, TKIP to GENERIC.
418
419 Add glabel to GENERIC.
420
421 Intel ICH8 mobile chipset used on some iMacs included with ata.
422
423 pcc connected to the build on i386. (alternative compiler)
424
425 ath added to GENERIC. (Atheros wireless NICs) on amd64/i386
426
427 20080528:
428 Sendmail 8.14.3
429
430 20080516:
431 ssh-vulnkey allows you to look for vulnerable ssh keys that
432 were generated on Debian and Ubuntu hosts over the last
433 few years. sshd can block offending keys with a configuration
434 option.
435
436 The elf note on binaries is now set to MidnightBSD.
437
438 20080514:
439 Fixed a number of problems with pcc. It is not yet connected
440 to the build, but usable on i386 hosts. You may use it
441 by make; make install in /usr/src/usr.bin/pcc. It will
442 install in /usr/local as some of the files conflict with
443 GCC versions. __MidnightBSD__ is defined in PCC as well.
444
445 System headers were fixed to allow pcc to compile many binaries
446 on MidnightBSD. bin/cp will work now for instance.
447
448 20080430:
449 __MidnightBSD__ is now defined via gcc. This can be tested
450 to determine we're running on MidnightBSD in the preprocessor.
451
452 20080429:
453 Import bind 9.4.2 with threading
454
455 libpthread (KSE) and libthr are built earlier
456
457 pcvt(4) removed!
458
459 Alias added for core2 cpus.
460
461 Alpha and PC98 only utilities removed from usr/sbin
462
463 syslogd, adduser, rmuser, mergemaster and mailwrapper have been
464 improved. See the man pages for info.
465
466 periodic scripts will not send emails with empty message bodies.
467 See mailwrapper fix.
468
469 20080410:
470 Sync cpdup with DragonFly. Add parallel transaction support and
471 -l flag to line-buffer stdout and stderr.
472
473 20080406:
474 Import bzip2 1.05
475 Import OpenSSH 4.9p1
476
477 20080322:
478 The default umask was changed to 022.
479
480 /usr/X11R6 paths were removed from several config files.
481
482 .mkshrc files are now installed for root.
483
484 20080316:
485 FIx a problem with gif0 tunnels and neighbors with IPV6.
486
487 20080312:
488 Add lndir from X.org. This aides in the porting of MirPorts.
489
490 New OS versions were added to the mapage code (groff)
491
492 20080310:
493 Correct a buffer overflow in ppp.
494
495 20080308:
496 Remove /usr/X11R6 from manpath config.
497
498 20080307:
499 Atheros driver no longer has several options set
500 which corrects building in tinderbox on all three platforms.
501
502 Added a new macro to sx.h which returns true if the current
503 thread holds an exclusive lock on a specifix sx.
504
505 Removed OS/2's HPFS file system. It's not maintained and
506 I don't know anyone using OS/2 or ecomstation these days.
507 My copy is in the closet collecting dust.
508
509 20080306:
510 Synced tinderbox with FreeBSD. Modified it for MidnightBSD.
511 Developers can now use it to check src builds.
512
513 20080303:
514 Add mksh to /etc/shells, made some adjustments to options
515 for mksh builds per suggestion upstream.
516
517 USB HID table updated with modern hardware list.
518
519 Updated BSD family true (we're not in there yet)
520
521 iso3166 file updated and import of tzdata2007k for
522 new time zones.
523
524 Updated mksh to latest version R33.
525
526 20080228:
527 Remplaced the random IP id generation code with a new
528 version by Amit Klein.
529
530 20080221:
531 Sendfile write only permissions fix.
532
533 Removed some HPFS and PC98 code.
534
535 iso639 file sycned with DragonFly.
536
537 20080128:
538 Changed NTP configuration so that ips aren't cached
539 so multiple servers are used.
540
541 Fix an issue with fork() in libpthread.
542
543 20080121:
544 Add virtualization detection to set the HZ rate
545 according to a VM present. VMWare and Parallels
546 should work better like this.
547
548 Change to full x11 install in sysinstall. Add
549 xorg 7 support.
550
551 20080115:
552 Fix the handling of PTY's. CVE-2008-0216
553
554 20080105:
555 mport delete code added, USE_MPORT_TOOLS knob aded.
556
557 20080101:
558 Happy New Year
559
560 20071123:
561 Update sendmail to 8.14.2
562
563 20071120:
564 Update system compiler to gcc 3.4.6.
565
566 20071023:
567 Updated mksh to R31d.
568
569 20070911:
570 Updated mksh to version R31b.
571
572 Fixed stderr output in libpthread. Previously it was
573 written to stdout.
574
575 20070831:
576 Added dot.mkshrc file to support the recent change to
577 mksh from OpenBSD's ksh derived from pdksh.
578
579 Added new firewall configuration. ipfw is enabled by default
580 with a "desktop" configuration. Consult /etc/rc.firewall
581 or ipfw show to see the ruleset used. You can disable
582 ipfw by setting firewall_enable="NO" in /etc/rc.conf This
583 change only effects IPv4. IPv6 does not have a firewall
584 enabled by default.
585
586 20070814:
587 Removed GNU tar source. We've been using BSD tar
588 for awhile.
589
590 20070806:
591 Finished removing umapfs and autofs from the tree.
592
593 20070804:
594 BIND and Tcpdump have been patched for recent vulnerabilities.
595
596 We switched to BSD cpio (pax).
597
598 20070719:
599 Imported cpdup from DragonFly as /bin/cpdup
600
601 20070716:
602 Update GNU cpio to 2.8.
603
604 20070410:
605 cvs was updated to 1.12.13. cvsbug was removed.
606 cvs now behaves similarly to DragonFly's cvs with
607 most of their local changes.
608
609 20070409:
610 RELENG_0_1 was created. More aggresive changes will
611 continue here.
612
613 20070406:
614 Back out propolice. propolice caused several problems
615 with our threading libraries libthr and libpthread.
616 curthread was often NULL after the patch and many
617 multithreaded applications would crash. We plan to
618 work on either bringing in gcc 4.1 or developing a new
619 patch which also corrects our threading issues later.
620
621 It is more important to have a stable system for our
622 mport work and other projects at this time.
623
624 This is not a clean removal. It is recommended that you
625 have a recently SNAP CD handy. You can either reinstall
626 or perform a make buildworld and make buildkernel and
627 make installkernel. Reboot on the cd and copy the contents
628 of /bin, /sbin, /lib, /libexec, and /usr/bin, /usr/sbin,
629 /usr/lib, and /usr/libexec to the respective directories on
630 your disk. Then you should be able to boot into single user
631 mode and run make installworld. You will need to run
632 chflags noschg on some of the files if you can't overwrite
633 them.
634
635 You will get __guard missing errors since we had to remove
636 this from libc.
637
638 You will need to rebuild any ports built while propolice was
639 installed.
640
641 20070401:
642 Importing propolice into MidnightBSD. Propolice is going to
643 provide us with much greater security and stability in the
644 long run. If upgrading from a pre-propolice system, please
645 follow the these instructions:
646
647 cd /usr/src/lib/libc && make obj && make && make install
648 cd /usr/src/gnu/usr.bin/cc && make obj && make && make install
649 cd /usr/src/lib/libpthread && make obj && make && make install
650 cd /usr/src/lib/libthr && make obj && make && make install
651 buildworld and kernel
652
653 It is adviced that any mports which were installed and/or built
654 prior to the propolice update also be updated. If any errors
655 or issue are encounted, please contact security@midnightbsd.org
656 and we will be sure to investigate and come up with an expeditious
657 fix.
658
659 20070314:
660 Remove send-pr from src.
661
662 Switch to NetBSD's gzip.
663
664 Bump MBSD minor revision.
665
666 20070313:
667 Imported OpenSSH 4.6p1.
668
669 Imported FreeBSD's libarchive and updated tar to work with it.
670
671 Disabled debug statements cluttering up /var/log/messages for
672 the tcp autobuf patch applied previously.
673
674 20070312:
675 Synced several audio changes from FreeBSD 6.1. Removed the
676 BSD Daemon files from src/share.
677
678 20070308:
679 Added mfi which supports LSI Logic MegaRAID SAS devices including
680 the Dell perc5i.
681
682 20070206:
683 Imported OpenBSD's sudo into source. Please install
684 /usr/src/usr.bin/sudo/lib first before building.
685
686 Those who install from a snapshot after this date
687 will not be effected.
688
689 20070119:
690 Added audit group. Be sure to add audit to your /etc/group file
691 before installing world.
692
693 hostapd was updated to 0.4.8.
694
695 An accidental commit in usr.sbin/bluetooth/hccontrol was fixed to
696 unbreak world.
697
698 wpa_supplicant was updated.
699
700 For stability and compatibility reasons, it was decided that MidnightBSD
701 sync with FreeBSD 6.1 Release. Nearly every change between the original
702 fork date of February 24, 2006 and the release of FreeBSD 6.1 in May
703 2006 will be merged. Beyond this, MidnightBSD will be a "real" fork and
704 will not sync every little change with FreeBSD.
705
706 20061231:
707 Updated COPYRIGHT for 2007.
708
709 Updated and bumped libutil after importing NetBSD efun(3) functions.
710
711 Added MidnightBSD_version and bumped the FreeBSD version as we've
712 synced all commits between the fork and that version. It is now safe
713 to assume MidnightBSD is compatible with FreeBSD RELENG_6 from
714 Feb 26, 2006.
715
716 Added spell(1) and deroff(1) from NetBSD. Also added additional
717 dict files to work with it. /usr/share/dict/american,
718 /usr/share/dict/british and /usr/share/dict/special/math
719
720 Numerous man page and bug fixes.
721
722 20061226:
723 Setup /usr/share/examples/cvsup SUPfiles for the new
724 MidnightBSD CVSup server.
725
726 Fix a bug in burncd where it would continue forever while
727 erasing CDRW media.
728
729 Add csup to /usr/bin. csup is a CVSup replacement written
730 in C.
731
732 Fixed a bug with bsnmpd build from Oct 30.
733
734 Corrected some race conditions and fixed a few bugs in
735 geom. Imported changes from FreeBSD RELENG_6.
736
737 20061225:
738 Fixed a typo in src/lib/libc/sparc64/fpu/fpu_implode.c
739 that caused long double to long and long long
740 conversion of negative numbers to always result in -1.
741
742 20061221:
743 Fixed acpi_battery.c to not report an ERROR if no
744 batteries are present.
745
746 Performed some minor updates on the RL and RE NIC drivers.
747 RL should no longer panic when trying to print errors.
748
749 Corrected a bug with TTY.
750
751 20061218:
752 Corrected a bug with libpthread where newly created suspended
753 threads don't get scheduled.
754
755 20061206:
756 Fixed a typo with the firewire security patch.
757
758 20061129:
759 Minor cleanups to utilities in bin.
760
761 Fixed msdos file system short file name behavior to match
762 FreeBSD.
763
764 20061031:
765 Updated man pages in section 7.
766
767 20061030:
768 Updated sys/dev/drm to support intel 915 and radeon
769 r300 cards properly.
770
771 Synced snmpd with FreeBSD-stable.
772
773 Fixed a bug in rm which could cause data loss.
774
775 20061027:
776 Added Intel ICH8 and nForce 5 support to ATA. cam, mpt,
777 random, kbdmux, atkbd, and usb were updated. Changes
778 to clearing registers on SSE enabled processors (i386)
779 commited.
780
781 lukemftpd updated.
782
783 openssh rc script was altered which effects initial
784 seeding.
785
786 20061014:
787 Workaround for em driver problem on shared IRQ.
788
789 Started removal of alpha support.
790
791 20061013:
792 ATA driver was updated. USB/USB1/USB2 types added.
793
794 20061010:
795 OpenSSH was updated to 4.4p1.
796
797 20060909:
798 OpenNTPD was added to MidnightBSD. Run make delete-old to remove
799 the old ntpd daemon.
800
801 cat has a new option -D which allows you to timestamp output
802 on a per line basis.
803
804 The kernel has a keyboard mux which allows you to have multiple
805 keyboard connected simultaneously. USB keyboard support was also
806 improved with this patch.
807
808 The Intel em driver was updated. Network performance was greatly
809 increased on many systems. Additional models are supported.
810
811 The ATA driver was patched to fix a potential deadlock.
812
813 Bind was patched to fix a potential denial of service condition.
814
815 20060817:
816 ksh has been added to the base system. If you previously had
817 the port installed, it will be overwritten on the next buildworld.
818
819
820
821 To build a kernel
822 -----------------
823 If you are updating from a prior version of MidnightBSD (even one just
824 a few days old), you should follow this procedure. With a
825 /usr/obj tree with a fresh buildworld,
826 make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE
827 make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE
828
829 To test a kernel once
830 ---------------------
831 If you just want to boot a kernel once (because you are not sure
832 if it works, or if you want to boot a known bad kernel to provide
833 debugging information) run
834 make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel
835 nextboot -k testkernel
836
837 To just build a kernel when you know that it won't mess you up
838 --------------------------------------------------------------
839 This assumes you are already running a 6.X system. Replace
840 ${arch} with the architecture of your machine (e.g. "i386",
841 "amd64", "ia64", "pc98", "sparc64", etc).
842
843 cd src/sys/${arch}/conf
844 config KERNEL_NAME_HERE
845 cd ../compile/KERNEL_NAME_HERE
846 make depend
847 make
848 make install
849
850 If this fails, go to the "To build a kernel" section.
851
852 To rebuild everything and install it on the current system.
853 -----------------------------------------------------------
854 # Note: sometimes if you are running current you gotta do more than
855 # is listed here if you are upgrading from a really old current.
856
857 <make sure you have good level 0 dumps>
858 make buildworld
859 make kernel KERNCONF=YOUR_KERNEL_HERE
860 [1]
861 <reboot in single user> [3]
862 mergemaster -p [5]
863 make installworld
864 make delete-old
865 mergemaster [4]
866 <reboot>
867
868
869 To cross-install current onto a separate partition
870 --------------------------------------------------
871 # In this approach we use a separate partition to hold
872 # current's root, 'usr', and 'var' directories. A partition
873 # holding "/", "/usr" and "/var" should be about 2GB in
874 # size.
875
876 <make sure you have good level 0 dumps>
877 <boot into -stable>
878 make buildworld
879 make buildkernel KERNCONF=YOUR_KERNEL_HERE
880 <maybe newfs current's root partition>
881 <mount current's root partition on directory ${CURRENT_ROOT}>
882 make installworld DESTDIR=${CURRENT_ROOT}
883 cd src/etc; make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
884 make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
885 cp /etc/fstab ${CURRENT_ROOT}/etc/fstab # if newfs'd
886 <edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
887 <reboot into current>
888 <do a "native" rebuild/install as described in the previous section>
889 <maybe install compatibility libraries from src/lib/compat>
890 <reboot>
891
892
893 To upgrade in-place from 5.x-stable or higher to 6.x-stable
894 -----------------------------------------------------------
895 <make sure you have good level 0 dumps>
896 make buildworld [9]
897 make kernel KERNCONF=YOUR_KERNEL_HERE [8]
898 [1]
899 <reboot in single user> [3]
900 mergemaster -p [5]
901 make installworld
902 make delete-old
903 mergemaster -i [4]
904 <reboot>
905
906 Make sure that you've read the UPDATING file to understand the
907 tweaks to various things you need. At this point in the life
908 cycle of current, things change often and you are on your own
909 to cope. The defaults can also change, so please read ALL of
910 the UPDATING entries.
911
912 Also, if you are tracking -current, you must be subscribed to
913 freebsd-current@freebsd.org. Make sure that before you update
914 your sources that you have read and understood all the recent
915 messages there. If in doubt, please track -stable which has
916 much fewer pitfalls.
917
918 [1] If you have third party modules, such as vmware, you
919 should disable them at this point so they don't crash your
920 system on reboot.
921
922 [3] From the bootblocks, boot -s, and then do
923 fsck -p
924 mount -u /
925 mount -a
926 cd src
927 adjkerntz -i # if CMOS is wall time
928 Also, when doing a major release upgrade, it is required that
929 you boot into single user mode to do the installworld.
930
931 [4] Note: This step is non-optional. Failure to do this step
932 can result in a significant reduction in the functionality of the
933 system. Attempting to do it by hand is not recommended and those
934 that pursue this avenue should read this file carefully, as well
935 as the archives of freebsd-current and freebsd-hackers mailing lists
936 for potential gotchas.
937
938 [5] Usually this step is a noop. However, from time to time
939 you may need to do this if you get unknown user in the following
940 step. It never hurts to do it all the time.
941
942 [8] In order to have a kernel that can run the 5.x binaries
943 needed to do an installworld, you must include the COMPAT_FREEBSD5
944 option in your kernel. Failure to do so may leave you with a system
945 that is hard to boot to recover. A similar kernel option COMPAT_FREEBSD5
946 is required to run the 5.x binaries on more recent kernels.
947
948 Make sure that you merge any new devices from GENERIC since the
949 last time you updated your kernel config file.
950
951 [9] When checking out sources, you must include the -P flag to have
952 cvs prune empty directories.
953
954 If CPUTYPE is defined in your /etc/make.conf, make sure to use the
955 "?=" instead of the "=" assignment operator, so that buildworld can
956 override the CPUTYPE if it needs to.
957
958 MAKEOBJDIRPREFIX must be defined in an environment variable, and
959 not on the command line, or in /etc/make.conf. buildworld will
960 warn if it is improperly defined.
961
962 Copyright information:
963
964 Copyright 1998-2005 M. Warner Losh. All Rights Reserved.
965
966 Redistribution, publication, translation and use, with or without
967 modification, in full or in part, in any form or format of this
968 document are permitted without further permission from the author.
969
970 THIS DOCUMENT IS PROVIDED BY WARNER LOSH ``AS IS'' AND ANY EXPRESS OR
971 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
972 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
973 DISCLAIMED. IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT,
974 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
975 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
976 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
977 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
978 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
979 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
980 POSSIBILITY OF SUCH DAMAGE.
981
982 If you find this document useful, and you want to, you may buy the
983 author a beer.
984
985 Contact Warner Losh if you have any questions about your use of
986 this document.
987
988 $FreeBSD: src/UPDATING,v 1.416.2.18 2006/02/22 11:51:57 yar Exp $
989 $MidnightBSD: src/UPDATING,v 1.121 2011/03/15 01:08:09 laffer1 Exp $