ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 7430
Committed: Fri Jan 15 00:19:00 2016 UTC (8 years, 4 months ago) by laffer1
File size: 50297 byte(s)
Log Message:
fix 3 security issues with OpenSSL

File Contents

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

Properties

Name Value
svn:keywords MidnightBSD=%H