ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 4367
Committed: Wed Nov 23 01:56:42 2011 UTC (12 years, 6 months ago) by laffer1
File size: 33523 byte(s)
Log Message:
mksh R40c

File Contents

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

Properties

Name Value
cvs2svn:cvs-rev 1.146