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