ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 2485
Committed: Thu Jan 1 22:52:48 2009 UTC (15 years, 4 months ago) by laffer1
File size: 19831 byte(s)
Log Message:
timezones are fun

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

Properties

Name Value
cvs2svn:cvs-rev 1.47