ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 7353
Committed: Sun Oct 18 01:30:42 2015 UTC (8 years, 7 months ago) by laffer1
File size: 49242 byte(s)
Log Message:
document mport statistics

File Contents

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

Properties

Name Value
svn:keywords MidnightBSD=%H