ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 6968
Committed: Wed Feb 25 14:44:54 2015 UTC (9 years, 2 months ago) by laffer1
File size: 42497 byte(s)
Log Message:
document security patches for bind and igmp

File Contents

# User Rev Content
1 laffer1 4666 Updating Information for MidnightBSD users.
2 laffer1 2
3 laffer1 6968 20150225:
4     Fix two security vulnerabilities.
5    
6     1. BIND servers which are configured to perform DNSSEC validation and which
7     are using managed keys (which occurs implicitly when using
8     "dnssec-validation auto;" or "dnssec-lookaside auto;") may exhibit
9     unpredictable behavior due to the use of an improperly initialized
10     variable.
11    
12     CVE-2015-1349
13    
14     2. An integer overflow in computing the size of IGMPv3 data buffer can result
15     in a buffer which is too small for the requested operation.
16    
17     This can result in a DOS attack.
18    
19 laffer1 6955 20141211:
20     Fix a security issue with file and libmagic that can allow
21     an attacker to create a denial of service attack on any
22     program that uses libmagic.
23    
24 laffer1 6937 20141109:
25     Fix building perl during buildworld when the GDBM port is installed.
26    
27 laffer1 6933 20141106:
28     tzdata 2014i
29    
30 laffer1 6921 20141102:
31     serf 1.3.8
32    
33 laffer1 6908 20141031:
34     tnftp 20141031 fixes a security vulnerability with tnftp,
35     CVE-2014-8517.
36    
37 laffer1 6898 20141028:
38     OpenSSL 0.9.8zc
39    
40 laffer1 6886 20141021:
41     Fix several security vulnerabilities in routed, rtsold,
42     and namei with respect to Capsicum sandboxes looking up
43     nonexistent path names and leaking memory.
44    
45     The input path in routed(8) will accept queries from any source and
46     attempt to answer them. However, the output path assumes that the
47     destination address for the response is on a directly connected
48     network.
49    
50     Due to a missing length check in the code that handles DNS parameters,
51     a malformed router advertisement message can result in a stack buffer
52     overflow in rtsold(8).
53    
54 laffer1 6851 20141011:
55     mksh R50d - fix field splitting regression and null
56     pointer dereference
57    
58 laffer1 6862 xz 5.0.7
59    
60 laffer1 6865 OpenSSH 6.6p1
61    
62 laffer1 6841 20141004:
63     mksh R50c - security update for environment var bug with
64     foo vs foo+
65    
66 laffer1 6812 20141002:
67     sqlite 3.8.6
68    
69     sudo 1.7.8 - some issues with the current version, but we're slowly
70     getting up to date.
71    
72 laffer1 6801 20141001:
73     mksh R50b
74    
75     libmport now supports plist commands @dir, @owner, @group, @mode.
76    
77 laffer1 6805 sudo 1.7.6p2
78    
79 laffer1 6768 20140916:
80     Fix a security issue with TCP SYN.
81    
82     When a segment with the SYN flag for an already existing connection arrives,
83     the TCP stack tears down the connection, bypassing a check that the
84     sequence number in the segment is in the expected window.
85    
86 laffer1 6750 20140909:
87     Fixed a bug with our clearenv(3) implementation that caused segfaults
88     with some programs including Dovecot.
89    
90 laffer1 6754 OpenSSL security patch:
91    
92     The receipt of a specifically crafted DTLS handshake message may cause OpenSSL
93     to consume large amounts of memory. [CVE-2014-3506]
94    
95     The receipt of a specifically crafted DTLS packet could cause OpenSSL to leak
96     memory. [CVE-2014-3507]
97    
98     A flaw in OBJ_obj2txt may cause pretty printing functions such as
99     X509_name_oneline, X509_name_print_ex et al. to leak some information from
100     the stack. [CVE-2014-3508]
101    
102     OpenSSL DTLS clients enabling anonymous (EC)DH ciphersuites are subject to
103     a denial of service attack. [CVE-2014-3510]
104    
105 laffer1 6740 20140902:
106     We're now 0.6-CURRENT
107    
108     Update USB quirks to support K70 Corsair keyboard, and several
109     other devices.
110    
111 laffer1 6724 20140827:
112     Perl 5.18.2
113    
114 laffer1 6718 20140728:
115     Jails now run shutdown scripts.
116    
117 laffer1 6713 20140710:
118     Fix a vulnerability in the control message API. A buffer is not properly cleared
119     before sharing with userland.
120    
121 laffer1 6711 20140701:
122     MKSH R50
123    
124 laffer1 6705 20140630:
125     File 5.19
126    
127 laffer1 6660 20140605:
128     Fix four security issues with OpenSSL
129    
130 laffer1 6657 20140604:
131     Sendmail failed to properly set close-on-exec for open file descriptors.
132    
133     ktrace page fault kernel trace entries were set to an incorrect size which resulted
134     in a leak of information.
135    
136 laffer1 6652 20140430:
137     Fix a TCP reassembly bug that could result in a DOS attack
138     of the system. It may be possible to obtain portions
139     of kernel memory as well.
140    
141 laffer1 6638 20140411:
142     Update zlib to 1.2.7
143    
144 laffer1 6606 20140122:
145     Support for username with length 32. Previous limit was 16
146    
147 laffer1 6601 20140114:
148     Fix two security vulnerabilities.
149    
150     bsnmpd contains a stack overflow when sent certain queries.
151    
152     bind 9.8 when using NSEC3-signed zones zones, will crash with special
153     crafted packets.
154    
155 laffer1 6572 20131228:
156     Imported FreeBSD 9.2 usb stack (plus z87 patches from stable)
157    
158     Updated em(4), igb(4) and ixgbe(4)
159    
160     MidnightBSD now works with Z87 Intel chipsets.
161    
162 laffer1 6468 20131207:
163     Remove sparc64 architecture. It hasn't been working for awhile
164     and it's not useful for desktops anymore.
165    
166 laffer1 6466 20131205:
167     OpenSSH 6.4p1
168    
169 laffer1 6457 20131203:
170     Perl 5.18.1 imported.
171    
172     Update less to v458
173    
174 laffer1 6427 20131130:
175     Remove named from base. We still include the client utilities for
176     now until replacements can be found.
177    
178 laffer1 6044 20131004:
179     rarpd supports vlan(4) and has a pid flag. (from FreeBSD)
180    
181 laffer1 6039 20130917:
182     Support for 65,536 routing tables was added. A new fib specific
183     field has been added to mbuf. This is an increase from 16.
184    
185 laffer1 6032 20130910:
186     Security updates: (kern.osreldate 5001)
187    
188     nullfs(5)
189    
190     The nullfs(5) implementation of the VOP_LINK(9) VFS operation does not
191     check whether the source and target of the link are both in the same
192     nullfs instance. It is therefore possible to create a hardlink from a
193     location in one nullfs instance to a file in another, as long as the
194     underlying (source) filesystem is the same.
195    
196     ifioctl
197    
198     As is commonly the case, the IPv6 and ATM network layer ioctl request
199     handlers are written in such a way that an unrecognized request is
200     passed on unmodified to the link layer, which will either handle it or
201     return an error code.
202    
203     Network interface drivers, however, assume that the SIOCSIFADDR,
204     SIOCSIFBRDADDR, SIOCSIFDSTADDR and SIOCSIFNETMASK requests have been
205     handled at the network layer, and therefore do not perform input
206     validation or verify the caller's credentials. Typical link-layer
207     actions for these requests may include marking the interface as "up"
208     and resetting the underlying hardware.
209    
210 laffer1 6003 20130824:
211     Fix a bug in sendmail 8.14.7 that interferes with how it
212     handles AAAA records interoperating with Microsoft DNS servers.
213     FreeBSD has already reported this to Sendmail and a fix
214     will be included in the next release.
215    
216 laffer1 6018 Subversion 1.8.1 is now in the base system as a static
217     binary. It has limited functionality, but can be used to
218     checkout/commit code. It is named svnlite.
219    
220 laffer1 5969 20130822:
221     Fix two security vulnerabilities.
222    
223     Fix an integer overflow in IP_MSFILTER (IP MULTICAST).
224     This could be exploited to read memory by a user process.
225    
226     When initializing the SCTP state cookie being sent in INIT-ACK chunks,
227     a buffer allocated from the kernel stack is not completely initialized.
228    
229 laffer1 5976 Import xz 5.0.4
230    
231 laffer1 5982 Import sqlite 3.7.17
232    
233 laffer1 5990 Import BIND 9.8.5-P2
234    
235 laffer1 5959 20130814:
236     mksh R48 imported.
237    
238 laffer1 5971 Sendmail 8.14.7 imported.
239    
240 laffer1 5934 20130717:
241     libmport bug was fixed causing hash verification to fail.
242    
243 laffer1 5971 virtio(4) imported from FreeBSD 9-stable. SCSI support not
244 laffer1 5934 included.
245    
246 laffer1 5906 20130612:
247     RELENG_0_4 created for 0.4. Development continues on 0.5.
248    
249 laffer1 5855 20130402:
250     Update BIND and OpenSSL to resolve security advisories.
251    
252 laffer1 5826 20130305:
253     MKSH R44 imported.
254    
255 laffer1 5796 20130213:
256     MKSH R42b imported
257    
258 laffer1 5790 20130211:
259     MKSH R42 imported
260    
261 laffer1 5729 20130125:
262     MKSH R41 imported
263    
264 laffer1 5697 20130122:
265 laffer1 5706 OpenSSH 5.8p2 imported
266    
267 laffer1 5697 SQLite 3.7.15.2 imported
268    
269     Fixed a longstanding bug in libmport extrating new index files.
270    
271 laffer1 5038 20120710:
272     BSD licensed sort imported from FreeBSD-CURRENT
273    
274     For now, GNU sort is installed as gnusort, but it will
275     go away in time.
276    
277 laffer1 5031 20120708:
278     tcsh 6.18.01 imported.
279    
280     NetBSD's iconv imported.
281    
282     libc gains strnlen(3), memrchr(3), stpncpy(3).
283    
284 laffer1 4915 20120612:
285     BIND security update related to CVE-2012-1667.
286    
287     Zero length resource records can cause BIND to crash resulting
288     in a DOS attack or information disclosure.
289    
290 laffer1 4811 20120407:
291     mksh R40f (fixes regression)
292    
293 laffer1 4756 20120328:
294     mksh R40e
295    
296 laffer1 4761 Perl 5.14.2
297    
298 laffer1 4666 20120229:
299     cpucontrol(8) and cpuctl(4) added from FreeBSD 7-stable.
300    
301 laffer1 4636 20120209:
302     mDNSResponder 333.10 imported
303    
304 laffer1 4476 20111227:
305     import raid5 module for GEOM, graid5(8)
306    
307     This is experimental and known to use a lot of kernel
308     memory.
309    
310 laffer1 4458 20111223:
311 laffer1 4464 telnetd: fix a root exploit from a fixed buffer that was not checked
312    
313 laffer1 4463 pam: don't allow escape from policy path. Exploitable in KDE, etc.
314    
315 laffer1 4461 Fix pam_ssh module:
316    
317     If the pam_ssh module is enabled, attackers may be able to gain access
318     to user accounts which have unencrypted SSH private keys.
319    
320     This has to due with the way that openssl works. It ignores unencrpted data.
321    
322 laffer1 4458 Fix security issue with chroot and ftpd.
323    
324     nsdispatch(3) doesn't know it's working in a chroot and some
325     operations can cause files to get reloaded causing a security
326     hole in things like ftpd.
327    
328 laffer1 4454 20111217:
329     libdialog/dialog upgraded to an lgpl version. As it's not
330     backwardly compatable, include the old libdialog as libodialog
331    
332 laffer1 4439 20111212:
333     mksh r40d imported
334    
335 laffer1 4431 20111210:
336     re(4) and rl(4) updated to support new chips.
337    
338     GEOM synced with FreeBSD 7-stable.
339    
340     MidnightBSD GPT partition types created in sys/gpt.h and
341     setup in boot loader and GEOM.
342    
343     amdsbwd(4) (amd watchdog for south bridge) updated to support
344     8xx series chipset.
345    
346 laffer1 4408 20111207:
347     import bsd grep from FreeBSD/OpenBSD.
348    
349     MK_BSD_GREP controls which grep is installed
350     as grep with the other as bsdgrep or gnugrep.
351    
352 laffer1 4367 20111122:
353     mksh vR40c imported.
354    
355 laffer1 4350 20111117:
356     BIND 9.6 ESV R5 P1
357    
358 laffer1 4345 20111107:
359     tzdata 2011n
360    
361 laffer1 4317 20111026:
362     mDNSResponder v320
363    
364     BIND 9.6 ESV R5
365    
366 laffer1 4277 20111022:
367     cflow 0.0.6 imported
368    
369 laffer1 4260 20111020:
370     less v436 imported
371    
372     amdsbwd(4) AMD southbridge watchdog
373    
374 laffer1 4241 20111019:
375     awk 20110810 imported
376    
377 laffer1 4260 et(4) Agere Gigabit Ethernet/Fast Ethernet driver added, but
378     not included in GENERIC kernel. The kernel module needs
379     testing before we can include it in GENERIC.
380    
381     intr_bind code ported to allow an IRQ to be bound to one
382     specific CPU core.
383    
384 laffer1 4230 20111017:
385     Time Zone Data v. 2011l (Released 10 October 2011)
386    
387     Updated list of countries (iso3166) to work with new timezone data.
388    
389 laffer1 4215 20111015:
390     Introduce CPU Affinity in MidnightBSD. cpuset(1) can be used
391     to control which core or group of cores can be used for a given
392     process. Several new system calls were added to support this
393     functionality in the running kernel and for 32bit binary
394     compatibility on amd64.
395    
396     The scheduler default has been changed to ULE in i386 and
397     amd64. Changes were made to both schedulers (4BSD AND ULE)
398     for this feature.
399    
400     This work is based on Jeff Roberson's FreeBSD 7.1 patches.
401    
402 laffer1 4199 20111004:
403     Fix a problem with unix socket handling caused by the recent
404     patch to unix socket path handling. This allows network
405     apps to work under the linuxolator again.
406    
407 laffer1 4196 20111001:
408     Import libfetch & fetch(1) from FreeBSD 9. Passive FTP is
409     now default and an environment variable must be set to use
410     active.
411    
412 laffer1 4193 20110930:
413     Introduce quirks handling for several umass devices including
414     USB cameras. Add workaround for Cyberpower UPS devices.
415    
416     Bring in further bug fixes from FreeBSD and NetBSD for alc(4).
417     Stale ip/tcp header pointers are no longer used, lockups fixed
418     when network cable is unplugged on bootup, enable TX checksum
419     offloading.
420    
421     Add a new man page for gcache(8), a useful geom class when
422     working with large raid3 sets.
423    
424     Restore previous workaround for Cypress pata storage controller.
425    
426 laffer1 4176 20110929:
427     Sync ath(4) with FreeBSD 7.3.
428    
429 laffer1 4193 The following modules are no longer available, and should be
430     removed from loader.conf:
431     ath_hal ath_rate_amrr ath_rate_onoe ath_rate_sample
432    
433 laffer1 4176 alc(4) would hibernate when a cable was unplugged and often
434     required bring the interface down and up to "wake up" so that
435     a connection could be established. Disable hibernation.
436    
437 laffer1 4166 20110928:
438     Fix security issues with gzip and compress related to .Z
439     files that are corrupted.
440    
441     Fix path validation with unix domain sockets.
442    
443 laffer1 4156 20110917:
444     Remove dependance on mports perl for generating releases as
445     it's in the base system.
446    
447 laffer1 4153 20110914:
448     Import xz 5.0.3 with liblzma 5.0.3
449    
450 laffer1 4117 20110813:
451     synced the sparc64 GENERIC kernel configuration with amd64.
452    
453 laffer1 4101 20110806:
454     sqlite 3.7.7.1 imported
455    
456     msearch(1), libmsearch and msearch.import added. msearch(1) provides
457     a full text search command line tool. libmsearch can also be used
458     to build a graphical based search in the future. You can enable
459     index building for msearch in periodic.conf or manually run the
460     /usr/libexec/msearch.index tool. Full text indexes take considerable
461     space in /var. I'm using approximately 500MB currently.
462    
463     Fix a long standing bug with the periodic script to check package
464     versions. This will be obsolete with mport though.
465    
466 laffer1 4022 20110710:
467     kdb_enter_why added to MidnightBSD to allow the kernel debugger to
468     know why it's in use and thus script can be run.
469    
470     Yet another problem with the perl manifest was fixed
471    
472 laffer1 4006 20110709:
473     cpufreq(1) is a new utility to monitor CPU frequency which may change
474     with use of powerd(8) and cpufreq(4).
475    
476 laffer1 3973 20110612:
477     Update mksh to R40
478    
479     Catch up ObsoleteFiles.inc to remove Perl 5.10.x. Good to run when
480     updating current (cd /usr/src && make check-old)
481    
482 laffer1 3953 20110528:
483     Fix CVE-2011-1910 in BIND 9.6.x. This affects caching resolvers.
484    
485 laffer1 3951 20110526:
486     newfs:
487     Raised the default blocksize for UFS/FFS filesystems from
488     16K to 32K and the default fragment size from 2K to 4K.
489    
490     This should slightly imporve performance on "advanced format"
491     hard drives such as the WD EARS drives. Drives of this type
492     have emulation modes that slow down with lower sizes. Of course
493     the drive must still be aligned properly when using fdisk.
494    
495 laffer1 3949 20110521:
496     mport tool now has a deleteall command. This can be used to remove
497     all packages from a system.
498    
499     A few bugs with the perl 5.14 import have been fixed.
500    
501 laffer1 3932 20110518:
502     Perl 5.14.0
503    
504     20110517:
505     Sendmail 8.14.5
506    
507 laffer1 3892 20110314:
508     DRM/DRI code updated to support newer video cards. (FreeBSD 7.1)
509    
510     cdevpriv wrappers added
511    
512     nss_mdns hack introduced to work around linking problem.
513    
514     dnsextd fixed after update to mDNSResponder code.
515    
516 laffer1 3846 20110308:
517     Introduce liblzma & xz 5.0.1 to the base system
518    
519 laffer1 3848 Patch for OpenSSL security issue CVE-2011-0014.
520    
521 laffer1 3851 "OSREVISION 4004"
522    
523     nsswitch module for multicast dns (nss_mdns) added.
524    
525 laffer1 3853 tzdata2011c
526    
527 laffer1 3795 20110220:
528     cam(4) syncronized with FreeBSD 7.3.
529    
530     20110219:
531     amdtemp(4) updated to support sensors framework.
532    
533 laffer1 3789 20110217:
534     Perl 5.10.1 imported
535    
536 laffer1 3776 20110216:
537     Introduce igb(4) and split Intel Gigabit Ethernet adapters between
538     igb(4) and em(4). Newer devices use igb(4). The code has moved
539     to sys/dev/e1000 for both devices in the kernel. igb(4) has
540     been placed in GENERIC on i386 and amd64.
541    
542     Update bfe(4) to support newer devices and WOL.
543    
544 laffer1 3766 20110215:
545 laffer1 3795 age(4) added.
546 laffer1 3766
547 laffer1 3752 20110208:
548     BIND 9.6.3 which fixes a bug with DNSSEC records getting added.
549    
550 laffer1 3722 20110206:
551     eeemon(4) added to monitor Asus Eee PC.
552    
553 laffer1 3717 20110205:
554     OpenSSH 5.7p1
555    
556     GNU sort 6.9 (coreutils)
557    
558 laffer1 3667 20110203:
559     one true awk 20100523 imported
560    
561 laffer1 3672 sqlite 3.7.5
562    
563 laffer1 3681 OpenSSL 0.9.8q
564    
565 laffer1 3660 20110202:
566 laffer1 3655 tcsh 6.17.00
567    
568 laffer1 3795 file 5.05
569 laffer1 3660
570 laffer1 3623 20110122:
571     Import it(4) and lm(4), with support for Super I/O hardware monitors. This
572     uses the sensors framework ported by Constantine A. Murenin (GSOC2007)
573    
574 laffer1 3618 20110120:
575     BIND 9.6.2-P3
576    
577 laffer1 3621 sudo 1.7.4-p6
578    
579 laffer1 3608 20110115:
580     Add experimental jme(4) for Jmicron ethernet devices.
581    
582 laffer1 3573 20101130:
583     A double free exists in the SSL client ECDH handling code, when
584     processing specially crafted public keys with invalid prime
585     numbers. [CVE-2010-2939]
586    
587 laffer1 3565 20101120:
588     Several portions of the kernel and userland code related to UFS file
589     systems (and UFS2) cannot properly handle inode counts above 2^31 due
590     to use of int types. Based on a patch from FreeBSD, I've modified
591     our UFS2 implementation to handle unsigned values for inode counts
592     which should allow for file systems greater than 16TB.
593    
594     newfs and growfs was also modified.
595    
596 laffer1 3556 20101110:
597     Fix a security issue with pseudofs which could result in running code in kernel
598     context or a kernel panic depending on system configuration. This affects file
599     systems such as procfs for instance.
600    
601 laffer1 3543 20101021:
602     sysrc is a utility to print and modify name/value pairs in /etc/rc.conf easily.
603     This is similar to functions present in many linux distros. The utility was
604     written by Devin Teske for FreeBSD.
605    
606 laffer1 3514 20100920:
607     bzip2 security patch for integer overflow.
608    
609 laffer1 3491 20100905:
610     MidnightBSD RELENG_0_3 branch created. Aggressive development continues here
611     for 0.4.
612    
613 laffer1 3483 20100902:
614     Fix a security issue with libutil that allows users to bypass cpu limits in
615     login.conf in some cases. This combined with OpenSSH for example can allow
616     the user to get more resources than they're allowed.
617    
618 laffer1 3476 20100822:
619     Import Apple's mDNSResponder (mdnsd).
620    
621 laffer1 3458 20100814:
622     libdispatch added to MidnightBSD. This provides functionality found in
623     Mac OS X's GCD. We do not have blocks support yet. As this code is
624     licensed under Apache 2, we create a new MK_APACHE option so that
625     it's not required for all users to run code under a license they
626     may not like.
627    
628 laffer1 3431 20100713:
629     mbuf readonly fix related to sendfile(2) data corruption.
630    
631 laffer1 3429 20100704:
632     brainfuck(1) imported from MirBSD.
633    
634 laffer1 3403 20100505:
635     zlib 1.2.5
636    
637 laffer1 3394 20100430:
638     Sudo 1.7.2p6 imported
639    
640 laffer1 3386 20100321:
641     Update zlib to 1.2.4
642    
643 laffer1 3377 20100319:
644     Removed i586 from default i386 generic kernel.
645    
646 laffer1 3371 20100317:
647     Update to tzdata2010e (time zones). This includes changes in
648     Mexico.
649    
650     Add support for several newer sound cards via hda including
651     ATI and Realtek chipsets.
652    
653 laffer1 3366 20100313:
654     CPU detection has been changed. VIA Padlock detection added.
655    
656     20100312:
657     Fix a number of bugs and compiler warnings in libmport. Handle
658     plus signs in paths for mport.check-fake
659    
660 laffer1 3352 20100311:
661     mksh R39c
662    
663 laffer1 3326 20100309:
664     Sudo 1.7.2p5
665    
666 laffer1 3341 sqlite3 3.6.23
667    
668     mksh R39b
669    
670     libffi (ffi) 3.0.9
671    
672 laffer1 3326 20100206:
673 laffer1 3278 WITHOUT_LIB32 is no longer needed on AMD64. GCC was fixed to
674     properly pass arguments to ld.
675    
676     re(4) and rl(4) have been updated to support several new
677     realtek chipsets. Performance has been improved on re(4).
678    
679 laffer1 3272 20100204:
680     Fix a bug cropping up on AMD64 MidnightBSD with sftp
681     segfaulting.
682    
683 laffer1 3257 20100116:
684     Import ash changes from FreeBSD (bin/sh) 8-Stable.
685    
686     BIND 9.6.1-P2
687    
688 laffer1 3233 20100110:
689 laffer1 3257 Import Sendmail 8.14.4. Fix for SSL vulnerability.
690 laffer1 3238
691 laffer1 3233 posix_spawn(3) added to MidnightBSD libc. Users may need to build and
692     install libc before doing a full buildworld when upating from 0.2 or
693     older current systems.
694    
695     kqueue(2) was modified to support portions of libdispatch functionality.
696    
697 laffer1 3225 20100106:
698     Bind security update. Fix a bug with DNSSEC that causes negative
699     cache entries and thus a possible DNS cache poisoning attack.
700    
701     Fix a bug in ZFS that can reset permissions on system crashes.
702    
703 laffer1 3218 20091228:
704     amdtemp(4) was added. It allows one to monitor to the temperature
705     of an AMD CPU such as a Phenom.
706    
707 laffer1 3205 20091205:
708     OpenSSL security fix
709    
710     The SSL version 3 and TLS protocols support session renegotiation without
711     cryptographically tying the new session parameters to the old parameters.
712    
713     20091128:
714 laffer1 3199 OpenBSD sensors framework imported including sensorsd(8)
715    
716 laffer1 3205 20091126:
717 laffer1 3194 OpenNTPD 4.4 import
718    
719 laffer1 3184 Update OpenSSH to 5.3p1
720    
721     mksh R39
722    
723 laffer1 3205 20091124:
724 laffer1 3164 cpdup updated from DragonFly to 1.15
725    
726     tzdata2009s updated with latest timezone data for November 2009.
727    
728 laffer1 3129 20091010:
729     amd64 users should use WITHOUT_LIB32=yes in /etc/make.conf for now
730     to test current.
731    
732     Revert unicode filename fixes from ntfs code. This was causing chaos
733     on amd64 systems.
734    
735 laffer1 3120 20091006:
736     Update timezone data with tzdata2009n with the Pakistan and
737     Argentina changes.
738    
739     Sync several userland utilities with versions from FreeBSD 7.0 in
740     sbin and usr.sbin.
741    
742 laffer1 3044 20090919:
743     Update timezone data with tzdate2009m from September 2009.
744    
745 laffer1 3034 20090729:
746     Patch for Bind 9 security vulnerability. a dynmaic update packet
747     can trigger an assertion and cause named to exit
748    
749 laffer1 3002 20090606:
750     Remove PCC from the base system. This compiler will not work
751     as a system compiler for us as we've got some userland investment
752     in C++ code and may have Objective-C in the future. We're stuck
753     with a solution that supports these three languages at a minimum.
754    
755     I had wanted to keep it as an optional compiler because it is
756     fast, however too many users want to try to use it for the base
757     system which makes no sense.
758    
759     A hack was added for Cypress based usb hard drive enclosures to
760     the kernel. This should cut down on commands it claims to support
761     but does not (at the cam layer). Found while testing ZFS on
762     an external device.
763    
764 laffer1 2910 20090520:
765     The powerd daemon no longer starts automatically to improve
766     compatibility with many systems. However, there is a new
767     installer option in the startup section to enable it. This
768     makes it easier to enable for users that have working systems. I thought it was only a problem on older hardware, but it freaks
769     out my new Phenom too.
770    
771 laffer1 2874 20090502:
772     OpenSSH 5.2p1 import
773    
774 laffer1 2910 ale(4) connected to the build. (kernel module only)
775    
776 laffer1 2857 20090501:
777     Imported makefs utility from NetBSD/FreeBSD
778    
779 laffer1 2843 20090422:
780     OpenSSL security update
781    
782     The function ASN1_STRING_print_ex does not properly validate the lengths
783     of BMPString or UniversalString objects before attempting to print them.
784    
785 laffer1 2836 20090415:
786     Created a Symbol.map for libc/ohash symbols
787    
788     Updated several usr/bin usr/sbin utilities.
789    
790     Corrected a bug with Makefile.inc1 causing the bootstrap
791     tools to fail.
792    
793 laffer1 2745 20090405:
794     xorg 7.4 wants to configure its input devices via hald which does not
795 laffer1 2746 yet work with USB. If the keyboard/mouse does not work in xorg then
796 laffer1 2745 add
797     Option "AllowEmptyInput" "off"
798     to your ServerLayout section. This will cause X to use the configured
799     kbd and mouse sections from your xorg.conf
800    
801     20090403:
802 laffer1 2735 mksh was disconnected a few day ago do to bugs with
803     buildworld and mports. Now, connect it back
804     for use as /bin/sh with a conditional called
805     MK_ASH. By default, ash is the standard /bin/sh
806     but we may change this later. This will allow further
807     testing by users and developers of mksh without
808     causing an unpleasant default experience. In the
809     long run, we need to fix mksh compatibility.
810    
811 laffer1 2702 20090328:
812     Bring in mksh R37 from CVS. The dot.mkshrc files for root
813     and skel were changed. mksh(1) now replaces ash aka sh(1)
814     as the default /bin/sh. Please report bugs with
815     ports, etc. The ash code will remain in the repo for awhile
816     as I decide if we'll add something like MK_SHELL_ASH as
817     an optional build parameter.
818    
819     ahd was disconnected from the lint environment until
820     the compiler bug is sorted (by updating gcc?)
821    
822     Remove freebsd-tips from fortune files and change the
823     default for login and profile.
824    
825 laffer1 2672 20090327:
826     Update libarchive to 2.5.5, tar, and add bsdcpio.
827    
828     Also previously, ctriv has been connecting Perl 5.10
829     to the build (part of os). This will have an impact
830     on mports.
831    
832 laffer1 2654 20090325:
833     Update Bind to 9.4.3-P1
834    
835     Update mksh to R36b
836    
837     Update tcpdump to 3.9.8, fix libpcap to work with current.
838    
839     Update pnpinfo, sync with FreeBSD.
840    
841 laffer1 2524 20090115:
842     Fix a problem with DNSSEC and BIND.
843    
844     20090110:
845 laffer1 2511 For applications using OpenSSL for SSL connections, an invalid SSL
846     certificate may be interpreted as valid. This could for example be
847     used by an attacker to perform a man-in-the-middle attack.
848    
849     Other applications which use the OpenSSL EVP API may similarly be
850     affected.
851    
852 laffer1 2513 Stop cross site request forgery attacks in lukemftpd
853    
854 laffer1 2524 20090104:
855 laffer1 2501 Import GNU libreadline 5.2
856    
857 laffer1 2524 20090101:
858 laffer1 2485 Update time zone data to 2008i.
859    
860 laffer1 2481 20081231:
861     Correct a problem where bluetooth and netgraph sockets are not
862     properly initialized.
863    
864     Happy 2009.
865    
866 laffer1 2399 20081206:
867     Due to the massive change in the underlying system under way,
868     we're naming the next release 1.0. The sys/sys/param.h was
869     changed accordingly. ipfilter and ncurses were corrected
870     using __MidnightBSD__ tests in the code.
871    
872     The GENERIC kernel config was caught up on i386 today. Consider
873     i386 still broken, but amd64 is running again.
874    
875     mdoc.local was updated with the new MidnightBSD version info.
876    
877     batt(1) was rewritten in C. It now supports several flags and
878     runs about 8 times faster on my laptop. The default output
879     shows the number of minutes of battery life remaining and the
880     percentage. You can use -u to display the number of batteries or
881     -c to get script friendly output. Consult the man page for more.
882    
883 laffer1 2360 20081204:
884     Work has completed on importing ZFS, jemalloc, several
885     new devices, SCTP, updated pf, a new tempfs, linuxolator 2.6 kernel
886     support, improved locking for file desc., audit (openbsm),
887     openssl .98e, nfe, imporved intel high def audio, midi, updated
888     intel gigabit (em), support for several wifi cards (intel), ...
889    
890     Renamed 0.3-CURRENT officially. Switched to using MidnightBSD version
891     data from param.h instead of the FreeBSD version. This means
892     testing is now possible in the ports tree for the version
893     and that any ports or code relying on the FreeBSD version from
894     sys/sys/param.h will need to be fixed.
895    
896 laffer1 1809 20080905:
897     update nve(4) to support new hardware.
898    
899 laffer1 1794 20080801:
900     Import OpenBSM 1.0
901    
902     Modify src/release to create 3 isos instead of 2 for packages.
903    
904     etc/rc.d/firstboot now enables kdm, gnustep + slim and bsdstats.
905    
906     Many ia64, alpha, powerpc items were removed.
907    
908     The recent diffutils 2.8.7 import was fixed.
909    
910 laffer1 1724 20080703:
911     pcc was not installed properly when setting DESTDIR for live cds,
912     or posibly jails.
913    
914 laffer1 1672 20080627:
915     Add firmware(9), WEP, CCMP, TKIP to GENERIC.
916    
917     Add glabel to GENERIC.
918    
919     Intel ICH8 mobile chipset used on some iMacs included with ata.
920    
921     pcc connected to the build on i386. (alternative compiler)
922    
923 laffer1 1678 ath added to GENERIC. (Atheros wireless NICs) on amd64/i386
924    
925 laffer1 1642 20080528:
926     Sendmail 8.14.3
927    
928 laffer1 1598 20080516:
929     ssh-vulnkey allows you to look for vulnerable ssh keys that
930     were generated on Debian and Ubuntu hosts over the last
931     few years. sshd can block offending keys with a configuration
932     option.
933    
934     The elf note on binaries is now set to MidnightBSD.
935    
936     20080514:
937     Fixed a number of problems with pcc. It is not yet connected
938     to the build, but usable on i386 hosts. You may use it
939     by make; make install in /usr/src/usr.bin/pcc. It will
940     install in /usr/local as some of the files conflict with
941     GCC versions. __MidnightBSD__ is defined in PCC as well.
942    
943     System headers were fixed to allow pcc to compile many binaries
944     on MidnightBSD. bin/cp will work now for instance.
945    
946 laffer1 1561 20080430:
947     __MidnightBSD__ is now defined via gcc. This can be tested
948     to determine we're running on MidnightBSD in the preprocessor.
949    
950 laffer1 1559 20080429:
951     Import bind 9.4.2 with threading
952    
953     libpthread (KSE) and libthr are built earlier
954    
955     pcvt(4) removed!
956    
957     Alias added for core2 cpus.
958    
959     Alpha and PC98 only utilities removed from usr/sbin
960    
961     syslogd, adduser, rmuser, mergemaster and mailwrapper have been
962     improved. See the man pages for info.
963    
964     periodic scripts will not send emails with empty message bodies.
965     See mailwrapper fix.
966    
967 laffer1 1462 20080410:
968     Sync cpdup with DragonFly. Add parallel transaction support and
969     -l flag to line-buffer stdout and stderr.
970    
971 laffer1 1456 20080406:
972 laffer1 1462 Import bzip2 1.05
973 laffer1 1456 Import OpenSSH 4.9p1
974    
975 laffer1 1432 20080322:
976     The default umask was changed to 022.
977    
978     /usr/X11R6 paths were removed from several config files.
979    
980     .mkshrc files are now installed for root.
981    
982 laffer1 1420 20080316:
983     FIx a problem with gif0 tunnels and neighbors with IPV6.
984    
985     20080312:
986     Add lndir from X.org. This aides in the porting of MirPorts.
987    
988     New OS versions were added to the mapage code (groff)
989    
990     20080310:
991     Correct a buffer overflow in ppp.
992    
993     20080308:
994     Remove /usr/X11R6 from manpath config.
995    
996     20080307:
997     Atheros driver no longer has several options set
998     which corrects building in tinderbox on all three platforms.
999    
1000     Added a new macro to sx.h which returns true if the current
1001     thread holds an exclusive lock on a specifix sx.
1002    
1003     Removed OS/2's HPFS file system. It's not maintained and
1004     I don't know anyone using OS/2 or ecomstation these days.
1005     My copy is in the closet collecting dust.
1006    
1007     20080306:
1008     Synced tinderbox with FreeBSD. Modified it for MidnightBSD.
1009     Developers can now use it to check src builds.
1010    
1011     20080303:
1012     Add mksh to /etc/shells, made some adjustments to options
1013     for mksh builds per suggestion upstream.
1014    
1015     USB HID table updated with modern hardware list.
1016    
1017     Updated BSD family true (we're not in there yet)
1018    
1019     iso3166 file updated and import of tzdata2007k for
1020     new time zones.
1021    
1022     Updated mksh to latest version R33.
1023    
1024     20080228:
1025     Remplaced the random IP id generation code with a new
1026     version by Amit Klein.
1027    
1028     20080221:
1029     Sendfile write only permissions fix.
1030    
1031     Removed some HPFS and PC98 code.
1032    
1033     iso639 file sycned with DragonFly.
1034    
1035     20080128:
1036     Changed NTP configuration so that ips aren't cached
1037     so multiple servers are used.
1038    
1039     Fix an issue with fork() in libpthread.
1040    
1041     20080121:
1042     Add virtualization detection to set the HZ rate
1043     according to a VM present. VMWare and Parallels
1044     should work better like this.
1045    
1046     Change to full x11 install in sysinstall. Add
1047     xorg 7 support.
1048    
1049     20080115:
1050     Fix the handling of PTY's. CVE-2008-0216
1051    
1052     20080105:
1053     mport delete code added, USE_MPORT_TOOLS knob aded.
1054    
1055 laffer1 1363 20080101:
1056     Happy New Year
1057    
1058 laffer1 1345 20071123:
1059     Update sendmail to 8.14.2
1060    
1061 laffer1 1339 20071120:
1062     Update system compiler to gcc 3.4.6.
1063    
1064 laffer1 1345 20071023:
1065     Updated mksh to R31d.
1066    
1067 laffer1 1228 20070911:
1068     Updated mksh to version R31b.
1069    
1070     Fixed stderr output in libpthread. Previously it was
1071     written to stdout.
1072    
1073 laffer1 1214 20070831:
1074     Added dot.mkshrc file to support the recent change to
1075     mksh from OpenBSD's ksh derived from pdksh.
1076    
1077     Added new firewall configuration. ipfw is enabled by default
1078     with a "desktop" configuration. Consult /etc/rc.firewall
1079     or ipfw show to see the ruleset used. You can disable
1080     ipfw by setting firewall_enable="NO" in /etc/rc.conf This
1081     change only effects IPv4. IPv6 does not have a firewall
1082     enabled by default.
1083    
1084 laffer1 1192 20070814:
1085     Removed GNU tar source. We've been using BSD tar
1086     for awhile.
1087    
1088 laffer1 1143 20070806:
1089     Finished removing umapfs and autofs from the tree.
1090    
1091     20070804:
1092     BIND and Tcpdump have been patched for recent vulnerabilities.
1093    
1094     We switched to BSD cpio (pax).
1095    
1096 laffer1 1060 20070719:
1097     Imported cpdup from DragonFly as /bin/cpdup
1098    
1099 laffer1 1055 20070716:
1100     Update GNU cpio to 2.8.
1101    
1102 laffer1 939 20070410:
1103     cvs was updated to 1.12.13. cvsbug was removed.
1104     cvs now behaves similarly to DragonFly's cvs with
1105     most of their local changes.
1106    
1107     20070409:
1108     RELENG_0_1 was created. More aggresive changes will
1109     continue here.
1110    
1111 laffer1 906 20070406:
1112     Back out propolice. propolice caused several problems
1113     with our threading libraries libthr and libpthread.
1114     curthread was often NULL after the patch and many
1115     multithreaded applications would crash. We plan to
1116     work on either bringing in gcc 4.1 or developing a new
1117     patch which also corrects our threading issues later.
1118    
1119     It is more important to have a stable system for our
1120     mport work and other projects at this time.
1121    
1122 laffer1 907 This is not a clean removal. It is recommended that you
1123     have a recently SNAP CD handy. You can either reinstall
1124     or perform a make buildworld and make buildkernel and
1125     make installkernel. Reboot on the cd and copy the contents
1126     of /bin, /sbin, /lib, /libexec, and /usr/bin, /usr/sbin,
1127     /usr/lib, and /usr/libexec to the respective directories on
1128     your disk. Then you should be able to boot into single user
1129     mode and run make installworld. You will need to run
1130     chflags noschg on some of the files if you can't overwrite
1131     them.
1132    
1133     You will get __guard missing errors since we had to remove
1134     this from libc.
1135    
1136     You will need to rebuild any ports built while propolice was
1137     installed.
1138    
1139 archite 886 20070401:
1140     Importing propolice into MidnightBSD. Propolice is going to
1141     provide us with much greater security and stability in the
1142     long run. If upgrading from a pre-propolice system, please
1143     follow the these instructions:
1144    
1145     cd /usr/src/lib/libc && make obj && make && make install
1146     cd /usr/src/gnu/usr.bin/cc && make obj && make && make install
1147 laffer1 893 cd /usr/src/lib/libpthread && make obj && make && make install
1148     cd /usr/src/lib/libthr && make obj && make && make install
1149 archite 886 buildworld and kernel
1150    
1151     It is adviced that any mports which were installed and/or built
1152     prior to the propolice update also be updated. If any errors
1153     or issue are encounted, please contact security@midnightbsd.org
1154     and we will be sure to investigate and come up with an expeditious
1155     fix.
1156    
1157 laffer1 842 20070314:
1158     Remove send-pr from src.
1159    
1160     Switch to NetBSD's gzip.
1161    
1162     Bump MBSD minor revision.
1163    
1164 laffer1 832 20070313:
1165     Imported OpenSSH 4.6p1.
1166    
1167     Imported FreeBSD's libarchive and updated tar to work with it.
1168    
1169     Disabled debug statements cluttering up /var/log/messages for
1170     the tcp autobuf patch applied previously.
1171    
1172 laffer1 807 20070312:
1173     Synced several audio changes from FreeBSD 6.1. Removed the
1174     BSD Daemon files from src/share.
1175    
1176 laffer1 775 20070308:
1177     Added mfi which supports LSI Logic MegaRAID SAS devices including
1178     the Dell perc5i.
1179    
1180 archite 726 20070206:
1181     Imported OpenBSD's sudo into source. Please install
1182     /usr/src/usr.bin/sudo/lib first before building.
1183    
1184     Those who install from a snapshot after this date
1185     will not be effected.
1186    
1187 laffer1 708 20070119:
1188     Added audit group. Be sure to add audit to your /etc/group file
1189     before installing world.
1190    
1191     hostapd was updated to 0.4.8.
1192    
1193     An accidental commit in usr.sbin/bluetooth/hccontrol was fixed to
1194     unbreak world.
1195    
1196     wpa_supplicant was updated.
1197    
1198 laffer1 775 For stability and compatibility reasons, it was decided that MidnightBSD
1199     sync with FreeBSD 6.1 Release. Nearly every change between the original
1200     fork date of February 24, 2006 and the release of FreeBSD 6.1 in May
1201     2006 will be merged. Beyond this, MidnightBSD will be a "real" fork and
1202     will not sync every little change with FreeBSD.
1203 laffer1 708
1204 laffer1 477 20061231:
1205     Updated COPYRIGHT for 2007.
1206    
1207     Updated and bumped libutil after importing NetBSD efun(3) functions.
1208    
1209     Added MidnightBSD_version and bumped the FreeBSD version as we've
1210     synced all commits between the fork and that version. It is now safe
1211     to assume MidnightBSD is compatible with FreeBSD RELENG_6 from
1212     Feb 26, 2006.
1213    
1214     Added spell(1) and deroff(1) from NetBSD. Also added additional
1215     dict files to work with it. /usr/share/dict/american,
1216     /usr/share/dict/british and /usr/share/dict/special/math
1217    
1218     Numerous man page and bug fixes.
1219    
1220 laffer1 352 20061226:
1221     Setup /usr/share/examples/cvsup SUPfiles for the new
1222 laffer1 376 MidnightBSD CVSup server.
1223 laffer1 352
1224 laffer1 376 Fix a bug in burncd where it would continue forever while
1225     erasing CDRW media.
1226    
1227     Add csup to /usr/bin. csup is a CVSup replacement written
1228     in C.
1229    
1230     Fixed a bug with bsnmpd build from Oct 30.
1231    
1232     Corrected some race conditions and fixed a few bugs in
1233     geom. Imported changes from FreeBSD RELENG_6.
1234    
1235 laffer1 352 20061225:
1236     Fixed a typo in src/lib/libc/sparc64/fpu/fpu_implode.c
1237     that caused long double to long and long long
1238     conversion of negative numbers to always result in -1.
1239    
1240     20061221:
1241     Fixed acpi_battery.c to not report an ERROR if no
1242     batteries are present.
1243    
1244     Performed some minor updates on the RL and RE NIC drivers.
1245     RL should no longer panic when trying to print errors.
1246    
1247     Corrected a bug with TTY.
1248    
1249     20061218:
1250     Corrected a bug with libpthread where newly created suspended
1251     threads don't get scheduled.
1252    
1253     20061206:
1254     Fixed a typo with the firewire security patch.
1255    
1256     20061129:
1257     Minor cleanups to utilities in bin.
1258    
1259     Fixed msdos file system short file name behavior to match
1260     FreeBSD.
1261    
1262 laffer1 325 20061031:
1263     Updated man pages in section 7.
1264    
1265     20061030:
1266     Updated sys/dev/drm to support intel 915 and radeon
1267     r300 cards properly.
1268    
1269     Synced snmpd with FreeBSD-stable.
1270    
1271     Fixed a bug in rm which could cause data loss.
1272    
1273 laffer1 305 20061027:
1274     Added Intel ICH8 and nForce 5 support to ATA. cam, mpt,
1275     random, kbdmux, atkbd, and usb were updated. Changes
1276     to clearing registers on SSE enabled processors (i386)
1277     commited.
1278    
1279     lukemftpd updated.
1280    
1281     openssh rc script was altered which effects initial
1282     seeding.
1283    
1284 laffer1 273 20061014:
1285     Workaround for em driver problem on shared IRQ.
1286    
1287     Started removal of alpha support.
1288    
1289     20061013:
1290     ATA driver was updated. USB/USB1/USB2 types added.
1291    
1292     20061010:
1293 laffer1 305 OpenSSH was updated to 4.4p1.
1294 laffer1 273
1295 laffer1 169 20060909:
1296     OpenNTPD was added to MidnightBSD. Run make delete-old to remove
1297     the old ntpd daemon.
1298 laffer1 63
1299 laffer1 169 cat has a new option -D which allows you to timestamp output
1300     on a per line basis.
1301 laffer1 5
1302 laffer1 169 The kernel has a keyboard mux which allows you to have multiple
1303     keyboard connected simultaneously. USB keyboard support was also
1304     improved with this patch.
1305 laffer1 5
1306 laffer1 169 The Intel em driver was updated. Network performance was greatly
1307     increased on many systems. Additional models are supported.
1308 laffer1 5
1309 laffer1 169 The ATA driver was patched to fix a potential deadlock.
1310 laffer1 5
1311 laffer1 169 Bind was patched to fix a potential denial of service condition.
1312 laffer1 5
1313 laffer1 169 20060817:
1314     ksh has been added to the base system. If you previously had
1315     the port installed, it will be overwritten on the next buildworld.
1316 laffer1 5
1317    
1318    
1319 laffer1 2 To build a kernel
1320     -----------------
1321 laffer1 169 If you are updating from a prior version of MidnightBSD (even one just
1322 laffer1 2 a few days old), you should follow this procedure. With a
1323     /usr/obj tree with a fresh buildworld,
1324     make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE
1325     make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE
1326    
1327     To test a kernel once
1328     ---------------------
1329     If you just want to boot a kernel once (because you are not sure
1330     if it works, or if you want to boot a known bad kernel to provide
1331     debugging information) run
1332     make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel
1333     nextboot -k testkernel
1334    
1335     To just build a kernel when you know that it won't mess you up
1336     --------------------------------------------------------------
1337     This assumes you are already running a 6.X system. Replace
1338     ${arch} with the architecture of your machine (e.g. "i386",
1339 laffer1 273 "amd64", "ia64", "pc98", "sparc64", etc).
1340 laffer1 2
1341     cd src/sys/${arch}/conf
1342     config KERNEL_NAME_HERE
1343     cd ../compile/KERNEL_NAME_HERE
1344     make depend
1345     make
1346     make install
1347    
1348     If this fails, go to the "To build a kernel" section.
1349    
1350     To rebuild everything and install it on the current system.
1351     -----------------------------------------------------------
1352     # Note: sometimes if you are running current you gotta do more than
1353     # is listed here if you are upgrading from a really old current.
1354    
1355     <make sure you have good level 0 dumps>
1356     make buildworld
1357     make kernel KERNCONF=YOUR_KERNEL_HERE
1358     [1]
1359     <reboot in single user> [3]
1360     mergemaster -p [5]
1361     make installworld
1362 laffer1 5 make delete-old
1363 laffer1 2 mergemaster [4]
1364     <reboot>
1365    
1366    
1367     To cross-install current onto a separate partition
1368     --------------------------------------------------
1369     # In this approach we use a separate partition to hold
1370     # current's root, 'usr', and 'var' directories. A partition
1371     # holding "/", "/usr" and "/var" should be about 2GB in
1372     # size.
1373    
1374     <make sure you have good level 0 dumps>
1375     <boot into -stable>
1376     make buildworld
1377     make buildkernel KERNCONF=YOUR_KERNEL_HERE
1378     <maybe newfs current's root partition>
1379     <mount current's root partition on directory ${CURRENT_ROOT}>
1380     make installworld DESTDIR=${CURRENT_ROOT}
1381     cd src/etc; make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
1382     make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
1383     cp /etc/fstab ${CURRENT_ROOT}/etc/fstab # if newfs'd
1384     <edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
1385     <reboot into current>
1386     <do a "native" rebuild/install as described in the previous section>
1387     <maybe install compatibility libraries from src/lib/compat>
1388     <reboot>
1389    
1390    
1391     To upgrade in-place from 5.x-stable or higher to 6.x-stable
1392     -----------------------------------------------------------
1393     <make sure you have good level 0 dumps>
1394     make buildworld [9]
1395     make kernel KERNCONF=YOUR_KERNEL_HERE [8]
1396     [1]
1397     <reboot in single user> [3]
1398     mergemaster -p [5]
1399     make installworld
1400 laffer1 5 make delete-old
1401 laffer1 2 mergemaster -i [4]
1402     <reboot>
1403    
1404     Make sure that you've read the UPDATING file to understand the
1405     tweaks to various things you need. At this point in the life
1406     cycle of current, things change often and you are on your own
1407     to cope. The defaults can also change, so please read ALL of
1408     the UPDATING entries.
1409    
1410     Also, if you are tracking -current, you must be subscribed to
1411     freebsd-current@freebsd.org. Make sure that before you update
1412     your sources that you have read and understood all the recent
1413     messages there. If in doubt, please track -stable which has
1414     much fewer pitfalls.
1415    
1416     [1] If you have third party modules, such as vmware, you
1417     should disable them at this point so they don't crash your
1418     system on reboot.
1419    
1420     [3] From the bootblocks, boot -s, and then do
1421     fsck -p
1422     mount -u /
1423     mount -a
1424     cd src
1425     adjkerntz -i # if CMOS is wall time
1426     Also, when doing a major release upgrade, it is required that
1427     you boot into single user mode to do the installworld.
1428    
1429     [4] Note: This step is non-optional. Failure to do this step
1430     can result in a significant reduction in the functionality of the
1431     system. Attempting to do it by hand is not recommended and those
1432     that pursue this avenue should read this file carefully, as well
1433     as the archives of freebsd-current and freebsd-hackers mailing lists
1434     for potential gotchas.
1435    
1436     [5] Usually this step is a noop. However, from time to time
1437     you may need to do this if you get unknown user in the following
1438     step. It never hurts to do it all the time.
1439    
1440     [8] In order to have a kernel that can run the 5.x binaries
1441     needed to do an installworld, you must include the COMPAT_FREEBSD5
1442     option in your kernel. Failure to do so may leave you with a system
1443     that is hard to boot to recover. A similar kernel option COMPAT_FREEBSD5
1444     is required to run the 5.x binaries on more recent kernels.
1445    
1446     Make sure that you merge any new devices from GENERIC since the
1447     last time you updated your kernel config file.
1448    
1449     [9] When checking out sources, you must include the -P flag to have
1450     cvs prune empty directories.
1451    
1452     If CPUTYPE is defined in your /etc/make.conf, make sure to use the
1453     "?=" instead of the "=" assignment operator, so that buildworld can
1454     override the CPUTYPE if it needs to.
1455    
1456     MAKEOBJDIRPREFIX must be defined in an environment variable, and
1457     not on the command line, or in /etc/make.conf. buildworld will
1458     warn if it is improperly defined.
1459    
1460     Copyright information:
1461    
1462     Copyright 1998-2005 M. Warner Losh. All Rights Reserved.
1463    
1464     Redistribution, publication, translation and use, with or without
1465     modification, in full or in part, in any form or format of this
1466     document are permitted without further permission from the author.
1467    
1468     THIS DOCUMENT IS PROVIDED BY WARNER LOSH ``AS IS'' AND ANY EXPRESS OR
1469     IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1470     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1471     DISCLAIMED. IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT,
1472     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1473     (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1474     SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1475     HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
1476     STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
1477     IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1478     POSSIBILITY OF SUCH DAMAGE.
1479    
1480     If you find this document useful, and you want to, you may buy the
1481     author a beer.
1482    
1483     Contact Warner Losh if you have any questions about your use of
1484     this document.
1485    
1486 laffer1 5 $FreeBSD: src/UPDATING,v 1.416.2.18 2006/02/22 11:51:57 yar Exp $
1487 laffer1 6517 $MidnightBSD$

Properties

Name Value
svn:keywords MidnightBSD=%H