ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 6998
Committed: Sat Apr 18 22:51:24 2015 UTC (9 years, 1 month ago) by laffer1
File size: 42980 byte(s)
Log Message:
update sqlite to 3.8.9 to fix several security issues

File Contents

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

Properties

Name Value
svn:keywords MidnightBSD=%H