ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 7244
Committed: Wed Aug 12 23:56:21 2015 UTC (8 years, 9 months ago) by laffer1
File size: 47339 byte(s)
Log Message:
document yesterday

File Contents

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

Properties

Name Value
svn:keywords MidnightBSD=%H