ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 6983
Committed: Fri Mar 20 00:53:47 2015 UTC (9 years, 2 months ago) by laffer1
File size: 42577 byte(s)
Log Message:
updated mksh

File Contents

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

Properties

Name Value
svn:keywords MidnightBSD=%H