ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 3949
Committed: Sat May 21 20:00:01 2011 UTC (13 years ago) by laffer1
File size: 29367 byte(s)
Log Message:
mention perl and mport changes.

File Contents

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

Properties

Name Value
cvs2svn:cvs-rev 1.123