ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 4166
Committed: Thu Sep 29 00:04:55 2011 UTC (12 years, 7 months ago) by laffer1
File size: 31205 byte(s)
Log Message:
document security updates

File Contents

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

Properties

Name Value
cvs2svn:cvs-rev 1.133