ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 7255
Committed: Sat Aug 15 13:30:00 2015 UTC (8 years, 9 months ago) by laffer1
File size: 47604 byte(s)
Log Message:
libc now builds with clang

File Contents

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

Properties

Name Value
svn:keywords MidnightBSD=%H