ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 2481
Committed: Wed Dec 31 15:01:20 2008 UTC (15 years, 4 months ago) by laffer1
File size: 19787 byte(s)
Log Message:
Update copyrights for 2009.

File Contents

# Content
1 Updating Information for MidnightBSD users
2
3 Items affecting the mports and packages system can be found in
4 /usr/mports/UPDATING.
5
6 20081231:
7 Correct a problem where bluetooth and netgraph sockets are not
8 properly initialized.
9
10 Happy 2009.
11
12 20081206:
13 Due to the massive change in the underlying system under way,
14 we're naming the next release 1.0. The sys/sys/param.h was
15 changed accordingly. ipfilter and ncurses were corrected
16 using __MidnightBSD__ tests in the code.
17
18 The GENERIC kernel config was caught up on i386 today. Consider
19 i386 still broken, but amd64 is running again.
20
21 mdoc.local was updated with the new MidnightBSD version info.
22
23 batt(1) was rewritten in C. It now supports several flags and
24 runs about 8 times faster on my laptop. The default output
25 shows the number of minutes of battery life remaining and the
26 percentage. You can use -u to display the number of batteries or
27 -c to get script friendly output. Consult the man page for more.
28
29 20081204:
30 Work has completed on importing ZFS, jemalloc, several
31 new devices, SCTP, updated pf, a new tempfs, linuxolator 2.6 kernel
32 support, improved locking for file desc., audit (openbsm),
33 openssl .98e, nfe, imporved intel high def audio, midi, updated
34 intel gigabit (em), support for several wifi cards (intel), ...
35
36 Renamed 0.3-CURRENT officially. Switched to using MidnightBSD version
37 data from param.h instead of the FreeBSD version. This means
38 testing is now possible in the ports tree for the version
39 and that any ports or code relying on the FreeBSD version from
40 sys/sys/param.h will need to be fixed.
41
42 20080905:
43 update nve(4) to support new hardware.
44
45 20080801:
46 Import OpenBSM 1.0
47
48 Modify src/release to create 3 isos instead of 2 for packages.
49
50 etc/rc.d/firstboot now enables kdm, gnustep + slim and bsdstats.
51
52 Many ia64, alpha, powerpc items were removed.
53
54 The recent diffutils 2.8.7 import was fixed.
55
56 20080703:
57 pcc was not installed properly when setting DESTDIR for live cds,
58 or posibly jails.
59
60 20080627:
61 Add firmware(9), WEP, CCMP, TKIP to GENERIC.
62
63 Add glabel to GENERIC.
64
65 Intel ICH8 mobile chipset used on some iMacs included with ata.
66
67 pcc connected to the build on i386. (alternative compiler)
68
69 ath added to GENERIC. (Atheros wireless NICs) on amd64/i386
70
71 20080528:
72 Sendmail 8.14.3
73
74 20080516:
75 ssh-vulnkey allows you to look for vulnerable ssh keys that
76 were generated on Debian and Ubuntu hosts over the last
77 few years. sshd can block offending keys with a configuration
78 option.
79
80 The elf note on binaries is now set to MidnightBSD.
81
82 20080514:
83 Fixed a number of problems with pcc. It is not yet connected
84 to the build, but usable on i386 hosts. You may use it
85 by make; make install in /usr/src/usr.bin/pcc. It will
86 install in /usr/local as some of the files conflict with
87 GCC versions. __MidnightBSD__ is defined in PCC as well.
88
89 System headers were fixed to allow pcc to compile many binaries
90 on MidnightBSD. bin/cp will work now for instance.
91
92 20080430:
93 __MidnightBSD__ is now defined via gcc. This can be tested
94 to determine we're running on MidnightBSD in the preprocessor.
95
96 20080429:
97 Import bind 9.4.2 with threading
98
99 libpthread (KSE) and libthr are built earlier
100
101 pcvt(4) removed!
102
103 Alias added for core2 cpus.
104
105 Alpha and PC98 only utilities removed from usr/sbin
106
107 syslogd, adduser, rmuser, mergemaster and mailwrapper have been
108 improved. See the man pages for info.
109
110 periodic scripts will not send emails with empty message bodies.
111 See mailwrapper fix.
112
113 20080410:
114 Sync cpdup with DragonFly. Add parallel transaction support and
115 -l flag to line-buffer stdout and stderr.
116
117 20080406:
118 Import bzip2 1.05
119 Import OpenSSH 4.9p1
120
121 20080322:
122 The default umask was changed to 022.
123
124 /usr/X11R6 paths were removed from several config files.
125
126 .mkshrc files are now installed for root.
127
128 20080316:
129 FIx a problem with gif0 tunnels and neighbors with IPV6.
130
131 20080312:
132 Add lndir from X.org. This aides in the porting of MirPorts.
133
134 New OS versions were added to the mapage code (groff)
135
136 20080310:
137 Correct a buffer overflow in ppp.
138
139 20080308:
140 Remove /usr/X11R6 from manpath config.
141
142 20080307:
143 Atheros driver no longer has several options set
144 which corrects building in tinderbox on all three platforms.
145
146 Added a new macro to sx.h which returns true if the current
147 thread holds an exclusive lock on a specifix sx.
148
149 Removed OS/2's HPFS file system. It's not maintained and
150 I don't know anyone using OS/2 or ecomstation these days.
151 My copy is in the closet collecting dust.
152
153 20080306:
154 Synced tinderbox with FreeBSD. Modified it for MidnightBSD.
155 Developers can now use it to check src builds.
156
157 20080303:
158 Add mksh to /etc/shells, made some adjustments to options
159 for mksh builds per suggestion upstream.
160
161 USB HID table updated with modern hardware list.
162
163 Updated BSD family true (we're not in there yet)
164
165 iso3166 file updated and import of tzdata2007k for
166 new time zones.
167
168 Updated mksh to latest version R33.
169
170 20080228:
171 Remplaced the random IP id generation code with a new
172 version by Amit Klein.
173
174 20080221:
175 Sendfile write only permissions fix.
176
177 Removed some HPFS and PC98 code.
178
179 iso639 file sycned with DragonFly.
180
181 20080128:
182 Changed NTP configuration so that ips aren't cached
183 so multiple servers are used.
184
185 Fix an issue with fork() in libpthread.
186
187 20080121:
188 Add virtualization detection to set the HZ rate
189 according to a VM present. VMWare and Parallels
190 should work better like this.
191
192 Change to full x11 install in sysinstall. Add
193 xorg 7 support.
194
195 20080115:
196 Fix the handling of PTY's. CVE-2008-0216
197
198 20080105:
199 mport delete code added, USE_MPORT_TOOLS knob aded.
200
201 20080101:
202 Happy New Year
203
204 20071123:
205 Update sendmail to 8.14.2
206
207 20071120:
208 Update system compiler to gcc 3.4.6.
209
210 20071023:
211 Updated mksh to R31d.
212
213 20070911:
214 Updated mksh to version R31b.
215
216 Fixed stderr output in libpthread. Previously it was
217 written to stdout.
218
219 20070831:
220 Added dot.mkshrc file to support the recent change to
221 mksh from OpenBSD's ksh derived from pdksh.
222
223 Added new firewall configuration. ipfw is enabled by default
224 with a "desktop" configuration. Consult /etc/rc.firewall
225 or ipfw show to see the ruleset used. You can disable
226 ipfw by setting firewall_enable="NO" in /etc/rc.conf This
227 change only effects IPv4. IPv6 does not have a firewall
228 enabled by default.
229
230 20070814:
231 Removed GNU tar source. We've been using BSD tar
232 for awhile.
233
234 20070806:
235 Finished removing umapfs and autofs from the tree.
236
237 20070804:
238 BIND and Tcpdump have been patched for recent vulnerabilities.
239
240 We switched to BSD cpio (pax).
241
242 20070719:
243 Imported cpdup from DragonFly as /bin/cpdup
244
245 20070716:
246 Update GNU cpio to 2.8.
247
248 20070410:
249 cvs was updated to 1.12.13. cvsbug was removed.
250 cvs now behaves similarly to DragonFly's cvs with
251 most of their local changes.
252
253 20070409:
254 RELENG_0_1 was created. More aggresive changes will
255 continue here.
256
257 20070406:
258 Back out propolice. propolice caused several problems
259 with our threading libraries libthr and libpthread.
260 curthread was often NULL after the patch and many
261 multithreaded applications would crash. We plan to
262 work on either bringing in gcc 4.1 or developing a new
263 patch which also corrects our threading issues later.
264
265 It is more important to have a stable system for our
266 mport work and other projects at this time.
267
268 This is not a clean removal. It is recommended that you
269 have a recently SNAP CD handy. You can either reinstall
270 or perform a make buildworld and make buildkernel and
271 make installkernel. Reboot on the cd and copy the contents
272 of /bin, /sbin, /lib, /libexec, and /usr/bin, /usr/sbin,
273 /usr/lib, and /usr/libexec to the respective directories on
274 your disk. Then you should be able to boot into single user
275 mode and run make installworld. You will need to run
276 chflags noschg on some of the files if you can't overwrite
277 them.
278
279 You will get __guard missing errors since we had to remove
280 this from libc.
281
282 You will need to rebuild any ports built while propolice was
283 installed.
284
285 20070401:
286 Importing propolice into MidnightBSD. Propolice is going to
287 provide us with much greater security and stability in the
288 long run. If upgrading from a pre-propolice system, please
289 follow the these instructions:
290
291 cd /usr/src/lib/libc && make obj && make && make install
292 cd /usr/src/gnu/usr.bin/cc && make obj && make && make install
293 cd /usr/src/lib/libpthread && make obj && make && make install
294 cd /usr/src/lib/libthr && make obj && make && make install
295 buildworld and kernel
296
297 It is adviced that any mports which were installed and/or built
298 prior to the propolice update also be updated. If any errors
299 or issue are encounted, please contact security@midnightbsd.org
300 and we will be sure to investigate and come up with an expeditious
301 fix.
302
303 20070314:
304 Remove send-pr from src.
305
306 Switch to NetBSD's gzip.
307
308 Bump MBSD minor revision.
309
310 20070313:
311 Imported OpenSSH 4.6p1.
312
313 Imported FreeBSD's libarchive and updated tar to work with it.
314
315 Disabled debug statements cluttering up /var/log/messages for
316 the tcp autobuf patch applied previously.
317
318 20070312:
319 Synced several audio changes from FreeBSD 6.1. Removed the
320 BSD Daemon files from src/share.
321
322 20070308:
323 Added mfi which supports LSI Logic MegaRAID SAS devices including
324 the Dell perc5i.
325
326 20070206:
327 Imported OpenBSD's sudo into source. Please install
328 /usr/src/usr.bin/sudo/lib first before building.
329
330 Those who install from a snapshot after this date
331 will not be effected.
332
333 20070119:
334 Added audit group. Be sure to add audit to your /etc/group file
335 before installing world.
336
337 hostapd was updated to 0.4.8.
338
339 An accidental commit in usr.sbin/bluetooth/hccontrol was fixed to
340 unbreak world.
341
342 wpa_supplicant was updated.
343
344 For stability and compatibility reasons, it was decided that MidnightBSD
345 sync with FreeBSD 6.1 Release. Nearly every change between the original
346 fork date of February 24, 2006 and the release of FreeBSD 6.1 in May
347 2006 will be merged. Beyond this, MidnightBSD will be a "real" fork and
348 will not sync every little change with FreeBSD.
349
350 20061231:
351 Updated COPYRIGHT for 2007.
352
353 Updated and bumped libutil after importing NetBSD efun(3) functions.
354
355 Added MidnightBSD_version and bumped the FreeBSD version as we've
356 synced all commits between the fork and that version. It is now safe
357 to assume MidnightBSD is compatible with FreeBSD RELENG_6 from
358 Feb 26, 2006.
359
360 Added spell(1) and deroff(1) from NetBSD. Also added additional
361 dict files to work with it. /usr/share/dict/american,
362 /usr/share/dict/british and /usr/share/dict/special/math
363
364 Numerous man page and bug fixes.
365
366 20061226:
367 Setup /usr/share/examples/cvsup SUPfiles for the new
368 MidnightBSD CVSup server.
369
370 Fix a bug in burncd where it would continue forever while
371 erasing CDRW media.
372
373 Add csup to /usr/bin. csup is a CVSup replacement written
374 in C.
375
376 Fixed a bug with bsnmpd build from Oct 30.
377
378 Corrected some race conditions and fixed a few bugs in
379 geom. Imported changes from FreeBSD RELENG_6.
380
381 20061225:
382 Fixed a typo in src/lib/libc/sparc64/fpu/fpu_implode.c
383 that caused long double to long and long long
384 conversion of negative numbers to always result in -1.
385
386 20061221:
387 Fixed acpi_battery.c to not report an ERROR if no
388 batteries are present.
389
390 Performed some minor updates on the RL and RE NIC drivers.
391 RL should no longer panic when trying to print errors.
392
393 Corrected a bug with TTY.
394
395 20061218:
396 Corrected a bug with libpthread where newly created suspended
397 threads don't get scheduled.
398
399 20061206:
400 Fixed a typo with the firewire security patch.
401
402 20061129:
403 Minor cleanups to utilities in bin.
404
405 Fixed msdos file system short file name behavior to match
406 FreeBSD.
407
408 20061031:
409 Updated man pages in section 7.
410
411 20061030:
412 Updated sys/dev/drm to support intel 915 and radeon
413 r300 cards properly.
414
415 Synced snmpd with FreeBSD-stable.
416
417 Fixed a bug in rm which could cause data loss.
418
419 20061027:
420 Added Intel ICH8 and nForce 5 support to ATA. cam, mpt,
421 random, kbdmux, atkbd, and usb were updated. Changes
422 to clearing registers on SSE enabled processors (i386)
423 commited.
424
425 lukemftpd updated.
426
427 openssh rc script was altered which effects initial
428 seeding.
429
430 20061014:
431 Workaround for em driver problem on shared IRQ.
432
433 Started removal of alpha support.
434
435 20061013:
436 ATA driver was updated. USB/USB1/USB2 types added.
437
438 20061010:
439 OpenSSH was updated to 4.4p1.
440
441 20060909:
442 OpenNTPD was added to MidnightBSD. Run make delete-old to remove
443 the old ntpd daemon.
444
445 cat has a new option -D which allows you to timestamp output
446 on a per line basis.
447
448 The kernel has a keyboard mux which allows you to have multiple
449 keyboard connected simultaneously. USB keyboard support was also
450 improved with this patch.
451
452 The Intel em driver was updated. Network performance was greatly
453 increased on many systems. Additional models are supported.
454
455 The ATA driver was patched to fix a potential deadlock.
456
457 Bind was patched to fix a potential denial of service condition.
458
459 20060817:
460 ksh has been added to the base system. If you previously had
461 the port installed, it will be overwritten on the next buildworld.
462
463
464
465 To build a kernel
466 -----------------
467 If you are updating from a prior version of MidnightBSD (even one just
468 a few days old), you should follow this procedure. With a
469 /usr/obj tree with a fresh buildworld,
470 make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE
471 make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE
472
473 To test a kernel once
474 ---------------------
475 If you just want to boot a kernel once (because you are not sure
476 if it works, or if you want to boot a known bad kernel to provide
477 debugging information) run
478 make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel
479 nextboot -k testkernel
480
481 To just build a kernel when you know that it won't mess you up
482 --------------------------------------------------------------
483 This assumes you are already running a 6.X system. Replace
484 ${arch} with the architecture of your machine (e.g. "i386",
485 "amd64", "ia64", "pc98", "sparc64", etc).
486
487 cd src/sys/${arch}/conf
488 config KERNEL_NAME_HERE
489 cd ../compile/KERNEL_NAME_HERE
490 make depend
491 make
492 make install
493
494 If this fails, go to the "To build a kernel" section.
495
496 To rebuild everything and install it on the current system.
497 -----------------------------------------------------------
498 # Note: sometimes if you are running current you gotta do more than
499 # is listed here if you are upgrading from a really old current.
500
501 <make sure you have good level 0 dumps>
502 make buildworld
503 make kernel KERNCONF=YOUR_KERNEL_HERE
504 [1]
505 <reboot in single user> [3]
506 mergemaster -p [5]
507 make installworld
508 make delete-old
509 mergemaster [4]
510 <reboot>
511
512
513 To cross-install current onto a separate partition
514 --------------------------------------------------
515 # In this approach we use a separate partition to hold
516 # current's root, 'usr', and 'var' directories. A partition
517 # holding "/", "/usr" and "/var" should be about 2GB in
518 # size.
519
520 <make sure you have good level 0 dumps>
521 <boot into -stable>
522 make buildworld
523 make buildkernel KERNCONF=YOUR_KERNEL_HERE
524 <maybe newfs current's root partition>
525 <mount current's root partition on directory ${CURRENT_ROOT}>
526 make installworld DESTDIR=${CURRENT_ROOT}
527 cd src/etc; make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
528 make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
529 cp /etc/fstab ${CURRENT_ROOT}/etc/fstab # if newfs'd
530 <edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
531 <reboot into current>
532 <do a "native" rebuild/install as described in the previous section>
533 <maybe install compatibility libraries from src/lib/compat>
534 <reboot>
535
536
537 To upgrade in-place from 5.x-stable or higher to 6.x-stable
538 -----------------------------------------------------------
539 <make sure you have good level 0 dumps>
540 make buildworld [9]
541 make kernel KERNCONF=YOUR_KERNEL_HERE [8]
542 [1]
543 <reboot in single user> [3]
544 mergemaster -p [5]
545 make installworld
546 make delete-old
547 mergemaster -i [4]
548 <reboot>
549
550 Make sure that you've read the UPDATING file to understand the
551 tweaks to various things you need. At this point in the life
552 cycle of current, things change often and you are on your own
553 to cope. The defaults can also change, so please read ALL of
554 the UPDATING entries.
555
556 Also, if you are tracking -current, you must be subscribed to
557 freebsd-current@freebsd.org. Make sure that before you update
558 your sources that you have read and understood all the recent
559 messages there. If in doubt, please track -stable which has
560 much fewer pitfalls.
561
562 [1] If you have third party modules, such as vmware, you
563 should disable them at this point so they don't crash your
564 system on reboot.
565
566 [3] From the bootblocks, boot -s, and then do
567 fsck -p
568 mount -u /
569 mount -a
570 cd src
571 adjkerntz -i # if CMOS is wall time
572 Also, when doing a major release upgrade, it is required that
573 you boot into single user mode to do the installworld.
574
575 [4] Note: This step is non-optional. Failure to do this step
576 can result in a significant reduction in the functionality of the
577 system. Attempting to do it by hand is not recommended and those
578 that pursue this avenue should read this file carefully, as well
579 as the archives of freebsd-current and freebsd-hackers mailing lists
580 for potential gotchas.
581
582 [5] Usually this step is a noop. However, from time to time
583 you may need to do this if you get unknown user in the following
584 step. It never hurts to do it all the time.
585
586 [8] In order to have a kernel that can run the 5.x binaries
587 needed to do an installworld, you must include the COMPAT_FREEBSD5
588 option in your kernel. Failure to do so may leave you with a system
589 that is hard to boot to recover. A similar kernel option COMPAT_FREEBSD5
590 is required to run the 5.x binaries on more recent kernels.
591
592 Make sure that you merge any new devices from GENERIC since the
593 last time you updated your kernel config file.
594
595 [9] When checking out sources, you must include the -P flag to have
596 cvs prune empty directories.
597
598 If CPUTYPE is defined in your /etc/make.conf, make sure to use the
599 "?=" instead of the "=" assignment operator, so that buildworld can
600 override the CPUTYPE if it needs to.
601
602 MAKEOBJDIRPREFIX must be defined in an environment variable, and
603 not on the command line, or in /etc/make.conf. buildworld will
604 warn if it is improperly defined.
605
606 Copyright information:
607
608 Copyright 1998-2005 M. Warner Losh. All Rights Reserved.
609
610 Redistribution, publication, translation and use, with or without
611 modification, in full or in part, in any form or format of this
612 document are permitted without further permission from the author.
613
614 THIS DOCUMENT IS PROVIDED BY WARNER LOSH ``AS IS'' AND ANY EXPRESS OR
615 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
616 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
617 DISCLAIMED. IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT,
618 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
619 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
620 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
621 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
622 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
623 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
624 POSSIBILITY OF SUCH DAMAGE.
625
626 If you find this document useful, and you want to, you may buy the
627 author a beer.
628
629 Contact Warner Losh if you have any questions about your use of
630 this document.
631
632 $FreeBSD: src/UPDATING,v 1.416.2.18 2006/02/22 11:51:57 yar Exp $
633 $MidnightBSD: src/UPDATING,v 1.45 2008/12/07 04:10:26 laffer1 Exp $

Properties

Name Value
cvs2svn:cvs-rev 1.46