ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 4317
Committed: Wed Oct 26 13:13:30 2011 UTC (12 years, 6 months ago) by laffer1
File size: 33434 byte(s)
Log Message:
Document mDNSResponder and BIND upgrades

File Contents

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

Properties

Name Value
cvs2svn:cvs-rev 1.143