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