ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 4439
Committed: Tue Dec 13 03:24:13 2011 UTC (12 years, 5 months ago) by laffer1
File size: 33969 byte(s)
Log Message:
mksh r40d

File Contents

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

Properties

Name Value
cvs2svn:cvs-rev 1.149