ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 7469
Committed: Thu Mar 17 12:46:04 2016 UTC (8 years, 2 months ago) by laffer1
File size: 51136 byte(s)
Log Message:
Incorrect argument validation in sysarch(2)

        A special combination of sysarch(2) arguments, specify a request to
        uninstall a set of descriptors from the LDT.  The start descriptor
        is cleared and the number of descriptors are provided.  Due to invalid
        use of a signed intermediate value in the bounds checking during argument
        validity verification, unbound zero'ing of the process LDT and adjacent
        memory can be initiated from usermode.

Obtained from: FreeBSD.

File Contents

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

Properties

Name Value
svn:keywords MidnightBSD=%H