ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 4101
Committed: Sun Aug 7 04:05:16 2011 UTC (12 years, 9 months ago) by laffer1
File size: 30844 byte(s)
Log Message:
Document new msearch(1) utility.

File Contents

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

Properties

Name Value
cvs2svn:cvs-rev 1.129