ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 1559
Committed: Wed Apr 30 19:35:38 2008 UTC (16 years ago) by laffer1
File size: 16784 byte(s)
Log Message:
Boy we did a lot this month.

File Contents

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

Properties

Name Value
cvs2svn:cvs-rev 1.35