ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 3892
Committed: Tue Mar 15 01:08:09 2011 UTC (13 years, 2 months ago) by laffer1
File size: 29150 byte(s)
Log Message:
Document recent changes.

File Contents

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

Properties

Name Value
cvs2svn:cvs-rev 1.121