ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 4199
Committed: Wed Oct 5 02:05:41 2011 UTC (12 years, 8 months ago) by laffer1
File size: 32383 byte(s)
Log Message:
Fix linuxolator unix socket handling after recent security patch.

File Contents

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

Properties

Name Value
cvs2svn:cvs-rev 1.137