ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 4408
Committed: Wed Dec 7 13:40:58 2011 UTC (12 years, 5 months ago) by laffer1
File size: 33667 byte(s)
Log Message:
Introduce BSD licensed version of grep.

MK_BSD_GREP = yes turns it on as grep, otherwise gnu grep is installed as grep and bsdgrep is bsd licensed grep. In the inverse, gnu grep becomes gnugrep.

For "compatibility", bsdgrep can use the gnu regex library which is also faster, but then it's not purely bsd.

File Contents

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

Properties

Name Value
cvs2svn:cvs-rev 1.147