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