ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 6740
Committed: Wed Sep 3 00:17:00 2014 UTC (9 years, 8 months ago) by laffer1
File size: 39509 byte(s)
Log Message:
document 0.6

File Contents

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

Properties

Name Value
svn:keywords MidnightBSD=%H