ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 4156
Committed: Sun Sep 18 20:20:42 2011 UTC (12 years, 9 months ago) by laffer1
File size: 31061 byte(s)
Log Message:
perl port required for release bye bye

File Contents

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

Properties

Name Value
cvs2svn:cvs-rev 1.132