ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 7262
Committed: Tue Aug 18 20:53:31 2015 UTC (8 years, 9 months ago) by laffer1
File size: 47740 byte(s)
Log Message:
Fix a security vulnerability with expat.

File Contents

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

Properties

Name Value
svn:keywords MidnightBSD=%H