ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 6652
Committed: Wed Apr 30 12:20:44 2014 UTC (10 years ago) by laffer1
File size: 38890 byte(s)
Log Message:
TCP reassembly

File Contents

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

Properties

Name Value
svn:keywords MidnightBSD=%H