ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 5934
Committed: Thu Jul 18 01:58:36 2013 UTC (10 years, 10 months ago) by laffer1
File size: 35936 byte(s)
Log Message:
mention virtio(4) and mport patch

File Contents

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

Properties

Name Value
cvs2svn:cvs-rev 1.172