ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 7251
Committed: Fri Aug 14 21:44:59 2015 UTC (8 years, 9 months ago) by laffer1
File size: 47480 byte(s)
Log Message:
document GNU coreutils compatibily for date

File Contents

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

Properties

Name Value
svn:keywords MidnightBSD=%H