ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 6657
Committed: Wed Jun 4 12:28:41 2014 UTC (9 years, 11 months ago) by laffer1
File size: 39109 byte(s)
Log Message:
mention sendmail and ktrace

File Contents

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

Properties

Name Value
svn:keywords MidnightBSD=%H